Beruflich Dokumente
Kultur Dokumente
Command Reference
Version: V1.2.0
ZTE CORPORATION
NO. 55, Hi-tech Road South, ShenZhen, P.R.China
Postcode: 518057
Tel: +86-755-26771900
Fax: +86-755-26770801
URL: http://ensupport.zte.com.cn
E-mail: support@zte.com.cn
LEGAL INFORMATION
Copyright 2012 ZTE CORPORATION.
The contents of this document are protected by copyright laws and international treaties. Any reproduction or
distribution of this document or any portion of this document, in any form by any means, without the prior written
consent of ZTE CORPORATION is prohibited.
Revision History
Revision No.
Revision Date
Revision Reason
R1.0
2012-06-30
First edition
SJ-20120615152640-010|2012-06-30 (R1.0)
Contents
About This Manual ......................................................................................... I
Chapter 1 Overview .................................................................................... 1-1
1.1 Command Format .............................................................................................. 1-1
1.2 Command Usage and Operation ......................................................................... 1-1
1.3 Command Mode ................................................................................................ 1-2
19.3.9 mac-bind.............................................................................................19-50
19.3.10 deregister..........................................................................................19-51
19.3.11 fec ....................................................................................................19-51
19.3.12 encrypt .............................................................................................19-52
19.3.13 ip access-group .................................................................................19-53
19.3.14 loid-bind............................................................................................19-53
19.3.15 diagnose ...........................................................................................19-54
19.3.16 mac ..................................................................................................19-55
19.3.17 max-mac-learn ..................................................................................19-55
19.3.18 priority-trans ......................................................................................19-56
19.3.19 performance start ..............................................................................19-57
19.3.20 join-p2p-group ...................................................................................19-57
19.3.21 range ................................................................................................19-58
19.3.22 show onu all-status ............................................................................19-59
19.3.23 show onu authentication ....................................................................19-59
19.3.24 show onu detail-info...........................................................................19-60
19.3.25 show onu sla .....................................................................................19-62
19.3.26 show onu mpcpinfo............................................................................19-62
19.3.27 show onu oam...................................................................................19-63
19.3.28 show onu config-info ..........................................................................19-64
19.3.29 show onu priority-trans.......................................................................19-65
19.3.30 show onu running config ....................................................................19-66
19.4 EPON ONU Remote Management Commands................................................19-67
19.4.1 pon-onu-mng epon-onu .......................................................................19-67
19.4.2 active..................................................................................................19-68
19.4.3 alarm ..................................................................................................19-68
19.4.4 alarm-threshold ...................................................................................19-69
19.4.5 auto-config..........................................................................................19-70
19.4.6 classification condition-profile ...............................................................19-71
19.4.7 classification condition-ipv6-profile........................................................19-72
19.4.8 classification rule-profile.......................................................................19-73
19.4.9 classification port.................................................................................19-74
19.4.10 clear-oam-config................................................................................19-75
19.4.11 compatibility ......................................................................................19-76
19.4.12 config-pvid ........................................................................................19-76
19.4.13 config-vlan ........................................................................................19-77
19.4.14 isolation ............................................................................................19-78
XIV
SJ-20120615152640-010|2012-06-30 (R1.0)
20.4.54 pw optional......................................................................................20-161
20.4.55 pw rtp .............................................................................................20-162
20.4.56 pw tdm............................................................................................20-164
20.4.57 pw delete ........................................................................................20-164
20.4.58 protocol-filter ...................................................................................20-165
20.4.59 proto-proc .......................................................................................20-166
20.4.60 range ..............................................................................................20-167
20.4.61 reboot .............................................................................................20-167
20.4.62 restore ............................................................................................20-168
20.4.63 schedule .........................................................................................20-168
20.4.64 ssid auth wep ..................................................................................20-169
20.4.65 ssid auth wpa ..................................................................................20-170
20.4.66 service ............................................................................................20-171
20.4.67 sntp ................................................................................................20-172
20.4.68 switch .............................................................................................20-173
20.4.69 switchport-bind ................................................................................20-174
20.4.70 switchport .......................................................................................20-175
20.4.71 synctime .........................................................................................20-176
20.4.72 sys-attr ...........................................................................................20-177
20.4.73 security-ctrl .....................................................................................20-177
20.4.74 security-mng ...................................................................................20-178
20.4.75 sip-agent reg-exptime ......................................................................20-179
20.4.76 sip-agent registrar-server .................................................................20-180
20.4.77 sip-agent rereg-starttime ..................................................................20-180
20.4.78 sip-agent proxy-server .....................................................................20-181
20.4.79 sip-agent ss ....................................................................................20-182
20.4.80 sip-agent validate ............................................................................20-183
20.4.81 sip-user...........................................................................................20-184
20.4.82 sip-service ......................................................................................20-185
20.4.83 test .................................................................................................20-186
20.4.84 tr069-mgmt .....................................................................................20-187
20.4.85 up-queue-map.................................................................................20-188
20.4.86 vlan port mode ................................................................................20-189
20.4.87 vlan port vlan...................................................................................20-190
20.4.88 vlan port translate ............................................................................20-191
20.4.89 vlan-filter-mode ...............................................................................20-192
20.4.90 vlan-filter .........................................................................................20-193
XXII
SJ-20120615152640-010|2012-06-30 (R1.0)
21.4.19 mvlan-translate..................................................................................21-80
21.4.20 show igmp interface...........................................................................21-81
21.4.21 show igmp mvlan...............................................................................21-82
21.4.22 show igmp mvlan group .....................................................................21-82
21.4.23 show igmp dynamic-member..............................................................21-83
21.4.24 show igmp static-member ..................................................................21-84
21.4.25 show igmp log ...................................................................................21-85
21.4.26 show igmp statistics...........................................................................21-86
21.4.27 show mvlan-translate .........................................................................21-86
21.5 SCB VLAN Commands..................................................................................21-87
21.5.1 vlan-scb-action vlan-remove.................................................................21-87
21.5.2 vlan-scb-action vlan-translate ...............................................................21-88
45.19 maximum-paths...........................................................................................45-17
45.20 neighbor .....................................................................................................45-17
45.21 network.......................................................................................................45-18
45.22 offset-list .....................................................................................................45-19
45.23 output-delay ................................................................................................45-20
45.24 redistribute ..................................................................................................45-21
45.25 show ip rip ..................................................................................................45-22
45.26 show ip rip database ....................................................................................45-23
45.27 show ip rip interface.....................................................................................45-24
45.28 show ip rip networks ....................................................................................45-25
45.29 timers basic.................................................................................................45-25
45.30 validate-update-source.................................................................................45-27
45.31 version........................................................................................................45-27
Glossary .......................................................................................................... I
XLIV
SJ-20120615152640-010|2012-06-30 (R1.0)
Intended Audience
This document is intended for:
l
l
l
l
Summary
1, Overview
3, Hardware Management
4, Fan Management
5, Version Management
7, User Management
8, SNMP Commands
I
SJ-20120615152640-010|2012-06-30 (R1.0)
Chapter
Summary
802.3ah)
802.3ah.
Commands
interface configuration.
SJ-20120615152640-010|2012-06-30 (R1.0)
Chapter
Summary
Commands
log/statistical management.
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-20120615152640-010|2012-06-30 (R1.0)
IV
SJ-20120615152640-010|2012-06-30 (R1.0)
Chapter 1
Overview
Table of Contents
Command Format ......................................................................................................1-1
Command Usage and Operation ................................................................................1-1
Command Mode.........................................................................................................1-2
Example
l
l
Help Commands
l
l
l
l
l
l
l
It is not necessary to input a command completely. Press the Tab key for filling the
whole command.
Press the space + ? key to view the command help information.
Press the key to recall an already issued command.
Telnet session is terminated if it remains idle for six minutes.
Type ? key in any specific mode to view all available commands.
Enter first letter of the command and type ? key to search the required command.
After parameter press spacebar and type ? key to get a brief description of the
parameter values.
1-1
SJ-20120615152640-010|2012-06-30 (R1.0)
System Version
Execute show version-running command to display current system version.
DOS Prompt
Access Mode
Access Command
User mode
ZXAN>
Privilege mode
ZXAN#
User mode
enable
ZXAN(config)#
Privilege mode
configure terminal
ZXAN(config-pon)#
Global configuration
pon
mode
EPON configuration mode
ZXAN(config-epon)#
Global configuration
epon
mode
GPON configuration mode
ZXAN(config-gpon)#
Global configuration
gpon
mode
ONU remote management
ZXAN(pon-onu-
Global configuration
mode
mng)#
mode
ZXAN(config-clock)#
Global configuration
pon-onu-mng
clock
mode
Interface configuration mode
ZXAN(config-if)#
Global configuration
interface
mode
VLAN database configuration
ZXAN(vlan)#
mode
VLAN configuration mode
Global configuration
vlan database
mode
ZXAN(config-vlan)#
Global configuration
vlan
mode
MSTP configuration mode
ZXAN(config-mstp)#
ZXAN(config-ces)#
Global configuration
spanning-tree mst
mode
configuration
Global configuration
ces
mode
Router configuration mode
ZXAN(config-
Global configuration
router)#
mode
router
1-2
SJ-20120615152640-010|2012-06-30 (R1.0)
Chapter 1 Overview
Mode
DOS Prompt
Access Mode
Access Command
ZXAN(config-router-
Route configuration
address-family
af)#
mode
ZXAN(config-std-
Global configuration
mode
acl)#
mode
ZXAN(config-ext-
Global configuration
mode
acl)#
mode
ZXAN(config-hybd-
Global configuration
mode
acl)#
mode
ZXAN(config-link-
Global configuration
mode
acl)#
mode
ZXAN(config-sg)#
Global configuration
aaa group-server
mode
tacacs+
control-panel
mode
Control panel configuration
ZXAN(control-
Global configuration
mode
panel)#
mode
acl standard
acl extended
acl hybrid
acl link
1-3
SJ-20120615152640-010|2012-06-30 (R1.0)
1-4
SJ-20120615152640-010|2012-06-30 (R1.0)
Chapter 2
2.1 auto-write
Syntax
auto-write {disable | enable | delay delay | hh:mm:ss date}
Purpose
To configure the auto-save function
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
disable
enable
delay
124, unit: h
hh:mm:ss date
Time to save
Mode
ZXAN(config)#
Example
The following example displays how to enable the auto-save function :
ZXAN(config)#auto-write enable
Related Commands
show auto-write
Purpose
To configure incoming terminal line banner
2-2
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
line
End character
Range: 1 character
TEXT
Mode
ZXAN(config)#
Example
The following example displays how to configure incoming terminal line banner:
ZXAN(config)#banner incoming #
Enter TEXT message. End with the character #.
welcome
#
ZXAN(config)
Related Commands
None
Related Information
1. Set an end character, which is one character, such as '#:
banner incoming #
Press the Enter key. Then the system displays the following information:
Enter TEXT message. End with the character '#
2. Type the greeting text. It can include special characters such as spaces and carriage
return (except question mark ?), and ends with #.
Note:
The system considers question mark ? as a help sign. Therefore, all the text parameters
or passwords cannot include question mark ?.
2-3
SJ-20120615152640-010|2012-06-30 (R1.0)
2.3 clock
Syntax
clock
Purpose
To enter the clock mode
Usage Guidelines
None
Mode
ZXAN(config)#
Example
The following example displays how to enter the clock mode:
ZXAN(config)#clock
ZXAN(config-clock)#
Related Commands
None
Purpose
To configure the system time zone
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
timezone
Range: 1 10 characters
hours
Range: -12 to 13
minutes
Range: 0 59
2-4
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
ZXAN(config)#
Example
The following example displays how to configure the system time zone:
ZXAN(config)#clock timezone beijing 12
ZXAN(config)#
Related Commands
show clock
Purpose
To configure the system clock
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
time
Current time
hh:mm:ss
month
Month
day
Day
Range: 1 31
year
Year
Mode
ZXAN#
Example
The following example displays how to configure the system clock:
ZXAN#clock set 10:12:01 Mar 6 2011
ZXAN#
Related Commands
show clock
2-5
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure the summer time
Usage Guidelines
The following table describes the relevant parameters:
Parameter
Description
Value
stname
18 characters
week
1,2,3,4,5, lastweek
Monday to Sunday
January to December
1300 in minutes
Default: 60 minutes
Mode
ZXAN(config)#
Example
The following example shows how to configure the summer time
2-6
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
show clock
clock set
clock timezone
show running-config
Purpose
To clear the transfer table
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
portno
shell
Mode
ZXAN#
Example
The following example displays how to clear the transfer table:
ZXAN# clear mpnat trans-table
ZXAN# clear mpnat trans-table service-port 9999
Related Commands
None
Purpose
To enter the global configuration mode
Usage Guidelines
None
Mode
ZXAN#
Example
The following example displays how to enter the global configuration mode:
ZXAN#configure terminal
Enter configuration commands, one per line.
End with CTRL/Z.
ZXAN(config)#
Related Commands
end
exit
2.9 disable
Syntax
disable
Purpose
To return from privilege mode to user mode
Usage Guidelines
None
Mode
ZXAN#
Example
The following example displays how to return from privilege mode to user mode:
ZXAN#disable
ZXAN>
2-8
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
enable
exit
2.10 enable
Syntax
enable
Purpose
To enter privilege mode from user mode
Usage Guidelines
None
Mode
ZXAN>
Example
The following example displays how to enter privilege mode from the user mode:
ZXAN>enable
Password:
ZXAN#
Related Commands
disable
Related Information
The privilege user password is required.
Note:
When it is typed, the password is not displayed on the interface. It is case sensitive. The
default password is zxr10.
2-9
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure the password for privilege mode
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
0 password
Range: 3 16 characters
password
5 password
Range: 24 characters
password
password
Range: 3 16 characters
password
Mode
ZXAN(config)#
Example
The following example displays how to configure the password for privilege mode:
ZXAN(config)#enable secret ZXAN
ZXAN(config)#
Related Commands
enable
Related Information
The enable password displayed in show running-config is the encrypted privileged
password, while the password that is used to enter the privileged mode is unencrypted
privileged password.
2-10
SJ-20120615152640-010|2012-06-30 (R1.0)
Note:
Both enable secret 0 password and enable secret password are used to enter an unencrypted
password. Set the encrypted password with the enable secret 5 password command. The
configured password is not encrypted unless the password length is 24 characters.
2.12 end
Syntax
end
Purpose
To return to the privileged mode
Usage Guidelines
None
Mode
Any mode except user mode and privilege mode
Example
The following example displays how to return to the privileged mode:
ZXAN(config)#end
ZXAN#
Related Commands
configure terminal
Related Information
The end command has the same syntax and effects in all the modes except the user mode
and the privilege mode.
Purpose
To create an environment device
Usage Guidelines
The following table describes the relevant parameters:
Parameter
Description
Value
devName
132 characters
Mode
ZXAN(config)#
Example
The following example shows how to create an environment device:
ZXAN(config)# env-switch add-device iap
Related Commands
show env-device
show running-config
Purpose
To enable the environment switch
Usage Guidelines
The following table describes the relevant parameters:
Parameter
Description
Value
switcheId
Integral: 18
Device name
132 characters
normal-status status
monitoring
2-12
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
ZXAN(config)#
Example
The following example shows how to associate device iap with switch 2:
ZXAN(config)# env-switch switch 2 device iap
The following example shows how to configure the normal status on switch 1:
ZXAN(config)#env-switch switch 1 normal-status 1
Related Commands
show env-switch
show alarm pool
show running-config
2.15 exit
Syntax
exit
Purpose
To quit the login router or return to the last mode
Usage Guidelines
None
Mode
Any mode
Example
The following example displays how to quit the login router or return to the last mode:
ZXAN(config)#exit
ZXAN#
Related Commands
configure terminal
logout
2-13
SJ-20120615152640-010|2012-06-30 (R1.0)
login
Related Information
When this command is executed under the exec mode or privilege mode, it means exiting
the login router. While in other modes, it means returning to the last mode.
2.16 hostname
Syntax
hostname hostname
no hostname
Purpose
To configure the host name of the system
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
hostname
Range: 1 32 characters
Mode
ZXAN(config)#
Example
The following example displays how to configure the host name of the system:
ZXAN(config)#hostname ZTEPON
ZTEPON(config)#
Related Commands
None
Related Information
This command takes effect immediately after it is executed.
2.17 load-balance
Syntax
load-balance { disable | enable }
2-14
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure the load-balance function
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
disable
enable
Mode
ZXAN#
Example
The following example displays how to enable the load balance function:
ZXAN#load-balance enable
Confirm to reboot system? [yes/no]:y
Related Commands
show load-balance
Purpose
To permit multiple users to enter configuration mode
Usage Guidelines
None
Mode
ZXAN(config)#
Example
The following example displays how to permit multiple users to enter configuration mode:
2-15
SJ-20120615152640-010|2012-06-30 (R1.0)
Enter the configuration mode and allow multiple user configurations when there is no
user in the configuration mode:
ZXAN#configure terminal
ZXAN(config)#multi-user configure
%Warning: allow others configure, must avoid conflict.
ZXAN(config)#
Enter the single user configuration mode when there is one user in the configuration
mode:
ZXAN#configure terminal
%Simultaneous configs not allowed. Locked from 168.1.168.168
ZXAN#
Related Commands
configure terminal
Related Information
By default, only one user can enter the global configuration mode. Other users cannot
enter this mode unless multi-user configure command is configured. The no command is
used to configure the single user configuration mode, but it does not succeed unless all
other users have logged out from the configuration mode.
Note:
When executing multi-user configure command, avoid conflict between different users.
2.19 set-cputhreshold
Syntax
set-cputhreshold [rackno rackno] [shelfno shelfno] slotno slotno threshold
Purpose
To configure the CPU threshold alarm value
2-16
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
rackno rackno
Rack number
Range: 1 3
shelfno shelfno
Shelf number
Range: 1 3
slotno slotno
Slot number
Range: 2 22
threshold
Threshold value
Range: 1 100
Mode
ZXAN(config)#
Example
The following example displays how to configure CPU threshold alarm value:
ZZXAN(config)#set-cputhreshold rackno 1 shelfno 1 slotno 8 70
ZXAN(config)#
Related Commands
set-memthreshold
show cputhreshold
2.20 set-memthreshold
Syntax
set-memthreshold [rackno rackno] [shelfno shelfno] slotno slotno threshold
Purpose
To configure memory threshold alarm value
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
rackno rackno
Rack number
Range: 1 3
shelfno shelfno
Shelf number
Range: 1 3
slotno slotno
Slot number
Range: 2 22
threshold
Threshold value
Range: 1 100
2-17
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
ZXAN(config)#
Example
The following example displays how to configure memory threshold alarm value:
ZXAN(config)#set-memthreshold rackno 1 shelfno 1 slotno 8 70
ZXAN(config)#
Related Commands
set-cputhreshold
show memthreshold
2.21 set-pnp
Syntax
set-pnp {enable | disable}
Purpose
To enable or disable the plug and play (PnP) for cards
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
enable
Enable PnP
disable
Disable PnP
Mode
ZXAN(config)#
Example
The following example displays how to enable the PnP function for cards:
ZXAN(config)#set-pnp enable
Related Commands
show pnp
2-18
SJ-20120615152640-010|2012-06-30 (R1.0)
2.22 time-range
Syntax
time-range range-name from hh:mm:ss mm-dd-yyyy [to hh:mm:ss mm-dd-yyyy]
time-range range-name hh:mm:ss to mm-dd-yyyy {dayname}
no time-range range-name
Purpose
To configure the time range
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
range-name
Range: 1 16 characters
from
hh:mm:ss
mm-dd-yyyy
and year
dayname
Day name
to
Mode
ZXAN(config)#
Example
The following example displays how to configure the time range:
ZXAN(config)#time-range test1 from 00:00:00 01-01-2008 to
23:59:59 12-31-2009
ZXAN(config)#time-range test2 00:00:00 to 02:00:00 saturday
ZXAN(config)#
Related Commands
show time-range
2-19
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Information
This command can be used to specify a continuous time range or a time range that meet
certain conditions.
The no time-range command is used to delete the configuration.
2.23 username
Syntax
username username password {0 password | 7 password | password} [privilege privilege] [maxsessionsmax-sessions]
no username username
Purpose
To configure the login user name and password
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
username
Range: 1 16 characters
password
Range: 3 16 characters
0 password
Range: 3 16 characters
not allowed
7 password
Range: 24 characters
Max-sessions number
Range: 1 4
privilege privilege
User privilege
Range: 0 15
Default: 1
Mode
ZXAN(config)#
Example
The following example displays how to configure the login user name and password:
ZXAN(config)#username abc password pass
ZXAN(config)#
Related Commands
show username
2-20
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Information
The user name can include 0123456789abcdefghijklmorqrstuvwxyz_ and the
password can include 0123456789abcdefghijklmnopqrstuvwxyz_ABCDEFGHIJKL
MNOP QRSTUVWXYZ*-=~!@#$%^ and _+[]{}|;:,./<> \\.
Note:
Both username username password 0 password and username username password password
are used to enter an unencrypted password. Set the encrypted password with the usern
ame username password 7 password command. The configured password is not encrypted
unless the password length is 24 characters.
Purpose
To modify the user password
Usage Guidelines
The following table describes the relevant parameters:
Parameter
Description
Value
password
visible
Mode
ZXAN#
Example
The following example shows how to modify the user password:
ZXAN#user password zte1
ZXAN#
Related Commands
show username
2-21
SJ-20120615152640-010|2012-06-30 (R1.0)
2.25 user-suspend
Syntax
user-suspend { mode < mode > | retry-time < retry-time > | time < time >}
Purpose
To configure the user suspension mode, as well as the duration and retry times
Usage Guidelines
The following table describes the relevant parameters:
Parameter
Description
Value
mode
locking occurs.
< time >
Unit: minutes
Mode
ZXAN(config)#
Example
The following example shows how to suspend user if passwords are error in 3 consecutive
times: (this user IP address will be suspended by 30 minutes during which suspension can
not be canceled even with correct password).
ZXAN(config)#user-suspend mode ip
ZXAN(config)#user-suspend time 30
ZXAN(config)#user-suspend retry-times 3
Related Commands
None
2.26 who
Syntax
who
2-22
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To display the list of the current login users
Usage Guidelines
None
Mode
ZXAN#
Example
The following example displays the list of the current login users:
ZXAN#who
Line User Host(s) Idle Location
* 66 vty 0 zte idle 00:00:00 136.1.1.9
67 vty 1 zte idle 00:30:10 136.1.1.14
68 vty 2 zte idle 00:10:32 136.1.1.7
69 vty 3 zte idle 00:21:02 136.1.1.22
ZXAN#
Description
Line
User
Host
Idle
Idle time
Location
Related Commands
None
Purpose
To show the configuration of the auto-save function
2-23
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
None
Mode
ZXAN(config)#
Example
The following example shows the configuration of the auto-save function:
ZXAN(config)#show auto-write
auto-write enable
auto-write 02:00:00 Oct 1
2012
Related Commands
auto-write
Purpose
To display the system clock
Usage Guidelines
None
Mode
Any mode
Example
The following example displays the system clock:
ZXAN(config)#show clock
11:19:35
Mon
Mar 9
2009
beijing
ZXAN(config)#
Related Commands
clock
2-24
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To display the CPU threshold information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
rackno rackno
Rack number
Range: 1 3
shelfno shelfno
Shelf number
Range: 1 3
slotno slotno
Slot number
Range: 2 22
Mode
Any mode except user mode
Example
The following example displays the entries in the CPU threshold information:
ZXAN#show cputhreshold
Rack Shelf Slot CpuThreshold
-----------------------------1
100
100
10
100
11
100
16
100
17
100
20
100
21
100
ZXAN#
Related Commands
set-cputhreshold
2-25
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To display the load-balance status
Usage Guidelines
None
Mode
ZXAN#
Example
The following example displays the load balance status:
ZXAN#show load-balance
load-balance: enable
Related Commands
load-balance
Purpose
To display the memory threshold configuration information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
rackno rackno
Rack number
Range: 1 3
shelfno shelfno
Shelf number
Range: 1 3
slotno slotno
Slot number
Range: 2 22
2-26
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
Any mode except user mode
Example
The following example displays the entries in the memory threshold:
ZXAN#show memthreshold
Rack Shelf Slot MemThreshold
-----------------------------1
100
100
10
100
11
100
16
100
17
100
20
100
21
100
ZXAN#
Related Commands
set-memthreshold
Purpose
To display the system processor information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
rackno rackno
Rack number
Range: 1 3
shelfno shelfno
Shelf number
Range: 1 3
slotno slotno
Slot number
Range: 2 22
Mode
Any mode except user mode
2-27
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays the system processor information:
ZZXAN#show processor
Rack Shelf
CPU(5m)
PhyMem(MB) Memory
-----------------------------------------------------------1
6%
6%
6%
32
46%
10
24%
24%
24%
254
72%
21
11%
11%
11%
16
45%
ZXAN#
Related Commands
None
Purpose
To display the current configuration information of the system or a specified interface
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
interface interface-name
Interface name
Epon-olt_rackno/slotno/portno
Epon-onu_rackno/slotno/portno:onuno
Gei_1/3/portno
Loopback
Interface Range: 1 64
Mng1
Null1
Smartgroup
Interface Range: 1 8
SuperVLAN
Interface Range: 1 255
Tunnel
Interface Range: 1 64
Vlan
2-28
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
Interface Range: 1 4094
Xgei_1/3/portno
msan type
Output modifiers
begin
that matches
exclude
match
include
match
line
Regular expression
Mode
Any mode except user mode
Example
The following example displays the current configuration information of a specified
interface:
ZXAN(config)#show running-config interface gei_1/3/1
Building configuration...
!
interface gei_1/3/1
hybrid-attribute copper
negotiation auto
flowcontrol disable
port-protect disable
switchport mode hybrid
switchport vlan 30,35,45-46,50 tag
ip dhcp snooping trust
!
end
ZXAN#
Related Commands
None
2-29
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To display the system group information
Usage Guidelines
None
Mode
Any mode
Example
The following example displays the system group information:
ZXAN#show system-group
System Description: ZXR10 ROS Version V4.6.02A
ZXR10_5228 Software, Version V2.6.02A.21
Copyright (c) 2000-2008 by ZTE Corporation
Compiled Jan 12 2009, 10:43:55
System ObjectId: .iso.org.dod.internet.private.enterprises.
zte.3.100.18
System StartTime: 2009-2-11 21:17:37
Started before: 7 days, 19 hours, 52 minutes
Contact with: +86-021-68895000
System name: ZXAN
Location: No.889 BiBo Rd. PuDong District, ShangHai, China
This system primarily offers a set of 78 services
ZXAN#
Related Commands
None
2-30
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To display the system time range configuration information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
range-name
Range: 1 16 characters
Mode
Any mode except user mode
Example
The following example displays the system time range configuration information:
ZXAN#show time-range
Current time is 07:04:44 01-01-2001 Monday
Time-range: test1
from 00:00:00 01-01-2008 to 23:59:59 12-31-2009
Time-range: test2
00:00:00 to 02:00:00 Saturday
ZXAN#
Related Commands
time-range
Purpose
To display the list of the user names authorized for login and their passwords
Usage Guidelines
None
Mode
Any mode except user mode
2-31
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays the list of the user names authorized for login and their
passwords:
ZXAN#show username
Username
Password
Privilege
Max-sessions
zte
dnXspUMqxfJOgln2Hm7Olw== 15
mmm
xO/VAgy0m50yV/+g+8zArg== 15
Related Commands
username
Purpose
To display the terminal user information
Usage Guidelines
None
Mode
Any mode
Example
The following example displays the terminal user information:
ZXAN(config)#show users
Line User Host(s) Idle Location
* 66 vty 0 zte idle 00:00:00 136.1.1.9
67 vty 1 zte idle 00:05:54 136.1.1.14
68 vty 2 zte idle 00:00:09 136.1.1.7
69 vty 3 zte idle 00:37:16 136.1.1.22
ZXAN(config)#
Description
Line
User
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Host
Idle
Idle time
Location
Related Commands
None
Purpose
To show the user suspension mode, suspension duration and retry-times
Usage Guidelines
None
Mode
All modes except user mode
Example
The following example shows the user suspension information:
ZXAN#show user-suspend
User suspend config:
---------------------user-suspend mode none
Related Commands
None
2-33
SJ-20120615152640-010|2012-06-30 (R1.0)
2-34
SJ-20120615152640-010|2012-06-30 (R1.0)
Chapter 3
Hardware Management
Table of Contents
add-rack .....................................................................................................................3-1
add-shelf ....................................................................................................................3-2
add-card.....................................................................................................................3-3
add-subcard ...............................................................................................................3-3
del-rack ......................................................................................................................3-4
del-shelf .....................................................................................................................3-5
del-card ......................................................................................................................3-6
del-subcard ................................................................................................................3-6
reboot.........................................................................................................................3-7
reset-card...................................................................................................................3-8
show rack...................................................................................................................3-9
show shelf ..................................................................................................................3-9
swap ........................................................................................................................3-10
show card.................................................................................................................3-11
3.1 add-rack
Syntax
add-rack rackno rackno racktype racktype
Purpose
To add a rack
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
rackno rackno
Rack number
Range: 1 3
Default: 1
racktype racktype
Rack type
Mode
ZXAN(config)#
3-1
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to add a rack:
ZXAN(config)#add-rack rackno 1 racktype C320Rack
ZXAN(config)#
Related Commands
del-rack
3.2 add-shelf
Syntax
add-shelf [rackno rackno] shelfno shelfno shelftype shelftype [connectid connectid]
Purpose
To add a shelf
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
rackno rackno
Rack number
Range: 1 3
Default: 1
shelfno shelfno
Shelf number
Range: 1 3
shelftype shelftype
Shelf type
C320_SHELF, ETSI_SHELF,
ETSI_SHELF_EX, IEC_SHELF,
IEC_SHELF_EX
connectid connectid
Connection ID
Range: 1 2
Mode
ZXAN(config)#
Example
The following example displays how to add a shelf:
ZXAN(config)#add-shelf rackno 1 shelfno 1 shelftype C320_SHELF
ZXAN(config)#
Related Commands
del-shelf
3-2
SJ-20120615152640-010|2012-06-30 (R1.0)
3.3 add-card
Syntax
add-card[rackno rackno] [shelfno shelfno] {slotno slotno} {cardtype}
Purpose
To add a card
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
rackno rackno
Rack number
Range: 1 3
Default: 1
shelfno shelfno
Shelf number
Range: 1 3
Default: 1
slotno slotno
Slot number
Range: 0 22
cardtype
card type
Mode
ZXAN(config)#
Example
The following example displays how to add a card.
ZXAN(config)#add-card slotno 2 ETGO
ZXAN(config)#
Related Command
del-card
3.4 add-subcard
Syntax
add-subcard [rackno rackno] [shelfno shelfno] slotno slotno subcardno subcardno subcardtype
3-3
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To add a subcard
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
rackno rackno
Rack number
Range: 1 3
Default: 1
shelfno shelfno
Shelf number
Range: 1 3
Default: 1
slotno slotno
Slot number
Range: 2 22
subcardno subcardno
Subcard number
Range: 1 2
subcardtype
Subcard type
MAPP
Mode
ZXAN(config)#
Example
The following example displays how to add a subcard:
ZXAN(config)#add-subcard rackno 1 shelfno 1 slotno 3 subcardno 2 MAPP
ZXAN(config)#
Related Commands
del-subcard
3.5 del-rack
Syntax
del-rack rackno rackno
Purpose
To delete a rack
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
rackno rackno
Rack number
Range: 1 3
3-4
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
ZXAN(config)#
Example
The following example displays how to delete a rack:
ZXAN(config)#del-rack rackno 1
ZXAN(config)#
Related Commands
add-rack
3.6 del-shelf
Syntax
del-shelf [rackno rackno] shelfno shelfno
Purpose
To delete a shelf
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
rackno rackno
Rack number
Range: 1 3
Default: 1
shelfno shelfno
Shelf number
Range: 1 3
Mode
ZXAN(config)#
Example
The following example displays how to delete a shelf:
ZXAN(config)#del-shelf shelfno 1
ZXAN(config)#
Related Commands
add-shelf
3-5
SJ-20120615152640-010|2012-06-30 (R1.0)
3.7 del-card
Syntax
del-card [rackno rackno] [shelfno shelfno] slotno slotno
Purpose
To delete a card
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
rackno rackno
Rack number
Range: 1 3
Default: 1
shelfno shelfno
Shelf number
Range: 1 3
Default: 1
slotno slotno
Slot number
Range: 0 22
Mode
ZXAN(config)#
Example
The following example displays how to delete a card:
ZXAN(config)#del-card slotno 2
ZXAN(config)#
Related Commands
add-card
3.8 del-subcard
Syntax
del-subcard [rackno rackno] [shelfno shelfno] slotno slotno subcardno subcardno
Purpose
To delete a subcard
Usage Guidelines
The following table provides parameter description:
3-6
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
rackno rackno
Rack number
Range: 1 3
Default: 1
shelfno shelfno
Shelf number
Range: 1 3
Default: 1
slotno slotno
Slot number
Range: 2 22
subcardno subcardno
Subcard number
Range: 1 2
Mode
ZXAN(config)#
Example
The following example displays how to delete a subcard:
ZXAN(config)#del-subcard rackno 1 shelfno 1 slotno 3 subcardno 1
ZXAN(config)#
Related Commands
add-subcard
3.9 reboot
Syntax
reboot [rackno rackno] [shelfno shelfno]
Purpose
To reboot the system
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
rackno rackno
Rack number
Range: 1 3
Default: 1
shelfno shelfno
Shelf number
Range: 1 3
Default: 1
Mode
ZXAN#
3-7
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to reboot the system:
ZXAN#reboot
Confirm to reboot? [yes/no]:yes
Related Commands
reset-card
3.10 reset-card
Syntax
reset-card [rackno rackno] [shelfno shelfno] slotno slotno [subinfo subinfo]
Purpose
To reset the card
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
rackno rackno
Rack number
Range: 1 3
Default: 1
shelfno shelfno
Shelf number
Range: 1 3
Default: 1
slotno slotno
Slot number
Range: 2 22
subinfo subinfo
Subcard number
Range: 0 2
Mode
ZXAN#
Example
The following example displays how to reset the card:
ZXAN#reset-card rackno 1 shelfno 1 slotno 2
Confirm to reset card? [yes/no]:yes
ZXAN#
Related Commands
reboot
3-8
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To display the configured rack information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
rackno rackno
Rack number
Range: 1 3
Default: 1
Mode
Any mode except user mode
Example
The following example displays the configured rack information:
ZXAN#show rack
Rack
RackType
SupShelfNum
CfgShelfNum
------------------------------------------------------------------1
C320Rack
Related Commands
add-rack
del-shelf
Purpose
To display the configured shelf information
Usage Guidelines
The following table provides parameter description:
3-9
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
rackno rackno
Rack number
Range: 1 3
Default: 1
Shelf number
shelfno shelfno
Range: 1 3
Mode
Any mode except user mode
Example
The following example displays the configured shelf information:
ZXAN#show shelf
Rack
Shelf
ShelfType
ConnectId
CleiCode
Serial-Number
------------------------------------------------------------------------------1
C320_SHELF
UnKnowCleiCode
Related Commands
add-shelf
del-shelf
3.13 swap
Syntax
swap [rackno rackno] [shelfno shelfno] [slotno slotno]
Purpose
To swap between active and standby card
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
rackno rackno
Rack number
Range: 1 3
Default: 1
shelfno shelfno
Shelf number
Range: 1 3
Default: 1
slotno slotno
Slot number
Range: 0 22
Mode
ZXAN#
3-10
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to swap between active and standby card:
ZXAN#swap rackno 1 shelfno 1 slotno 3
Confirm to master swap? [yes/no]:yes
Swap execute: RackNo: 1, ShelfNo: 1,SlotfNo: 3
Related Commands
None
Purpose
To display the configured card information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
rackno rackno
Rack number
Range: 1 3
Default: 1
Shelf number
shelfno shelfno
Range: 1 3
Default: 1
Slot number
slotno slotno
Range: 0 22
Mode
Any mode except user mode
Example
The following example displays the configured card information:
ZXAN#show card
Rack Shelf Slot CfgType RealType Port
HardVer SoftVer
Status
-------------------------------------------------------------------------1
GTGO
OFFLINE
ETGO
OFFLINE
SMXA
SMXA
SMXA
110701
V1.2.0
INSERVICE
OFFLINE
3-11
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
add-card
del-card
3-12
SJ-20120615152640-010|2012-06-30 (R1.0)
Chapter 4
Fan Management
Table of Contents
fan control ..................................................................................................................4-1
fan epm ......................................................................................................................4-2
fan high-threshold ......................................................................................................4-3
fan speed ...................................................................................................................4-3
fanboard.....................................................................................................................4-4
fan-board....................................................................................................................4-5
fan-epm-console ........................................................................................................4-6
fan high-temp-protection.............................................................................................4-7
show fan ....................................................................................................................4-8
show fanboard............................................................................................................4-9
show fan-epm-console ...............................................................................................4-9
Purpose
To set fan status (fixed speed status or auto-adjust status according to temperature)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
fixed-speed
Fixed speed
Auto-adjust speed
Temp1
according to temperature
Range: 0 55
Temp2
four
Range: 5 60
Temp3
Range: 10 65
Temp4
Range: 15 70
4-1
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
ZXAN(config)#
Example
The following example displays how to configure the fixed speed of the fan:
ZXAN(config)#fan control temp_level 30 40 50 60
Related Commands
show fan
Purpose
To enable/disable control the EPM function and 5100 port
Usage Guidelines
The following table describes the relevant parameters:
Parameter
Description
Value
enable
EPM enable
disable
EPM disable
In default
Mode
ZXAN(config)#
Example
The following example shows how to enable/disable control EPM function:
ZXAN(config)#fan epm enable
ZXAN(config)#fan epm disable
Related Commands
show fan
show running-config
Related Information
EPM function provides a two-way channel for both NMS and environment monitoring. For C320, NMS sends
4-2
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure the fan high temperature threshold value
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
temp
Range: 60 80
value
Default: 70
Mode
ZXAN(config)#
Example
The following example displays how to configure the high temperature threshold value:
ZXAN(config)#fan high-threshold 60
ZXAN(config)#
Related Commands
show fan
Related Information
High-temperature inspection interval is 30 seconds. When current temperature is higher
than the threshold, the system takes the following action:
l
l
l
Purpose
To configure the fan speed
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
speed level
Fan speed
0: 0
1: 2300
2: 2900
3: 3500
4: 4100
Unit: rpm
Mode
ZXAN(config)#
Example
The following example displays how to configure the fan speed:
ZXAN(config)#fan speed 2
ZXAN(config)#
Related Commands
show fan
Related Information
The system supports 5 speed categories. Each category has fixed value.
4.5 fanboard
Syntax
fanboard fanboard-id shift-speed speed1 speed2 speed3 speed4
Purpose
To configure the fan card speed shift
Usage Guidelines
The following table provides parameter description:
4-4
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
fanboard-id
Range: 1 3
speed1
Shift speed 1
speed2
Shift speed 2
speed3
Shift speed 3
speed4
Shift speed 4
Mode
ZXAN(config)#
Example
The following example displays how to configure the fan card speed shift:
ZXAN(config)#fanboard 3 shift-speed 24 37 40 44
ZXAN(config)#
Related Commands
show fan
4.6 fan-board
Syntax
fan-board fanboard-id {alarm-beep {disable | enable} | control {fixed-speed | temperature-con
trol} | high-threshold high-threshold | speed speed | temperature-level temperature-level speed
speed}
Purpose
To configure the fan card
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
fanboard-id
Range: 1 3
alarm-beep
Fan alarm
4-5
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
disable
enable
control
fixed-speed
Fixed speed
temperature-control
Temperature control
high-threshold high-threshold
Range: 60 80
speed speed
temperature-level
Temperature level
Range: 0 70
temperature-level
Mode
ZXAN(config)#
Example
The following example displays how to configure the fan card:
ZXAN(config)#fan-board 1 alarm-beep enable
ZXAN(config)
Related Commands
show fan-board
4.7 fan-epm-console
Syntax
fan-epm-console {epm | fan}
Purpose
To configure the EPM console mode
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
epm
EPM mode
fan
Fan mode
4-6
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
ZXAN(config)#
Example
The following example displays how to configure the fan EPM console mode:
ZXAN(config)#fan-epm-console epm
ZXAN(config)#
Related Commands
show fan-epm-console
Purpose
To set high temperature protection for a card
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
tempThreshold
Mode
ZXAN(config)#
Example
The following example displays how to set high temperature protection for a card:
ZXAN(config)#fan high-temp-protection tempThreshold 58 reTime 45
Related Information
The hard version of the main control card should be later than 0906xx.
4-7
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To display the fan running status
Usage Guidelines
None
Mode
Any mode except user mode
Example
The following example displays the fan running status:
ZXAN#show fan
FanControlType
: temperature-control
TemperatureThreshold
: 0
HighTemperatureThreshold
: 70(Celsiur scale)
Environment Temperature
15
30
40 (Celsiur scale)
--------------------------------------fan
Actual Status
Actual Speed
--------------------------------------1
on
on
off
on
--------------------------------------ZXAN#
Related Commands
None
4-8
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To display the fan card information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
fanboard
Range: 1 3
Mode
Any mode except user mode
Example
The following example displays the fan card information:
ZXAN(config)#show fanboard 1
ZXAN(config)#
Related Commands
fanboard
Purpose
To display the fan EPM console mode
Usage Guidelines
None
Mode
Any mode except user mode
4-9
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays the fan EPM console mode:
ZXAN#show fan-epm-console
FanConsoleMode
: fan
ZXAN#
Related Commands
None
4-10
SJ-20120615152640-010|2012-06-30 (R1.0)
Chapter 5
Version Management
Table of Contents
download....................................................................................................................5-1
upload ........................................................................................................................5-2
sync-file......................................................................................................................5-3
update-boot................................................................................................................5-4
swapver .....................................................................................................................5-5
patch active................................................................................................................5-6
patch deactive ............................................................................................................5-6
patch load ..................................................................................................................5-7
patch unload ..............................................................................................................5-7
show compound-version.............................................................................................5-8
show version-running .................................................................................................5-9
show version-saved..................................................................................................5-10
show sync-status......................................................................................................5-11
5.1 download
Syntax
download {img | data | cfg | onuver | patch | sdisk-img | sdisk-data | sdisk-cfg | sdisk-onuver
| sdisk-patch} file-name [ftp | sftp ]
Purpose
To download file from the host
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
img
Version file
data
Database file
cfg
Configuration file
onuver
Onuver file
patch
Patch file
sdisk-img
5-1
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
sdisk-data
sdisk-cfg
sdisk-onuver
sdisk-patch
file-name
File name
Range: 1 32 characters
ftp
sftp
Mode
ZXAN#
Example
The following example displays how to download file from the host:
ZXAN#download img scgl.mvr
Downloading from host(10.63.198.47)
Transfering file scgl.mvr
........................
file download successfully.
ZXAN#
Related Commands
None
5.2 upload
Syntax
upload {img | data | cfg | onuver |patch| sdisk-img | sdisk-data | sdisk-cfg | sdisk-onuver |
sdisk-patch} file-name[ftp | sftp]
Purpose
To upload a specified file to the host
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
img
Version file
5-2
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
data
Database file
cfg
Configuration file
onuver
Onuver file
patch
Patch file
sdisk-img
sdisk-data
sdisk-cfg
sdisk-onuver
sdisk-patch
file-name
File name
Range: 1 32 characters
ftp
sftp
Mode
ZXAN#
Example
The following example displays how to upload a specified file to the host:
ZXAN#upload img scgl.mvr
Uploading file to host(10.63.198.47)
Uploading file scgl.mvr ...
[Successfully]
ZXAN#
Related Commands
None
5.3 sync-file
Syntax
sync-file {img| data| cfg | onuver | patch | sdisk-img | sdisk-data | sdisk-cfg | sdisk-onuver |
sdisk-patch} host-file-name
Purpose
To sync files between master and backup cards
5-3
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table describes the relevant parameters:
Parameter
Description
Value
img
Img directory
data
Data directory
cfg
Cfg directory
onuver
Onuver directory
patch
patch directory
sdisk-img
Sdisk-img directory
sdisk-data
Sdisk-data directory
sdisk-cfg
Sdisk-cfg directory
sdisk-onuver
Sdisk-onuver directory
sdisk-patch
sdisk-patch directory
file-name
File name
116 characters
Mode
Privilege mode
Example
The following example shows how to sync the cfg directory:
ZXAN#sync-file cfg
Related Commands
None
Related Information
It is possible to select a directory or a file with command sync-file. Otherwise, all files will
be synchronized. And it is an asynchronous command, it is possible to check sync status
with command show sync-status.
5.4 update-boot
Syntax
update-boot [rackno rackno] [shelfno shelfno] slotno slotno
Purpose
To upload boot version file
5-4
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
rackno rackno
Rack number
Range: 1 3
Default: 1
shelfno shelfno
Shelf number
Range: 1 3
Default: 1
slotno slotno
Slot number
Range: 2 22
Mode
ZXAN#
Example
The following example displays how to upload boot version file:
ZXAN#update-boot slotno 3
Confirm to update boot? [yes/no]:yes
Related Commands
None
5.5 swapver
Syntax
swapver
Purpose
To swap between the active and standby version
Usage Guidelines
None
Mode
ZXAN#
Example
The following example displays how to swap between the active and standby version:
ZXAN#swapver
ZXAN#
5-5
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Purpose
To activate a patch
Usage Guidelines
None
Mode
ZXAN#
Example
The following example displays how to activate a patch:
ZXAN#patch active aabb
Purpose
To deactivate a patch
Usage Guidelines
None
Mode
ZXAN#
5-6
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to deactivate a patch:
ZXAN#patch deactive aabb
Purpose
To load patch file
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
patchname
Range: 1 32 characters
Mode
ZXAN#
Example
The following example displays how to load patch file:
ZXAN#patch load
patch.123
ZXAN#
Related Commands
patch unload
Purpose
To unload patch file
5-7
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
patchname
Range: 1 32 characters
Mode
ZXAN#
Example
The following example displays how to unload patch file:
ZXAN#patch unload patch.123
ZXAN#
Related Commands
patch load
Purpose
To display the compound version filename
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
filename
Range: 0 32 characters
Mode
Any mode except user mode
Example
The following example displays the compound version filename:
ZXAN#show compound-version gtgoe.fw
FileName
FileLength
------------------------------------------------------------
5-8
SJ-20120615152640-010|2012-06-30 (R1.0)
2012-07-23 05:38:36
194757
2012-07-23 05:38:44
4032334
2012-07-23 05:38:46
195911
xBIN
zx276103.bin BIN
.BIN
gtgoe110300. BIN
xBIN
Related Commands
download
Purpose
To display the running version file information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
rackno rackno
Rack number
Value
Range: 1 3
Default: 1
Shelf number
shelfno shelfno
Range: 1 3
Default: 1
Slot number
slotno slotno
Range: 2 22
Mode
Any mode except user mode
Example
The following example displays the running version file information :
ZXAN#show version-running
PhyLoc
FileType
VerType
VerTag
BuildTime
VerLenth
-------------------------------------------------------------------------------
1/1/3
SMXA
MVR
V1.2.0
1/1/3
SMXA
BT
V0.99
5-9
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
download
Purpose
To display the version information stored in MP file system
Usage Guidelines
The following table provides parameter description:
Parameter
master
Description
Value
information
Slave card version file
slave
information
Mode
Any mode except user mode
Example
The following example displays the master card version stored in MP file system:
ZXAN#show version-saved master
PhyLoc FileName
VerType VerTag
BuildTime
VerLenth Active
--------------------------------------------------------------------------------
1/1/3
etgo.fw
FW
V1.2.0
1/1/3
etgo.mvr
MVR
V1.2.0
1/1/3
etgod.bt
BT
V1.2.0
1/1/3
etgof.bt
BT
V1.2.0
1/1/3
gtgoe.bt
BT
V1.2.0
1/1/3
gtgoe.fw
FW
V1.2.0
1/1/3
gtgoe.mvr
MVR
V1.2.0
1/1/3
pm.fw
FW
V1.2.0
1/1/3
smxa.bt
BT
V1.2.0
1/1/3
smxa.fw
FW
V1.2.0
1/1/3
smxa0.mvr
MVR
V1.2.0
1/1/3
smxa1.mvr
MVR
V1.2.3
5-10
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Purpose
To display the synchronization status between main and backup
Usage Guidelines
None
Mode
Any mode except user mode
Example
The following example displays the synchronization status:
ZXAN#show sync-status
ZXAN#
Related Commands
None
5-11
SJ-20120615152640-010|2012-06-30 (R1.0)
5-12
SJ-20120615152640-010|2012-06-30 (R1.0)
Chapter 6
Purpose
To configure the condition for auto-backup function
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
cfg-changed
hold-off-time time1
max-hold-off-time time2
Mode
ZXAN(config)#
Example
The following example displays how to configure the condition for auto-backup function:
ZXAN(config)#auto-backup condition cfg-changed hold-off-time 2 max-hold-off-time 4
Related Commands
show auto-backup condition
Purpose
To configure the period for auto-backup function
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
all
All files
cfg
Configuration files
img
Version files
log
Log files
time
Time to auto-backup
hh:mm:ss
month
Month
day
Day
Range: 1 31
year
Year
max-hold-off-time time2
Interval of auto-backup
Mode
ZXAN(config)#
6-2
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to configure the auto-backup period for all files:
ZXAN(config)#auto-backup period all 02:00:00 jan 1 2012 interval 24
Related Commands
show auto-backup period
6.3 config-filename
Syntax
config-filename filename
Purpose
To set the configuration file name for NE startup
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
filename
File name
Mode
ZXAN(config-if)#
Example
The following example displays how to set the configuration file name for NE startup:
ZXAN(config-if)#config-filename startrun.dat
6.4 copy
Syntax
copy {master | slave} {img | data | cfg | onuver| patch | sdisk-img | sdisk-data | sdisk-cfg |
sdisk-onuver} src-file-name {master | slave} {img | data | cfg | onuver | sdisk-img | sdisk-data
| sdisk-cfg | sdisk-onuver| sdisk-patch} dst-file-name
Purpose
To copy files from a source file system to a specified destination file system
6-3
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
img
Version file
data
Database file
cfg
Configuration file
onuver
patch
Patch file
sdisk-img
sdisk-data
sdisk-cfg
sdisk-onuver
sdisk-patch
master
Master mode
slave
Slave mode
src-file-name
Range: 1 32 characters
dst-file-name
Range: 1 32 characters
Mode
ZXAN#
Example
The following example displays how to copy files from a source file system to a specified
destination file system:
ZXAN#copy master cfg startrun.dat slave cfg startrun.bak
Start copying file
Related Commands
None
6-4
SJ-20120615152640-010|2012-06-30 (R1.0)
6.5 delete
Syntax
delete {img | data | cfg | onuver| patch | sdisk-img | sdisk-data | sdisk-cfg | sdisk-onuver|
sdisk-patch} file-name
Purpose
To delete the files from a specified directory. When the file-name is empty, input *.* or
*.suff.
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
img
Version file
data
Database file
cfg
Configuration file
onuver
patch
Patch file
sdisk-img
sdisk-data
sdisk-cfg
sdisk-onuver
sdisk-patch
file-name
File name
Range: 1 32 characters
Mode
ZXAN#
Example
The following example displays how to delete the files in a specified directory:
ZXAN#delete cfg *.*
Start deleting file
deleting startrun.dat..
[Successfully]
deleting startrun.sav
[Successfully]
deleting file startrun.dat on backup board...
[Successfully]
6-5
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
6.6 dir
Syntax
dir {img | data | cfg | onuver | patch | sdisk-img | sdisk-data | sdisk-cfg | sdisk-onuver| sdisk
-patch }
Purpose
To display the files in a specified directory or the current directory
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
img
Version file
data
Database file
cfg
Configuration file
onuver
Onuver file
patch
Patch file
sdisk-img
sdisk-data
sdisk-cfg
sdisk-onuver
sdisk-patch
Mode
ZXAN#
Example
The following example displays the files in a specified directory or the current directory:
ZXAN#dir cfg
Directory of /flash/cfg/
attribute
size
date
time
name
-rwx
29657
OCT-18-2011
07:11:34
startrun.dat
-rwx
29061
OCT-17-2011
13:18:04
startrun.sav
6-6
SJ-20120615152640-010|2012-06-30 (R1.0)
1391
JAN-01-1980
00:00:14
cmdTree.info
Related Commands
None
6.7 file-server
Syntax
file-server { auto-backup | manual-backup} { all | cfg | img | log } server-index index ipaddress
ipaddress ftp [ path path ] username username password password
Purpose
To configure the file server
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
auto-backup
Automatic backup
manual-backup
Manual backup
all
All files
cfg
Configuration files
img
Version files
log
Log files
server-index index
Range: 1 2
ipaddress ipaddress
A.B.C.D
ftp
FTP protocol
path path
File path
1 255 characters
username username
1 32 characters
password password
FTP password
1 32 characters
Mode
ZXAN(config)#
Example
The following example displays how to configure the file server:
6-7
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
show file-server
6.8 manual-backup
Syntax
manual-backup { all | cfg | img | log}
Purpose
To configure the manual backup function
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
all
All files
cfg
Configuration files
img
Version files
log
Log files
Mode
ZXAN#
Example
The following example displays how to configure the manual backup function for all files:
ZXAN#manual-backup all
Related Commands
auto-backup
6.9 write
Syntax
write [ag | cmdlog | imgfile [master | slave] | snmplog]
6-8
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To write the system running configuration to memory
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ag
Write to AG memory
cmdlog
imgfile
snmplog
master
Master mode
slave
Slave mode
Mode
ZXAN#
Example
The following example displays how to write the system running configuration to memory:
ZXAN#write
Building configuration...
..[OK]
ZXAN#
Related Commands
write flash
Purpose
To write the system running configuration to the flash
Usage Guidelines
None
6-9
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
ZXAN#
Example
The following example displays how to write the system running configuration to the flash:
ZXAN#write flash
Building configuration...
..[OK]
ZXAN#
Related Commands
write
Purpose
To write the alarm log into file
Usage Guidelines
None
Mode
ZXAN#
Example
The following example displays how to write the alarm logging into file:
ZXAN#write alarmlog
Building logging file...
..
[ok]
ZXAN#
Related Commands
write
6-10
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Information
The alarm buffer saves the alarm level information in the log file. The log file saving location
on flash is flash: data / log.dat.
This command writes the following alarm logs into the file:
l
l
l
l
l
l
MAJOR
MINOR
WARNINGS
INDETERMINATE
CLEARED
NOTIFICATIONS
Purpose
To display the configuration of automatic backup condition
Usage Guidelines
None
Mode
Any mode except ZXAN>
Example
The following example displays the configuration of automatic backup condition:
ZXAN(config)#show auto-backup condition configure
Cfg-changed
Hold-off-time
Max-hold-off-time
-----------------------------------------------------enable
Related Commands
auto-backup condition
Purpose
To display the configuration of automatic backup period
Usage Guidelines
None
Mode
Any mode except ZXAN>
Example
The following example displays the configuration of automatic backup period:
ZXAN(config)#show auto-backup period configure
Type
Enable
Start-time
Interval
--------------------------------------------------cfg
enable
2012-01-01 02:00:00
24
log
enable
2012-01-01 02:00:00
24
img
enable
2012-01-01 02:00:00
24
Related Commands
auto-backup period
Purpose
To display the progress of automatic or manual backup
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
condition
manual
Manual backup
period
Periodical auto-backup
Mode
Any mode except ZXAN>
6-12
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays the process of manual backup:
ZXAN#show auto-backup progress manual
FileType
: cfg
BackupStatus
StartTime
: 2012-03-01 07:11:42
TotalFiles
: 0
SuccessFiles
: 0
CurrFileName
CurrFileProgress : 0
Related Commands
auto-backup condition
auto-backup period
manual-backup
Purpose
To display the file server configuration for automatic backup or manual backup
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
auto-backup
Automatic backup
manual-backup
Manual backup
Mode
Any mode except ZXAN>
Example
The following example displays the file server configuration for auto-backup:
ZXAN(config)#show file-server auto-backup
FileType
: Cfg
ServerIndex : 1
ProtocolType: Ftp
Server-IpAddr: 1.1.1.1
6-13
SJ-20120615152640-010|2012-06-30 (R1.0)
: abc
Password
: ********
Path
: \c300
FileType
: Cfg
ServerIndex : 2
Not configuration
FileType
: Log
ServerIndex : 1
ProtocolType: Ftp
Username
: abc
Password
: ********
Path
: \c300
FileType
: Log
Server-IpAddr: 1.1.1.1
ServerIndex : 2
Not configuration
FileType
: Img
ServerIndex : 1
ProtocolType: Ftp
Username
: abc
Password
: ********
Path
: \c300
FileType
: Img
Server-IpAddr: 1.1.1.1
ServerIndex : 2
Not configuration
Related Commands
file-server
6-14
SJ-20120615152640-010|2012-06-30 (R1.0)
Chapter 7
User Management
Table of Contents
line console absolute-timeout .....................................................................................7-1
line console idle-timeout .............................................................................................7-2
line telnet absolute-timeout.........................................................................................7-3
line telnet access-class...............................................................................................7-4
line telnet idle-timeout ................................................................................................7-4
line telnet users ..........................................................................................................7-5
login ...........................................................................................................................7-6
login-authentication-type ............................................................................................7-6
login-authorization-type ..............................................................................................7-7
logout .........................................................................................................................7-8
exit .............................................................................................................................7-8
rlogin ..........................................................................................................................7-9
show history .............................................................................................................7-10
show localuser .........................................................................................................7-10
show monitor session ...............................................................................................7-11
show terminal ...........................................................................................................7-12
telnet ........................................................................................................................7-13
telnet mng ................................................................................................................7-13
telnet ONU ...............................................................................................................7-14
Purpose
To configure the total use time of the login serial interface terminal
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
absolute-timeout
7-1
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
ZXAN(config)#
Example
The following example displays how to configure the total use time of the login serial
interface terminal:
ZXAN(config)#line console absolute-timeout 30
ZXAN(config)#
Related Commands
line console idle-timeout
Related Information
After this command is executed, the total use time of the console terminal is specified.
After this specified time, the serial interface terminal session is closed.
Purpose
To configure the idle timeout when there is no input on the login serial interface terminal
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
idle-timeout
Mode
ZXAN(config)#
Example
The following example displays how to configure the idle timeout when there is no input
on the login serial interface terminal:
ZXAN(config)#line console idle-timeout 30
ZXAN(config)#
7-2
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
line console absolute-timeout
Related Information
After this command is executed, if there is no keyboard input in the specified period, the
serial interface terminal session is closed.
Purpose
To configure the Telnet absolute timeout
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
absolute-timeout
Mode
ZXAN(config)#
Example
The following example displays how to configure the Telnet absolute timeout:
ZXAN(config)#line telnet absolute-timeout 30
ZXAN(config)#
Related Commands
line telnet idle-timeout
Related Information
After this command is executed, the total use time of the Telnet is specified. After this
specified time, the serial interface terminal session is closed.
7-3
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To filter Telnet connection based on an IP access list
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
access-list-number
Range: 1 99
Mode
ZXAN(config)#
Example
The following example displays how to filter Telnet connection based on an IP access list:
ZXAN(config)#line telnet access-class 2
ZXAN(config)#
Related Commands
None
Purpose
To configure the Telnet idle timeout
Usage Guidelines
The following table provides parameter description:
7-4
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
idle-timeout
Mode
ZXAN(config)#
Example
The following example displays how to configure the Telnet idle timeout:
ZXAN(config)#line telnet idle-timeout 30
ZXAN(config)#
Related Commands
line telnet absolute-time
Related CInformation
After this command is executed, if there is no keyboard input in the specified period, the
serial interface terminal session is closed.
Purpose
To configure the Telnet users
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
userid
Telnet user ID
Range: 1 16
Mode
ZXAN(config)#
Example
The following example displays how to configure the Telnet users:
7-5
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
7.7 login
Syntax
login
Purpose
To login to the system
Usage Guidelines
None
Mode
ZXAN>, ZXAN#
Example
The following example displays how to login to the system:
ZXAN#login
Username:admin
Password:
ZXAN#
Related Commands
logout
7.8 login-authentication-type
Syntax
login-authentication-type {local | radius group | tacacs+}
Purpose
To configure login authentication type
7-6
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
local
Local authentication
radius group
Range: 1 10
tacacs+
Mode
ZXAN(config)#
Example
The following example displays how to configure login authentication type:
ZXAN(config)#login-authentication-type local
ZXAN(config)#
Related Commands
telnet
7.9 login-authorization-type
Syntax
login-authorization-type {local | tacacs+}
Purpose
To configure login authorization type
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
local
Local authorization
tacacs+
TACACS+ authorization
Mode
ZXAN(config)#
Example
The following example displays how to configure login authorization type:
7-7
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
telnet
7.10 logout
Syntax
logout
Purpose
To logout from the system
Usage Guidelines
None
Mode
ZXAN>, ZXAN#
Example
The following example displays how to logout from the system:
ZXAN#logout
Related Commands
login
7.11 exit
Syntax
exit
Purpose
To quit the login router or return to the last mode
7-8
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
None
Mode
Any mode
Example
The following example displays how to quit the login router or return to the last mode:
ZXAN(config)#exit
ZXAN#
Related Commands
configure terminal
logout
login
Related Information
When this command is executed under the exec mode or privilege mode, it means exiting
the login router. While in other modes, it means returning to the last mode.
7.12 rlogin
Syntax
rlogin {commander | member member-id}
Purpose
To open a group Telnet connection
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
commander
Command switch
member member-id
Member switch ID
Range: 1 255
Mode
ZXAN#
7-9
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to open a group Telnet connection:
ZXAN#rlogin commander
ZXAN#
Related Commands
None
Purpose
To display the current session command history
Usage Guidelines
None
Mode
Any mode
Example
The following example displays the current session command history:
ZXAN#show history
who
show ip route
en
ZXAN#
Related Commands
None
Purpose
To display the local authorized users
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
user-id
User ID
Range: 1 1024
Mode
Any mode except user mode
Example
The following example displays the local authorized users:
ZXAN#show localuser
MaxLocalUsers : 1024
HistoryConfigTotal: 0 CurrentConfigTotal: 0
ZXAN#
Related Commands
None
Purpose
To display the monitor session information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
session-number
Session number
Mode
Any mode except user mode
7-11
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays the monitor session information:
ZXAN#show monitor session 1
ZXAN#
Related Commands
None
Purpose
To display the terminal information
Usage Guidelines
None
Mode
Any mode
Example
The following example displays the terminal information:
ZXAN#show terminal
Line 67, Location: "", Type: "ANSI"
Length: 8 lines, Width: 80 columns
Telnet idle-timeout is: 00:03:00
Telnet absolute-timeout is: 1d00h00m
Baud rate (TX/RX) is 9600/9600
Capabilities: none
Time since activation: 00:01:03
Editing is enabled.
History is enabled, history size is 10.
Telnet access-class is: EMPTY!
ZXAN#
7-12
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
7.17 telnet
Syntax
telnet { ip-address | onu interface-name }
Purpose
To open a Telnet connection
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
onu interface-name
Interface name
ip-address
Telnet IP address
A.B.C.D
Mode
ZXAN>, ZXAN#
Example
The following example displays how to open a Telnet connection:
ZXAN#telnet 168.1.200.77
ZXAN#
Related Commands
None
Purpose
To connect to management interface via Telnet
Usage Guidelines
The following table provides parameter description:
7-13
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
ip-address
IP address
A.B.C.D
Mode
ZXAN>, ZXAN#
Example
The following example displays how to connect to management interface via Telnet:
ZXAN#telnet mng 168.1.200.77
ZXAN#
Related Commands
None
Purpose
To manage the ONU remotely on the OLT
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
gpon-onu_shelf/slot/port:onuid
Mode
ZXAN>
ZXAN#
Example
The following example displays how to manage the ONU remotely on the OLT:
ZXAN#telnet onu gpon-onu_1/2/1:1
7-14
SJ-20120615152640-010|2012-06-30 (R1.0)
Chapter 8
SNMP Commands
Table of Contents
snmp-server access-list..............................................................................................8-1
snmp-server community .............................................................................................8-2
snmp-server contact...................................................................................................8-3
snmp-server context...................................................................................................8-4
snmp-server enable....................................................................................................8-4
snmp-server engine-id................................................................................................8-5
snmp-server group .....................................................................................................8-6
snmp-server host .......................................................................................................8-7
snmp-server location ..................................................................................................8-9
snmp-server packetsize..............................................................................................8-9
snmp-server trap-source ..........................................................................................8-10
snmp-server user .....................................................................................................8-11
snmp-server view .....................................................................................................8-12
show snmp...............................................................................................................8-13
show snmplogfile......................................................................................................8-14
show snmplogfile end-time .......................................................................................8-15
show snmplogfile ipaddress......................................................................................8-16
show snmplogfile start-time ......................................................................................8-16
show snmplogfile summary ......................................................................................8-17
show snmp config ....................................................................................................8-18
show snmp engine-id ...............................................................................................8-19
show snmp group .....................................................................................................8-19
show snmp user .......................................................................................................8-20
Purpose
To apply the configured ACL to control the host address which accesses the system over
the SNMP
8-1
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
acl
Range: 1 31 characters
Mode
ZXAN(config)#
Example
The following example displays how to apply the configured ACL to control the host
address which accesses the system over the SNMP:
ZXAN(config)#snmp-server access-list 1
ZXAN(config)#
Related Commands
None
Purpose
To configure the SNMP message community
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
community-name
Community name
Range: 1 32 characters
view view-name
Range: 1 32 characters
ro
Read-only access
rw
Read-write access
Mode
ZXAN(config)#
8-2
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to configure the SNMP message community:
ZXAN(config)#snmp-server community myCommunity view myview rw
ZXAN(config)#
Related Commands
snmp-server view
Related Information
community-name refers to a string of characters and view-name refers to a MIB view name.
By default, the keyword view shows the system configuration for community view of
1.3.6.1.2.1.1. Default privilege is read-only.
Purpose
To configure the contact mode of the MIB object system
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
line
Mode
ZXAN(config)#
Example
The following example displays how to configure the contact mode of the MIB object
system:
ZXAN(config)#snmp-server contact this is 5200,tel:(021)68895000
ZXAN(config)#
Related Commands
None
8-3
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To define SNMP server context name
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
context-name
Range: 1 30 characters
Mode
ZXAN(config)#
Example
The following example displays how to define the SNMP server context name:
ZXAN(config)#snmp-server context contextA
ZXAN(config)#
Related Commands
None
Purpose
To allow the sending of a notification by the agent and configure the notification and trap
type sent by the agent
Usage Guidelines
The following table provides parameter description:
8-4
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
inform
trap
notification-type
Notification type
Mode
ZXAN(version)#
Example
The following example displays how to allow the sending of a notification by the agent and
configure the notification and trap type sent by the agent:
ZXAN(config)#snmp-server enable inform
ZXAN(config)#
Related Commands
snmp-server host
Related Information
By default, all information including alarm and notification is reported.
Purpose
To configure the a local SNMP engine ID
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
engine-id
Range: 1 24 characters
Mode
ZXAN(config)#
8-5
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to configure a local SNMP engine ID:
ZXAN(config)#snmp-server engine-id 12345667890
ZXAN(config)#
Related Commands
show snmp engine-id
Purpose
To configure the new SNMP group and assigns security levels and permissions
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
groupname
Group name
Range: 1 32 characters
v3
model (SNMPv3)
auth
Removes authentication of a
packet
priv
authentication of packets
and scrambles it
context context-name
Range: 1 30 characters
match-exact
match-prefix
read readview
Range: 1 32 characters
8-6
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
write writeview
Range: 1 32 characters
Range: 1 32 characters
Mode
ZXAN(config)#
Example
The following example displays how to configure the new SNMP group and assigns
security levels and permissions:
ZXAN(config)#snmp-server group group1 v3 priv read view1
write view1 notify view1
ZXAN(config)#
Related Commands
show snmp group
snmp-server user
Purpose
To configure the destination IP address to receive SNMP notification
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ip-address
Host IP address
A.B.C.D
trap
inform
8-7
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
version
notification messages
1
SNMP Version 1
2c
SNMP Version 2C
SNMP Version 3
community-name
Range: 1 32 characters
enable
disable
alarm-type
Alarm type
CRITICAL: 0
INDETERMINATE: 4
MAJOR: 1
MINOR: 2
NOTIFICATIONS: 6
WARNINGS: 3
isnmsserver
server-index server-index
Range: 1 8
udp-port udp-port
Range: 0 65535
number
third-party-server
Mode
ZXAN(config)#
Example
The following example displays how to configure the destination IP address to receive
SNMP notification:
ZXAN(config)#snmp-server host 168.1.1.1 inform version 2c
test enable CRITICAL isnmsserver server-index 1
ZXAN(config)#
Related Commands
snmp-server enable
8-8
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure the location of the MIB object system
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
line
Mode
ZXAN(config)#
Example
The following example displays how to configure the location of the MIB object system:
ZXAN(config)#snmp-server location this is 5200 in china
ZXAN(config)#
Related Commands
None
Purpose
To configure the maximum length of the SNMP message
Usage Guidelines
The following table provides parameter description:
8-9
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
snmp-packet-max
Mode
ZXAN(config)#
Example
The following example displays how to configure the maximum length of the SNMP
message:
ZXAN(config)#snmp-server packetsize 1400
ZXAN(config)#
Related Commands
None
Purpose
To configure the source IP address for all the traps
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ip-address
IP address
A.B.C.D
Mode
ZXAN(config)#
Example
The following example displays how to configure the source IP address for all the traps:
ZXAN(config)#snmp-server trap-source 10.1.1.1
ZXAN(config)#
8-10
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Purpose
To configure the SNMPv3 users and defines authentication and privacy for those users
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
username
User name
Range: 1 32 characters
groupname
Range: 1 32 characters
associated
v3
security model
encrypted
auth-password and
priv-password appear in
encrypted format (hiding the
true characters of the string)
auth
authentication
sha
authentication
auth-password
Range: 1 32 characters
user
8-11
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
priv
encryption
priv-password
Range: 1 32 characters
Mode
ZXAN(config)#
Example
The following example displays how to configure the SNMPv3 users and defines
authentication and privacy for those users:
ZXAN(config)#snmp-server user user1 group1 v3 auth md5
12345678 priv des56 12345678
ZXAN(config)#
Related Commands
show snmp user
snmp-server group
Related Information
By default, parameter encrypted is not used.
Purpose
To define the SNMPv2 view
Usage Guidelines
The following table provides parameter description:
8-12
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
viewname
View name
Range: 1 32 characters
subtree-id1
View subtree ID
Range: 1 79 characters
exclude
view
include
view
subtree-id2
View subtree ID
Mode
ZXAN(config)#
Example
The following example displays how to define the SNMPv2 view:
ZXAN(config)#snmp-server view myView 1.3.6.1.2.1 included
ZXAN(config)#
Related Commands
snmp-server community
Purpose
To display the SNMP information
Usage Guidelines
None
Mode
Any mode except user mode
Example
The following example displays the SNMP information:
ZXAN(config)#show snmp
Contact : +86-021-68895000
8-13
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Purpose
To display the SNMP log information
Usage Guidelines
None
Mode
Any mode except user mode
Example
The following example displays the SNMP log information:
ZXAN(config)#show snmplogfile
ZXAN(config)#
8-14
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
show snmplogfile end-time
show snmplogfile start-time
show snmplogfile ipaddress
show snmplogfile summary
Purpose
To display the SNMP log end time
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
end-date
End date
mm-dd-yyyy
end-time
End time
hh:mm:ss
Mode
Any mode except user mode
Example
The following example displays the SNMP log end time:
ZXAN(config)#show snmplogfile end-time 02-19-2008 19:30:30
ZXAN(config)#
Related Commands
show snmplogfile
show snmplogfile start-time
show snmplogfile ipaddress
show snmplogfile summary
8-15
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To display the SNMP log IP address
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ipaddress
IP address
A.B.C.D
Mode
Any mode except user mode
Example
The following example displays the SNMP log IP address:
ZXAN(config)#show snmplogfile ipaddress 10.63.128.214
ZXAN(config)#
Related Commands
show snmplogfile
show snmplogfile start-time
show snmplogfile end-time
show snmplogfile summary
Purpose
To display the SNMP log start time
Usage Guidelines
The following table provides parameter description:
8-16
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
start-date
Start date
mm-dd-yyyy
start-time
Start time
hh:mm:ss
Mode
Any mode except user mode
Example
The following example displays the SNMP log start time:
ZXAN(config)#show snmplogfile start-time 2-19-2008 19:30:30
ZXAN(config)#
Related Commands
show snmplogfile
show snmplogfile end-time
show snmplogfile ipaddress
show snmplogfile summary
Purpose
To display the SNMP log summary
Usage Guidelines
None
Mode
Any mode except user mode
Example
The following example displays the SNMP log summary:
ZXAN#show snmplogfile summary
Snmplog buffer is 200KByte, used 0 percent
ZXAN#
8-17
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
show snmplogfile
show snmplogfile start-time
show snmplogfile end-time
show snmplogfile ipaddress
Purpose
To display the SNMP configuration
Usage Guidelines
None
Mode
Any mode except user mode
Example
The following example displays the SNMP configuration:
ZXAN(config)#show snmp config
snmp-server location No.889 BiBo Rd. PuDong District,
ShangHai, China
snmp-server contact +86-021-68895000
snmp-server packetSize 3000
snmp-server engine-id 830900020300010289d64401
snmp-server access-list 1
snmp-server community myCommunity view myview rw
snmp-server community myy view myv rw
snmp-server community public view allview rw
snmp-server view allview internet included
snmp-server view DefaultView system included
snmp-server enable inform SNMP
snmp-server enable inform VPN
snmp-server enable inform BGP
snmp-server enable inform OSPF
snmp-server enable inform RMON
snmp-server enable inform STALARM
8-18
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
show snmp group
show snmp user
show snmp engine-id
show snmp
Purpose
To display the SNMP engine ID
Usage Guidelines
None
Mode
Any mode except user mode
Example
The following example displays the SNMP engine ID:
ZXAN#show snmp engine-id
the engine-id:830900020300010289d64401
ZXAN#
Related Commands
snmp-server engine-id
Purpose
To display the SNMPv3 group
Usage Guidelines
None
Mode
Any mode except user mode
Example
The following example displays the SNMPv3 group:
ZXAN#show snmp group
groupName :test
sec_Model :v3
sec_Level :AUTH
readView :test
writeView :test
notifyView:tesr
rowStatus :ACTIVE
contextName :test
contextMatch :match-exact
groupName :group1
sec_Model :v3
sec_Level :PRIV
readView :view1
writeView :view1
notifyView:view1
rowStatus :ACTIVE
ZXAN#
Related Commands
snmp-sever group
Purpose
To display the SNMPv3 users
8-20
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
None
Mode
Any mode except user mode
Example
The following example displays the SNMPv3 users:
ZXAN#show snmp user
username :test
engine-id :123456678900000000000000
auth_type :SHA
group_name :test(v3)
encryptType:DES_CBC
storageType:NONVOLATILE
row_status :ACTIVE
ZXAN#
Related Commands
snmp-server user
8-21
SJ-20120615152640-010|2012-06-30 (R1.0)
8-22
SJ-20120615152640-010|2012-06-30 (R1.0)
Chapter 9
Purpose
To configure the default login FTP client username
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
username
FTP username
Range: 1 16 characters
Mode
ZXAN(config)#
Example
The following example displays how to configure the default login FTP client username:
ZXAN(config)#ip ftp username zte
ZXAN(config)#
Related Commands
ip ftp password
9-1
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure the default login FTP client password
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
password
FTP password
Range: 3 16 characters
Mode
ZXAN(config)#
Example
The following example displays how to configure the default login FTP client password:
ZXAN(config)#ip ftp password zte
ZXAN(config)#
Related Commands
ip ftp username
9-2
SJ-20120615152640-010|2012-06-30 (R1.0)
Chapter 10
Alarm Management
Table of Contents
alarm........................................................................................................................10-1
alarm confirm ...........................................................................................................10-2
alarm trap-confirm ....................................................................................................10-2
alarm level-change ...................................................................................................10-3
show alarm configure ...............................................................................................10-4
show alarm counter ..................................................................................................10-5
show alarm pool .......................................................................................................10-6
clear alarm pool........................................................................................................10-7
clear alarm counter...................................................................................................10-7
optical-module alarm-profile .....................................................................................10-8
show optical-module-alarm-profile ............................................................................10-9
alarm alarm-profile .................................................................................................10-10
alarm-index ............................................................................................................ 10-11
alarm-profile-apply.................................................................................................. 10-11
show alarm profile ..................................................................................................10-12
10.1 alarm
Syntax
alarm {enable | disable}
Purpose
To enable or disable the alarm function
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
enable
disable
Mode
ZXAN(config)#
10-1
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to enable the alarm function:
ZXAN(config)#alarm enable
ZXAN(config)#
Related Commands
show alarm
Purpose
To confirm the alarm
Usage Guidelines
None
Mode
ZXAN(config)#
Example
The following example displays how to confirm the alarm:
ZXAN(config)#alarm confirm
ZXAN(config)#
Related Commands
show alarm
10-2
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure the alarm resend time interval
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
retry time
Number of retries
Range: 1 3
timeout timeout
Range: 1 60 seconds
Mode
ZXAN(config)#
Example
The following example displays how to configure the alarm resend time interval:
ZZXAN(config)# trap-confirm retry 3 timeout 20
ZXAN(config)#
Related Commands
show alarm
Related Information
By default, alarm timeout is not configured.
Purpose
To change the alarm event ID corresponding level
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
eventid
Event ID
Range: 1 65534
10-3
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
alarm-type
Alarm level
CRITICAL: 0
INDETERMINATE: 4
MAJOR: 1
MINOR: 2
WARNINGS: 3
Mode
ZXAN(config)#
Example
The following example displays how to change the alarm event ID corresponding level:
ZXAN(config)#alarm level-change 33037 MAJOR
ZXAN(config)#
Related Commands
show alarm
Purpose
To display the alarm configuration information
Usage Guidelines
None
Mode
Any mode except user mode
Example
The following example displays the alarm configuration information:
ZXAN#show alarm configure
alarm enable
nms-hello-trap disable
nms-hello-trap interval 120
ZXAN#
10-4
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Purpose
To display the alarm counter information
Usage Guidelines
None
Mode
Any mode except user mode
Example
The following example displays the alarm counter information:
ZXAN#show alarm counter
alarmReport:
83
alarmConfirm:
alarmNullPointer:
alarmInvalidMsgType:
alarmInvalidReportType:
alarmInvalidLevel:
alarmInvaideMibOid:
alarmInvalidAlarmId:
alarmInvalidRecNum:
alarmLogFuncNull:
alarmIdNotExist:
alarmRecordExist:
alarmPoolFull:
alarmPoolOverflow:
alarmInformPoolFull:
alarmInformPoolOverflow: 0
alarmPoolInsOk:
29
alarmGetRegIndexFail :
alarmSendToRosSuc:
83
alarmSendTrapSuc:
19532
alarmSendToRosFail:
alarmSendTrapFail:
alarmGetAlarmRegSuc:
19586
alarmGetStrFuncSuc:
alarmGetAlarmRegFail:
alarmGetStrFuncFail:
alarmAddToPoolSuc:
29
alarmInformSendTrapSuc:
51
alarmAddToPoolFail:
alarmInformSendTrapFail: 0
alarmGetLogFuncSuc:
218
alarmGetByAlarmIdOk:
38977
alarmGetLogFuncFail:
alarmGetByAlarmIdFail:
alarmRestoreDelSuc:
alarmBadTypeFromRos:
0
28
alarmRestoreDelFail:
alarmRecvFromRos:
alarmInformRecvFromRos:
52
alarmRestoreRecvFromRos: 3
10-5
SJ-20120615152640-010|2012-06-30 (R1.0)
alarmGetRegInfoFail:
alarmCreateReqFail:
alramBindValueFail:
alarmEncodeReqFail:
alarmAllocMemFail:
alarmUnsupportBindType:
alarmUnsupportMibVar:
alarmRecvDup:
alarmInformNotSendTrap:
ZXAN#
Related Commands
clear alarm counter
Purpose
To show contents in alarm pool
Usage Guidelines
The following table describes the relevant parameters:
Parameter
Description
Value
alarmCode
Alarm code
165535
alarmId
Alarm ID
14294967295
summary
Alarm summary
Mode
All modes except user mode
Example
The following example shows the alarm pool summary:
ZXAN#show alarm pool summary
Current all msan alarm numbers : 2
ZXAN#
Related Commands
clear alarm pool
10-6
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Information
None
Purpose
To clear the alarm pool information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
alarmCode
Alarm Code
Range: 1 65535
alarmID
Alarm Code
Range: 1 2000
Mode
ZXAN#
Example
The following example displays how to clear the alarm pool information:
ZXAN#clear alarm pool alarmcode 10
ZXAN#
Related Commands
show alarm pool
Purpose
To clear the alarm counter information
Usage Guidelines
None
10-7
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
ZXAN#
Example
The following example displays how to clear the alarm counter information:
ZXAN#clear alarm counter
ZXAN#
Related Commands
show alarm counter
Purpose
To configure alarm profile for optical module
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
profile name
Profile name
Mode
ZXAN(config)#
Example
The following example displays how to configure an alarm profile for optical module:
ZXAN(config)#optical-module alarm-profile opt_prf1
ZXAN(config)#optical-module alarm-profile opt_prf1
RxPower alarm lower threshold
(dBm)[-40,10]:[-34]
(dBm)[-40,10]:[3]
(dBm)[-20,20]:[-14]
(dBm)[-20,20]:[9]
10-8
SJ-20120615152640-010|2012-06-30 (R1.0)
(1:Y;2:N):[1]
Related Commands
optical-module-alarm-profile
show optical-module-alarm-profile
Related Information
Use the optical-module alarm-profile command for the first time to create an alarm profile.
Use the optical-module alarm-profile command for the second time to modify the
parameters of the alarm profile.
Purpose
To display the optical-module alarm profile
Usage Guidelines
None
Mode
Any mode except ZXAN>
Example
The following example displays all optical-module alarm profiles:
ZXAN#show optical-module-alarm-profile
NOTE!
: ABC
---------------------------------------------------
10-9
SJ-20120615152640-010|2012-06-30 (R1.0)
:0
:131
:0
:7
:-45
:90
Related Commands
optical-module alarm-profile
optical-module-alarm-profile
Purpose
To create an alarm profile
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
profilename
Profile name
1 32 characters
Mode
ZXAN(config)#
Example
The following example displays how to create an alarm profile:
ZXAN(config)#alarm alarm-profile abc
ZXAN(config-almprofile)#
10-10
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
show alarm profile
10.13 alarm-index
Syntax
alar-index index code code status { NALARM | NALARM-QI }
no alarm-index index
Purpose
To configure the alarm profile
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
index
Alarm index
Range: 1 32
code
Alarm code
Range: 1 65535
NALARM
forever.
NALARM-QI
is cleared.
Mode
ZXAN(config-almprofile)#
Example
The following example displays how to configure the alarm profile:
ZXAN(config-almprofile)#alarm-index 1 code 45001 status NALARM-QI
Related Commands
show alarm profile
10.14 alarm-profile-apply
Syntax
alar-profile-apply { onu pon_onu-shelf/slot/olt:onu | port { gei_shelf/slot/port | pon_olt-shelf/slo
t/olt } | shelf shelf [ slot slot ] | system }
10-11
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To apply the alarm profile
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
onu pon_onu-shelf/slot/olt:onu
ONU interface
port { gei_shelf/slot/port |
shelf shelf
The shelf
Range: 1
slot slot
Slot number
Range: 122
system
pon_olt-shelf/slot/olt }
Mode
ZXAN(config-almprofile)#
Example
The following example displays how to apply the alarm profile:
ZXAN(config-almprofile)#alarm-profile-apply onu gpon-onu_1/1/1:1
Related Commands
show alarm profile
Purpose
To display alarm profile(s)
Usage Guidelines
The following table provides parameter description:
10-12
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
profilename
Profile name
1 32 characters
Mode
Any mode except ZXAN>
Example
The following example displays the alarm profile:
ZXAN(config-almprofile)#show alarm profile abc
All the alarm profile item(s):
alarm-index 1 code 45001 status NALARM-QI
Related Commands
alarm alarm-profile
alarm-index
alarm-profile-apply
10-13
SJ-20120615152640-010|2012-06-30 (R1.0)
10-14
SJ-20120615152640-010|2012-06-30 (R1.0)
Chapter 11
Historical Performance
Management
Table of Contents
his-performance alarm .............................................................................................11-1
his-performance auto-upload....................................................................................11-2
his-performance download .......................................................................................11-2
his-performance sample ...........................................................................................11-3
his-performance upload 15-minute ...........................................................................11-4
his-performance upload 1-day ..................................................................................11-4
Purpose
To enable or disable the history performance alarm
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
enable
(default)
disable
Mode
ZXAN(config)#
Example
The following example displays how to enable history performance alarm:
ZXAN(config)#his-performance alarm enable
11-1
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Purpose
To enable or disable the auto-upload function for history performance data
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
enable
Enable auto-upload
disable
Mode
ZXAN(config)#
Example
The following example displays how to enable the auto-upload function for history
performance data:
ZXAN(config)#his-performance auto-upload enable
Related Commands
his-performance upload
Purpose
To download the history performance sampling file
Usage Guidelines
The following table provides parameter description:
11-2
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
word
File name
1 32 characters
Mode
ZXAN(config)#
Example
The following example displays how to download history performance sampling file:
ZXAN(config)#his-performance download sample.xml
Related Commands
his-performance sample
Purpose
To enable or disable history performance data sampling
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
enable
disable
Disable sampling
Mode
ZXAN(config)#
Example
The following example displays how to enable history performance data sampling:
ZXAN(config)#his-performance sample enable
Related Commands
his-performance download
11-3
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To upload 15-minute history performance data
Usage Guidelines
The following table provides parameter description:
Parameter
15-minute
Description
Value
data file
interval-begin interval number
Beginning interval
1, 2
1 is the most recent interval
Ending inteeval
1, 2
1 is the most recent interval
Mode
ZXAN(config)#
Example
The following example displays how to upload history performance data of two 15-minute
intervals:
ZXAN(config)#his-performance upload 15-minute interval-begin 1 interval-end 2
Related Commands
his-performance upload 1-day
Purpose
To upload 1-day history performance data
11-4
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
1-day
Mode
ZXAN(config)#
Example
The following example displays how to upload 1-day history performance data:
ZXAN(config)#his-performance upload 1-day
Related Commands
his-performance upload 15-minute
11-5
SJ-20120615152640-010|2012-06-30 (R1.0)
11-6
SJ-20120615152640-010|2012-06-30 (R1.0)
Chapter 12
12.1 perf-eht-if
Syntax
perf-eth-if profile profilename
Purpose
To configure the Ethernet port performance alarm profile
Usage Guidelines
The following table provides parameter description:
12-1
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
profilename
Profile name
1 32 characters
Mode
ZXAN(config)#
Example
The following example displays how to configure the Ethernet port performance alarm
profile:
ZXAN(config)#perf-eht-if profile abc
ZXAN(config-perf-if)#
Related Commands
show perf-eth-if
12.2 perf-eth-olt
Syntax
perf-eth-olt profile profilename
Purpose
To configure the OLT Ethernet performance alarm profile
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
profilename
Profile name
1 32 characters
Mode
ZXAN(config)#
Example
The following example displays how to configure the OLT Ethernet performance alarm
profile:
ZXAN(config)#perf-eth-olt profile abc
ZXAN(config-eth-perf-olt)#
12-2
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
show perf-olt
12.3 perf-eth-onu
Syntax
perf-eth-onu profile profilename
Purpose
To configure the ONU Ethernet performance alarm profile
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
profilename
Profile name
1 32 characters
Mode
ZXAN(config)#
Example
The following example displays how to configure the ONU Ethernet performance alarm
profile:
ZXAN(config)#perf-eth-onu profile abc
ZXAN(config-eth-perf-onu)#
Related Commands
show perf-onu
12.4 perf-mac-olt
Syntax
perf-mac-olt profile profilename
Purpose
To configure the OLT PON MAC performance alarm profile
Usage Guidelines
The following table provides parameter description:
12-3
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
profilename
Profile name
1 32 characters
Mode
ZXAN(config)#
Example
The following example displays how to configure the OLT PON MAC performance alarm
profile:
ZXAN(config)#perf-mac-olt profile abc
ZXAN(config-mac-perf-olt)#
Related Commands
show perf-olt
12.5 perf-mac-onu
Syntax
perf-mac-onu profile profilename
Purpose
To configure the ONU PON MAC performance alarm profile
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
profilename
Profile name
1 32 characters
Mode
ZXAN(config)#
Example
The following example displays how to configure the ONU PON MAC performance alarm
profile:
ZXAN(config)#perf-mac-onu profile abc
ZXAN(config-mac-perf-onu)#
12-4
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
show perf-onu
12.6 perf-vport
Syntax
perf-vport profile profilename
Purpose
To configure the virtual port performance alarm profile
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
profilename
Profile name
1 32 characters
Mode
ZXAN(config)#
Example
The following example displays how to configure the virtual port performance alarm profile:
ZXAN(config)#perf-vport profile abc
ZXAN(config-perf-vport)#
Related Commands
show perf-vport
12.7 perf-clear-current
Syntax
perf-clear-current { eth | mac | gemport gemportid} { 1-day | 15-min | data }
Purpose
To show an OLT or ONU PON ports performance
Usage Guidelines
The following table describes the relevant parameters:
12-5
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
eth
Ethernet
mac
PON MAC
gemportid
GemportID
1256
Mode
ZXAN(config-if)#
Example
The following example shows an OLT or ONU PON ports performance:
ZXAN(config-if)#perf-clear-current eth data
Related Commands
None
12.8 perf-profile
Syntax
perf-profile { eth | mac } profilename apply
no perf-profile { eth | mac } apply
Purpose
To apply the performance threshold profile on PON OLT or ONU interface
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
eth
Ethernet
mac
PON MAC
profilename
Profile name
1 32 characters
Mode
ZXAN(config-if)#
Example
The following example displays how to apply the Ethernet performance threshold profile:
ZXAN(config-if)#perf-profile eth abc apply
12-6
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
show perf-olt
show perf-onu
Purpose
To apply the performance threshold profile on the Ethernet interface
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
profilename
Profile name
1 32 characters
Mode
ZXAN(config-if)#
Example
The following example displays how to apply the performance threshold profile on the
Ethernet interface:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#performance threshhold-profile abc
Related Commands
show perf-eth-if
Purpose
To apply the performance threshold profile on the GPON ONU virtual port
12-7
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
profilename
Profile name
1 32 characters
vport vportid
Virtual port ID
Range: 1 256
Mode
ZXAN(config-if)#
Example
The following example displays how to apply the performance threshold profile on the
GPON ONU virtual port:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#performance threshhold-profile abc vport 1
Related Commands
show perf-vport
Purpose
To configure the item of OLT/ONU Ethernet performance alarm profile
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
collisions
Collisions
drop-events
Drop events
rx-1024to1518B
Received 1024-1518B
rx-128to255B
Received 128-255B
12-8
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
rx-256to511B
Received 256-511B
rx-512to1023B
Received 512-1023B
rx-64B
Received 64B
rx-65to127B
Received 65-127B
rx-bcast-pkts
rx-bytes
Received octets
rx-crc-errs
rx-frags
Received fragments
rx-jabs
Received jabbers
rx-mcast-pkts
rx-oversize-pkts
rx-pkts
Received packets
rx-undersize-pkts
tx-1024to1518B
Transmitted 1024-1518B
tx-128to255B
Transmitted 128-255B
tx-256to511B
Transmitted 256-511B
tx-512to1023B
Transmitted 512-1023B
tx-64B
Transmitted 64B
tx-65to127B
Transmitted 65-127B
tx-bcast-pkts
tx-bytes
Transmitted octets
tx-crc-errs
tx-frags
Transmitted fragments
tx-jabs
Transmitted jabbers
tx-mcast-pkts
tx-oversize-pkts
tx-pkts
Transmitted packets
tx-undersize-pkts
alarm threshold1
Alarm threshold
Range: 0 42949672955
restore threshold2
Restore threshold
Range: 0 42949672955
Mode
ZXAN(config-eth-perf-olt)#
12-9
SJ-20120615152640-010|2012-06-30 (R1.0)
ZXAN(config-eth-perf-onu)#
Example
The following example displays how to configure the item of OLT Ethernet performance
alarm profile:
ZXAN(config)#perf-eth-olt profile abc
ZXAN(config-eth-perf-olt)#item drop-events 1-day high alarm 10000 restore 8000
Related Commands
show perf-olt
show perf-onu
Purpose
To configure the item of Ethernet port performance alarm profile
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
align_error
Align errors
fcs_error
FCS errors
in_bcast_pks
in_mcast_pkts
in_octets
Received octets
in_oversize_pkts
in_pkts
Received packets
in_ucast_pkts
in_undersize_pkts
multiple_collisions
Multiple collisions
12-10
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
out_bcast_pkts
out_collisions
Transmitted collisions
out_discard_pkts
out_mcast_pkts
out_octets
Transmitted octets
out_pause_pkts
out_pkts
Transmitted packets
out_ucast_pkts
single_collisions
Single collision
alarm threshold1
Alarm threshold
Range: 0 42949672955
restore threshold2
Restore threshold
Range: 0 42949672955
Mode
ZXAN(config-perf-if)#
Example
The following example displays how to configure item of Ethernet port performance alarm
profile:
ZXAN(config)#perf-if profile abc
ZXAN(config-perf-if)#item fcs_error 1-day high alarm 10000 restore 8000
Related Commands
show perf-eht-if
Purpose
To configure the item of OLT PON MAC performance alarm profile
12-11
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
crc-error-packets
ds-ploam-msg
ds-valid-eth-packets
packets
err
Error
fec-cor-bytes
fec-cor-words
fec-total-words
fec-uncor-words
rei
REI
us-bip-total-bits
us-cor-eth-frames
frames
us-cor-idle-gem-frames
frames
us-cor-not-idle-gem-frames
GEM frames
us-err-eth-frames
us-err-gem-frames
us-err-ploam-msg
message
us-gem-payload-bytes
us-ploam-msg
alarm threshold1
Alarm threshold
Range: 0 42949672955
restore threshold2
Restore threshold
Range: 0 42949672955
Mode
ZXAN(config-mac-perf-olt)#
Example
The following example displays how to configure item of OLT PON MAC performance
alarm profile:
ZXAN(config)#perf-mac-olt profile abc
12-12
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
show perf-olt
Purpose
To configure the item of ONU PON MAC performance alarm profile
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
crc-error-packets
ds-cor-not-idle-gem-frames
GEM frames
ds-ploam-msg
ds-total-omci-frames
erri
Error
fec-cor-bytes
fec-cor-words
fec-total-words
fec-uncor-words
lofi-alarm-times
reii
REI
us-bip-error-bits
us-bip-total-bits
us-cor-eth-frames
frames
12-13
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
us-cor-not-idle-gem-frames
GEM frames
us-err-eth-frames
us-gem-payload-bytes
us-not-cor-words
words
us-ploam-msg
us-total-omci-frames
us-unreceived-bursts
alarm threshold1
Alarm threshold
Range: 0 42949672955
restore threshold2
Restore threshold
Range: 0 42949672955
Mode
ZXAN(config-mac-perf-onu)#
Example
The following example displays how to configure item of ONU PON MAC performance
alarm profile:
ZXAN(config)#perf-mac-olt profile abc
ZXAN(config-mac-perf-olt)#item crc-error-packets 1-day high alarm 10000 restore
8000
Related Commands
show perf-onu
Purpose
To configure the item of virtual port performance alarm profile
Usage Guidelines
The following table provides parameter description:
12-14
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
in_bcast_pks
in_mcast_pkts
in_octets
Received octets
in_ucast_pkts
out_bcast_pkts
out_mcast_pkts
out_octets
Transmitted octets
out_ucast_pkts
alarm threshold1
Alarm threshold
Range: 0 42949672955
restore threshold2
Restore threshold
Range: 0 42949672955
Mode
ZXAN(config-perf-vport)#
Example
The following example displays how to configure item of virtual port performance alarm
profile:
ZXAN(config)#perf-vport profile abc
ZXAN(config-perf-vport)#item in_bcast_pkts 1-day high alarm 10000 restore 8000
Related Commands
show perf-vport
Purpose
To display the Ethernet port performance alarm profile
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
profilename
Profile name
1 32 characters
12-15
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
Any mode except ZXAN>
Example
The following example displays the Ethernet port performance alarm profile:
ZXAN(config#show perf-eth-if profile
PM-ETHPORT alarm profile:
------------------------------------NO.1 profile : abc
Related Commands
perf-eth-if
Purpose
To display the OLT Ethernet or PON MAC performance alarm profile
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
profilename
Profile name
1 32 characters
Mode
Any mode except ZXAN>
Example
The following example displays the OLT Ethernet performance alarm profile:
ZXAN(config)#show perf-olt eth profile abc
perf-eth-olt profile abc
--------------------------------------------------------------------------
12-16
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
perf-eth-olt
perf-mac-olt
Purpose
To display the ONU Ethernet or PON MAC performance alarm profile
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
profilename
Profile name
1 32 characters
Mode
Any mode except ZXAN>
Example
The following example displays the ONU PON MAC performance alarm profile:
ZXAN(config)#show perf-onu mac profile abc
perf-mac-onu profile abc
-------------------------------------------------------------------------item: crc-error-packets 1-Day high alarm 10000 restore 8000 high alarm 10000
restore 8000
Related Commands
perf-eth-onu
perf-mac-onu
Purpose
To display the PON virtual port performance alarm profile
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
profilename
Profile name
1 32 characters
Mode
Any mode except ZXAN>
Example
The following example displays the Ethernet port performance alarm profile:
ZXAN(config)#show perf-vport profile abc
--------------------------------------------PM-PONVPORT alarm profile:abc
item in_bcast_pkts 1day high alarm 10000 restore 8000
Related Commands
perf-vport
12-18
SJ-20120615152640-010|2012-06-30 (R1.0)
Chapter 13
Debugging Commands
Table of Contents
debug all ..................................................................................................................13-3
debug arp.................................................................................................................13-3
debug dhcp-option82................................................................................................13-4
debug group-management .......................................................................................13-5
debug igmp ..............................................................................................................13-6
debug ip ...................................................................................................................13-8
debug ip bgp updates...............................................................................................13-8
debug ip bgp all........................................................................................................13-9
debug ip bgp dampening ........................................................................................13-10
debug ip bgp events ............................................................................................... 13-11
debug ip bgp in....................................................................................................... 13-11
debug ip bgp keepalives.........................................................................................13-12
debug ip bgp out ....................................................................................................13-13
debug ip destination ...............................................................................................13-14
debug ip dhcp.........................................................................................................13-15
debug ip icmp.........................................................................................................13-15
debug ip icmp detail ...............................................................................................13-16
debug ip igmp.........................................................................................................13-17
debug ip igmp-snooping .........................................................................................13-18
debug ip interface...................................................................................................13-18
debug ip msdp........................................................................................................13-19
debug ip multicast ..................................................................................................13-20
debug ip ospf adj....................................................................................................13-21
debug ip ospf all .....................................................................................................13-22
debug ip ospf cspf ..................................................................................................13-23
debug ip ospf database-timer .................................................................................13-23
debug ip ospf events ..............................................................................................13-24
debug ip ospf flood .................................................................................................13-25
debug ip ospf lsa-generation ..................................................................................13-26
debug ip ospf nsf....................................................................................................13-27
debug ip ospf packet ..............................................................................................13-27
debug ip ospf retransmission..................................................................................13-28
debug ip ospf spf....................................................................................................13-29
debug ip ospf tree ..................................................................................................13-30
debug ip pim-snooping ...........................................................................................13-31
debug ip pimsm......................................................................................................13-31
debug ip protocol....................................................................................................13-33
13-1
SJ-20120615152640-010|2012-06-30 (R1.0)
13-2
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To enable all debug switches
Usage Guidelines
None
Mode
ZXAN#
Example
The following example displays how to enable all debug switches:
ZXAN#debug all
All possible debugging has been turned on
ZXAN#
Related Commands
terminal monitor
Related Information
The debug all command may severely affect system and network performance. Therefore,
it is not recommended to use this command for a long time and in cases when system
usage is high.
By default, all debug commands are disabled.
13-3
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To enable the ARP debug function to display the debugging information processed by the
ARP and display whether the router is sending/receiving the ARP messages
Usage Guidelines
None
Mode
ZXAN#
Example
The following example displays how to enable the ARP debug function:
ZXAN#debug arp
ARP debugging is on
ZXAN#
Related Commands
terminal monitor
Related Information
By default, all debug switches are disabled.
Purpose
To enable DHCP Option82 debug function
Usage Guidelines
The following table provides parameter description:
13-4
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
all
data
error
debugging
event
debugging
type_shelf/slot/{port-no | olt:onu}
gport portnumber
Range: 1 255
pvc pvcnumber
PVC number
Range: 1 8
Mode
ZXAN#
Example
The following example displays how to enable DHCP option82 debug function:
ZXAN#debug dhcp-option82 data epon-olt_1/1/1
ZXAN#
Related Commands
terminal monitor
Related Information
By default, all debug switches are disabled.
Purpose
To enable cluster management protocol debug function
Usage Guidelines
None
13-5
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
ZXAN#
Example
The following example displays how to enable cluster management protocol debug
function:
ZXAN#debug group-management
group-management debugging is on
ZXAN#
Related Commands
terminal monitor
Related Information
By default, all debug switches are disabled.
Purpose
To enable IGMP debug switch
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
all
data
error
13-6
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
event
rack-number
Rack number
Range: 0 0
shelf-number
Shelf number
Range: 0 4
slot-number
Slot number
Range: 1 16
interface name
Interface name
Epon-onu_rackno/slotno/portno:onuno
vport vportno
Range: 1 255
pvc pvcnumber
PVC number
Range: 1 8
mvlan mvlanid
MVLAN ID
Range: 1 4094
group ipaddress
IP address
A.B.C.D
mux
oam
proxy
recv
send
timer
Mode
ZXAN#
Example
The following example displays how to enable IGMP debug switch:
ZXAN#debug igmp error group 10.9.6.3 mux
IGMP error debugging is on
ZXAN#
Related Commands
terminal monitor
Related Information
By default, all debug switches are disabled.
13-7
SJ-20120615152640-010|2012-06-30 (R1.0)
13.6 debug ip
Syntax
debug ip
no debug ip
Purpose
To enable the IP debug function to display the debugging information processed by the IP,
and display whether the router is sending or receiving the IP packet
Usage Guidelines
None
Mode
ZXAN#
Example
The following example displays how to enable the IP debug function:
ZXAN#debug ip
IP debugging is on
ZXAN#
Related Commands
terminal monitor
Related Information
By default, all debug switches are disabled.
Purpose
To enable the debug switch to trace and display the updated messages received by the
neighboring BGP router
13-8
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ip-address
A.B.C.D
address
updates
BGP updates
Mode
ZXAN#
Example
The following example displays how to enable the debug switch to trace and display the
updated messages received by the neighboring BGP router:
ZXAN#debug ip bgp updates
BGP updates debugging is on
ZXAN#
Related Commands
terminal monitor
Related Information
By default, all debug switches are disabled.
Purpose
To enable all BGP debug switches
Usage Guidelines
None
Mode
ZXAN#
13-9
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to enable all BGP debug switches:
ZXAN#debug ip bgp all
All BGP debugging has been turned on
ZXAN#
Related Commands
terminal monitor
Related Information
By default, all debug switches are disabled.
Purpose
To enable debug switch to trace and display the BGP route oscillation information and
processing
Usage Guidelines
None
Mode
ZXAN#
Example
The following example displays how to enable debug switch to trace and display the BGP
route oscillation information and processing:
ZXAN#debug ip bgp dampening
BGP dampening debugging is on
ZXAN#
Related Commands
terminal monitor
13-10
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Information
By default, all debug switches are disabled.
Purpose
To enable the debug switch to trace and display the state of the peer BGP router
Usage Guidelines
None
Mode
ZXAN#
Example
The following example displays how to enable the debug switch to trace and display the
state of the peer BGP router:
ZXAN#debug ip bgp events
BGP events debugging is on
ZXAN#
Related Commands
terminal monitor
Related Information
By default, all debug switches are disabled.
13-11
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To enable the debug switch to trace and display the messages received by the BGP router
Usage Guidelines
None
Mode
ZXAN#
Example
The following example displays how to enable the debug switch to trace and display the
messages received by the BGP router:
ZXAN#debug ip bgp in
BGP in debugging is on
ZXAN#
Related Commands
terminal monitor
Related Information
By default, all debug switches are disabled.
Purpose
To enable the debug switch to trace and display the keepalive message received and sent
by the BGP router
Usage Guidelines
None
Mode
ZXAN#
13-12
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to enable the debug switch to trace and display the
keepalive message received and sent by the BGP router:
ZXAN#debug ip bgp keepalives
BGP keepalives debugging is on
ZXAN#
Related Commands
terminal monitor
Related Information
By default, all debug switches are disabled.
Purpose
To enable the debug switch to trace and display the messages sent by the BGP router
Usage Guidelines
None
Mode
ZXAN#
Example
The following example displays how to enable the debug switch to trace and display the
messages sent by the BGP router:
ZXAN#debug ip bgp out
BGP out debugging is on
ZXAN#
Related Commands
terminal monitor
13-13
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Information
By default, all debug switches are disabled.
Purpose
To enable debug function for the specified destination IP address to display the debugging
information processed by the IP, and display whether the router is sending/receiving the
specified destination address IP packet
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ipaddress
Destination IP address
A.B.C.D
Mode
ZXAN#
Example
The following example displays how to enable debug function for the specified destination
IP address:
ZXAN#debug ip destination 192.168.36.3
IP destination debugging is on
ZXAN#
Related Commands
terminal monitor
Related Information
By default, all debug switches are disabled.
13-14
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To enable the DHCP relay and DHCP server debug function
Usage Guidelines
None
Mode
ZXAN#
Example
The following example displays how to enable the DHCP relay and DHCP server debug
function:
ZXAN#debug ip dhcp
DHCP debugging is on
ZXAN#
Related Commands
terminal monitor
Related Information
By default, all debug switches are disabled.
Purpose
To enable the ICMP debug function to display the debugging information processed by the
ICMP, and display whether the router is sending/receiving the ICMP packet
13-15
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
None
Mode
ZXAN#
Example
The following example displays how to enable the ICMP debug function:
ZXAN#debug ip icmp
ICMP debugging is on
ZXAN#
Related Commands
terminal monitor
Related Information
By default, all debug switches are disabled.
Purpose
To enable the ICMP debug function to display detailed debugging information processed
by the ICMP, and display detailed information of ICMP packets sent and received by the
router
Usage Guidelines
None
Mode
ZXAN#
Example
The following example displays how to enable the ICMP debug function:
ZXAN#debug ip icmp detail
13-16
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
terminal monitor
Related Information
By default, all debug switches are disabled.
Purpose
To enable the IGMP debug switch
Usage Guidelines
None
Mode
ZXAN#
Example
The following example displays how to enable the IGMP debug switch:
ZXAN#debug ip igmp
IGMP debugging is on
ZXAN#
Related Commands
terminal monitor
Related Information
By default, all debug switches are disabled.
13-17
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To enable the IGMP snooping debug switch
Usage Guidelines
None
Mode
ZXAN#
Example
The following example displays how to enable the IGMP snooping debug switch:
ZXAN#debug ip igmp-snooping
IGMP SNOOPING debugging is on
ZXAN#
Related Commands
terminal monitor
Related Information
By default, all debug switches are disabled.
Purpose
To enable the debug function for IP information on the specified interface
Usage Guidelines
The following table provides parameter description:
13-18
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
interface-name
Interface name
Loopback
Interface Range: 1 64
Supervlan
Interface Range: 1 32
Vlan
Interface Range: 1 4094
Mode
ZXAN#
Example
The following example displays how to enable the debug function for IP information on the
specified interface:
ZXAN#debug ip interface loopback1
IP interface debugging is on
ZXAN#
Related Commands
terminal monitor
Related Information
By default, all debug switches are disabled.
Purpose
To enable the MDSP debugging switch
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
connect
Parameter
Description
Value
message-recv
received messages
message-send
sent messages
warning
information
Mode
ZXAN#
Example
The following example displays how to enable the MSDP debugging switch:
ZXAN#debug ip msdp warning
MSDP warning debugging is off
ZXAN#
Related Commands
terminal monitor
Related Information
By default, all debug switches are disabled.
Purpose
To enable the multicast debug switch
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
data
information
13-20
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
mrt
debugging information
timer
information
Mode
ZXAN#
Example
The following example displays how to enable the multicast debug switch:
ZXAN#debug ip multicast data
Multicast data debugging is on
ZXAN#
Related Commands
terminal monitor
Related Information
By default, all debug switches are disabled.
Purpose
To enable the debug switch for sending the OSPF adjacent event debugging information
Usage Guidelines
None
Mode
ZXAN#
13-21
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to enable the debug switch for sending the OSPF
adjacent event debugging information:
ZXAN#debug ip ospf adj
OSPF adjacency events debugging is on
ZXAN#
Related Commands
terminal monitor
Related Information
Adjacency events mainly include information relating to link state changes and hello
packets.
Purpose
To enable all OSPF debug switches
Usage Guidelines
None
Mode
ZXAN#
Example
The following example displays how to enable all OSPF debug switches:
ZXAN#debug ip ospf all
All OSPF debugging has been turned on
ZXAN#
Related Commands
terminal monitor
13-22
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Information
By default, all debug switches are disabled.
Purpose
To enable the debug switch for the shortest path calculation of limit-based OSPF
Usage Guidelines
None
Mode
ZXAN#
Example
The following example displays how to enable the debug switch for the shortest path
calculation of limit-based OSPF:
ZXAN#debug ip ospf cspf
OSPF cspf events debugging is on
ZXAN#
Related Commands
terminal monitor
Related Information
This command is mainly used to calculate debugging information related to project traffic
routing.
Purpose
To enable the debug switch for returning the OSPF link state database timer event
debugging information
Usage Guidelines
None
Mode
ZXAN#
Example
The following example displays how to enable the debug switch for returning the OSPF
link state database timer event debugging information:
ZXAN#debug ip ospf database-timer
OSPF timer events debugging is on
ZXAN#
Related Commands
terminal monitor
Related Information
By default, all debug switches are disabled.
Purpose
To enable the debug switch for returning the debugging information about the important
events of the OSPF protocol
Usage Guidelines
None
Mode
ZXAN#
13-24
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to enable the switch for returning the debugging
information about the important events of the OSPF protocol:
ZXAN#debug ip ospf events
OSPF events debugging is on
ZXAN#
Related Commands
terminal monitor
Related Information
OSPF events mainly include DR/BDR selection and link state changes.
Purpose
To enable the debug switch for returning the debugging information of the OSPF flood
events
Usage Guidelines
None
Mode
ZXAN#
Example
The following example displays how to enable the debug switch for returning the debugging
information of the OSPF flood events:
ZXAN#debug ip ospf flood
OSPF flood debugging is on
ZXAN#
Related Commands
terminal monitor
13-25
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Information
Flood events mainly include the information relating to OSPF response packets and renew
packets.
Purpose
To enable the debug switch for returning the debugging information of the OSPF link state
announcement generation event
Usage Guidelines
None
Mode
ZXAN#
Example
The following example displays how to enable the debug switch for returning the debugging
information of the OSPF link state announcement generation event:
ZXAN#debug ip ospf lsa-generation
OSPF summary lsa generation debugging is on
ZXAN#
Related Commands
terminal monitor
Related Information
OSPF LSA generation debugging events mainly include link state change notifications,
self-rule system edge router link state change notifications, and the updates of these
notifications.
13-26
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To enable the debug switch for OSPF non-stop forwarding events
Usage Guidelines
None
Mode
ZXAN#
Example
The following example displays how to enable the debug switch for OSPF non-stop
forwarding events:
ZXAN#debug ip ospf nsf
OSPF non-stop forwarding event debugging is on
ZXAN#
Related Commands
terminal monitor
Related Information
By default, all debug switches are disabled.
Purpose
To enable the debug switch for returning the debugging information about the OSPF
receiving/transmitting packets to monitor the packets
13-27
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
None
Mode
ZXAN#
Example
The following example displays how to enable the debug switch for returning the debugging
information about the OSPF receiving/transmitting packets to monitor the packets:
ZXAN#debug ip ospf packet
OSPF packet debugging is on
ZXAN#
Related Commands
terminal monitor
Related Information
By default, all debug switches are disabled.
Purpose
To enable the switch for returning the debugging information about OSPF retransmission
queue events
Usage Guidelines
None
Mode
ZXAN#
Example
The following example displays how to enable the switch for returning the debugging
information about OSPF retransmission queue events:
13-28
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
terminal monitor
Related Information
By default, all debug switches are disabled.
Purpose
To enable the debug switch for returning the debugging information about OSPF SPF
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
external
External route
inter
Inter-route
intra
Intra-route
Mode
ZXAN#
Example
The following example displays how to enable the debug switch for returning the debugging
information about OSPF SPF:
ZXAN#debug ip ospf spf
OSPF spf external events debugging is on
OSPF spf inter events debugging is on
OSPF spf intra events debugging is on
ZXAN#debug ip ospf spf external
OSPF spf external events debugging is on
13-29
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
terminal monitor
Related Information
By default, all debug switches are disabled.
Purpose
To enable the debug switch for OSPF database tree
Usage Guidelines
None
Mode
ZXAN#
Example
The following example displays how to enable the debug switch for OSPF database tree:
ZXAN#debug ip ospf tree
OSPF database events debugging is on
ZXAN#
Related Commands
terminal monitor
Related Information
By default, all debug switches are disabled.
13-30
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To enable PIM snooping debug switch
Usage Guidelines
None
Mode
ZXAN#
Example
The following example displays how to enable PIM snooping debug switch:
ZXAN#debug ip pim-snooping
PIM SNOOPING debugging is on
ZXAN#
Related Commands
terminal monitor
Related Information
By default, all debug switches are disabled.
Purpose
To enable PIM-SM debug switches
13-31
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
assert
related to MSDP
packet-recv
information
Mode
ZXAN#
Example
The following example displays how to enable PIM-SM debug switches:
ZXAN#debug ip pimsm assert
PIMSM assert debugging is off
ZXAN#
Related Commands
terminal monitor
Related Information
By default, all debug switches are disabled.
13-32
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To enable debug function of the specified upper layer protocol number to display IP
debugging information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
protocol-number
Protocol number
Range: 0 255
Mode
ZXAN#
Example
The following example displays how to enable debug function of the the specified upper
layer protocol number to display IP debugging information:
ZXAN#debug ip protocol 0
IP protocol number debugging is on
ZXAN#
Related Commands
terminal monitor
Related Information
By default, all debug switches are disabled.
Purpose
To enable the debug switch to trace the RIP packet receiving and sending information
Usage Guidelines
None
Mode
ZXAN#
Example
The following example displays how to enable the debug switch to trace the RIP packet
receiving and sending information:
ZXAN#debug ip rip
RIP protocol debugging is on
ZXAN#
Related Commands
terminal monitor
Related Information
By default, all debug switches are disabled.
Purpose
To enable all RIP debug switches
Usage Guidelines
None
Mode
ZXAN#
13-34
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to enable all RIP debug switches:
ZXAN#debug ip rip all
All RIP debugging has been turned on
ZXAN#
Related Commands
terminal monitor
Related Information
By default, all debug switches are disabled.
Purpose
To enable the debug switch to trace RIP routing table changes
Usage Guidelines
None
Mode
ZXAN#
Example
The following example displays how to enable the debug switch to trace RIP routing table
changes:
ZXAN#debug ip rip database
RIP database events debugging is on
ZXAN#
Related Commands
terminal monitor
13-35
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Information
By default, all debug switches are disabled.
Purpose
To enable the debug switch to trace RIP related events, such as the interface status
Usage Guidelines
None
Mode
ZXAN#
Example
The following example displays how to enable the debug switch to trace the RIP related
events, such as the interface status:
ZXAN#debug ip rip events
RIP event debugging is on
ZXAN#
Related Commands
terminal monitor
Related Information
By default, all debug switches are disabled.
13-36
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To enable the debug switch to trace RIP trigger events, such as timer timeout
Usage Guidelines
None
Mode
ZXAN#
Example
The following example displays how to enable the debug switch to trace the RIP trigger
events, such as timer timeout:
ZXAN#debug ip rip trigger
RIP trigger debugging is on
ZXAN#
Related Commands
terminal monitor
Related Information
By default, all debug switches are disabled.
Purpose
To enable the debug function of the specified source address to display the
debugging information processed by the IP protocol, and display whether the router is
sending/receiving the specified source IP address message
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ip-address
Source IP address
A.B.C.D
13-37
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
ZXAN#
Example
The following example displays how to enable the debug function of the specified source
address to display the debugging information processed by the IP protocol, and display
whether the router is sending/receiving the specified source IP address message:
ZXAN#debug ip source 192.168.6.6
IP source debugging is on
ZXAN#
Related Commands
terminal monitor
Related Information
By default, all debug switches are disabled.
Purpose
To enable all TCP debug switches
Usage Guidelines
None
Mode
ZXAN#
Example
The following example displays how to enable all TCP debug switches:
ZXAN#debug ip tcp all
All TCP debugging has been turned on
ZXAN#
13-38
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
terminal monitor
Related Information
By default, all debug switches are disabled.
Purpose
To configure the debug switch for establishing and closing the TCP connections
Usage Guidelines
None
Mode
ZXAN#
Example
The following example displays how to configure the debug switch for establishing and
closing the TCP connections:
ZXAN#debug ip tcp driver
TCP driver event debugging is on
ZXAN#
Related Commands
terminal monitor
Related Information
When the switch is enabled, the related information is displayed, including TCP proactive
opening, passive opening, TCP link establishment timer, TCP normal closing, and
abnormal closing information.
By default, all debug switches are disabled.
13-39
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure the debug switch for TCP buffer management information
Usage Guidelines
None
Mode
ZXAN#
Example
The following example displays how to configure the debug switch for TCP buffer
management information:
ZXAN#debug ip tcp driver-pak
TCP driver verbose debugging is on
ZXAN#
Related Commands
terminal monitor
Related Information
When the switch is enabled, the related information is displayed, including output packets,
transmitted packet size, received packets size, and deleted packet information.
When the user logs into the ZXMSG, the supplementary information about the TCP events,
such as BGP and FTP (not including Telnet), is displayed.
By default, all debug switches are disabled.
Purpose
To configure the debug switch for the source and destination information about the TCP
sent/received packets
Usage Guidelines
None
Mode
ZXAN#
Example
The following example displays how to configure the debug switch for the source and
destination information about the TCP sent/received packets:
ZXAN#debug ip tcp packet
TCP Packet debugging is on
ZXAN#
Related Commands
terminal monitor
Related Information
After a switch is enabled, when TCP receives or sends a packet, information such
as source/destination address of data packet, port number, sequence number,
acknowledgment number, the size of receiving window, and control bit information is the
output.
When the user logs into the ZXMSG, the supplementary information about the TCP events,
such as BGP and FTP (not including Telnet), is displayed.
By default, all debug switches are disabled.
Purpose
To enable the debug switch for TCP state transition information
13-41
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
None
Mode
ZXAN#
Example
The following example displays how to enable the debug switch for TCP state transition
information:
ZXAN#debug ip tcp transactions
TCP special debugging is on
ZXAN#
Related Commands
terminal monitor
Related Information
After the switch is enabled, the output will be the TCP special event information, including
the destination IP address, port number and MSS advertisement of TCP connection
established, the time resetting of retransmission timer, retransmission timeout, limited
state-machine transition, and releasing of TCP control block information.
When the user logs into the ZXMSG, the supplementary information about the TCP events,
such as BGP and FTP (not including Telnet), is displayed.
By default, all debug switches are disabled.
Purpose
To configure the debug switch for the source and destination information about the UDP
sent/received packets
Usage Guidelines
None
13-42
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
ZXAN#
Example
The following example displays how to configure the debug switch for the source and
destination information about the UDP sent/received packets:
ZXAN#debug ip udp
UDP packet debugging is on
ZXAN#
Related Commands
terminal monitor
Related Information
After the debug switch is enabled, source/destination addresses and port and UDP packet
length information are displayed when the UDP receives and sends a packet.
By default, all debug switches are disabled.
Purpose
To enable all IPTV debug switches
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
all
13-43
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
data
error
event
rack-number
Rack number
shelf-number
Shelf number
Range: 0 4
slot-number
Slot number
Range: 1 16
interface name
Interface name
Epon-onu_rackno/slotno/portno:onuno
vport vportno
Range: 1 256
pvc pvcnumber
PVC number
Range: 1 8
mvlan mvlanid
MVLAN ID
Range: 2 4095
group ipaddress
IP address
A.B.C.D
mode
IPTV mode
Mode
ZXAN#
Example
The following example displays how to enable all IPTV debug switches:
ZXAN#debug iptv events 0 0 7 mode timer
IPTV events debugging is on
ZXAN#
Related Commands
terminal monitor
Related Information
By default, all debug switches are disabled.
13-44
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To enable all LACP debug switches
Usage Guidelines
None
Mode
ZXAN#
Example
The following example displays how to enable all LACP debug switches:
ZXAN#debug lacp all
Link Aggregation Control Protocol All debugging is on
ZXAN#
Related Commands
terminal monitor
Related Information
By default, all debug switches are disabled.
Purpose
To enable all LACP state machine debug switches
Usage Guidelines
The following table provides parameter description:
13-45
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
interface port-number
Interface name
Epon-olt_rackno/slotno/portno
Epon-onu_rackno/slotno/portno:onuno
Gei_1/3/portno
Loopback
Interface Range: 1 64
Mng1
Null1
Smartgroup
Interface Range: 1 8
SuperVLAN
Interface Range: 1 255
Tunnel
Interface Range: 1 64
Vlan
Interface Range: 1 4094
Xgei_1/3/portno
Mode
ZXAN#
Example
The following example displays how to enable all LACP state machine debug switches:
ZXAN#debug lacp fsm
Link Aggregation Control Protocol SM debugging is on
ZXAN#
Related Commands
terminal monitor
Related Information
By default, all debug switches are disabled.
13-46
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To enable all LACP transceiver debug switches
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
interface port-number
Interface name
gei_1/3/portno
xgei_1/3/portno
Mode
ZXAN#
Example
The following example displays how to enable all LACP transceiver debug switches :
ZXAN#debug lacp packet
Link Aggregation Control Protocol packets debugging is on
ZXAN#
Related Commands
terminal monitor
Related Information
By default, all debug switches are disabled.
Purpose
To enable the MSTP rapid role transition debug switch
Usage Guidelines
The following table provides parameter description:
13-47
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
interface interface-name
Interface name
gei_1/3/portno
xgei_1/3/portno
Smartgroup Interface Range: 1 8
instance instance-number
Instance number
Range: 0 31
Mode
ZXAN#
Example
The following example displays how to enable the MSTP rapid role transition debug switch:
ZXAN#debug mstp agreement
Multiple Spanning Tree agreement debugging is on
ZXAN#
Related Commands
terminal monitor
Related Information
By default, all debug switches are disabled.
Purpose
To enable all MSTP debug switches
Usage Guidelines
None
Mode
ZXAN#
Example
The following example displays how to enable all MSTP debug switches:
13-48
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
terminal monitor
Related Information
By default, all debug switches are disabled.
Purpose
To enable the MSTP BPDU received packet debug switch
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
interface interface-name
Interface name
Gei_1/3/portno
Xgei_1/3/portno
Smartgroup
Interface Range: 1 8
Mode
ZXAN#
Example
The following example displays how to enable the MSTP BPDU received packet
information debug switch:
ZXAN#debug mstp bpdu-rx
Multiple Spanning Tree Received BPDUs debugging is on
ZXAN#
13-49
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
terminal monitor
Related Information
By default, all debug switches are disabled.
Purpose
To enable the MSTP BPDU transmitted message debug switch
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
interface interface-name
Interface name
Gei_1/3/portno
Xgei_1/3/portno
Smartgroup
Interface Range: 1 8
Mode
ZXAN#
Example
The following example displays how to enable the MSTP transmitted message debug
switch:
ZXAN#debug mstp bpdu-tx
Multiple Spanning Tree Transmitted BPDUs debugging is on
ZXAN#
Related Commands
terminal monitor
Related Information
By default, all debug switches are disabled.
13-50
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To enable the MSTP protocol error message debug switch
Usage Guidelines
None
Mode
ZXAN#
Example
The following example displays how to enable the MSTP protocol error message debug
switch:
ZXAN#debug mstp errors
MST Protocol errors debugging is on
ZXAN#
Related Commands
terminal monitor
Related Information
By default, all debug switches are disabled.
Purpose
To enable the MSTP debug switch to delete MAC address information
13-51
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
interface interface-name
Interface name
Gei_1/3/portno
Xgei_1/3/portno
Smartgroup
Interface Range: 1 8
instance instance_number
Instance number
Range: 0 31
Mode
ZXAN#
Example
The following example displays how to enable the MSTP debug switch to delete MAC
address information:
ZXAN#debug mstp flush
Multiple Spanning Tree port flush mechanism debugging is on
ZXAN#
Related Commands
terminal monitor
Related Information
By default, all debug switches are disabled.
Purpose
To enable the MSTP information debug switch
Usage Guidelines
The following table provides parameter description:
13-52
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
interface interface-name
Interface name
Gei_1/3/portno
Xgei_1/3/portno
Smartgroup
Interface Range: 1 8
instance instance-number
Instance number
Range: 0 31
Mode
ZXAN#
Example
The following example displays how to enable the MSTP information debug switch:
ZXAN#debug mstp info
Multiple Spanning Tree port info state machine debugging on
ZXAN#
Related Commands
terminal monitor
Related Information
By default, all debug switches are disabled.
Purpose
To enable the MSTP protocol migration state machine debug switch
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
interface interface-name
Interface name
Gei_1/3/portno
Xgei_1/3/portno
Smartgroup
Interface Range: 1 8
13-53
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
ZXAN#
Example
The following example displays how to enable the MSTP protocol migration state machine
debug switch:
ZXAN#debug mstp migration
Multiple Spanning Tree migration protocol state machine
debugging is on
ZXAN#
Related Commands
terminal monitor
Related Information
By default, all debug switches are disabled.
Purpose
To enable the MSTP designated root handshake debug switch
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
interface interface-name
Interface name
Gei_1/3/portno
Xgei_1/3/portno
Smartgroup
Interface Range: 1 8
instance instance-number
Instance number
Range: 0 31
Mode
ZXAN#
13-54
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to enable the MSTP designated root handshake
debug switch:
ZZXAN#debug mstp proposals
Multiple Spanning Tree Proposal/Agree handshakes debugging
is on
ZXAN#
Related Commands
terminal monitor
Related Information
By default, all debug switches are disabled.
Purpose
To enable the MSTP protocol role debug switch
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
instance instance-number
Instance number
Range: 0 31
Mode
ZXAN#
Example
The following example displays how to enable the MSTP protocol role debug switch:
ZXAN#debug mstp roles
MST Protocol roles debugging is on
ZXAN#
13-55
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
terminal monitor
Related Information
By default, all debug switches are disabled.
Purpose
To enable the MSTP port state synchronization debug switch
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
interface interface-name
Interface name
Gei_1/3/portno
Xgei_1/3/portno
Smartgroup
Interface Range: 1 8
Mode
ZXAN#
Example
The following example displays how to enable the MSTP port state synchronization debug
switch:
ZXAN#debug mstp state
Multiple Spanning Tree state sync debugging is on
ZXAN#
Related Commands
terminal monitor
Related Information
By default, all the debug switches are disabled.
13-56
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To enable the MSTP topology change notification debug switch
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
interface interface-name
Interface name
Gei_1/3/portno
Xgei_1/3/portno
Smartgroup
Interface Range: 1 8
instance instance_number
Instance number
Range: 0 31
Mode
ZXAN#
Example
The following example displays how to enable the MSTP topology change notification
debug switch:
ZXAN#debug mstp tc
Multiple Spanning Tree topology change notifications
debugging is on
ZXAN#
Related Commands
terminal monitor
Related Information
By default, all debug switches are disabled.
13-57
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To display port location debugging information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
all
data
error
event
type_shelf/slot/{port-no | olt:onu}
gport portnumber
Range: 1 255
pvc pvcnumber
PVC number
Range: 1 8
Mode
ZXAN#
Example
The following example displays port location debugging information:
ZXAN#debug port-location data gei_1/3/1
ZXAN#
Related Commands
terminal monitor
Related Information
By default, all debug switches are disabled.
13-58
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To display PPPoE+ debugging information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
all
data
information
error
information
event
information
type_shelf/slot/{port-no | olt:onu}
Range: 1 127
gport portnumber
Range: 1 255
pvc pvcnumber
PVC number
Range: 1 8
Mode
ZXAN#
Example
The following example displays PPPoE+ debugging information:
ZXAN#debug pppoe-plus all
pppoe-plus all debugging is on
ZXAN#
13-59
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
terminal monitor
Related Information
By default, all debug switches are disabled.
Purpose
To enable the debug switch to display all the RADIUS debugging information
Usage Guidelines
None
Mode
ZXAN#
Example
The following example displays how to enable the debug switch to display all the RADIUS
debugging information:
ZXAN#debug radius all
All radius debugging has been turned on
ZXAN#
Related Commands
terminal monitor
Related Information
By default, all debug switches are disabled.
Purpose
To display RADIUS authentication debugging information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
all
authentication
data
error
event
packet
group-number
Range: 1 10
Mode
ZXAN#
Example
The following example displays RADIUS authentication debugging information:
ZXAN#debug radius authentication packet 1
debug radius authenticaion packet turned on group 65536
ZXAN#
Related Commands
terminal monitor
Related Information
By default, all debug switches are disabled.
Purpose
To display RADIUS exception debugging information
Usage Guidelines
None
Mode
ZXAN#
Example
The following example displays RADIUS exception debugging information:
ZXAN#debug radius exception
debug radius exception turned on
ZXAN#
Related Commands
terminal monitor
Related Information
By default, all debug switches are disabled.
Purpose
To enable the debug switch to display RADIUS user debugging information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
user-name
User name
Range: 1 32 characters
domain-name
Domain name
Range: 1 32 characters
13-62
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
ZXAN#
Example
The following example displays how to enable the debug switch to display RAIDUS user
debugging information:
ZXAN#debug radius user user domain
debug radius user turned on user@doma
ZXAN#
Related Commands
terminal monitor
Related Information
By default, all debug switches are disabled.
Purpose
To display SSH session debugging information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
clear sshnum
Range: 0 15
show
Mode
ZXAN#
Example
The following example displays SSH session debugging information:
ZXAN#debug ssh show
g_context state is 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
g_context cookie is 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
13-63
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
terminal monitor
Related Information
By default, all debug switches are disabled.
Purpose
To debug system communication port information
Usage Guidelines
The following table provides parameter description:
Parameter
all
Description
Value
information
data
data information
error
error information
event
event information
packet
packet information
Mode
ZXAN#
Example
The following example displays how to debug system communication port information:
ZXAN#debug syscomm all
13-64
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
terminal monitor
Related Information
By default, all debug switches are disabled.
Purpose
To debug the system control information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
all
information
data
information
error
information
event
information
packet
information
Mode
ZXAN#
Example
The following example displays how to debug the system control information:
ZXAN#debug sysctrl all
ZXAN#
13-65
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
terminal monitor
Related Information
By default, all debug switches are disabled.
Purpose
To debug the version management information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
all
information
data
data information
error
error information
event
event information
packet
packet information
Mode
ZXAN#
Example
The following example displays how to debug the version management information:
ZXAN#debug version-mng all
ZXAN#
13-66
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
terminal monitor
Related Information
By default, all debug switches are disabled.
Purpose
To enable the VLAN debug switch
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
data
error
event
Mode
ZXAN#
Example
The following example displays how to enable the VLAN debug switch:
ZXAN#debug vlan data
Vlan data debugging is on
ZXAN#
Related Commands
terminal monitor
Related Information
By default, all debug switches are disabled.
13-67
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To enable the switch for displaying VRRP debugging information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
all
information
state
information
error
received by VRRP
event
state change
packet
Packet information
Mode
ZXAN#
Example
The following example displays how to enable the switch for displaying VRRP debugging
information:
ZXAN#debug vrrp state
VRRP state debugging is on
ZXAN#
Related Commands
terminal monitor
13-68
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To display the enabled debug switches
Usage Guidelines
None
Mode
Any mode except user mode
Example
The following example displays the enabled debug switches:
ZXAN#show debugging
IP routing:
RIP database events debugging is on
OSPF spf external events debugging is on
OSPF spf inter events debugging is on
OSPF spf intra events debugging is on
OSPF non-stop forwarding events debugging is on
BGP dampening debugging is on
BGP updates debugging is on
port-location:
port-location debugging Error all is on
port-location debugging Data all is on
port-location debugging Event all is on
RSL:
Syscomm error debugging is on
ZXAN#
Related Commands
All debug commands
Related Information
By default, all debug switches are disabled.
13-69
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To output the debug information to the current terminal
Usage Guidelines
None
Mode
ZXAN#
Example
The following example displays how to output the debug information to the current terminal:
ZXAN#terminal monitor
ZXAN#
Related Commands
All debug commands
Purpose
To configure the number of lines on the current terminal screen for the current session
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
line-number
Line number
Range: 0 512
13-70
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
ZXAN#
Example
The following example displays how to configure the number of lines on the current terminal
screen for the current session:
ZXAN#terminal length 3
ZXAN#
Related Commands
None
13-71
SJ-20120615152640-010|2012-06-30 (R1.0)
13-72
SJ-20120615152640-010|2012-06-30 (R1.0)
Chapter 14
Monitor Commands
Table of Contents
system-monitor endless-loop duration ......................................................................14-1
system-monitor endless-loop reboot .........................................................................14-2
system-monitor task-suspend-reboot........................................................................14-2
system-monitor watchdog.........................................................................................14-3
system-monitor watchdog-duration...........................................................................14-4
pon-loopback-auto-check-time .................................................................................14-4
Purpose
To modify the standard of monitoring endless-loop tasks
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
rackno
Rack number
13
shelfno
Shelf number
13
slotno
Slot number
0 22
value
1 100
Mode
ZXAN(config)#
Example
The following example displays how to modify the standard of monitoring endless-loop
tasks:
ZXAN(config)#system-monitor endless-loop duration rackno 1 shelfno 1 slotno 11 value 25
14-1
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure whether to reboot the card when the endless-loops reach the specified
standard threshold
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
rackno
Rack number
13
shelfno
Shelf number
13
slotno
Slot number
0 22
Mode
ZXAN(config)#
Example
The following example displays how to reboot the card when the endless-loops reach the
specified standard threshold:
ZXAN(config)#system-monitor endless-loop reboot rackno 1 shelfno 1 slotno 11 enable
Purpose
To monitor the task suspending
Usage Guidelines
The following table provides parameter description:
14-2
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
rackno
Rack number
13
shelfno
Shelf number
13
slotno
Slot number
0 22
all
Mode
ZXAN(config)#
Example
The following example displays how to restart the card when all the tasks are suspended:
ZXAN(config)#system-monitor task-suspend-reboot rackno 1 shelfno 1 slotno 11 all
Purpose
To enable the system monitoring watchdog
When this function is disabled, the card is restarted.
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
rackno
Rack number
13
shelfno
Shelf number
13
slotno
Slot number
0 22
Mode
ZXAN(config)#
14-3
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to enable the system monitoring watchdog:
ZXAN(config)#system-monitor watchdog rackno 1 shelfno 2 slotno 3 enable
Purpose
To modify the waiting time of the system monitoring watchdog
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
rackno
Rack number
13
shelfno
Shelf number
13
slotno
Slot number
0 22
value
1 100
Mode
ZXAN(config)#
Example
The following example displays how to modify the waiting time of the system monitoring
watchdog:
ZXAN(config)#system-monitor watchdog-duration rackno 1 shelfno 2 slotno 3 value 34
14.6 pon-loopback-auto-check-time
Syntax
pon-loopback-auto-check-time time
Purpose
To start recheck automatically and periodically after detecting loopback
14-4
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
time
10 3600 seconds
Mode
ZXAN(config)#
Example
The following example displays how to start recheck automatically and periodically after
detecting loopback:
ZXAN(config)#pon-loopback-auto-check-time 45
Related Information
After the detecting loopback, the system starts recheck automatically and periodically to
check whether the loopback disappears. If the system does not detect the loopback for
three times, it considers that the loopback disappears.
14-5
SJ-20120615152640-010|2012-06-30 (R1.0)
14-6
SJ-20120615152640-010|2012-06-30 (R1.0)
Chapter 15
VLAN Commands
Table of Contents
Global Commands....................................................................................................15-1
Uplink Port Command at Network Side.....................................................................15-8
Commands at User side .........................................................................................15-12
Service-Port Commands ........................................................................................15-16
Smart QinQ Commands .........................................................................................15-20
Layer-2 Communication Commands ......................................................................15-22
Show Commands ...................................................................................................15-24
Purpose
To enter VLAN mode to configure VLAN attributes
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
vlan-id
VLAN ID
Range: 1 4094
database
VLAN database
name vlan-name
VLAN name
Range: 1 31 characters
Mode
ZXAN(config)#
Example
The following example displays how to enter VLAN mode to configure VLAN attributes:
15-1
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
show vlan
Purpose
To enter VLAN database mode to configure VLAN attributes
Usage Guidelines
None
Mode
ZXAN(config)#
Example
The following example displays how to enter VLAN database mode to configure VLAN
attributes:
ZXAN(config)#vlan database
ZXAN(VLAN)#
Related Commands
None
15.1.3 name
Syntax
name vlan-name
no name
Purpose
To configure VLAN name
15-2
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
vlan-name
VLAN name
Range: 1 31 characters
Mode
ZXAN(config)#
Example
The following example displays how to configure VLAN name:
ZXAN(config)#vlan 2
ZXAN(config-vlan)#name v2
ZXAN(config-vlan)#
Related Commands
show vlan
15.1.4 description
Syntax
description description-info
no description
Purpose
To provide description for the VLAN
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
description-info
VLAN description
Range: 1 63 characters
Mode
ZXAN(config-vlan)#
Example
The following example displays how to provide description for the VLAN:
ZXAN(config)#vlan 2
ZXAN(config-vlan)#description dialing-network
15-3
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
show vlan
15.1.5 multicast-packet
Syntax
multicast-packet {flood-all | flood-unknown | drop-unknown}
Purpose
To configure VLAN based multicast packet flood type
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
flood-all
flood-unknown
drop-unknown
Mode
ZXAN(config-vlan)#
Example
The following example displays how to configure VLAN based multicast packet flood type:
ZXAN(config)#vlan 2
ZXAN(config-vlan)#multicast-packet drop-unknown
ZXAN(config-vlan)#
Related Commands
show vlan
Related Information
By default, flood-unknown is the VLAN based multicast packet flood type.
15-4
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To create a VLAN
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
vlan-list
VLAN ID
Range: 1 4094
name vlan-name
VLAN name
Range: 1 32 characters
vlan-list
VLAN list
Mode
ZXAN(vlan)#
Example
The following example displays how to create a VLAN:
ZXAN(config)#vlan database
ZXAN(vlan)#vlan 2-100
ZXAN(vlan)#
Related Commands
show vlan summary
Related Information
By default, VLAN 1 is created automatically.
15.1.7 vbas
Syntax
vbas { enable | disable }
Purpose
To enable or disable VBAS in VLAN
15-5
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
enable
Enable VBAS
disable
Disable VBAS
Mode
ZXAN(vlan)#
Example
The following example displays how to enable VBAS in VLAN:
ZXAN(config)#vlan 1
ZXAN(vlan)#vbas enable
Related Commands
None
15.1.8 vlan-statistic
Syntax
vlan-statistic { enable | disable }
Purpose
To enable or disable VLAN statistics
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
enable
Enable
disable
Disable
Mode
ZXAN(config-vlan)#
Example
The following example displays how to enable VLAN statistics:
ZXAN(config)#vlan 1
ZXAN(config-vlan)#vlan-statistic enable
15-6
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
15.1.9 xconnect
Syntax
xconnect { enable | disable }
Purpose
To enable or disable 1:1 VLAN transparent transmission
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
enable
disable
Mode
ZXAN(config-vlan)#
Example
The following example displays how to enable 1:1 VLAN transparent transmission:
ZXAN(config)#vlan 1
ZXAN(config-vlan)#xconnect enable
Related Commands
None
15.1.10 vlan-xconnect
Syntax
vlan-xconnect user-port user-interface {[vport vport id] | [sport sport id]} uplink-port uplink-in
terface [svlan svlanid [cvlan cvlanid]]
no vlan-xconnect user-port user-interface {[vport vport id] | [sport sport id]} uplink-port uplin
k-interface [svlan svlanid [cvlan cvlanid]]
Purpose
To configure 1:1 VLAN cross connection entries
15-7
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
user-interface
User interface
vport vport id
Virtual port ID
1 128
sport sport id
Service port ID
1 128
uplink-interface
Uplink interface
svlan svlanid
SVLAN ID
1 4094
cvlan cvlanid
CVLAN ID
1 4094
Mode
ZXAN(config)#
Example
The following example displays how to configure a 1:1 VLAN:
ZXAN(config)#vlan-xconnect user-port gpon-onu_1/1/1:1
uplink-port gei_1/3/1
svlan 100
Related Commands
show vlan-xconnect detail
show vlan-xconnect summary
Purpose
To configure the VLAN port link mode
Usage Guidelines
The following table provides parameter description:
15-8
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
access
mode
trunk
hybrid
untag) mode
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the VLAN port link mode:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#switchport mode trunk
ZXAN(config-if)#
Related Commands
show vlan port
Related Information
l
l
l
l
Purpose
To configure the default characteristics of the VLAN
Usage Guidelines
The following table provides parameter description:
15-9
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
vlan-id
VLAN ID
Range: 1 4094
vlan-name
Range: 1 32 characters
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the default characteristics of the VLAN:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#switchport default vlan 100
ZXAN(config-if)#
Related Commands
show vlan port
Purpose
To create a VLAN if it does not exist and add a port to the VLAN
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
vlan-list
VLAN list
tag
Tag mode
untag
Untag mode
Mode
ZXAN(config-if)#
Example
The following example displays how to create a VLAN if it does not exist and add a port to
the VLAN:
15-10
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
show vlan port
Purpose
To configure the TPID port attributes
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
number
TPID number
0xHHHH
vlan
vlan
port
port
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the TPID port attributes:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#switchport tpid 0x9100
ZXAN(config-if)#
Related Commands
show vlan port
15-11
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure the VLAN port link mode at the user side
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
access
trunk
hybrid
vport vportid
Virtual port ID
1 (EPON)
Range: 1 128 (GPON)
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the VLAN port link mode at the user side:
ZXAN(config)#interface epon-onu_1/1/2:3
ZXAN(config-if)#switchport mode hybrid
ZXAN(config-if)#
Related Commands
show vlan port
Related Information
l
l
l
l
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure the default characteristics of the VLAN at the user side
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
vlan-id
VLAN ID
Range: 1 4094
vlan-name
VLAN name
Range: 1 32 characters
one-to-one
One to one
vport vportid
Virtual port ID
1 (EPON)
Range: 1 128 (GPON)
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the default characteristics of the VLAN
at the user side:
ZXAN(config)#interface epon-onu_1/1/2:3
ZXAN(config-if)#switchport default vlan 100
ZXAN(config-if)#
Related Commands
show vlan port
Purpose
To enable or disable the TLS
15-13
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
enable
disable
vport vportid
Virtual port ID
1 (EPON)
Range: 1 128 (GPON)
Mode
ZXAN(config-if)#
Example
The following example displays how to enable the TLS:
ZXAN(config)#interface epon-onu_1/1/2:3
ZXAN(config-if)#switchport tls enable
ZXAN(config-if)#
Related Commands
show vlan port
Purpose
To configure the TLS characteristics of the interface
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
vlan-id
VLAN ID
Range: 1 4094
vlan-name
VLAN name
Range: 1 32 characters
vport vportid
Virtual port ID
1 (EPON)
Range: 1 128 (GPON)
Mode
ZXAN(config-if)#
15-14
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to configure the TLS characteristics of the interface:
ZXAN(config)#interface epon-onu_1/1/2:3
ZXAN(config-if)#switchport tls vlan 2
ZXAN(config-if)#
Related Commands
show vlan port
Purpose
To configure the characteristics of the VLAN at the user side
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
vlan-list
tag
untag
vport vportid
Virtual port ID
1 (EPON)
Range: 1 128 (GPON)
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the characteristics of the VLAN at the
user side:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#switchport vlan 100-110 untag
ZXAN(config-if)#
15-15
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
show vlan port
Purpose
To configure the service port to implement VLAN translation and smart QinQ function at
the ONU-level
To delete the configuration, use the no command.
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
service-port
Service port ID
Range: 1 24 (EPON)
Range: 1 128 (GPON)
vport
Virtual port ID
1 (EPON)
Range: 1 128 (GPON)
untagged
Untagged packet
user-vlan
User VLAN
Range: 1 4094
user-etype
Ethernet type
user-define value
0xHHHH
function
vlan
Range: 1 4094
15-16
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
1:1 | N:1
svlan
Range: 1 4094
new-cos cos
Range: 0 7
user-priority priority
Priority
Range: 0 7
queue-no queue-no
Queue ID
Range: 0 7
Mode
ZXAN(config-if)#
Example
The following example shows how to configure the service port on epon-onu-1/3/1:1:
ZXAN(config)#interface epon-onu_1/1/1:1
ZXAN(confid-if)#service-port 1 user-vlan 20 to 20 vlan 100 svlan 101 vlan-xcon
nect
ZXAN(config-if)#service-port 2 user-vlan untagged vlan 21 svlan 31
ZXAN(config-if)#service-port 3 user-vlan 22 user-etype PPPOE vlan 102 svlan 103
Related Commands
show service-port
Related Information
The ZXA10 C320 supports maximum 17 4096 service-ports (128 service-ports per ONU
and 4096 service-ports per card).
The service port configuration is applicable to the following scenarios:
Before VLAN Translation
Untag
Tag VLAN
15-17
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure TLS service scenario
To delete the configuration, use the no command.
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
service-port
Service port ID
Range: 1 24 (EPON)
Range: 1 128 (GPON)
vport
Virtual port ID
1 (EPON)
Range: 1 128 (GPON)
tls-vlan
TLS VLAN ID
Range: 1 4094
Mode
ZXAN(config-if)#
Example
The following example shows how to The following example shows how to configure the
TLS service scenario:
ZXAN(config)#interface epon-onu_1/1/1:1
ZXAN(config-if)#service-port 1 tls-vlan 100
15-18
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
show service-port
Related Information
When you configure a TLS VLAN on a service port, the port TLS attribute is enabled by
default.
Purpose
To configure the description of the service port
To delete the configuration, use the no command.
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
service-port
Service port ID
Range: 1 24 (EPON)
Range: 1 128 (GPON)
vport vport
Virtual port ID
1 (EPON)
Range: 1 128 (GPON)
name
Range: 1 32 characters
Mode
ZXAN(config-if)#
Example
The following example shows how to The following example shows how to configure the
description of service port 1 on epon-onu_1/1/1:1:
ZXAN(config)#interface epon-onu_1/1/1:1
ZXAN(config-if)#service-port 1 description test
ZXAN(config-if)#
15-19
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
show service-port
Purpose
To enable or disable the smartQ-in-Q
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
enable
Enable Q-in-Q
diable
Disable Q-in-Q
Mode
ZXAN(config)#: Enable global Q-in-Q.
ZXAN(config-if)#: Enable OLT port Q-in-Q.
Example
l
Related Command
show vlan-smart-qinq
15-20
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure Q-in-Q VLAN rule
Use no command to delete the rule.
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
interface
name
PON interface
Range: 1 4093
Start VLAN
End VLAN
ether-typeether-type
ARP (0x0806)
IP (0x0800)
cos priority
CoS priority
Range: 0 7
cos newcosvalue
Newcos value
Range: 0 7
svlan{svlanid | vlanname}}
Configure SVLAN
Range: 1 4094
Mode
ZXAN(config)#
Example
The following example displays how to configure Q-in-Q VLAN rule.
ZXAN(config)#vlan-smart-qinq ingress-port epon-olt_1/1/1 cvlan 1000 to 1001 svlan
1024
Related Command
show vlan-smart-qinq
15-21
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Information
l
Based on CoS
begin-cvlan is not less than the step and begin-cvlan can be divided exactly by the step.
See the following formula:
begincvlan = step M (M=1,2,)
l
l
l
If the CVLAN segment does not meet the above requirements, divide the CVLAN
segment into different CVLAN segments, which meet the above requirements.
The same port only supports one smart Q-in-Q rule based on CVLAN, CoS or Ethernet
type.
The system supports maximum 18 4 1024 Q-in-Q rules (CVLAN and SVLAN
mapping). Each port and each card supports maximum 256 Q-in-Q rules.
Purpose
To set the global user communication control
Usage Guidelines
None
Mode
ZXAN(config)#
15-22
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example shows how to set the global user communication control:
ZXAN(config)#security usercommunication control enable
Related Commands
show security usercommunication control
Related Information
If this command is enabled, all user ports shall be insulted from each other, but remains
linked in configured VLAN. Besides, user port and uplink port are linked. If it is disabled,
then all user ports are linked with each other.
This command cannot be enabled with command global user insulation together. They
are exclusive.
Purpose
To configure the user communication SVLAN where user ports can communicate directly
with each other
Usage Guidelines
The following table describes the relevant parameters:
Parameter
Description
Value
vlan id1
Outer VLAN ID
vlan id2
Inner VLAN ID
Mode
ZXAN(config)#
Example
The following example shows how to the configure user communication SVLAN:
ZXAN(config)#security usercommunication svlan 23
Related Commands
None
15-23
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To display all the created VLAN IDs
Usage Guidelines
None
Mode
Any mode except user mode
Example
The following example displays all the created VLAN IDs:
ZXAN#show vlan summary
All created vlan num: 208
Details are following:
1-102,200-201,500,600,1000-1100,2600
ZXAN#
Related Commands
None
Purpose
To display the VLAN information
Usage Guidelines
The following table provides parameter description:
15-24
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
vlan-id
VLAN ID
Range: 1 4094
name vlan-name
VLAN name
Range: 1 32 characters
Mode
Any mode except user mode
Example
The following example displays the VLAN information :
ZXAN#show vlan 2
vlanid:
name:
v2
description:
dialing-network
multicast-packet:
flood-unknow
port(untagged):
port(tagged):
ZXAN#
Related Commands
None
Purpose
To display the VLAN port information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
interface-name
Interface name
vport vport
Virtual port ID
1 (EPON)
Range: 1 128 (GPON)
Mode
Any mode except user mode
15-25
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays the VLAN port information:
ZXAN#show vlan port gei_1/3/1
Mode
ProtEn
PrioEn
TLSEn
------------------------------------------------------------------------------hybrid 1
ProtEn
PrioEn
TLSEn
------------------------------------------------------------------------------hybrid 1
Related Commands
None
Purpose
To display the VLAN priority information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
interface-name
Interface name
vport vport
Virtual port ID
1 (EPON)
Range: 1 128 (GPON)
Mode
Any mode except user mode
Example
The following example displays the VLAN priority information:
ZXAN#show vlan priority epon-onu_1/1/2:3 vport 100
ZXAN#
15-26
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Purpose
To display the VLAN protocol information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
interface-name
Interface name
vport vport
Virtual port ID
1 (EPON)
Range: 1 128 (GPON)
Mode
Any mode except user mode
Example
The following example displays the VLAN protocol information:
ZXAN(config)#show vlan protocol gpon-onu_1/2/1:1 vport 1
Protocol-type Vlan
CVlan
------------------------------------------------------------
Related Commands
None
Purpose
To display the port Q-in-Q VLAN information
15-27
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
interface-name
Interface name
vport vport
Virtual port ID
1 (EPON)
Range: 1 128 (GPON)
Mode
Any mode except user mode
Example
The following example displays the port Q-in-Q VLAN information:
ZXAN#show vlan qinq epon-olt_1/1/1
ZXAN#
Related Commands
None
Purpose
To display the port VLAN translation information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
interface-name
Interface name
vport vport
Virtual port ID
1 (EPON)
Range: 1 128 (GPON)
Mode
Any mode except user mode
Example
The following example displays the port VLAN translation information:
15-28
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Purpose
To display smart Q-in-Q VLAN rule
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
interface
SVLAN ID
svlan svlanid
Range: 1 4094
Mode
Any mode except user mode
Example
The following example displays the smart Q-in-Q VLAN rule:
ZXAN(config)#show vlan-smart-qinq
smart-qinq item num: 6
Ingress-Port Begin-Cvlan End-Cvlan Ether-Type Cos Svlan NewCos
------------------------------------------------------------------epon-olt_1/1/1 10
10
0x0
epon-olt_1/1/1 20
20
0x0800
2500
0xff 2500
epon-olt_1/1/1 0
0x0
2500
epon-olt_1/1/1 0
0x0806
0xff 2500
epon-olt_1/1/1 30
30
0x0
0xff 2500
epon-olt_1/1/1 45
50
0x0
0xff 2500
Related Command
vlan-smart-qinq
15-29
SJ-20120615152640-010|2012-06-30 (R1.0)
vlan-smart-qinq ingress-port
Purpose
To show the statistic details on the interface VLAN
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
svlan
SVLAN ID
1 4094
cvlan
CVLAN ID
0 4094
Mode
ZXAN(config)#
Example
The following example displays the statistic details on the interface VLAN:
ZXAN(config)#show interface vlan-statistic detail gei_1/3/1 svlan 2 cvlan 2
upbyte
: 0 Byte
downbyte
: 0 Byte
uppacket
: 0 Packet
downpacket
: 0 Packet
updroppacket : 0 Packet
Purpose
To show the global user communication control configuration
Usage Guidelines
None
15-30
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
All modes except user mode
Example
The following example shows the global user communication control configuration:
ZXAN#show security usercommunication-control
Vlan communication disable
Related Commands
None
15-31
SJ-20120615152640-010|2012-06-30 (R1.0)
15-32
SJ-20120615152640-010|2012-06-30 (R1.0)
Chapter 16
SuperVLAN Commands
Table of Contents
arp-broadcast ...........................................................................................................16-1
interface supervlan ...................................................................................................16-2
interface-subvlan-routing ..........................................................................................16-3
ip supervlan pool ......................................................................................................16-3
ip-pool-filter ..............................................................................................................16-4
subvlan ....................................................................................................................16-5
supervlan .................................................................................................................16-6
supervlan inter-subvlan-routing ................................................................................16-6
show supervlan ........................................................................................................16-7
show supervlan ip-pool.............................................................................................16-8
16.1 arp-broadcast
Syntax
arp-broadcast {enable | disable}
Purpose
To enable or disable the super VLAN to make ARP broadcast for all its sub-VLANs/physical
interfaces
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
enable
broadcast
disable
broadcast
Mode
ZXAN(config-if)#
16-1
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to enable the super VLAN to make ARP broadcast
for all its sub-VLANs/physical interfaces:
ZXAN(config)#interface supervlan1
ZXAN(config-if)#arp-broadcast enable
ZXAN(config-if)#
Related Commands
None
Related Information
This command is to prevent the broadcast storm from decreasing the system processing
efficiency, and provide a configurable ARP broadcast function for users. The user can
display this configuration using the show running-config command in the super VLAN
interface.
Purpose
To create a super VLAN and enter the super VLAN configuration mode
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
supervlan-number
Range: 1 32
Mode
ZXAN(config)#
Example
The following example displays how to create a super VLAN and enter the super VLAN
configuration mode:
ZXAN(config)#interface supervlan 10
ZXAN(config-if)#
16-2
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
16.3 interface-subvlan-routing
Syntax
inter-subvlan-routing {enable | disable}
Purpose
To enable or disable routing between sub-VLANs
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
enable
sub-VLANs
disable
sub-VLANs
Mode
ZXAN(config-if)#
Example
The following example displays how to enable routing between sub-VLANs:
ZXAN(config)#interface supervlan1
ZXAN(config-if)#inter-subvlan-routing enable
ZXAN(config-if)#
Related Commands
None
Purpose
To bind an IP address segment to a VLAN/physical interface
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
begin-address
Staring IP address
A.B.C.D
end-address
Ending IP address
A.B.C.D
Mode
ZXAN(config-vlan)#
Example
The following example displays how to bind an IP address segment to a VLAN/physical
interface:
ZXAN(config)#vlan 4
ZXAN(config-vlan)#ip supervlan pool 192.168.1.1 192.168.1.128
ZXAN(config-vlan)#
Related Commands
show supervlan pool
16.5 ip-pool-filter
Syntax
ip-pool-filter {enable | disable}
Purpose
To enable or disable the super VLAN IP pool filtering
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
enable
filtering
disable
filtering
16-4
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
ZXAN(config-if)#
Example
The following example displays how to enable the super VLAN IP pool filtering:
ZXAN(config)#interface supervlan1
ZXAN(config-if)#ip-pool-filter enable
ZXAN(config-if)#
Related Commands
ip supervlan pool
show supervlan
Related Information
After the super VLAN IP pool is set, packets not in the address segment are discarded.
The user can display this configuration using the show running-config command in the
super VLAN interface.
16.6 subvlan
Syntax
subvlan list
no subvlan list
Purpose
To bind VLANs to a designated super VLAN in batches
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
list
Mode
ZXAN(config-if)#
Example
The following example displays how to bind VLANs to a designated super VLAN in batches:
16-5
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
show supervlan
16.7 supervlan
Syntax
supervlan supervlan-id
no supervlan
Purpose
To bind super VLAN to the specified interface
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
supervlan-id
Super VLAN ID
Range: 1 255
Mode
ZXAN(config-vlan)#
Example
The following example displays how to bind super VLAN to the specified interface:
ZXAN(config)#vlan 2
ZXAN(config-vlan)#supervlan 1
ZXAN(config-if)#
Related Commands
None
Purpose
To enable or disable the routing between sub-VLANs
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
enable
sub-VLANs
disable
sub-VLANs
Mode
ZXAN(config)#
Example
The following example displays how to enable/disable the routing between sub-VLANs:
ZXAN(config)#supervlan inter-subvlan-routing enable
ZXAN(config)#
Related Commands
show supervlan
Purpose
To display the super VLAN configuration information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
supervlan-id
Super VLAN ID
Range: 1 255
ip-pool
IP pool configuration of
supervlan
16-7
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
Any mode except user mode
Example
The following example displays the super VLAN configuration information:
ZXAN#show supervlan
SuperVLAN Inter-subvlan-routing Arp-broadcast Ip-pool-filter SubVLAN
-------------------------------------------------------------------1
enable
disable
disable
4,10
ZXAN#
Description
SuperVLAN
Super VLAN ID
Inter-subvlan-routing
Arp-broadcast
ARP broadcast
Ip-pool-filter
IP poolfilter flag
Subvlan
Sub-vlan ID
Related Commands
supervlan
supervlan inter-subvlan-routing
Related Information
Without the supervlan-id parameter, this command displays the relevant configuration of all
super VLAN interfaces.
Purpose
To display the super VLAN IP pool configuration
Usage Guidelines
None
16-8
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
Any mode except user mode
Example
The following example displays the super VLAN IP pool configuration:
ZXAN#show supervlan ip-pool
Session-no Address-begin
1
192.168.1.1
Address-end
SubvlanId
192.168.1.128
SupervlanNum
ZXAN#
Description
Session-no
Session number
Address-begin
Starting address
Address-end
Ending address
SubvlanId
Super VLAN ID
SupervlanNum
Related Commands
ip supervlan pool
16-9
SJ-20120615152640-010|2012-06-30 (R1.0)
16-10
SJ-20120615152640-010|2012-06-30 (R1.0)
Chapter 17
P2P Commands
Table of Contents
max-mac-learn .........................................................................................................17-1
unknowncast-rate-limit .............................................................................................17-2
vlan-statistic .............................................................................................................17-2
ip-service ip-source-guard .......................................................................................17-3
ip-service ip-source-guard sport ...............................................................................17-3
ip-service ip-fixed-user .............................................................................................17-4
show ip-service user.................................................................................................17-5
17.1 max-mac-learn
Syntax
max-mac-learn [limitNum | vport vportid]
Purpose
To configure the limit for MAC address learning on the port
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
limitNum
Maximum number
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the limit for MAC address learning on the
port:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#max-mac-learn 200
Related Commands
None
17-1
SJ-20120615152640-010|2012-06-30 (R1.0)
17.2 unknowncast-rate-limit
Syntax
unknowncast-rate-limit rate rate
no unknowncast-rate-limit
Purpose
To limit the rate of unknown packets
Usage Guidelines
None
Mode
ZXAN(config-if)#
Example
The following example displays how to limit the rate of unknown packets:
ZXAN(config-if)#unknowncast-rate-limit rate 100
17.3 vlan-statistic
Syntax
vlan-statistic svlan svlan svlan cvlan cvlan
Purpose
To collect statistics on VLANs based on the ports
Usage Guidelines
None
Mode
ZXAN(config-if)#
Example
The following example displays how to collect statistics on VLANs based on the ports:
ZXAN(config-if)#vlan-statistic svlan 200 cvlan 300
17-2
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To enable or disable the global IP-source-guard function
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
enable
Enable
disable
Disable
Mode
ZXAN(config)#
Example
The following example displays how to enable the global IP-source-guard function:
ZXAN(config)#ip-service ip-source-guard enable
Related Commands
show ip-service ip-source-guard
Related Information
To enable IP-source-guard function, you need to enable IP-source-guard on port and global
IP-source-guard simultaneously. Otherwise, the IP-source-guard function is invalid.
Purpose
To enable or disable the IP-source-guard function on the port
Usage Guidelines
The following table provides parameter description:
17-3
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
enable
Enable
disable
Disable
sportid
Service port ID
18
Mode
ZXAN(config-if)#
Example
The following example displays how to enable the IP-source-guard function on the port:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#ip-service ip-source-guard enable sport 1
ZXAN(config-if)#
Related Commands
show ip-service ip-source-guard
Related Information
To enable IP-source-guard function, you need to enable IP-source-guard on port and global
IP-source-guard simultaneously. Otherwise, the IP-source-guard function is invalid.
Purpose
To configure the static IPv4 address on the port
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ip-address
IPv4 address
mac-address
MAC address
vlanid
VLAN ID
1 4094
sportid
Service port ID
18
17-4
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the static IPv4 address on the port:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#ip-service ip-fixed-user 1.1.1.2 vlan 100 sport 1
Related Commands
show ip-service user
Purpose
To display the IPv4 user information on a PON-ONU interface
Usage Guidelines
None
Mode
Any mode except ZXAN>
Example
The following example displays the IPv4 user on the GPON-ONU interface:
ZXAN#show ip-service user interface gpon-onu_1/2/1:1
Port
Sport
IP-addr
MAC-addr
Vlan
Source
gpon-onu_1/2/1:1
1.1.1.2
0000.0000.0000
100
fixed-user
17-5
SJ-20120615152640-010|2012-06-30 (R1.0)
17-6
SJ-20120615152640-010|2012-06-30 (R1.0)
Chapter 18
18.1 auto-replace-offline-onu
Syntax
auto-replace-offline-onu slot { disable | enable }
Purpose
To configure the auto-replacing function for offline ONU
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
slot
Range: 2 9, 12 19
disable
enable
18-1
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
ZXAN(config-pon)#
Example
The following example displays how to enable the auto-replacing function for offline ONU:
ZXAN(config-pon)#auto-replace-offline-onu 2 enable
Related Commands
None
18.2 copy
Syntax
copy {epon | gpon} {olt | onu} srcPort dstPort
Purpose
To copy data between ports
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
epon | gpon
gpon-olt_shelf/slot/olt
epon-olt_shelf/slot/olt
gpon-onu_shelf/slot/olt:onu
epon-onu_shelf/slot/olt:onu
gpon-olt_shelf/slot/olt
epon-olt_shelf/slot/olt
gpon-onu_shelf/slot/olt:onu
epon-onu_shelf/slot/olt:onu
olt | onu
srcPort
dstPort
Source port
Destination port
Mode
ZXAN(config-pon)#
Example
The following example displays how to copy data between two GPON-OLT interfaces:
18-2
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Related Information
Type of the source port and destination port must be the same.
The source port and destination port cannot be the same port.
The destination port cannot be in any PON protection group.
18.3 onu-profile
Syntax
onu-profile {epon | gpon} {line | remote | alarm | performance} profilename
Purpose
To create an ONU profile
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
epon | gpon
EPON or GPON
line
remote
profile
alarm
performance
profilename
Profile name
1 32
Mode
ZXAN(config-pon)#
Example
The following example displays how to create an ONU profile:
ZXAN(config-pon)#onu-profile epon line profile
18-3
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Information
At present, the system only supports the line and remote profiles.
18.4 rogue-onu-detect
Syntax
rogue-onu-detect slotnum {enable | disable }
Purpose
To configure the rogue ONU detect function
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
slotnum
Range: 2 9, 12 19
enable | disable
Enable
detect function
Disable
Mode
ZXAN(config-pon)#
Example
The following example displays how to enable the rogue ONU detect function on slot 5:
ZXAN(config-pon)#rogue-onu-detect 5 enable
Related Commands
None
Purpose
To show the rogue ONU detection information
Usage Guidelines
The following table provides parameter description:
18-4
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
shelf/slot/port
OLT interface
Mode
ZXAN(config)#
Example
The following example displays the rogue ONU detection information:
ZXAN(config)#show pon rogue-onu-info gpon-olt_1/1/1
Purpose
To show the information on all the profiles related to the ONU
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
gpon-onu_shelf/slot/oltId:onuid
Mode
ZXAN(config-if)#
Example
The following example displays the information on all the profiles related to the ONU:
ZXAN(config-if)#show pon onu onu-profile gpon-onu_1/1/1:1
profile
profile type
link result
last handle
-------------------------------------------------------------------int_line
line
int_rmt
remote
Purpose
To show the profile list
Usage Guidelines
None
Mode
ZXAN(config-if)#
Example
The following example displays the profile list:
ZXAN(config-if)#show pon onu-profile gpon line
ProfileName
---------------int_line
test_line
f622_line
Purpose
To configure the ONU type and its attributes
To delete the configuration, use the no command.
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
Range: 1 64 characters
18-6
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
description description
ONU description
Range: 1 64 characters
max-switch-perslot num
slot
max-gemport num
max-tcont num
max-flow-perswitch num
per bridge
max-iphost num
service-ability
Service capability
support
not-support
Default: support
support
not-support
Default: support
support
not-support
Default: support
speed { 1g | 10g-symmetric |
Speed mode
10g-asymmetric }
none
typec
typed
10g-asymmetric
10g-symmetric
1g
Mode
ZXAN(config-pon)#
Example
The following example displays how to configure the GPON ONU type ZTEG-F888:
ZXAN(config)#pon
ZXAN(config-pon)#onu-type ZTE-F888 gpon description new-onu
18-7
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
show onu-type
Related Information
The default ONU types on the ZXA10 C320 cannot be modified or deleted.
It is recommended to add a GPON identification when you configure a GPON ONU type
to differ from the EPON ONU type, for example, ZTEG-F820.
18.8.2 onu-type-if
Syntax
onu-type-if onu-type-name type_slot/portlist
no onu-type-if onu-type-name type_slot/portlist
Purpose
To configure interfaces of the ONU type
To delete the configuration, use the no command.
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
onu-type-name
Range: 1 64 characters
type_slot/portlist
Mode
ZXAN(config-pon)#
Example
The following example displays how to configure interfaces of the ONU type ZTE-F888:
ZXAN(config)#pon
ZXAN(config-pon)# onu-type-if ZTE-F888 eth_0/1-4
ZXAN(config-pon)# onu-type-if ZTE-F888 pots_0/1-2
Related Commands
show onu-type-if
18-8
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Information
You cannot add or delete interfaces of default ONU types.
Purpose
To query the ONU type information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
onu-name
Range: 1 64 characters
Mode
Any mode
Example
The following example displays how to query all ONU type information:
ZXAN#show onu-type
Onu type name :
ZTE-9806
Pon type :
epon
Description :
Protect type:
none
Speed:
1g
ZTE-D400
Pon type :
epon
Description :
4FE
Protect type:
none
Speed:
1g
ZTE-D402
Pon type :
epon
Description :
8FE
Protect type:
none
Speed:
1g
... ...
18-9
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
onu-type
Purpose
To query interfaces of the ONU type
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
onu-type-name
Range: 1 64 characters
Mode
Any mode
Example
The following example displays how to query interfaces of the ONU type ZTE-F888:
ZXAN(config-pon)#show onu-type-if ZTE-F888
Onu type name : ZTE-F888
Interface list
eth_0/1
eth_0/2
eth_0/3
eth_0/4
pots_0/1
pots_0/2
Related Commands
onu-type-if
18-10
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure the action for GPON OLT interface performance statistics
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
gpon-olt_shelf/slot/oltId
create
statistics
delete
statistics
start
statistics
stop
statistics
create-start
performance statistics
Mode
ZXAN(config-pon)#
Example
The following example displays how to create and start the performance statistics for
gpon-olt_1/2/1:
ZXAN(config)#pon
ZXAN(config-pon)#performance gponolt gpon-olt_1/2/1 create-start
Related Commands
show performance pon-olt
18-11
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure the action for GPON ONU performance statistics
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
gpon-olt_shelf/slot/oltId
onu-id
ONU ID
Range: 1 128
create
statistics
delete
statistics
start
statistics
stop
statistics
create-start
performance statistics
Mode
ZXAN(config-pon)#
Example
The following example displays how to create and start the performance statistics for ONU
1 on gpon-olt_1/2/1:
ZXAN(config)#pon
ZXAN(config-pon)#performance gpononu gpon-olt_1/2/1 1 create-start
Related Commands
None
18-12
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure the action for virtual port performance statistics
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
gpon-onu_shelf/slot/oltId:onu-id
onuId
ONU ID
Range: 1 128
vportId
Virtual port ID
Range: 1 256
gemport gemportId
GEM port ID
Range: 1 255
vlan vlanId
VLAN ID
Range: 1 4094
create
statistics
delete
statistics
start
statistics
stop
statistics
create-start
performance statistics
Mode
ZXAN(config-pon)#
Example
The following example displays how to create and start the performance statistics for GEM
port 1 on gpon-onu_1/1/3:1:
ZXAN(config)#pon
ZXAN(config-pon)# performance gpon-vport gpon-onu_1/1/3:1 1 gemport 1 create-start
18-13
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Purpose
To display OLT interface performance
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
eth
Ethernet performance
mac
pon-olt_shelf/slot/olt
current
Current
current-15min-interval
his-15min-interval interval
Range: 1 96
his-1day-interval interval
Range: 1 7
Mode
Any mode except ZXAN>
Example
The following example displays the current Ethernet performance of an OLT interface:
ZXAN#show performance pon-olt eth gpon-olt_1/1/1 current
PON-ETH-OLT gpon-olt_1/1/1 current performance data:
-----------------------------------------------DropEvents
:0;
Received Octets
:0;
Sent Octets
:0;
Received Packets
:0;
Sent Packets
:0;
:0;
:0;
:0;
18-14
SJ-20120615152640-010|2012-06-30 (R1.0)
:0;
:0;
:0;
:0;
:0;
:0;
:0;
Received Fragments
:0;
Sent Fragments
:0;
Received Jabbers
:0;
Sent Jabbers
:0;
Collisions
:0;
Received 64B
:0;
Received 65-127B
:0;
Received 128-255B
:0;
Received 256-511B
:0;
Received 512-1023B
:0;
Received 1024-1518B
:0;
Sent 64B
:0;
Sent 65-127B
:0;
Sent 128-255B
:0;
Sent 256-511B
:0;
Sent 512-1023B
:0;
Sent 1024-1518B
:0;
Related Commands
performance gponolt
Purpose
To display ONU interface performance
Usage Guidelines
The following table provides parameter description:
18-15
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
eth
Ethernet performance
mac
pon-onu_shelf/slot/olt:onu
current
Current
current-15min-interval
his-15min-interval interval
Range: 1 96
his-1day-interval interval
Range: 1 7
Mode
Any mode except ZXAN>
Example
The following example displays the current Ethernet performance of an ONU interface:
ZXAN(gpon-onu-mng)#show performance pon-onu eth gpon-onu_1/1/1:1 current
PON-ETH-ONU gpon-onu_1/1/1:1 current performance data:
-----------------------------------------------DropEvents
:0;
Received Octets
:0;
Sent Octets
:0;
Received Packets
:0;
Sent Packets
:0;
:0;
:0;
:0;
:0;
:0;
:0;
:0;
:0;
:0;
:0;
Received Fragments
:0;
Sent Fragments
:0;
Received Jabbers
:0;
Sent Jabbers
:0;
Collisions
:0;
Received 64B
:0;
Received 65-127B
:0;
Received 128-255B
:0;
Received 256-511B
:0;
18-16
SJ-20120615152640-010|2012-06-30 (R1.0)
:0;
Received 1024-1518B
:0;
Sent 64B
:0;
Sent 65-127B
:0;
Sent 128-255B
:0;
Sent 256-511B
:0;
Sent 512-1023B
:0;
Sent 1024-1518B
:0;
Related Commands
performance gponolt
Purpose
To abort the CPE version operation
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
oltIfName
CPEList
CPE list
Range: 1 64 characters
type typename
Range: 1 16 characters
Mode
ZXAN#
Example
The following example shows how to abort the version operation of CPE 1 on
epon-olt_1/2/1:
ZXAN#cpe abort epon-olt_1/2/1 cpe 1
ZXAN#
18-17
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Purpose
To activate CPE version
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
oltIfName
CPEList
CPE list
Range: 1 64 characters
type typename
Range: 1 16 characters
Mode
ZXAN#
Example
The following example shows how to activate the version of CPE 1 on epon-olt_1/2/1:
ZXAN#cpe active epon-olt_1/2/1 1
ZXAN#
Related Commands
None
Purpose
To configure the default starting CPE version
18-18
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
oltIfName
cpeList
CPE list
Range: 1 64 characters
type typename
Range: 1 16 characters
Mode
ZXAN#
Example
The following example shows how to configure the default starting CPE version on
epon-olt_1/2/1:
ZXAN#cpe commit epon-olt_1/2/1 1
ZXAN#
Related Commands
None
Purpose
To update the CPE version
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
name
Range: 1 32 characters
oltIfName
cpeList
CPE list
Range: 1 64 characters
Mode
ZXAN#
18-19
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example shows how to update the CPE 1 version on epon-olt_1/2/1:
ZXAN#cpe update f460914.bin epon-olt_1/2/1 1
ZXAN#
Related Commands
None
Purpose
To update the CPE version and reboot the CPE
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
name
CPE version
Range: 1 32 characters
oltIfName
cpeList
CPE list
Range: 1 64 characters
Mode
ZXAN#
Example
The following example shows how to update the version of CPE 1 on epon-olt_1/2/1 and
reboot it:
ZXAN#cpe update-and-reboot f460914.bin epon-olt_1/2/1 1
ZXAN#
Related Commands
None
18-20
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To perform a manual CPE version update
Usage Guidelines
The following table describes the relevant parameters:
Parameter
Description
Value
cpelist
Specified CPE
164 characters
type
Specified type
116 characters
Mode
ZXAN#
Example
The following example shows how to perform a manual CPE version update:
ZXAN#cpe update-commit abc.bin type f660
Related Commands
Show cpeinformation
Related Information
Version update can be performed based on CPE type or location.
Purpose
To upgrade the CPE version
Usage Guidelines
The following table provides parameter description:
18-21
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
oltIfName
cpeList
CPE list
1 64 characters
Mode
ZXAN#
Example
The following example displays how to upgrade the CPE version:
ZXAN#cpe update-reonline asdf gpon-olt_1/1/1 aadd
Related Information
The new version is automatically activated and submitted when the CPE gets online next
time.
Purpose
To display the update-status of the CPE
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
oltIfName
cpelist
CPE list
Range: 1 64 characters
Mode
Any mode
Example
The following example shows how to display the update status of CPE 1 on
epon-olt_1/2/1
ZXAN#show cpe update-status epon-olt_1/2/1 1
epon-onu_1/2/1: 1
Taskname
: Manual
18-22
SJ-20120615152640-010|2012-06-30 (R1.0)
: Update
Status
: In-progress
Progress
: 4%
Failreason
: None
Committime
Related Commands
None
Purpose
To display the CPE information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
oltIfName
cpelist
CPE list
Range: 1 64 characters
Mode
Any mode
Example
The following example shows how to display the CPE information on epon-olt_1/2/1:
ZXAN#show cpe information epon-olt_1/2/1 1
epon-onu_1/2/1: 1
CpeVendorName : ZTE
CpeType
: F460
Region 1
Vertag
Commited
Region 2
: V1.0.1P1T3
: No
Vertag
Commited
:
: No
Activated
: No
Activated
: No
Valid
: Yes
Valid
: No
Related Commands
None
18-23
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To display the CPE task information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
taskName
Task name
Range: 1 32 characters
Mode
Any mode
Example
The following example shows how to display the task information:
ZXAN#show cpe task
Taskname
: f460test
Status
: Working
ImageSize
Action
Imagename
: f460914
: 3652304
CpeType
: f460
: Update-and-reboot
CpeVendorName: ZTE
UpdateMode : Both
CpeVerBase
: v1.0
ImgLocation: Local
Condition
: NotEqual
ObjType
ServiceType
: Epon
: Ne
Related Commands
None
Purpose
To display the CPE task summary information
18-24
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
task taskname
Task name
Range: 1 64 characters
Mode
Any mode
Example
The following example shows how to display the summary information of manual task :
ZXAN#show cpe summary-of manual
Operating:
Fail:
Success:
epon-onu_1/2/1: 1
The following example shows how to display the summary information of abc task :
ZXAN#show cpe summary-of task abc
Operating:
Fail:
Success:
epon-onu_1/2/1: 1
Related Commands
None
Purpose
To create a CPE task
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
taskname
Task name
18-25
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
ZXAN(config)#
Example
The following example displays how to create a CPE task:
ZXAN(config)#cpe task test1
ZXAN(cpe-task)#
Related Commands
None
18.10.13 action
Syntax
action { update | update-and-reboot | reboot }
Purpose
To configure CPE task action
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
update
Upgrade action
update-and-reboot
reboot
Reboot action
Mode
ZXAN(cpe-task)#
Example
The following example displays how to configure the CPE task action:
ZXAN(cpe-task)#action update-and-reboot
Related Commands
None
18-26
SJ-20120615152640-010|2012-06-30 (R1.0)
18.10.14 description
Syntax
description string
Purpose
To configure CPE task description
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
string
Task description
1 128 characters
Mode
ZXAN(cpe-task)#
Example
The following example displays how to configure CPE task description:
ZXAN(cpe-task)#description test1_ne_zte_f420
Related Commands
None
Related Information
Task description is used to discriminate tasks. The task identifier is the task ID but not the
task description.
18.10.15 equipment-type
Syntax
equipment-type string
Purpose
To configure equipment type for task
Usage Guidelines
The following table provides parameter description:
18-27
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
string
Equipment type
1 16 characters
Mode
ZXAN(cpe-task)#
Example
The following example displays how to configure equipment type for task:
ZXAN(cpe-task)#equipment-type f420
Related Commands
None
Related Information
Equipment type is the actual CPE type. Use the show cpe information to check the actual
type of a CPE.
18.10.16 match-vertag
Syntax
match-vertag { above | below | equal | Unequal } vertag-tag
Purpose
To configure version tag and comparison rule for a task
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
above
below
equal
Unequal
vertag-tag
1 16 characters
Mode
ZXAN(cpe-task)#
18-28
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to configure the version tag and rules:
ZXAN(cpe-task)#match-vertag unequal v1.0.0
Related Commands
None
Related Information
Version tag comparison compares the string of the current running version with that of the
task version. It is recommended to use equal or unequal to compare versions, and use
above and below carefully.
18.10.17 mode
Syntax
mode { online | offline | both }
Purpose
To configure task mode
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
online
offline
time
both
Both of above
Mode
ZXAN(cpe-task)#
Example
The following example displays how to configure task mode:
ZXAN(cpe-task)#mode both
Related Commands
None
18-29
SJ-20120615152640-010|2012-06-30 (R1.0)
18.10.18 parallel-limitation
Syntax
parallel-limitation { number }
Purpose
To limit the CPE quantity to be upgraded simultaneously on a single line card (parallel
limitation)
Usage Guidelines
The following table describes the relevant parameters:
Parameter
Description
Value
number
01024
Mode
ZXAN(cpe-task)#
Example
The following example shows how to configure CPE parallel-limitation as 23:
ZXAN(cpe-task)#parallel-limitation 23
Related Commands
None
18.10.19 range
Syntax
range { ne | port portnum }
Purpose
To configure task range
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ne
port portnum
18-30
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
ZXAN(cpe-task)#
Example
The following example displays how to configure task range
ZXAN(cpe-task)#range port gpon-olt_1/1/1
Related Commands
None
Related Information
When the task range is port, you can specify multiple ports range by using multiple range
port commands.
18.10.20 service-type
Syntax
service-type { EPON | GPON }
Purpose
To configure service type for the task
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
EPON
GPON
Mode
ZXAN(cpe-task)#
Example
The following example displays how to configure service type for the task:
ZXAN(cpe-task)#service-type EPON
Related Commands
None
18-31
SJ-20120615152640-010|2012-06-30 (R1.0)
18.10.21 vendor-name
Syntax
vendor-name vendor-name
Purpose
To configure vendor name for the task
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
vendor-name
1 20 characters
Mode
ZXAN(cpe-task)#
Example
The following example displays how to configure vendor name for the task:
ZXAN(cpe-task)#vendor-name ZTE
Related Commands
None
18.10.22 version-file
Syntax
version-file filename
Purpose
To configure version file name for the task
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
filename
1 32 characters
Mode
ZXAN(cpe-task)#
18-32
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to configure version file name for the task:
ZXAN(cpe-task)#version-file f420.bin
Related Commands
None
Purpose
To add the CPE task
Usage Guidelines
None
Mode
ZXAN(cpe-task)#
Example
The following example displays how to add the CPE task:
ZXAN(cpe-task)#task add
Related Commands
None
Purpose
To abort the CPE task
Usage Guidelines
None
18-33
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
ZXAN(cpe-task)#
Example
The following example displays how to abort the CPE task:
ZXAN(cpe-task)#task abort
Related Commands
None
Purpose
To restart the CPE task
Usage Guidelines
None
Mode
ZXAN(cpe-task)#
Example
The following example displays how to restart the CPE task:
ZXAN(cpe-task)#task restart
Related Commands
None
Purpose
To delete the CPE task
18-34
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
None
Mode
ZXAN(cpe-task)#
Example
The following example displays how to delete the CPE task:
ZXAN(cpe-task)#task delete
Related Commands
None
Purpose
To query the information about the PON optical module
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
gpon-olt_shelf/slot/olt |
epon-olt_shelf/slot/olt
Mode
Any mode
Example
The following example displays how to query the information about optical module on
gpon-olt_1/1/1:
ZXAN(config-pon)#show pon transceiver info gpon-olt_1/1/1
Temperature :20.01(C)
18-35
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Related Information
When there is no optical module, there is N/A displayed.
Purpose
To display the transmitted optical power on the OLT
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
gpon-olt_shelf/slot/olt
epon-olt_shelf/slot/olt
Mode
Any mode except ZXAN>
Example
The following example displays the transmitted optical power on the OLT:
ZXAN(config-pon)#show pon power olt-tx gpon-olt_1/1/1
Tx power: 2.106(dbm)
Related Commands
None
Related Information
When there is no optical module, N/A is displayed.
18-36
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To display the received optical power on the OLT
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
gpon-onu_shelf/slot/olt:onu
epon-onu_shelf/slot/olt:onu
Mode
Any mode except ZXAN>
Example
The following example displays the received optical power on the OLT:
ZXAN(config-gpon)#show pon power olt-rx gpon-onu_1/1/1:1
Rx power: -22.687(dbm)
Related Commands
None
Related Information
When there is no optical module, N/A is displayed.
Purpose
To display the received optical power on the ONU
Usage Guidelines
The following table provides parameter description:
18-37
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
gpon-onu_shelf/slot/olt:onu
epon-onu_shelf/slot/olt:onu
Mode
Any mode except ZXAN>
Example
The following example displays the received optical power on the ONU :
ZXAN(config-gpon)#show pon power onu-tx gpon-onu_1/1/1:1
Tx power: 1.254(dbm)
Related Commands
None
Related Information
When there is no optical module, N/A is displayed.
Purpose
To display the received optical power on the ONU
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
gpon-onu_shelf/slot/olt:onu
epon-onu_shelf/slot/olt:onu
Mode
Any mode except ZXAN>
Example
The following example displays the received optical power on the ONU:
ZXAN(config-gpon)#show pon power onu-rx gpon-onu_1/1/1:1
18-38
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Related Information
When there is no optical module, N/A is displayed.
Purpose
To display the optical power attenuation between the OLT and ONU
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
gpon-onu_shelf/slot/olt:onu
epon-onu_shelf/slot/olt:onu
Mode
Any mode except ZXAN>
Example
The following example displays the optical power attenuation between the OLT and ONU:
ZXAN(config)#show pon power attenuation gpon-onu_1/1/1:1
OLT
ONU
Attenuation(dBm)
-----------------------------------------------------------------up
Rx :-22.672
Tx:1.250
23.922
down
Tx :2.199
Rx:-22.756
24.955
Related Commands
None
18-39
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Information
When there is no optical module, N/A is displayed.
Purpose
To display the thresholds of PON optical module
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
gpon-onu_shelf/slot/olt:onu
epon-onu_shelf/slot/olt:onu
Mode
Any mode except ZXAN>
Example
The following example displays the thresholds of PON optical module :
ZXAN(config-pon)#show pon transceiver-threshold epon-onu_1/1/1:1
Rx power threshold(dbm) :
Upper alarm:
-3.000
Upper warning:-3.000
Related Commands
transceiver-threshold
18.11.8 transceiver-threshold
Syntax
transceiver-threshold rx-power pon-onu_shelf/slot/olt:onu [high-alarm value1] [high-warning
value2] [low-alarm value3] [low-warning value4]
Purpose
To configure thresholds for PON ONU received optical power
18-40
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
pon-onu_shelf/slot/olt:onu
high-alarmvalue1
high-warning value2
low-alarm value3
low-warning value4
Mode
ZXAN(config-pon)#
Example
The following example displays how to configure thresholds for PON ONU received optical
power:
ZXAN(config-pon)#transceiver-threshold rx-power gpon-onu_1/1/1:1 high-alarm -3
high-warning -5 low-alarm -25 low-warning -20
Related Commands
show pon transceiver-threshold
Purpose
To configure ONU RSSI detect period
Usage Guidelines
The following table provides parameter description:
18-41
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
gpon-onu_shelf/slot/olt:onu |
Detect period
60 4294967295, unit s
epon-onu_shelf/slot/olt:onu
detect period
Default: 900 s
Mode
ZXAN(config-pon)#
Example
The following example displays how to configure OUU RSSI detect period:
ZXAN(config-pon)#transceiver detect-period gpon-onu_1/2/1:1 600
Related Commands
show pon transceiver-threshold
Purpose
To configure the IP address pool
To delete the configuration, use the no command.
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
poolname
Range: 1 64 characters
mask
IP address mask
vlan vlanId
VLAN ID
Range: 1 4094
priority
802.1p priority
Range: 0 7
18-42
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
Route
Mode
ZXAN(config-pon)#
Example
The following example displays how to configure an IP address pool:
ZXAN(config)#pon
ZXAN(config-pon)#ip-pool test begin 10.1.1.2 end 10.1.1.255 255.255.255.0 vlan
100 priority 5 route 10.10.10.0 255.255.255.0 10.1.1.1
Related Commands
show pon ip-pool
Related Information
You cannot delete an IP address pool when it is in use.
18.12.2 ip-pool-bind
Syntax
ip-pool-bind xpon-olt_shelf/slot/olt poolname
no ip-pool-bind xpon-olt_shelf/slot/olt
Purpose
To bind the IP address pool to an OLT PON interface
To delete the configuration, use the no command.
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
xpon-olt_shelf/slot/olt
poolname
Range: 1 63 characters
Mode
ZXAN(config-pon)#
18-43
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to bind an IP pool to PON OLT interfaces:
ZXAN(config)#pon
ZXAN(config-pon)#ip-pool-bind gpon-olt_1/1/1 test
ZXAN(config-pon)#ip-pool-bind gpon-olt_1/1/2 test
Related Commands
show pon ip-pool-bind
Related Information
You can bind only one IP address pool to one PON OLT interface. To bind a new IP address
pool to the interface, delete the previous one first
Purpose
To query the IP address pool
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
poolname
Range: 1 63 characters
Mode
Any mode
Example
The following example displays how to query an IP address pool:
ZXAN(config-pon)#show pon ip-pool
IP pool name: test
Begin IP: 10.1.1.2
End IP: 10.1.1.255
Mask:255.255.255.0
Vlan:100
Priority:7
Subnet:10.10.10.0
Netmask:255.255.255.0
18-44
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
ip-pool
Purpose
To query the IP address pool binding information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
xpon-olt_shelf/slot/olt
poolname
Range: 1 63 characters
Mode
Any mode
Example
The following example displays how to query the IP pool binding information:
ZXAN(config-pon)#show pon ip-pool-bind gpon-olt_1/1/1
OLT: gpon-olt_1/1/1
IP pool name: test
ZXAN(config-pon)#show pon ip-pool-bind test
gpon-olt_1/1/1
gpon-olt_1/1/2
Related Commands
ip-pool-bind
18-45
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To create protection group
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Parameter
groupName
Range: 1 32 characters
workpon oltIfName
protectpon oltIfName
Protection mode
dual-parenting-protect
dual-parenting-work
peer-ip ip-address
Peer IP address
Mode
ZXAN(config-pon)#
Example
The following example displays how to create protection group:
ZXAN(config-pon)#protection group ZTE workpon epon-olt_1/1/1 protectpon epon-olt_
18-46
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Command
None
Related Information
Presently, only Type B protection is supported.
Two PON ports in mutual protection must be the same type PON port. The same PON
port cannot be in different protection groups.
Purpose
To configure protection group attributes
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Parameter
groupName
Range: 1 32 characters
mode
Protection mode
revertive
non-revertive
revertive
Revertive mode
non-revertive
Non-revertive mode
Default value
wtr interval
(second)
Mode
ZXAN(config-pon)#
Example
The following example displays how to configure protection group attributes:
ZXAN(config-pon)#protection prop group ZTE mode non-revertive wtr 120
18-47
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Command
None
Purpose
To configure protection switch mode
Use no command to delete all switch commands
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Parameter
groupName
Range: 1 32 characters
lockoutprotect
force
manual
force
manual
Manual switch
p2w
Mode
ZXAN(config-pon)#
Example
The following example displays how to configure protection switch mode:
ZXAN(config-pon)#protection switch-command group ZTE force w2p
Related Command
None
Related Information
Switch modes priorities are as follows from high to low:
18-48
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To show protection group list
Usage Guidelines
None
Mode
Any mode except user mode
Example
The following example displays how to show protection group list:
ZXAN(config)#show protection group list
zte
Related Command
None
Purpose
To show protection group information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
groupName
Group name
Range: 1 32 characters
18-49
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
Any mode except user mode
Example
The following example displays how to show protection group information:
ZXAN(config-pon)#show protection group information zte
Name :
zte
epon-olt_1/1/1
typeC
Protection mode:
non-revertive
Time to restore(s):
onu 1:
Active channel:
protect-channel
Alarm request:
Work channel:
ONUSF
Protect channel:
ONUSF
Externel request:
no-request
Related Command
None
18-50
SJ-20120615152640-010|2012-06-30 (R1.0)
Chapter 19
EPON Commands
Table of Contents
EPON Global Commands.........................................................................................19-1
EPON OLT Commands ..........................................................................................19-23
EPON ONU Basic Management Commands ..........................................................19-44
EPON ONU Remote Management Commands ......................................................19-67
Purpose
To enter into EPON interface configuration mode
Usage Guidelines
None
Mode
ZXAN(config)#
Example
The following example displays how to enter into EPON interface configuration mode:
ZXAN(config)#epon
ZXAN(config-epon)#
Related Commands
None
19-1
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure the alarm mask function
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
shelf/slot
code
Alarm code
Range: 1 65535
disable
enable
Mode
ZXAN(config-epon)#
Example
The following example displays how to enable the alarm mask function for specific alarm:
ZXAN(config-epon)#alarm mask 1/3 alarm-id 22222 enable
Related Commands
show epon alarm-mask
19.1.3 custom-oam
Syntax
custom-oam shelf/slot {functional | traditional | additional}
Purpose
To configure the custom OAM
Usage Guidelines
The following table describes the relevant parameters:
19-2
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
functional
Mode
ZXAN(config-epon)#
Example
The following example shows how to set the custom OAM as mixed mode:
ZXAN(config-epon)#custom-oam 1/2 additional
Related Commands
None
19.1.4 oam-mac
Syntax
oam-mac shelf/slot mac address
Purpose
To configure the extended OAM frames source address
Usage Guidelines
The following table describes the relevant parameters:
Parameter
Description
Value
shelf/slot
Shelf/Slot
mac address
MAC address
19-3
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
ZXAN(config-epon)#
Example
The following example shows how to set the extended OAM frames source MAC address:
ZXAN(config-epon)#oam-mac 1/1 d0d0.d1d2.d3d4
Related Commands
Line card equipped with TK chipsets will send an extended OAM frame source MAC
address. If it is not consistent with destination MAC address, then with this command
they will be forced to sync .
Related Information
None
19.1.5 onu-authentication-mode
Syntax
onu-authentication-mode {register shelf/slot { enable | disable }| service shelf/slot {mac | sn |
loid | hybrid} }
Purpose
To configure ONU authentication mode
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
shelf/slot
Range: 0 31
Configure hardware
authentication mode
service
Configure software
authentication mode
mac
sn
number mode
loid
19-4
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
hybrid
mode
Mode
ZXAN(config-epon)#
Example
The following example displays how to configure ONU authentication mode:
ZXAN(config)#epon
ZXAN(config-epon)#onu-authentication-mode service 1/7 hybrid
Related Command
None
Purpose
To configure ONU authentication mode in which LOID is used as SN
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
shelf/slot
Mode
ZXAN(config-epon)#
Example
The following example displays how to configure the authentication mode in which LOID
can be used as SN:
ZXAN(config)#epon
ZXAN(config-epon)#onu-authentication-mode auth-loid-as-sn 13/1 enable
19-5
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Related Information
The authentication mode is useful for those devices that do not support SN querying.
19.1.7 onu-sla-profile
Syntax
onu-sla-profile profile-name create profile name
no onu-sla-profile profile-name profile name
onu-sla-profile profile-set profile name { downstream | upstream } { [ assured assured ] [ fixed
fixed ] [ fixedpkt fixedpkt ] [ maxburst maxburst ] [ maximum maximum ] [ priority priority ] }
Purpose
To configure ONU bandwidth profile
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
profile name
Profile name
Range: 0 31 characters
fixed fixed
fixedpkt fixedpkt
Range: 0 1582
assured assured
priority priority
Priority
Range: 0 7
maxburst maxburst
maximum maximum
Maximum bandwidth
Mode
ZXAN(config-epon)#
Example
The following example displays how to configure ONU bandwidth profile:
ZXAN(config)#epon
ZXAN(config-epon)#onu-sla-profile profile-name creat test
19-6
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
show onu-sla-profile
19.1.8 onu-uni-profile
Syntax
onu-uni-profile profile-name create profile name
no onu-uni-profile profile-name profile name
onu-uni-profile profile-set profile name { downstream | upstream } { [ cbs cbs ] [ cir cir ] [ ebs
ebs ] }
Purpose
To configure ONU UNI bandwidth profile
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
profile name
Profile name
Range: 0 31 characters
cbs cbs
cir cir
ebs ebs
Mode
ZXAN(config-epon)#
Example
The following example displays how to configure the ONU UNI bandwidth profile:
ZXAN(config)#epon
ZXAN(config-epon)#onu-uni-profile profile-name create test
Related Commands
None
19.1.9 onu-type-profile
Syntax
onu-type-profile name name
19-7
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure ONU type
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
name name
description description
ONU description
type_slot/portlist
typename
Mode
ZXAN(config-epon)#
Example
The following example displays how to configure ONU type profile:
ZXAN(config-epon)#onu-type-profile ZTE-F111
ZXAN(config-epon)#onu-type-profile description ZTE-F111 new-onu
ZXAN(config-epon)#onu-type-profile interface eth_0/1-4 ZTE-F111
ZXAN(config-epon)#onu-type-profile interface pots_0/1-2 ZTE-F111
Related Commands
None
19.1.10 ems-report
Syntax
ems-report shelf/slot { configfailonu | misspeedonu | unauthonu } {disable | enable}
Purpose
To configure EMS report information
19-8
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
shelf/slot
Range: 0 31 characters
configfailonu
misspeedonu
unauthonu
enable
disable
Mode
ZXAN(config-epon)#
Example
The following example displays how to enable the EMS report that ONU configuration fails:
ZXAN(config-epon)#ems-report 1/7 configfailonu disable
Related Commands
None
Purpose
To create or modify ONU bandwidth profile name
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
create profile-name
Range: 0 16 characters
oldnameprofile-name
Range: 0 16 characters
profile
newnameprofile-name
Range: 0 16 characters
profile
19-9
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
ZXAN(config-epon)#
Example
The following example displays how to create ONU bandwidth profile:
ZXAN(config)#epon
ZXAN(config-epon)#onu-sla-profile profile-name create zte-epon
Related Command
None
Purpose
To configure the upstream/downstream bandwidth attributes of ONU bandwidth profile
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
profile-name
Range: 0 16 characters
fixedbandwidth
Fixed bandwidth
fixedpkt
Fixed packet
Range: 0 1582
assuredbandwidth
Assured bandwidth
maxbandwidth
Maximum bandwidth
maxburst
Range: 1 16777215
priority
Priority
Range: 0 7
Mode
ZXAN(config-epon)#
19-10
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to configure the upstream bandwidth attributes of
ONU bandwidth profile:
ZXAN(config)#epon
ZXAN(config-epon)#onu-sla-profile profile-set zte-epon upstream
assured 4000 maximum 10000
maxburst 205000
Related Command
None
19.1.13 dba
Syntax
dba shelf/slot {archimedes | thales | plato}
Purpose
To configure dynamic bandwidth allocation
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
shelf/slot
Range: 0 31 characters
Mode
ZXAN(config-epon)#
Example
The following example displays how to configure dynamic bandwidth allocation:
ZXAN(config)#epon
ZXAN(config-epon)#dba 0/4 plato
Related Command
None
19-11
SJ-20120615152640-010|2012-06-30 (R1.0)
19.1.14 encrypt
Syntax
encrypt algorithm shelf/slot {aes | triple-churning [ key-update-period integer] [churning-tim
er integer]}
Purpose
To configure OLT encryption function.
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
shelf/slot
Range: 0 31 characters
churning-timer integer
Range: 3 255
Unit: second
Default: 10 sec
Range: 1 255
Unit: second
Mode
ZXAN(config-epon)#
Example
The following example displays how to configure encryption function:
ZXAN(config)#epon
ZXAN(config-epon)#encrypt algorithm 0/3
triple-churning
Related Command
None
Related Information
Configure key update period and key churning time only when the encryption algorithm is
triple churning.
Parameters must conform to the following conditions:
Key churning time 10 Key update time
19-12
SJ-20120615152640-010|2012-06-30 (R1.0)
19.1.15 hardwarelog
Syntax
hardwarelog shelf/slot {enable | disable}
Purpose
To configure ONU hardware log
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
shelf/slot
Range: 0 31 characters
disable
Mode
ZXAN(config-epon)#
Example
The following example displays how to configure ONU hardware log:
ZXAN(config)#epon
ZXAN(config-epon)#hardwareLog 0/4 enable
Related Command
None
Purpose
To create a serial port attribute profile
19-13
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table describes the relevant parameters:
Parameter
Description
Value
profile name
132 characters
state
baud-rate
Data bits
58
parity
Parity
even
Even
mark
Mark
none
None
odd
Odd
space
Space
stop-bits
Stop bits
flow-control
Flow control
none
rts/cts
control
xon/xoff
type
rs232|rs485
Mode
ZXAN(config-epon)#
Example
The following example shows how to create a serial port attribute profile:
ZXAN(config-epon)#serial-port attribute-profile testAttr
state enable baud-rate 9600 data-bits 8 parity
even stop-bits 2 flow-control none type rs232
Related Commands
show remote epon serial-port attribute-profile
19-14
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To create a serial port buffer profile
Usage Guidelines
The following table describes the relevant parameters:
Parameter
Description
Value
mode
buffered
immediate
201000
11400
encrypt
Encrypted or not
Mode
ZXAN(config-epon)#
Example
The following example shows how to create a serial port buffer profile:
ZXAN(config-epon)#serial-port buffer-profile bufAttr mode
buffered buffer-size 100 wait-time 150 encrypt true
Related Commands
show remote epon serial-port buffer-profile
Purpose
To create a serial port global profile
19-15
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table describes the relevant parameters:
Parameter
Description
Value
discover-port
Defalut:6200
165535
signal-port
Signal port
Defalut:6200
165535
idle-time
Defalut:30
17200
interval-time
max-lost-packet
Defalut:5
second
17200
Defalut:100
1100
Mode
ZXAN(config-epon)#
Example
The following example shows how to create a serial port global profile:
ZXAN(config-epon)#serial-port global-profile testGlb discover-port
4000 signal-port 5000 idle-time 100
interval-time 150 max-lost-packet 65
Related Commands
show remote epon serial-port global-profile testGlb
Purpose
To create or modify ONU user interface broadband profile name
Usage Guidelines
The following table provides parameter description:
19-16
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
createprofile-name
Range: 0 16 characters
oldnameprofile-name
Range: 0 16 characters
profile
newnameprofile-name
Range: 0 16 characters
profile
Mode
ZXAN(config-epon)#
Example
The following example displays how to create ONU user interface broadband profile name:
ZXAN(config)#epon
ZXAN(config-epon)#onu-uni-profile profile-name create zte-epon
Related Command
None
Purpose
To configure the upstream/downstream bandwidth attributes of ONU user interface
bandwidth profile
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
profile-name
Range: 0 16 characters
cir
Range: 0 1000000
cbs
Range: 0 65535
ebs
Range: 0 1518
19-17
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
ZXAN(config-epon)#
Example
The following example displays how to configure the upstream bandwidth attributes of
ONU user interface bandwidth profile:
ZXAN(config)#epon
ZXAN(config-epon)#onu-uni-profile profile-set zte-epon
upstream cir 4000 cbs 1518
ebs 1518
Related Command
None
Purpose
To display the EPON alarm mask information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
shelf/slot
Mode
Any mode except ZXAN>
Example
The following example displays the EPON alarm mask information:
ZXAN(config-epon)#show epon alarm-mask 1/3
AlarmId
MaskCount
............................................................................
22222
19-18
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
alarm mask
Purpose
To show EPON OLT interface authentication mode information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
shelf/slot
Range: 0 31 characters
Mode
Any mode except user mode
Example
The following example displays how to show EPON OLT interface authentication mode
information:
ZXAN(config-epon)#show epon authentication-mode 1/7
Register-authentication-mode:
disable
Service-authentication-mode:
HYBRID
Related Command
None
Purpose
To show the EPON custom OAM
19-19
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
None
Mode
All modes except user mode
Example
The following example shows how to show the EPON custome OAM:
ZXAN#show epon custom-oam 1/1
Related Commands
None
Purpose
To display EPON ONU bandwidth profile
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
profilename
Profile name
Mode
Any mode except ZXAN>
Example
The following example displays the EPON ONU bandwidth profile:
ZXAN(config-epon)#show epon onu-sla-profile test
ProfileName :test
UpStream
MaxBw
MinBw
FixBw
(Kbps)
(Kbps)
(Kbps)
(Bytes)
------------------------------------------------------------------------------10000
Downstream
512
MaxBw(Kbps)
1500
45000
MaxBurstSize(Bytes)
----------------------------------------------------------------------------
19-20
SJ-20120615152640-010|2012-06-30 (R1.0)
16777215
Onu reference:
Related Commands
onu-sla-profile
Purpose
To display EPON ONU UNI bandwidth profile
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
profilename
Profile name
Mode
Any mode except ZXAN>
Example
The following example displays EPON ONU UNI bandwidth profile:
ZXAN(config-epon)#show epon onu-uni-profile
Related Commands
onu-sla-profileNone
Purpose
To display EPON ONU type profile
19-21
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
profilename
Profile name
Mode
Any mode except ZXAN>
Example
The following example displays EPON ONU type profile:
ZXAN(config-epon)#show epon onu-type-profile
Related Commands
onu-type-profile
Purpose
To show EPON OLT interface DBA algorithm information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
shelf/slot
Range: 0 31 characters
Mode
Any mode except user mode
Example
The following example displays how to show EPON OLT interface DBA algorithm
information:
ZXAN#show epon dba 1/4
Shelf/Slot
DBA Algorithm
......................................
19-22
SJ-20120615152640-010|2012-06-30 (R1.0)
plato
Related Command
None
Purpose
To enter into EPON OLT interface configuration mode
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
epon-olt_shelf/slot/oltId
Mode
ZXAN(config)#
Example
The following example displays how to enter into EPON OLT interface configuration mode:
ZXAN(config)#interface epon-olt_1/1/1
ZXAN(config-if)#
Related Command
None
19-23
SJ-20120615152640-010|2012-06-30 (R1.0)
19.2.2 alarm
Syntax
alarm {err-frame | err-frame-period [ err-frame-second-sum | err-symbol-period }{disable |
enable}[threshold threshold window window]
Purpose
To configure EPON OLT interface alarm function
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Parameter
threshold threshold
Alarm threshold
Range: 0 42949672955
window window
Error window
Range: 0 42949672955
Mode
ZXAN(config-if)#
Example
The following example displays how to configure EPON OLT interface alarm function:
ZXAN(config)#interface epon-olt_1/1/1
ZXAN(config-if)#alarm err-frame enable
Related Command
None
19.2.3 property
Syntax
property name name
Purpose
To configure EPON OLT interface name
Usage Guidelines
The following table provides parameter description:
19-24
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Parameter
name
Range: 0 63 characters
name
Mode
ZXAN(config-if)#
Example
The following example displays how to configure EPON OLT interface description
information:
ZXAN(config)#interface epon-olt_1/1/1
ZXAN(config-if)#property name epon-olt_1/1/1
Related Command
None
Purpose
To configure the downstream FEC function
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
disable
enable
Mode
ZXAN(config-if)#
Example
The following example displays how to enable the downstream FEC function:
ZXAN(config)#interface epon-olt_1/1/1
ZXAN(config-if)#fec downstream enable
19-25
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
19.2.5 high-priority-frame
Syntax
high-priority-frame [ queue-list value]
Purpose
To configure high priority frames
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Parameter
queue-list value
Mode
ZXAN(config-if)#
Example
The following example displays how to configure high priority frames:
ZXAN(config)#interface epon-olt_1/1/1
ZXAN(config-if)# high-priority-frame queue-list 4-7
Related Command
None
19.2.6 linktrap
Syntax
linktrap { inform | disable}
Purpose
To configure EPON interface link trap
Usage Guidelines
The following table provides parameter description:
19-26
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
inform
Mode
ZXAN(config-if)#
Example
The following example displays how to configure EPON interface link trap:
ZXAN(config)#interface epon-olt_1/1/1
ZXAN(config-if)# linktrap inform
Related Command
None
19.2.7 loopback
Syntax
loopback phy system
no loopback phy system
Purpose
To configure EPON OLT interface loopback attributes
Use no command to delete loopback attributes.
Usage Guidelines
None
Mode
ZXAN(config-if)#
Example
The following example displays how to configure EPON OLT interface loopback attributes:
ZXAN(config)#interface epon-olt_1/1/1
ZXAN(config-if)#loopback phy system
19-27
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Command
None
19.2.8 loopback-detection
Syntax
loopback-detection {disable | enable}
Purpose
To configure EPON OLT interface loopback detection
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Parameter
disable
enable
Mode
ZXAN(config-if)#
Example
The following example displays how to configure EPON OLT interface loopback detection:
ZXAN(config)#interface epon-olt_1/1/1
ZXAN(config-if)# loopback-detection enable
Related Command
None
19.2.9 maxrtt
Syntax
maxrtt [ value ]
Purpose
To configure the maximum RTT value
19-28
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Parameter
value
Range: 0 65535
Defualt: 13524 TQ
Unit: TQ (1 TQ = 16ns)
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the maximum RTT value:
ZXAN(config)#interface epon-olt_1/1/1
ZXAN(config-if)#maxrtt 12500
Related Command
None
Related Information
The default RTT value is 13524TQ.
19.2.10 onu
Syntax
onu onuid type type-name {mac macAddr | sn sn| loid onu-loid} [ password onu-password][ip-cfg
{auto-cfg | static } ]
onu onu onuid
Purpose
To add the specified ONU to EPON OLT interface
Use no command to delete the ONU
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Parameter
onuid
ONU ID
Range: 1 254
19-29
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Parameter
type type-name
ZTE-D400
ZTE-D402
ZTE-D420
ZTE-D421
ZTE-D422
ZTE-F401
ZTE-F425
ZTE-F429
ZTE-F430
ZTE-F435
ZTE-F500
ZTE-F621
ZTE-F622
ZTE-F625
ZTE-F640
ZTE-F641
ZTE-F820
ZTE-9806-E
mac macAddr
XXXX.XXXX.XXXX
sn sn
loid onu-loid
ONU logic id
Range: 1 24characters
password onu-password
Range: 1 12characters
ip-cfg
IP address configuration
auto-cfg
static
Mode
ZXAN(config-if)#
Example
The following example displays how to add the specified ONU to EPON OLT interface and
make ONU authentication according to MAC address:
ZXAN(config)#interface epon-olt_1/1/1
ZXAN(config-if)#onu 1 type ZTE-F425 mac 000c.0000.0001
Related Command
None
19-30
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Information
Input ONU MAC address when the authentication mode is MAC. Input ONU SN when the
authentication mode is SN.
19.2.11 optical-module-alarm-profile
Syntax
optical-module-alarm-profile prfName
no optical-module-alarm-profile
Purpose
To apply an optical-module alarm profile on a OLT or Ethernet optical port
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
prfName
Profile name
Mode
ZXAN(config-if)#
Example
The following example displays how to apply on an optical interface:
ZXAN(config-if)#optical-module-alarm-profile opt_prf1
Related Commands
optical-module alarm-profile
show optical-module-alarm-profile
Purpose
To start EPON OLT performance statistic function
19-31
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
None
Mode
ZXAN(config-if)#
Example
The following example displays how to start EPON OLT performance statistic function:
ZXAN(config)#interface epon-olt_1/1/1
ZXAN(config-if)#performance start
Related Command
None
19.2.13 priority-queue-map
Syntax
priority-queue-map {downstream | upstream} prio0-que value prio1-que value prio2-que val
ue prio3-que value prio4-que value prio5-que value prio6-que value prio7-que value
Purpose
To configure the mapping relationship between the frame priority and queue
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Parameter
prio0-que value
Range: 0 7
prio1-que value
Range: 0 7
prio2-que value
Range: 0 7
prio3-que value
Range: 0 7
prio4-que value
Range: 0 7
prio5-que value
Range: 0 7
prio6-que value
Range: 0 7
prio7-que value
Range: 0 7
Mode
ZXAN(config-if)#
19-32
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to configure the mapping relationship between the
frame priority and queue:
ZXAN(config)#interface epon-olt_1/1/1
ZXAN(config-if)#priority-queue-map upstream prio0-que 0
prio1-que 1 prio2-que 2 prio3-que 3 prio4-que 4 prio5-que 5
prio6-que 6 prio7-que 7
Related Command
None
Purpose
To create point-to-point group
Use no command to delete the point-to-point group.
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Parameter
groupid
Group ID
Range: 1 64
Mode
ZXAN(config-if)#
Example
The following example displays how to create point-to-point group:
ZXAN(config)#interface epon-olt_1/1/1
ZXAN(config-if)# p2p group 2
Related Command
None
19-33
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure point-to-point group name
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Parameter
groupid
Group ID
Range: 1 64
name
Group name
Range: 1 64 characters
Mode
ZXAN(config-if)#
Example
The following example displays how to configure point-to-point group name:
ZXAN(config)#interface epon-olt_1/1/1
ZXAN(config-if)# p2p group-name 2 test
Related Command
None
Purpose
To configure point-to-point mode
Usage Guidelines
None
Mode
ZXAN(config-if)#
19-34
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to configure point-to-point mode:
ZXAN(config)#interface epon-olt_1/1/1
ZXAN(config-if)# p2p mode full
Related Command
None
19.2.17 reset
Syntax
reset
Purpose
To reset an EPON OLT interface
Usage Guidelines
None
Mode
ZXAN(config-if)#
Example
The following example displays how to reset an EPON OLT interface:
ZXAN(config)#interface epon-olt_1/1/1
ZXAN(config-if)#reset
Related Command
None
Purpose
To reset an EPON OLT interface counter
19-35
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
None
Mode
ZXAN(config-if)#
Example
The following example displays how to reset an EPON OLT interface counter:
ZXAN(config)#interface epon-olt_1/1/1
ZXAN(config-if)#reset counter
Related Command
None
19.2.19 range
Syntax
range
Purpose
To reset an EPON OLT interface port list range
Usage Guidelines
None
Mode
ZXAN(config-if)#
Example
The following example displays how to reset an EPON OLT interface port list range:
ZXAN(config)#interface epon-olt_1/1/1
ZXAN(config-if)#range
Portlist of the range: epon-olt_1/1/1
Related Command
None
19-36
SJ-20120615152640-010|2012-06-30 (R1.0)
19.2.20 rx-hec
Syntax
rx-hec [ 802.3ah-draft | 802.3ah-standard | both | no]
Purpose
To configure EPON OLT interface receiving HEC mode
Usage Guidelines
None
Mode
ZXAN(config-if)#
Example
The following example displays how to configure EPON OLT interface receiving HEC
mode:
ZXAN(config)#interface epon-olt_1/1/1
ZXAN(config-if)#rx-hec no
Related Command
None
19.2.21 vlan-smart-qinq
Syntax
vlan-smart-qinq { enable | disable }
Purpose
To configure OLT interface Q-in-Q
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Parameter
disable
enable
19-37
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
ZXAN(config-if)#
Example
The following example displays how to configure OLT interface Q-in-Q:
ZXAN(config)#interface epon-olt_1/1/1
ZXAN(config-if)# vlan-smart-qinq enable
Related Command
None
19.2.22 shutdown
Syntax
shutdown
no shutdown
Purpose
To shutdown an EPON OLT interface
Use no command start an EPON OLT interface.
Usage Guidelines
None
Mode
ZXAN(config-if)#
Example
The following example displays how to shutdown an EPON OLT interface:
ZXAN(config)#interface epon-olt_1/1/1
ZXAN(config-if)#shutdown
Related Command
None
19-38
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To show EPON OLT interface priority queue mapping information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
epon-olt_shelf/slot/olt
Range: 0 31 characters
Mode
Any mode except user mode
Example
The following example displays how to show EPON OLT interface priority queue mapping
information:
ZXAN#show epon priority-queue-map epon-olt_1/1/1
Direction
-----------------------------------------------downstream
upstream
Related Command
None
Purpose
To show EPON OLT interface alarm information
19-39
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
epon-olt_shelf/slot/olt
Range: 0 31 characters
Mode
Any mode except user mode
Example
The following example displays how to show EPON OLT interface alarm information:
ZXAN(config-if)# show olt alarm-info epon-olt_1/1/1
Related Command
None
Purpose
To show EPON OLT interface configuration information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
epon-olt_shelf/slot/olt
Range: 0 31 characters
Mode
Any mode except user mode
Example
The following example displays how to show EPON OLT interface configuration
information:
19-40
SJ-20120615152640-010|2012-06-30 (R1.0)
Encry Algorithm:
triple-churning
EncKeyUpdatePeriod:
20(s);
EncKeyUpdateTimeout: 3(s);
EncStartThreshold:
3(s);
LoopbackLocation:
OLT
LoopbackExecEntity:
phy
LoopbackDirection:
LoopbackStatus:
system;
NO-LOOPBACK;
0 1 2 3 ;
MaxRtt
13524(tq);
Rx-Hex mode
no;
IP pool name
speed is 1G.
Related Command
None
Purpose
To show EPON OLT interface available upstream bandwidth information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
epon-olt_shelf/slot/olt
Range: 0 31 characters
Mode
Any mode except user mode
Example
The following example displays how to show EPON OLT interface available upstream
bandwidth information:
ZXAN(config)#show olt available-upstream-bandwidth epon-olt_1/1/1
19-41
SJ-20120615152640-010|2012-06-30 (R1.0)
Available bandwidth
--------------------------------------------------------epon-olt_1/1/1
967744
Related Command
None
Purpose
To show EPON OLT interface DBA poll configuration information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
epon-olt_shelf/slot/olt
Range: 0 31 characters
Mode
Any mode except user mode
Example
The following example displays how to show EPON OLT interface DBA poll configuration
information:
ZXAN(config)#show olt dba-cycle epon-olt_1/1/1
Priority
Cycle time(us)
---------------------------------------1
750
750
750
750
750
750
750
750
19-42
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Command
None
Purpose
To show EPON OLT interface statistics information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
epon-olt_shelf/slot/olt
Range: 0 31 characters
Mode
Any mode except user mode
Example
The following example displays how to show EPON OLT interface statistics information:
ZXAN(config-if)#show olt statistics epon-olt_1/1/1
Olt InterFacename:epon-olt_1/1/1
Dot3ExtPkgObjectReportNumThreshold:0
Dot3ExtPkgObjectReportMaximumNumThreshold:0
Dot3ExtPkgStatTxFramesQueue-high32bit:0
Dot3ExtPkgStatTxFramesQueue-low32bit:570589252
Dot3ExtPkgStatRxFramesQueue-high32bit:0
Dot3ExtPkgStatRxFramesQueue-low32bit:0
Dot3ExtPkgStatDroppedFramesQueue-high32bit:0
Dot3ExtPkgStatDroppedFramesQueue-low32bit:8189
--------------------------------------------------------Olt InterFacename:epon-olt_1/1/1
OltPonAverageBER:0.000000e+00
OltSysAverageBER:0.000000e+00
19-43
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Command
None
Purpose
To query the MPCP discovery status of an EPON OLT interface
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
interface
Interface name
Mode
Any mode except ZXAN>
Example
The following example displays the MPCP discovery status of an EPON OLT interface :
ZXAN#show olt mpcp-discovery-window epon-olt_1/1/1
Item
Status
...................................................
1GSymmetry
enable
10GDownstream-1GUpstream
enable
10Symmetry
enable
Related Commands
None
Purpose
To enter into EPON ONU interface configuration mode
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
epon-onu_shelf/slot/oltId
Range: 1 64
Mode
ZXAN(config)#
Example
The following example displays how to enter into EPON ONU interface configuration mode:
ZXAN(config)#interface epon-onu_1/1/2:3
ZXAN(config-if)#
Related Command
None
19.3.2 activate
Syntax
activate
Purpose
To activate ONU
Usage Guidelines
None
Mode
ZXAN(config-if)#
Example
The following example displays how to activate ONU:
19-45
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Command
None
19.3.3 ems-autocfg-request
Syntax
ems-autocfg-request {enable | disable}
Purpose
To configure ONU auto-authentication function
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
enable
Enable
disable
Disable
Mode
ZXAN(config-if)#
Example
The following example displays how to configure ONU auto-authentication function:
ZXAN(config)#interface epon-onu_1/1/2:3
ZXAN(config-if)#ems-autocfg-request enable
Related Command
None
19.3.4 sn
Syntax
sn sn
19-46
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To modify ONU serial number
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
sn sn
Mode
ZXAN(config-if)#
Example
The following example displays how to modify ONU serial number:
ZXAN(config)#interface epon-onu_1/1/2:3
ZXAN(config-if)#sn 0x91000048
Related Command
None
19.3.5 deactivate
Syntax
deactivate
Purpose
To deactivate ONU
Usage Guidelines
None
Mode
ZXAN(config-if)#
Example
The following example displays how to deactivate ONU:
ZXAN(config)#interface epon-onu_1/1/2:3
ZXAN(config-if)#deactivate
19-47
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Command
None
19.3.6 property
Syntax
property {[description description] |[spliter spliter] |[user-info user-info]}
no property
Purpose
To configure EPON ONU interface description information
Use no command to delete the description information.
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
description
information
spliter
Splitter number
user-info
Mode
ZXAN(config-if)#
Example
The following example displays how to configure EPON ONU interface description
information:
ZXAN(config)#interface epon-onu_1/1/2:3
ZXAN(config-if)#property description onu1 spliter 1 userinfo ctc
Related Command
None
19.3.7 SLA
Syntax
SLA { upstream | downstream } maximum maxSLA maxburst maxburst[vportportid]
19-48
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure EPON ONU bandwidth
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
maximum maxSLA
Maximum bandwidth
Maximum burst
vport portid
Port ID
Range: 1 8
Mode
ZXAN(config-if)#
Example
The following example displays how to configure EPON ONU bandwidth:
ZXAN(config)#interface epon-onu_1/1/2:3
ZXAN(config-if)#sla upstream maximum 100000 maxburst 180000
Related Command
None
19.3.8 sla-profile
Syntax
sla-profile profile name
Purpose
To configure EPON ONU sla profile
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
profile name
19-49
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
ZXAN(config-if)#
Example
The following example displays how to configure EPON ONU sla profile:
ZXAN(config)#interface epon-onu_1/1/2:3
ZXAN(config-if)#sla-profile default
Related Command
None
19.3.9 mac-bind
Syntax
mac-bind {enable mac macadd | disable}
Purpose
To configure ONU MAC address binding
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
mac-address
MAC address
Format: XXXX.XXXX.XXXX
enable
disable
Mode
ZXAN(config-if)#
Example
The following example displays how to configure ONU MAC address binding:
ZXAN(config-if)#interface epon-onu_1/1/2:3
ZXAN(config-if)# mac-bind enable mac 0000.0000.0001
Related Command
None
19-50
SJ-20120615152640-010|2012-06-30 (R1.0)
19.3.10 deregister
Syntax
deregister
Purpose
To delete the ONU which has registered
Usage Guidelines
None
Mode
ZXAN(config-if)#
Example
The following example displays how to delete the ONU which has registered:
ZXAN(config)#interface epon-onu_1/1/2:3
ZXAN(config-if)#deregister
Related Command
None
19.3.11 fec
Syntax
fec upstream {enable | disable}
Purpose
To configure EPON ONU upstream FEC function
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
enable
disable
Mode
ZXAN(config-if)#
19-51
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to configure EPON ONU upstream FEC function:
ZXAN(config)#interface epon-onu_1/1/2:3
ZXAN(config-if)#fec upstream enable
Related Command
None
19.3.12 encrypt
Syntax
encrypt direction {downstream | both} {enable | disable}
Purpose
To configure ONU encryption attributes
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
direction
downstream
both
enable
Enable encryption
disable
Disable encryption
Mode
ZXAN(config-if)#
Example
The following example displays how to configure ONU encryption attributes:
ZXAN(config)#interface epon-onu_1/1/2:3
ZXAN(config-if)#encrypt direction downstream enable
Related Command
None
Related Information
Presently, the system only supports encryption on downstream packets.
19-52
SJ-20120615152640-010|2012-06-30 (R1.0)
19.3.13 ip access-group
Syntax
ip access-group acl-number in
Purpose
To configure ONU access control in ingress direction
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
acl-number
ACL number
Mode
ZXAN(config-if)#
Example
The following example displays how to configure ONU encryption attributes:
ZXAN(config)#interface epon-onu_1/1/2:3
ZXAN(config-if)# ip access-group 300 in
Related Command
None
19.3.14 loid-bind
Syntax
loid-bind { enable | disable}
Purpose
To enable binding the ONU LOID with a registered MAC address
Usage Guidelines
None
Mode
ZXAN(config-if)#
19-53
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example shows how to enable binding the ONU LOID with a registered MAC
address
ZXAN(config)#interface epon-onu_1/2/1:1
ZXAN(config-if)#loid-bind enable
Related Commands
After binding, NE cannot add another ONU with the same LOID. Otherwise, it will cause
conflict warning.
Related Information
None
19.3.15 diagnose
Syntax
diagnose{[link-test ] |[loopback ]}
Purpose
To configure EPON ONU link test and loopback test
Usage Guidelines
None
Mode
ZXAN(config-if)#
Example
The following example displays how to configure EPON ONU link test and loopback test:
ZXAN(config)#interface epon-onu_1/1/2:3
ZXAN(config-if)#diagnose link-test
TestSts success.
Related Command
None
Related Information
The system executes the test once the command is carried out and it displays the test
result after the test is completed.
19-54
SJ-20120615152640-010|2012-06-30 (R1.0)
19.3.16 mac
Syntax
mac mac-address
Purpose
To configure EPON ONU MAC address
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
mac-address
MAC address
Format: XXXX.XXXX.XXXX
Mode
ZXAN(config-if)#
Example
The following example displays how to configure EPON ONU MAC address:
ZXAN(config)#interface epon-onu_1/1/2:3
ZXAN(config-if)#mac 0000.0000.0001
Related Command
None
19.3.17 max-mac-learn
Syntax
max-mac-learn value [vport vport]
Purpose
To configure EPON ONU maximum learning MAC addresses
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
value
Range: 0 4095
addresses
19-55
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
vport vport
Vport ID
Range: 1 256
Default: 1
Mode
ZXAN(config-if)#
Example
The following example displays how to configure EPON ONU maximum learning MAC
address:
ZXAN(config)#interface epon-onu_1/1/2:3
ZXAN(config-if)#max-mac-learn 1
Related Command
None
19.3.18 priority-trans
Syntax
priority-trans {upstream | downstream} priority priority[def-vlan vlan-id]
Purpose
To configure EPON ONU priority transfer function
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
priority priority
Priority
Range: 0 7
def-vlan vlan-id
Default VLAN ID
Range: 1 4094
Mode
ZXAN(config-if)#
Example
The following example displays how to configure EPON ONU priority transfer function:
ZXAN(config)#interface epon-onu_1/1/2:3
ZXAN(config-if)# priority-trans downstream priority 7 default-vlan 100
19-56
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Command
None
Purpose
To start EPON ONU performance statistics
Usage Guidelines
None
Mode
ZXAN(config-if)#
Example
The following example displays how to start EPON ONU performance statistics:
ZXAN(config)#interface epon-onu_1/1/2:3
ZXAN(config-if)#performance start
Related Command
None
19.3.20 join-p2p-group
Syntax
join-p2p-group groupid
Syntax
no join-p2p-group
Purpose
To add ONU to the specified P2P group
Use no command to delete P2P group
19-57
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
groupid
Group ID
Range: 1 64
Mode
ZXAN(config-if)#
Example
The following example displays how to add ONU to the specified P2P group:
ZXAN(config)#interface epon-onu 1/4/2:3
ZXAN(config-if)# join-p2p-group 2
Related Command
None
19.3.21 range
Syntax
range
Purpose
To show ONU interface port list range
Usage Guidelines
None
Mode
ZXAN(config-if)#
Example
The following example displays how to show ONU interface port list range:
ZXAN(config)#interface epon-onu 1/4/2:3
ZXAN(config-if)#range
Portlist of the range: epon-onu 1/4/2:3
19-58
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Command
None
Purpose
To show all ONUs running status
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
epon-olt_shelf/slot/olt
Range: 0 31 characters
Mode
Any mode except user mode
Example
The following example displays how to show all ONUs running status:
ZXAN#show onu all-status epon-olt_1/1/2
Onu Interface
Regstatus
Status
.......................................................
epon-onu_1/1/2:3
authenticated
Offline
epon-onu_1/1/2:11
authenticated
Offline
Related Command
None
Purpose
To show ONU authentication information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
epon-olt_shelf/slot/olt
Range: 1 32 characters
Range: 1 32 characters
Mode
Any mode except user mode
Example
The following example displays how to show ONU authentication information:
ZXAN#show onu authentication epon-olt_1/1/2
Onu interface :
epon-onu_1/1/2:3;
Onu type :
ZTE-F820;
MAC address :
0019.c600.0011;
SN :
LOID :
Active status :
inactive
State :
Offline;
LastAuthTime :
0000/00/00 00:00:00
Related Command
None
Purpose
To show ONU detailed information
19-60
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
epon-onu_shelf/slot/oltId:onuId
Range: 0 31 characters
Mode
Any mode except user mode
Example
The following example displays how to show ONU detailed information:
ZXAN(config)#show onu detail-info epon-onu_1/1/2:3
Onu interface:
epon-onu_1/1/2:3
AdminState:
enable
Physical state:
offline
Online state:
not registered
OnuType:
ZTE-F820
SN:
MAC:
0019.c600.0011
LOID:
GeneralDescription:
SpliterNo:
FiberNo:
UserInfo:
FecMode:
unknow
FecAbility:
unknow
LoopbackStatus:
noLoopback
OamLoopbacIgnoreRx:
ignore
disable
0000.0000.0000
Automatic config:
disable
Related Command
None
19-61
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To show ONU bandwidth information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
epon-olt_shelf/slot/olt
Range: 0 31 characters
epon-onu_shelf/slot/olt:onu
Range: 0 31 characters
Mode
Any mode except user mode
Example
The following example displays how to show ONU bandwidth information:
ZXAN(config-if)#show onu sla downstream epon-olt_1/1/1
ID
MaxBw(Kbps)
MaxBurstSize(Bytes)
ProfileName
-----------------------------------------------------------------1
10000
205000
N/A
Related Command
None
19-62
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To show EPON ONU interface MPCP information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
epon-onu_shelf/slot/olt:onu
Range: 0 31 characters
Mode
Any mode except user mode
Example
The following example displays how to show EPON ONU interface MPCP information:
ZXAN#show onu mpcpinfo epon-onu_1/1/2:3
oprStatus:
false;
AdminStatus:
false;
SyncTime:
0;
MpcpMode:
olt;
MpcpLinkID:
0;
RemoteMacAddr:
0000.0000.0000;
RegistrationState:
unregister;
RoundTripTime:
0(tq);
MaximumPendingGrants:
0;
Related Command
None
Purpose
To show EPON ONU interface OAM information
19-63
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
epon-onu_shelf/slot/olt:onu
Range: 0 31 characters
Mode
Any mode except user mode
Example
The following example displays how to show EPON ONU interface OAM information:
ZXAN#show onu oam epon-onu_1/1/2:3
Onu interface:
epon-onu_1/1/2:3
OamAdminState:
enable
OamOperStatus:
operational
OamMode:
active
MaxOamPduSize:
1518
OamconfigRevision:
OamFunctionSupported:
PeerMacAddress:
0015.eb71.2d54;
PeerVendorInfo:
1661009920;
PeerMode:
passive;
PeerMaxOamPduSize:
1518;
PeerConfigRevision:
1;
PeerFunctionSupported:
Related Command
None
Purpose
To show EPON ONU configuration information
19-64
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
epon-onu_shelf/slot/olt:onu
Range: 0 31 characters
Mode
Any mode except user mode
Example
The following example displays how to show EPON ONU configuration information:
ZXAN#show onu config-info epon-onu_1/1/2:3
status: not configured.
Related Command
None
Purpose
To show ONU packets priority transfer information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
epon-olt_shelf/slot/olt
Range: 0 31 characters
Range: 0 31 characters
Mode
Any mode except user mode
Example
The following example displays how to show ONU packets priority transfer information:
ZXAN(config)# show onu priority-trans downstream epon-olt_1/1/2
Onu interface
Priority
Default vlan
State
----------------------------------------------------------------epon-onu_1/1/2:3
disable
epon-onu_1/1/2:11
disable
Related Command
None
Purpose
To show EPON ONU running configuration information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
epon-onu_shelf/slot/oltId:onuId
Range: 0 31 characters
Mode
Any mode except user mode
Example
The following example displays how to show EPON ONU running configuration
information:
ZXAN#show onu running config epon-onu_1/1/2:3
olleh
!
19-66
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Command
None
Purpose
To enter into EPON ONU remote management mode
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
epon-olt_shelf/slot/oltId
ONU number
Range: 1 64
Mode
ZXAN(config)#
Example
The following example displays how to enter into EPON ONU remote management mode:
ZXAN(config)#pon-onu-mng epon-onu_1/1/2:3
ZXAN(epon-onu-mng)#
Related Command
None
19-67
SJ-20120615152640-010|2012-06-30 (R1.0)
19.4.2 active
Syntax
active pon-if { back | main }
Purpose
To configure the active PON port for ONU
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
back
main
Mode
ZXAN(epon-onu-mng)#
Example
The following example displays how to configure the active PON port for ONU:
ZXAN(config)#pon-onu-mng epon-onu_1/1/1:1
ZXAN(epon-onu-mng)#active pon-if main
Related Commands
None
19.4.3 alarm
Syntax
alarm {enable | disable}
Purpose
To configure EPON ONU alarm report function
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Parameter
disable
19-68
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Parameter
enable
interface
onu
pon-if
Range: 1 2
Mode
ZXAN(epon-onu-mng)#
Example
The following example displays how to configure EPON ONU alarm report function:
ZXAN(config)#pon-onu-mng epon-onu_1/1/2:3
ZXAN(epon-onu-mng)#alarm enable
Related Command
None
19.4.4 alarm-threshold
Syntax
alarm-threshold onu { BatteryVoltLow | ONUTempHighAlarm | ONUTempLowAlarm } ass
ert-val assert-val restore-val restore-val
Purpose
To configure ONU alarm thresholds
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
BatteryVoltLow
ONUTempHighAlarm
threshold
ONUTempLowAlarm
assert-val assert-val
BatteryVoltLow:0.0 6.55
ONUTempHighAlarm:-128
127
ONUTempLowAlarm:-128 127
19-69
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
restore-val restore-val
BatteryVoltLow:0.0 6.55
ONUTempHighAlarm:-128
127
ONUTempLowAlarm:-128 127
Mode
ZXAN(epon-onu-mng)#
Example
The following example displays how to configure ONU alarm thresholds:
ZXAN(config)#pon-onu-mng epon-onu_1/1/1:1
ZXAN(epon-onu-mng)#alarm-threshold onu BatteryVoltLow assert-val 5 restore-val 1
Related Commands
None
19.4.5 auto-config
Syntax
auto-config [ voip | wan | wifi ]
no auto-config [ voip | wan | wifi ]
Purpose
To configure auto configuration function
Use no command to cancel auto-configuration function
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Parameter
voip
wan
wifi
Mode
ZXAN(epon-onu-mng)#
19-70
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to configure auto-configuration function:
ZXAN(config)#pon-onu-mng epon-onu_1/1/2:3
ZXAN(epon-onu-mng)#auto-config
Related Command
None
Purpose
To create EPON ONU classification condition profile
Use no command to delete classification condition profile.
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Parameter
profilename
Profile name
Range: 1 31 characters
dmac| smac
dscp
dstIP| srcIP
Destination
mac
ad-
Format: XXXX.XXXX.XXXX
Range: 0 63
Destination IP address/Source
IP address
eth-type match-value1
Ethernet type
ip-protocol-type match-value2
IP protocol type
Range: 1 65535
priority priority
Priority
Range: 0 7
vlanId vlanId
VLAN ID
Range: 1 4094
0x8808
Hexadecimal number, such as
0x02
19-71
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
ZXAN(epon-onu-mng)#
Example
The following example displays how to create EPON ONU classification condition profile:
ZXAN(config)#pon-onu-mng epon-onu_1/1/2:3
ZXAN(epon-onu-mng)#classification condition-profile zte vlanId 100
operation-type always-match
Related Command
None
Purpose
To create an ONU IPv6 classification profile
Usage Guidelines
The following table describes the relevant parameters:
Parameter
Description
Value
profilename
Profile name
131 characters
mac-address
MAC address
IPV6_IPADDR_MASK
19-72
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
match-value1
priority:07
vlanId:14094
IPV4Precedence:07
dscp:063
l4SrcPort :165535
l4DetPort :165535
traffic-class-ipv6:0255
ip-version:ipV4| ipV6
flow-label-ipv6:065535
match-value2
Hexadecimal
Mode
ZXAN(epon-onu-mng)#
Example
The following example shows how to create an ONU IPv6 classification profile:
ZXAN(epon-onu-mng)# classification condition-ipv6-profile
c1 dest-ip-ipv6 3:4::5:6 operator-type equal
Related Commands
None
Purpose
To create EPON ONU mapping rule profile
Use no command to delete mapping rule profile.
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Parameter
profilename
Profile name
Range: 1 31 characters
queue vlaue1
Queue priority
Range: 0 7
19-73
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Parameter
priority value2
Range: 0 7
Mode
ZXAN(epon-onu-mng)#
Example
The following example displays how to create EPON ONU mapping rule profile:
ZXAN(config)#pon-onu-mng epon-onu_1/1/2:3
ZXAN(epon-onu-mng)# classification rule-profile zte queue 1 priority 5
Related Command
None
Purpose
To create EPON ONU Ethernet port upstream traffic classification and mapping control
rule
Use no command to delete mapping control rule.
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Parameter
portName
Port name
Format: eth_slot/port
precedence
Rule priority
Range: 1 8
rule-profile-name
Range: 1 31 characters
condition-profile-name-list
Range: 1 31 characters
Mode
ZXAN(epon-onu-mng)#
19-74
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to create EPON ONU Ethernet port upstream traffic
classification and mapping control rule:
ZXAN(config)#pon-onu-mng epon-onu_1/1/2:3
ZXAN(epon-onu-mng)#classification port eth_0/1 rule-precedence 8
add zte zte
Related Command
None
Related Information
l
l
l
Configure classification condition profile and mapping rule profile before using this
command.
To configure Ethernet port rule, only the configured classification condition profile and
rule profile can be used.
For each Ethernet port rule, only four classification condition profiles can be used.
19.4.10 clear-oam-config
Syntax
clear-oam-config
Purpose
To clear the remote ONUs OAM configuration
Usage Guidelines
None
Mode
ZXAN(epon-onu-mng)#
Example
The following example shows how to clear the remote ONUs OAM configuration:
ZXAN(epon-onu-mng)#clear-oam-config
Related Commands
None
19-75
SJ-20120615152640-010|2012-06-30 (R1.0)
19.4.11 compatibility
Syntax
compatibility { enable mode mode | disable }
Purpose
To configure ONU compatibility attribute
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
mode mode
ONU type
ZTE/CTC
Mode
ZXAN(epon-onu-mng)#
Example
The following example displays how to configure ONU compatibility attribute:
ZXAN(config)#pon-onu-mng epon-onu_1/1/1:1
ZXAN(epon-onu-mng)#compatibility enable mode ZTE
Related Commands
None
19.4.12 config-pvid
Syntax
config-pvid port port pvid pvid
Purpose
To configure ONU port PVID
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
port port
Port number
Range: 1 8
pvid pvid
VLAN id
Range: 1 4094
19-76
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
ZXAN(epon-onu-mng)#
Example
The following example displays how to configure ONU port PVID:
ZXAN(config)#pon-onu-mng epon-onu_1/1/1:1
ZXAN(epon-onu-mng)#config-pvid port 1 pvid 2
Related Commands
None
19.4.13 config-vlan
Syntax
config-vlan vlanid ports port { tag | untag }
Purpose
To configure ONU port VLAN
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ports port
Port list
vlanid
VLAN ID
Range: 1 4094
tag
Tagged
untag
Untagged
Mode
ZXAN(epon-onu-mng)#
Example
The following example displays how to configure ONU port VLAN:
ZXAN(config)#pon-onu-mng epon-onu_1/1/1:1
ZXAN(epon-onu-mng)#config-vlan 10 port 1,2,3,4 tag
Related Commands
None
19-77
SJ-20120615152640-010|2012-06-30 (R1.0)
19.4.14 isolation
Syntax
isolation {enable | disable}
Purpose
To configure EPON ONU port isolation function
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Parameter
enable
disable
Mode
ZXAN(epon-onu-mng)#
Example
The following example displays how to configure EPON ONU port isolation function:
ZXAN(config)#pon-onu-mng epon-onu_1/1/2:3
ZXAN(epon-onu-mng)#isolation enable
Related Command
None
19.4.15 dba
Syntax
dba queue-set queuesetid{[queue1 value1] [queue2 value2] [queue3 value3] [queue4 value4] [q
ueue5 value5] [queue6 value6] [queue7 value7] [queue8 value8] } [vport vport-id]
Purpose
To configure EPON ONU queue threshold
Usage Guidelines
The following table provides parameter description:
19-78
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Parameter
queuesetid
Queue set ID
Range: 1 3
Queue threshold
Range: 1 65535
vport vport-id
Virtual port ID
Range: 1 8
Default: 1
Mode
ZXAN(epon-onu-mng)#
Example
The following example displays how to configure EPON ONU queue threshold:
ZXAN(config)#pon-onu-mng epon-onu_1/1/2:3
ZXAN(epon-onu-mng)#dba queue-set 2 queue1 65535 queue2 65535
queue4 65535 queue5 65535
queue6 65535
queue7 65535
queue3 65535
queue8 65535
Related Command
None
Purpose
To activate EPON ONU queue DBA function
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Parameter
queuesetid
Range: 1 6 characters
Mode
ZXAN(epon-onu-mng)#
Example
The following example displays how to activate EPON ONU queue DBA function:
ZXAN(config)#pon-onu-mng epon-onu_1/1/2:3
19-79
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Command
None
Related Information
Configure the threshold of the queue set before activating the queue DBA function.
19.4.17 holdover
Syntax
holdover { enable [ time time ] | disable }
Purpose
To configure the holdover function in ONU optical link protection
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
time time
Holdover time
50 1000, unit: ms
Mode
ZXAN(epon-onu-mng)#
Example
The following example displays how to the holdover function in ONU optical link protection:
ZXAN(config)#pon-onu-mng epon-onu_1/1/1:1
ZXAN(epon-onu-mng)#holdover enable time 100
Related Commands
None
interface eth eth_slot/portId policing {upstream | downstream} {enable { [ cir value1 ] [ cbs
value2 ] [ ebs value3 ]}| disable }
interface eth eth_slot/portId policing-profile { bind profilename | unbind }
interface eth eth_slot/portId mode{ 1000 | 10000 | 100full | 100half |10full | 10half |auto}
Purpose
To configure EPON ONU Ethernet port attributes
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Parameter
eth_slot/portId
Range: 1 31 characters
enable, disable
flow-control
Flow control
enable, disable
auto-neg
Auto-negotiation
policing
Policing
downstream
Downstream traffic
enable, disable
upstream
Upstream traffic
enable, disable
cir value1
Range: 0 16777215
value
Unit: kbps
Range: 0 16777215
cbs value2
Unit: byte
ebs value3
Range: 0 16777215
Unit: byte
policing-profile
Policing profile
bind
Bind
Range: 1 30 characters
unbind
Unbind
profilename
Range: 1 16 characters
mode
Duplex mode
Mode
ZXAN(epon-onu-mng)#
19-81
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to configure EPON ONU Ethernet port attributes:
ZXAN(config)#pon-onu-mng epon-onu_1/1/2:3
ZXAN(epon-onu-mng)#interface eth eth_0/1 phy-state enable
ZXAN(epon-onu-mng)#interface eth eth_0/1 flow-control enable
ZXAN(epon-onu-mng)#interface eth eth_0/1 auto-neg enable
ZXAN(epon-onu-mng)#interface eth eth_0/1 policing upstream enable
cir 50000 cbs 1500 ebs 1514
Related Command
None
Related Information
Use this command to configure Ethernet port attributes such as Ethernet port
enable/disable, flow control enable/disable, auto-negotiation enable/disable, force
auto-negotiation, policing, and policing profile.
19.4.19 interface el
Syntax
interface el e1_slot/portId{enable | disable}
Purpose
To configure EPON ONU E1 port attributes
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Parameter
e1_slot/portId
Range: 0 31 characters
Enable E1 port
disable
Disable E1 port
Mode
ZXAN(epon-onu-mng)#
19-82
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to configure EPON ONU E1 port attributes:
ZXAN(config)#pon-onu-mng epon-onu_1/1/2:3
ZXAN(epon-onu-mng)#interface e1 e1_0/1 enable
Related Command
None
Purpose
To configure EPON ONU VoIP port attributes
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Parameter
voip_slot/portId
Range: 1 31 characters
disable
Mode
ZXAN(epon-onu-mng)#
Example
The following example displays how to configure EPON ONU VoIP port attributes:
ZXAN(config)#pon-onu-mng epon-onu_1/1/2:3
ZXAN(epon-onu-mng)#interface voip voip_0/1 enable
Related Command
None
19-83
SJ-20120615152640-010|2012-06-30 (R1.0)
19.4.21 interface-loopdetect
Syntax
interface-loopdetect portname {activate | deactivate}
Purpose
To configure loop detect function on the ONU port
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
portname
Port name
Range: 0 31 characters
activate
deactivate
Mode
ZXAN(epon-onu-mng)#
Example
The following example displays how to configure loop detect function on the ONU port:
ZXAN(config)#pon-onu-mng epon-onu_1/1/1:1
ZXAN(epon-onu-mng)#interface-loopdetect eth_0/1 activate
Related Commands
None
19.4.22 llid-queue
Syntax
llid-queue [ vport vport ] queue1 queue1 wrr1 [ queue2 queue2 wrr2 [ queue3 queue3 wrr3 [
queue4 queue4 wrr4 [ queue5 queue5 wrr5 [ queue6 queue6 wrr6 [ queue7 queue7 wrr7 [ queue8
queue8 wrr8 ]]]]] ] ]
Purpose
To configure the mapping between LLID and queue.
Usage Guidelines
The following table provides parameter description:
19-84
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
vport vport
LLID value
Range: 1 8
queue1
Queue ID
Range: 0 7
wrr1
WRR
Range: 0 100
Mode
ZXAN(epon-onu-mng)#
Example
The following example displays how to configure the mapping between LLID and queue:
ZXAN(config)#pon-onu-mng epon-onu_1/1/1:1
ZXAN(epon-onu-mng)#llid-queue queue1 0 3
Related Commands
None
Purpose
To configure EPON ONU fast leave function
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Parameter
enable
disable
Mode
ZXAN(epon-onu-mng)#
Example
The following example displays how to configure EPON ONU fast leave function:
ZXAN(config)#pon-onu-mng epon-onu_1/1/2:3
ZXAN(epon-onu-mng)#multicast fastleave enable
19-85
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Command
None
19.4.24 mac
Syntax
mac {add | delete | clear} eth_slot/port {filter | bind | static} [mac-address vlanid]
Purpose
To configure EPON ONU Ethernet port MAC address
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Parameter
add
aging-time
delete
clear
limit-num
eth_slot/port
Range: 0 31 characters
bind
static
mac-address
MAC address
Hexadecimal number
vlanid
VLAN ID
Range: 1 4094
Mode
ZXAN(epon-onu-mng)#
Example
The following example displays how to configure EPON ONU Ethernet port MAC address:
ZXAN(config)#pon-onu-mng epon-onu_1/1/2:3
ZXAN(epon-onu-mng)#mac add eth_0/1 bind 0000.0800.0111 2
19-86
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Command
None
Related Information
l
l
Do not configure other parameters when the operation is to clear Ethernet port MAC
address. All MAC address configurations are to be cleared.
Configure mac-address when the operation is to add or delete Ethernet port MAC
address.
Purpose
To configure EPON ONU MAC address aging time
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Parameter
aging-time
Mode
ZXAN(epon-onu-mng)#
Example
The following example displays how to configure EPON ONU MAC address aging time:
ZXAN(config)#pon-onu-mng epon-onu_1/1/2:3
ZXAN(epon-onu-mng)#mac aging-time 300
Related Command
None
Purpose
To configure EPON ONU Ethernet port maximum learning MAC address number
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Parameter
eth_slot/port
Range: 0 31 characters
Range: 0 65534
address number
no-limit
No limit
Mode
ZXAN(epon-onu-mng)#
Example
The following example displays how to configure EPON ONU Ethernet port maximum
learning MAC address number:
ZXAN(config)#pon-onu-mng epon-onu_1/1/2:3
ZXAN(epon-onu-mng)#mac limit-num eth_0/1 32
Related Command
None
19.4.27 mgmt-ip
Syntax
mgmt-ip ip-address ip-mask vlan vid [svlan svid] priority prio route route-ip ip-mask next-hop-ip
[status {enable | disable}]}
mgmt-ip auto-assign
mgmt-ip dhcp {enable | disable} vlan vlanid priority prio
mgmt-ip release
mgmt-ip status {enable | disable}
Purpose
To configure the management IP address for the EPON ONU
19-88
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Parameter
ip-address ip-mask
vlan vid
VLAN ID
Range: 1 4094
svlan svid
SVLAN ID
Range: 1 4094
priority prio
Priority
Range: 0 7
vlanID
VLAN ID
Range: 1 4094
Route
status
Administration status
enable, disable
IP address is automatic
auto-assign
assigned
dhcp
IP address is allocated by
enable, disable
DHCP
release
address
Mode
ZXAN(epon-onu-mng)#
Example
The following example displays how to configure the management IP address for the
EPON ONU :
ZXAN(config)#pon-onu-mng epon-onu_1/1/2:3
ZXAN(epon-onu-mng)#mgmt-ip 1.1.2.3 255.255.255.0 vlan 10 priority 0
route 0.0.0.0 0.0.0.0. 1.1.2.1 status enable
Related Command
None
Related Information
l
l
l
ONU IP address and remote host IP address cannot be in the same network segment
of ONU IP address at LAN side, which is 192.168.1.1/255.255.255.0 by default.
If ONU connects to WAN, ONU IP address and remote host IP address cannot be in
the same network segment of ONU IP address at WAN side.
VLAN cannot be the VLAN, which ONU uses.
19-89
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure multicast control type
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
gda-ip-and-vlan
and VLAN ID
gda-mac
gda-mac-and-sa-mac
and VLAN ID
Mode
ZXAN(epon-onu-mng)#
Example
The following example displays how to configure multicast control type:
ZXAN(config)#pon-onu-mng epon-onu_1/1/1:1
ZXAN(epon-onu-mng)#multicast control-type gda-ip-and-vlan
Related Commands
None
Purpose
To enable or disable multicast fast-leave function on the ONU
19-90
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
enable
Enable
disable
Disable
Mode
ZXAN(epon-onu-mng)#
Example
The following example displays how to enable ONU multicast fast-leave function:
ZXAN(config)#pon-onu-mng epon-onu_1/1/1:1
ZXAN(epon-onu-mng)#multicast fastleave enable
Related Commands
None
Purpose
To configure Ethernet port multicast VLAN on the EPON ONU
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Parameter
port eth_slot/port
Range: 1 31 characters
add
clear
delete
vlanlist vlanlist
VLAN list
Range: 1 31 characters
Maximum VLAN number: 10
Mode
ZXAN(epon-onu-mng)#
19-91
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to configure EPON ONU Ethernet port multicast
VLAN:
ZXAN(config)#pon-onu-mng epon-onu_1/1/2:3
ZXAN(epon-onu-mng)#multicast vlan port eth_0/1 add vlanlist 1,3,5-8
Related Command
None
Related Information
l
l
l
Purpose
To configure EPON ONU Ethernet port multicast VLAN tag strip function
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Parameter
port eth_slot/port
Range: 0 31 characters
function
disable
function
translation
vlan
19-92
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
ZXAN(epon-onu-mng)#
Example
The following example displays how to configure EPON ONU Ethernet port multicast VLAN
tag strip function:
ZXAN(config)#pon-onu-mng epon-onu_1/1/2:3
ZXAN(epon-onu-mng)#multicast vlan tag-strip port eth_0/1 enable
Related Command
None
Purpose
To configure EPON ONU multicast mode
Usage Guidelines
None
Mode
ZXAN(epon-onu-mng)#
Example
The following example displays how to configure EPON ONU multicast mode:
ZXAN(config)#pon-onu-mng epon-onu_1/1/2:3
ZXAN(epon-onu-mng)#multicast switch igmpsnooping
Related Command
None
19-93
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure EPON ONU Ethernet port maximum multicast group number
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Parameter
eth_slot/port
Range: 1 31 characters
Range: 1 255
number
Mode
ZXAN(epon-onu-mng)#
Example
The following example displays how to configure EPON ONU Ethernet port maximum
multicast group number:
ZXAN(config)#pon-onu-mng epon-onu_1/1/2:3
ZXAN(epon-onu-mng)#multicast group-max-number eth_0/1 32
Related Command
None
19.4.34 reboot
Syntax
reboot
Purpose
To reboot an EPON ONU
19-94
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
None
Mode
ZXAN(epon-onu-mng)#
Example
The following example displays how to reboot an EPON ONU:
ZXAN(config)#pon-onu-mng epon-onu_1/1/2:3
ZXAN(epon-onu-mng)#reboot
Related Command
None
19.4.35 register
Syntax
register { sip-port | voip-module } slot slot
Purpose
To configure SIP port or VoIP module to register on the SS again
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
sip-port
SIP port
voip-module
VoIP module
slot slot
Slot ID
Range: 1 255
Mode
ZXAN(epon-onu-mng)#
Example
The following example displays how to configure SIP port to register again:
ZXAN(config)#pon-onu-mng epon-onu_1/1/1:1
ZXAN(epon-onu-mng)#register sip-port slot 1
19-95
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
19.4.36 region
Syntax
region code
Purpose
To configure the country code of ONU
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
code
0 65535
Mode
ZXAN(epon-onu-mng)#
Example
The following example displays how to configure the country code of ONU:
ZXAN(config)#pon-onu-mng epon-onu_1/1/1:1
ZXAN(epon-onu-mng)#region 0
Related Commands
None
Purpose
To reset UNI statistics on the ONU
Usage Guidelines
The following table provides parameter description:
19-96
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
port-list
Port list
Range: 1 31 characters
Mode
ZXAN(epon-onu-mng)#
Example
The following example displays how to reset UNI statistics:
ZXAN(config)#pon-onu-mng epon-onu_1/1/1:1
ZXAN(epon-onu-mng)#reset uni-statistic eth_0/1-25
Related Commands
None
Purpose
To reset VoIP module
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
slot slot
Slot ID
Range: 1 255
Mode
ZXAN(epon-onu-mng)#
Example
The following example displays how to reset VoIP module:
ZXAN(config)#pon-onu-mng epon-onu_1/1/1:1
ZXAN(epon-onu-mng)#reset voip-module slot 1
Related Commands
None
19-97
SJ-20120615152640-010|2012-06-30 (R1.0)
19.4.39 reset-card
Syntax
reset-card slot slot
Purpose
To reset card
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
slot slot
Slot ID
Range: 1 255
Mode
ZXAN(epon-onu-mng)#
Example
The following example displays how to reset the card:
ZXAN(config)#pon-onu-mng epon-onu_1/1/1:1
ZXAN(epon-onu-mng)#reset-card slot 1
Related Commands
None
Purpose
To restore default settings
Usage Guidelines
None
Mode
ZXAN(epon-onu-mng)#
19-98
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to restore default settings:
ZXAN(config)#pon-onu-mng epon-onu_1/1/1:1
ZXAN(epon-onu-mng)#restore factory-settings
Related Commands
None
Purpose
To restore VoIP module
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
slot slot
Slot ID
Range: 1 255
Mode
ZXAN(epon-onu-mng)#
Example
The following example displays how to restore VoIP module:
ZXAN(config)#pon-onu-mng epon-onu_1/1/1:1
ZXAN(epon-onu-mng)#restore voip-module slot 1
Related Commands
None
19.4.42 rms
Syntax
rms {[(ip-addr ip-address mask ip-mask)] | [(ip-profile ipprofilename )]} ([pppoe username name
password password ] [ vlan-profile vlanprofilename ][ ( url url)]) (slot slotId)
19-99
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To set the remote ONU RMS parameter
Usage Guidelines
The following table describes the relevant parameters:
Parameter
Description
Value
ip-address
IP address
ip-mask
Mask
ipprofilename
Profile name
132
name
132
password
PPPoE password
132
vlanprofilename
132
url
1256
slotId
1255
Mode
ZXAN(epon-onu-mng)#
Example
The following example shows how to set the remote ONU RMS parameter:
ZXAN(epon-onu-mng)#rms ip-profile tj pppoe username tt password jj url yy slot 1
Related Commands
None
Purpose
To enable or disable telnet access
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
enable
Enable
19-100
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
disable
Disable
Mode
ZXAN(epon-onu-mng)#
Example
The following example displays how to enable or disable telnet access:
ZXAN(config)#pon-onu-mng epon-onu_1/1/1:1
ZXAN(epon-onu-mng)#security-mng telnet enable
Related Commands
None
19.4.44 serial-port ip
Syntax
serial-port ip { add | delete | clear} [ip mask vlan vlanid priority priority route subnet netmask
nexthop]
Purpose
To set the serial port IP
Usage Guidelines
The following table describes the relevant parameters:
Parameter
Description
Value
ip
Serial port IP
mask
vlanid
14093
priority
07
subnet
Subnet
netmask
Net mask
nexthop
Next hop
Mode
ZXAN(epon-onu-mng)#
19-101
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example shows how to set the serial port IP:
ZXAN(epon-onu-mng)#serial-port ip add 10.63.196.160
255.255.255.0 Priority 0 vlan 149 route-subnet
0.0.0.0 0.0.0.0 10.63.196.254
Related Commands
None
Purpose
To delete the serial port statistics
Usage Guidelines
None
Mode
ZXAN(epon-onu-mng)#
Example
The following example shows how to delete the serial port statistics:
ZXAN(epon-onu-mng)#serial-port statistic clear com_0/3
Related Commands
None
19.4.46 ssid-ctrl
Syntax
ssid-ctrl { enable | disable } [ hide { enable | disable } ] [ max-users max-users ] [ name name ] [
user-isolation { enable | disable } ] port-name ssid ssid [ priority priority ] [ pvid-used { enable
| disable } ] [ vlan vlan ]
Purpose
To configure SSID control ONU WIFI port
19-102
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
enable
Enable
disable
Disable
Enable/disable hide
max-users max-users
name name
SSID name
Range: 1 31characters
port-name
Port name
ssid ssid
SSID Index
Range: 1 8
priority priority
Priority
Range: 0 7
vlan vlan
VLAN ID
Range: 1 4094
Mode
ZXAN(epon-onu-mng)#
Example
The following example displays how to configure SSID control ONU WIFI port:
ZXAN(config)#pon-onu-mng epon-onu_1/1/1:1
ZXAN(epon-onu-mng)#ssid-ctrl enable wifi_0/1 ssid 1
Related Commands
None
19.4.47 svlan-base
Syntax
svlan-base bid
Purpose
To configure base VLAN for SVLAN on MDU
Usage Guidelines
The following table provides parameter description:
19-103
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
bid
Base VLAN ID
Range: 1 4000
Mode
ZXAN(epon-onu-mng)#
Example
The following example displays how to configure the base VLAN for SVLAN on MDU:
ZXAN(config)#pon-onu-mng epon-onu_1/1/1:1
ZXAN(epon-onu-mng)#svlan-base 1
Related Commands
None
Purpose
To configure the IPoE simulation test
Usage Guidelines
The following table describes the relevant parameters:
Parameter
Description
Value
username
User name
1128 characters
password
Password
116 characters
1128 characters
vlan id
User VLAN
14094
timeout
Timeout
5 s60 s
Mode
ZXAN(epon-onu-mng)#
Example
The following example shows how to configure the IPoE simulation test:
ZXAN(epon-onu-mng)#test ipoe eth_0/1 start username zte
19-104
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
19.4.49 transceiver
Syntax
transceiver {enable | disable}
transceiver alarm {enable | disable | thresholds [alarmtype word]}
Purpose
To configure EPON ONU optical module performance threshold test function
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Parameter
enable
disable
alarm
Alarm threshold
alarmtype
Alarm type
word
Alarm type
1 31 characters
19-105
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
ZXAN(epon-onu-mng)#
Example
The following example displays how to configure EPON ONU optical module performance
threshold test function:
ZXAN(config)#pon-onu-mng epon-onu_1/1/2:3
ZXAN(epon-onu-mng)# transceiver enable
Related Command
None
19.4.50 vlan
Syntax
vlan port eth_slot/port mode {transparent | tag vlan vlanid priority priority | translation defvlan vlanid def-prio priority vlan-list vlan-list}
Purpose
To configure EPON ONU Ethernet port VLAN attributes
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Parameter
eth_slot/port
Range: 1 31 characters
Aggregation mode
transparent
Transparent transmission
tag
translation
Hybrid mode
vlan vlanid
Specify VLAN ID
Range: 1 4094
def-vlan vlanid
Default VLAN ID
Range: 1 4094
def-priority priority
Default priority
Range: 0 7
vlan-list vlan-list
VLAN list
19-106
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
ZXAN(epon-onu-mng)#
Example
The following example displays how to configure Ethernet port VLAN attributes:
ZXAN(config)#pon-onu-mng epon-onu_1/1/2:3
ZXAN(epon-onu-mng)#vlan port eth_0/1 mode translation def-vlan 100
def-prio 7 vlan-list 1.0:100.7
Related Command
None
19.4.51 vlan-translate
Syntax
vlan-translate port cvlan cvlan new-cvlan new-cvlan [ broadcast ]
Purpose
To configure VLAN translation on MDU
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
port
Port name
cvlan cvlan
CVLAN ID
Range: 1 4094
new-cvlan new-cvlan
New CVLAN ID
Range: 1 4094
broadcast
Support broadcast
Mode
ZXAN(epon-onu-mng)#
Example
The following example displays how to configure VLAN translation on MDU:
ZXAN(config)#pon-onu-mng epon-onu_1/1/1:1
ZXAN(epon-onu-mng)#vlan-translate eth_0/1 cvlan 1 new-cvlan 100 broadcast
19-107
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Purpose
To configure the VoIP 112 test on POTS port
Usage Guidelines
None
Mode
ZXAN(epon-onu-mng)#
Example
The following example shows how to configure the VoIP 112 test on POTS port:
ZXAN(epon-onu-mng)#voip 112-test bidirectional-routing-test
start forcetest interface pots_1/2
Related Commands
None
19.4.53 voip-mng-ip
Syntax
voip-mng-ip [voipcard] associate {share | standalone} mode { dhcp | pppoe auth-mode {auto
| pap | chap} username password | satatic ipadd mask gateway [dnsip]}{untag | tag vid vlanid
priority priority}
Purpose
To configure VoIP subcard and user parameters
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Parameter
voipcard
Range: 0 255
19-108
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Parameter
IP or not
management IP.
Standard: VoIP IP is
independent of inband network
management IP.
IP mode
vid vlanid
VLAN ID
Range: 1 4094
priority priority
Priority
Range: 0 7
username
User name
Range: 1 32 characters
password
Password
Range: 1 32 characters
ipadd
Static IP address
mask
Mask
gateway
Gateway
dnsip
DNS IP
Mode
ZXAN(epon-onu-mng)#
Example
The following example displays how to configure VoIP subcard and user parameters:
ZXAN(config)#pon-onu-mng epon-onu_1/1/2:3
ZXAN(epon-onu-mng)# voip-mng-ip associate share mode dhcp untag
Related Command
None
Purpose
To configure VoIP call test
19-109
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
Action
callee
Called party
caller
Caller
dialnumber dialnumber
Telephone number
Range: 1 64 characters
timeout time
Time out
interface interface
Interface name
Range: 1 15 characters
Mode
ZXAN(epon-onu-mng)#
Example
The following example displays how to configure VoIP call test:
ZXAN(config)#pon-onu-mng epon-onu_1/1/1:1
ZXAN(epon-onu-mng)# voip call-test action start callee interface pots_0/1
Related Commands
None
Purpose
To configure VoIP CID mode
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
cid-type cid-type
CID type
dtmf, fsk
interface interface
Interface name
19-110
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
ZXAN(epon-onu-mng)#
Example
The following example displays how configure VoIP CID mode:
ZXAN(config)#pon-onu-mng epon-onu_1/1/1:1
ZXAN(epon-onu-mng)# voip cid-presenting enable cid-type fsk interface pots_4/1
Related Commands
None
Purpose
To configure media IP address
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ip-profile profilename
IP profile name
Range: 1 32 characters
vlan-profile vlan-profile
Range: 1 32 characters
Range: 1 32 characters
Slot ID
Range: 1 255
password
slot slot
Mode
ZXAN(epon-onu-mng)#
Example
The following example displays how to configure media IP address:
ZXAN(config)#pon-onu-mng epon-onu_1/1/1:1
ZXAN(epon-onu-mng)#voip media-ip ip-profile zte1 slot 1
19-111
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Purpose
To configure MG domain name
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
domainname
domain name
Range: 1 64 characters
slot slot
Slot ID
Range: 1 255
Mode
ZXAN(epon-onu-mng)#
Example
The following example displays how to configure MG domain name:
ZXAN(config)#pon-onu-mng epon-onu_1/1/1:1
ZXAN(epon-onu-mng)#voip mg-domainname server1 slot 1
Related Commands
None
Purpose
To configure the VoIP ping test
Usage Guidelines
The following table describes the relevant parameters:
19-112
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
slotno
Slot No.
1255
destip
Destination IP address
time
Ping times
110
size
165535
timeout
Ping timeout
12000
Mode
ZXAN(config-epon)#
Example
The following example shows how to configure the VoIP ping test:
ZXAN(config-epon)# voip ping-test slot 1 destip
1.1.1.1 start time 2 size 3 timeout 20
Related Commands
None
Purpose
To configure PPPoE username and password
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
Range: 1 32 characters
Slot ID
Range: 1 255
password
slot slot
Mode
ZXAN(epon-onu-mng)#
Example
The following example displays how to configure PPPoE username and password:
19-113
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Purpose
To configure VoIP IP address in static mode
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
slot slot
Slot ID
Range: 1 255
Mode
ZXAN(epon-onu-mng)#
Example
The following example displays how to configure VoIP IP address in static mode:
ZXAN(config)#pon-onu-mng epon-onu_1/1/1:1
ZXAN(epon-onu-mng)#voip ip-address 10.30.20.2 mask 255.255.255.0 slot 1
Related Commands
None
19.4.61 voip mg
Syntax
voip mg domain-name slot slot
Purpose
To configure VoIP MG domain name
19-114
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
domain-name
domain name
Range: 1 64 characters
slot slot
Slot ID
Range: 1 255
Mode
ZXAN(epon-onu-mng)#
Example
The following example displays how to configure VoIP MG domain name:
ZXAN(config)#pon-onu-mng epon-onu_1/1/1:1
ZXAN(epon-onu-mng)#voip mg tserver slot 1
Related Commands
None
Purpose
To configure VOIP RTP TID
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
prefix prefix
TID prfix
Range: 1 16 characters
begin-digit digit
Range: 0 65000
Enable/disable align
digit-length length
Range: 0 5
slot slot
Slot ID
Range: 1 255
Mode
ZXAN(epon-onu-mng)#
19-115
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to configure VOIP RTP TID:
ZXAN(config)#pon-onu-mng epon-onu_1/1/1:1
ZXAN(epon-onu-mng)#voip rtp-tid prefix 123 begin-digit 111 align enable
digit-length 11 slot 1
Related Commands
None
Purpose
To configure user TID group
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
groupid
Group ID
Range: 1 255
beginid begin-index
Starting index
Range: 1 255
tid-num num
TID number
Range: 1 255
begin-digit digit
Range: 0 65000
Enable/disable align
digit-length length
Range: 0 5
slot slot
Slot ID
Range: 1 255
Mode
ZXAN(epon-onu-mng)#
Example
The following example displays how to configure user TID group:
ZXAN(config)#pon-onu-mng epon-onu_1/1/1:1
ZXAN(epon-onu-mng)#voip user-tid 2 beginid 1 tid-num 22 prefix 123
begin-digit 111 align enable digit-length 3 slot 1
19-116
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Purpose
To configure SIP user
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
account account
Telephone number
Range: 1 16 characters
name name
Username
Range: 1 32 characters
password password
Password
Range: 1 16 characters
interface interface
Interface name
Range: 1 16 characters
Mode
ZXAN(epon-onu-mng)#
Example
The following example displays how to configure SIP user:
ZXAN(config)#pon-onu-mng epon-onu_1/1/1:1
ZXAN(epon-onu-mng)#voip sip-user account 64544342 name asd password asd
interface pots_1/1
Related Commands
None
Purpose
To configure VoIP timer
19-117
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
dml dml
Value
Range: 1 60, unit: s
Default: 5 s
dms dms
slot slot
Slot ID
Range: 1 255
Mode
ZXAN(epon-onu-mng)#
Example
The following example displays how to configure VoIP timer:
ZXAN(config)#pon-onu-mng epon-onu_1/1/1:1
ZXAN(epon-onu-mng)#voip timer dml 10 dms 5 slot 1
Related Commands
None
Purpose
To apply fax profile on the ONU
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
fax-profile-name
Mode
ZXAN(epon-onu-mng)#
Example
The following example displays how to apply the fax profile on the ONU:
19-118
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Purpose
To apply VoIP-IP profile and VoIP-VLAN profile on the ONU
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ip voice-ip profile-name
Mode
ZXAN(epon-onu-mng)#
Example
The following example displays how to apply VoIP-IP profile on the ONU:
ZXAN(config)#pon-onu-mng epon-onu_1/1/1:1
ZXAN(epon-onu-mng)#voip-module global-profile apply ip 111
Related Commands
None
Purpose
To apply VoIP protocol profile name on the ONU
19-119
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
protocol-profile-name
Mode
ZXAN(epon-onu-mng)#
Example
The following example displays how to apply VoIP protocol profile name on the ONU:
ZXAN(config)#pon-onu-mng epon-onu_1/1/1:1
ZXAN(epon-onu-mng)#voip-module protocol-profile apply sip 111
Related Commands
None
19.4.69 wan
Syntax
wan wan-id general-profile profilename
no wan wan-id
Purpose
To bind or unbind the virtual port of the specified WAN connection with the general profile
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
wan-id
WAN connection ID
18
profilename
1 32
Mode
ZXAN(epon-onu-mng)#
Example
The following example displays how to bind the virtual port of the specified WAN connection
with the general profile:
ZXAN(epon-onu-mng)#wan 3 general-profile test
19-120
SJ-20120615152640-010|2012-06-30 (R1.0)
19.4.70 wep
Syntax
wep ssid-auth-mode { open-system | shared-key } { enable | disable } [ level {40 | 104} ] [
default-key-id default-key-id ] [ key1 key1 key2 key2 key3 key3 key4 key4 ] port ssid ssid
Purpose
To configure WIFI WEP function
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
open-system
Open system
shared-key
Shared key
level
40 | 104
key key
Key
Range: 1 28 characters
port
Port name
Range: 1 15 characters
ssid ssid
SSID index
Range: 1 8
Mode
ZXAN(epon-onu-mng)#
Example
The following example displays how to configure WIFI WEP:
ZXAN(config)#pon-onu-mng epon-onu_1/1/1:1
ZXAN(epon-onu-mng)#wep ssid-auth-mode open-system enable wifi_1/2 ssid 1
Related Commands
None
19.4.71 wifi
Syntax
wifi { enable | disable } [ radio-measurement { enable | disable } ] [ ssid-isolated { enable |
disable } ] [ wireless-working-mode mode ] [ cur-reg-domain cur-reg-domain ] port
19-121
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure port WIFI parameters
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
enable | disable
radio-measurement { enable |
disable }
measurement
wireless-working-mode mode
802.11b, 802.11b-11g-11n,
802.11g, 802.11n, hybrid
cur-reg-domain cur-reg-domain
port
Port name
Mode
ZXAN(epon-onu-mng)#
Example
The following example displays how to configure port WIFI parameters:
ZXAN(config)#pon-onu-mng epon-onu_1/1/1:1
ZXAN(epon-onu-mng)#wifi enable eth_0/1
Related Commands
None
Purpose
To show the specified WiFi port properties of the ONU
Usage Guidelines
The following table provides parameter description:
19-122
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
profilename
1 32
Mode
Any mode except the ZXAN# mode
Example
The following example displays the specified WiFi port properties of the ONU:
ZXAN(config)#show remote epon wan-general-profile test
Purpose
To show the remote EPON ping test result
Usage Guidelines
The following table describes the relevant parameters:
Parameter
Description
Value
slotno
Slot No.
1255
Mode
All modes except user mode
Example
The following example shows the remote EPON ping test result:
ZXAN#show remote epon ping-test epon-onu_1/2/1:1 slot 1
Ping Result:
OK
Ping Tx Packets:
Ping Rx Packets:
Ping LostPktRation
Min Delay:
Max Delay:
Avg Delay:
19-123
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Purpose
To show the ONU information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
epon-onu_shelf/slot/oltId:onuId
Mode
Any mode except the ZXAN# mode
Example
The following example displays the ONU information:
ZXAN(config)#show remote onu info epon-onu_1/1/1:1
epon-onu_1/1/1:1
Onu vendorId
Onu type
ZTE-F822.
OnuModel
OnuId
0000.0000.0000.
Hardware version
Software version
.
.
Firmware version
Chip vendorId
N/A.
Chip revison
Number of Ge port
0 .
GePort
Number of Fe port
0 .
FePort
0.
Number of E1 port
0.
Number of US Queues
0.
ChipModel
0x0000.
ChipDesignDate 00/00/00.
0.
no.
19-124
SJ-20120615152640-010|2012-06-30 (R1.0)
Multicast protocol
igmpsnooping.
FecMode
disable.
FecAbility
Alarm
enable.
Mac aging-time
300.
IPV6
N/A.
N/A.
Purpose
To show EPON ONU remotely managed Ethernet port information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
epon-onu_shelf/slot/oltId:onuId
Range: 0 31 characters
Mode
Any mode except user mode
Example
The following example displays how to show EPON ONU remotely managed Ethernet port
information:
ZXAN(epon-onu-mng)#show remote onu port info epon-onu_1/1/2:11
Ethport:
Eth_0/1,
Phystate:
enable
N/A,
Flowctrl:
enable
Linkstate:
Policing: Direction
Status
CIR(kbps)
CBS(Bytes)
EBS(Bytes)
----------------------------------------------------------------upstream
Ethport:
disable
downstream disable
Eth_0/2,
Phystate:
enable
19-125
SJ-20120615152640-010|2012-06-30 (R1.0)
down,
Policing: Direction
Status
Flowctrl:
CIR(kbps)
enable
CBS(Bytes)
EBS(Bytes)
------------------------------------------------------------------upstream
disable
downstream disable
Ethport:
Eth_0/3,
Phystate:
enable
down,
Flowctrl:
enable
Linkstate:
Related Command
None
Purpose
To show EPON ONU remotely managed Ethernet port auto-negotiation information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
epon-onu_shelf/slot/oltId:onuId
Range: 0 31 characters
Mode
Any mode except user mode
Example
The following example displays how to show EPON ONU remotely managed Ethernet port
auto-negotiation information:
ZXAN(epon-onu-mng)#show remote onu port auto-neg epon-onu_1/1/2:11
EthPort AdminState TechnologyAbility
AdvertisedTechnologyAbility
-------------------------------------------------------------------Eth_0/1
enable
BASE_TX, 100BASE_TXFD
19-126
SJ-20120615152640-010|2012-06-30 (R1.0)
enable
Eth_0/3
enable
BASE_TX, 100BASE_TXFD
Eth_0/4
enable
BASE_TX, 100BASE_TXFD
BASE_TX, 100BASE_TXFD
Related Command
None
Purpose
o show EPON ONU remotely managed VLAN configuration information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
epon-onu_shelf/slot/oltId:onuId
Range: 0 31 characters
Mode
Any mode except user mode
Example
The following example displays how to show EPON ONU remotely managed VLAN
configuration information:
ZXAN(epon-onu-mng)#show remote onu vlan epon-onu_1/1/2:11
Ethport
Mode
Vlan
Priority
Translation
(OldVlanTag:NewVlanTag)
-------------------------------------------------------------Eth_0/1
transparent N/A
N/A
N/A
Eth_0/2
transparent N/A
N/A
N/A
19-127
SJ-20120615152640-010|2012-06-30 (R1.0)
tag
4092
N/A
Eth_0/4
tag
4092
N/A
Related Command
None
Purpose
To show EPON ONU remotely managed multicast configuration information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
epon-onu_shelf/slot/oltId:onuId
Range: 0 31 characters
Mode
Any mode except user mode
Example
The following example displays how to show EPON ONU remotely managed multicast
configuration information:
ZXAN(epon-onu-mng)#show remote onu multicast-info epon-onu_1/1/2:11
EthPort
TagStripped
MaxGroupNum VlanList
------------------------------------------------------------------Eth_0/1
not-stripped 250
Eth_0/2
not-stripped 255
Eth_0/3
not-stripped 255
Eth_0/4
not-stripped 255
ZXAN(epon-onu-mng)#
19-128
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Command
None
Purpose
To show EPON ONU remotely managed Ethernet port classification information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
epon-onu_shelf/slot/oltId:onuId
Range: 0 31 characters
eth_slot/portID
Range: 0 31 characters
Mode
Any mode except user mode
Example
The following example displays how to show EPON ONU remotely managed Ethernet port
classification information:
ZXAN#show remote onu classification epon-onu_1/1/2:11 eth_0/1
RulePrecedence
RuleName
ConditionNameList
zte
zte
Related Command
None
19-129
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To show EPON ONU remotely managed Ethernet port classification profile information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
epon-onu_shelf/slot/oltId:onuId
Range: 0 31 characters
Mode
Any mode except user mode
Example
The following example displays how to show EPON ONU remotely managed Ethernet port
classification profile information:
ZXAN#show remote onu classification profile epon-onu_1/1/2:3
---rule profile--index name
queuemap
priority
aaa
bbb
---condition profile--index
name
filed
matchValue
operator
c1
vid
111
never-match
c2
priority
always-match
Related Command
None
19-130
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To show EPON ONU remotely managed DBA queue threshold configuration information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
epon-onu_shelf/slot/oltId:onuId
Range: 0 31 characters
Mode
Any mode except user mode
Example
The following example displays how to show EPON ONU remotely managed DBA queue
threshold configuration information:
ZXAN#show remote onu dba epon-onu_1/1/2:3
Active queueSet 1.
SetId Threshold
Queue1
65,535
65,535
65,535
Related Command
None
19-131
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To show EPON ONU remotely managed MAC address configuration information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
epon-onu_shelf/slot/oltId:onuId
Range: 0 31 characters
eth_slot/portID
Range: 0 31 characters
Mode
Any mode except user mode
Example
The following example displays how to show EPON ONU remotely managed MAC address
configuration information:
ZXAN#show remote onu mac epon-onu_1/1/2:3 eth_0/1
epon-onu_1/1/2:3;
MAC_Address info
Port Name:eth_0/1;
Limit num: no-limit;
Filter mac-address info
vlan
2
mac
9877.9878.4566
mac
9877.9899.0988
mac
4557.3241.3423
Related Command
None
19-132
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To show EPON ONU remotely managed IP address configuration information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
epon-onu_shelf/slot/oltId:onuId
Range: 0 31 characters
Mode
Any mode except user mode
Example
The following example displays how to show EPON ONU remotely managed IP address
configuration information:
ZXAN# show remote onu mgmt-ip epon-onu_1/1/2:3
Status
enable;
IP Address
172.168.1.122;
Mask
255.255.0.0;
Priority
3;
Mgmt-IP
172.168.1.10;
vlan
300;
Mgmt-Mask
255.255.0.0;
Mgmt-Gateway
172.168.1.250.
Related Command
None
Purpose
To show EPON ONU fast-leave function configuration information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
epon-onu_shelf/slot/oltId:onuId
Range: 0 31 characters
Mode
Any mode except user mode
Example
The following example displays how to show EPON ONU fast-leave configuration
information:
ZXAN(config)#show remote onu fastleave epon-onu_1/1/2:3
ONU interface:
epon-onu_1/1/2:3
enable
snooping: fast-leave
snooping: not- fast-leave
multicast: fast-leave
multicast: not-fast-leave
Related Command
None
Purpose
To show EPON ONU auto-dispatch configuration information
Usage Guidelines
The following table provides parameter description:
19-134
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
epon-olt_shelf/slot/olt
Range: 0 31 characters
Range: 0 31 characters
Mode
Any mode except user mode
Example
The following example displays how to show EPON ONU auto dispatch configuration
information:
ZXAN(config)#show remote onu auto-config epon-onu_1/1/2:3
Auto-dispatch state
-----------------------------------------------disable
Related Command
None
Purpose
To show EPON ONU transceiver configuration and alarm information
Usage Guidelines
The following table provides parameter description:
19-135
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
epon-olt_shelf/slot/olt
Range: 10 31 characters
Alarm threshold
Mode
Any mode except user mode
Example
The following example displays how to show EPON ONU transceiver configuration and
alarm information information:
ZXAN(config)# show remote onu transceiver alarm epon-onu_1/1/2:3
Related Command
None
Purpose
To show EPON ONU VLAN translate configuration
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
epon-onu_shelf/slot/oltId:onuId
Range: 0 31 characters
Range: 0 31 characters
Mode
Any mode except user mode
19-136
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to show EPON ONU VLAN translate configuration:
ZXAN(config)# show remote onu vlan-translate epon-onu_1/1/2:3 port eth_0/1
Related Command
None
Purpose
To show EPON ONU VoIP configuration information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
epon-onu_shelf/slot/oltId:onuId
Range: 0 31 characters
Range: 0 255
Mode
Any mode except user mode
Example
The following example displays how to show EPON ONU VLAN translate configuration:
ZXAN(config)# show remote onu voip-mng-ip epon-onu_1/1/2:3 2
Related Command
None
19-137
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To show EPON ONU port start MDU_SVLAN
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
epon-onu_shelf/slot/oltId:onuId
Range: 0 31 characters
Mode
Any mode except user mode
Example
The following example displays how to show EPON ONU port start MDU_SVLAN.
ZXAN(config)#show remote onu svlan-base epon-onu_1/1/2:3
MDU svlan base : 4000
Related Command
None
Purpose
To display the PPPoE test result on Ethernet port
Usage Guidelines
The following table provides parameter description:
19-138
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
epon-onu_shelf/slot/oltIf:onuId
eth_slot/port
Ethernet port
Range: 1 31 characters
Mode
Any mode except ZXAN>
Example
The following example displays display the PPPoE test result on the Ethernet port:
ZXAN(epon-onu-mng)#show remote onu pppoe-test epon-onu_0/3/1:1 eth_0/1
pppoe-test result:
TestStatus :
N/A
TestFailReason :N/A
Related Commands
None
19-139
SJ-20120615152640-010|2012-06-30 (R1.0)
19-140
SJ-20120615152640-010|2012-06-30 (R1.0)
Chapter 20
GPON Commands
Table of Contents
GPON Global Commands ........................................................................................20-1
GPON OLT Commands..........................................................................................20-54
GPON ONU Basic Management Commands..........................................................20-77
GPON ONU Remote Management Commands .................................................... 20-110
Purpose
To configure the fixed T-CONT bandwidth function
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
disable
enable
bandwidth
Fixed bandwidth
Mode
ZXAN(config-gpon)#
Example
The following example displays how to enable the fixed T-CONT bandwidth function:
ZXAN(config-gpon)#fixed-tcont-bw enable fixed 1000
Related Commands
None
20-1
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To create/delete a GPON T-CONT profile
Usage Guidelines
The following table describes the relevant parameters:
Parameter
Description
Value
profile-name
1 - 64 characters
type value1
1-5
assured value3
64 - 2488320 Kbps
64 - 2488320 Kbps
Mode
ZXAN(config-gpon)#
Example
The following example shows how to create a GPON T-CONT profile:
ZXAN(config)#gpon
ZXAN(config-gpon)#profile T1-100M type 1 fix 100000
ZXAN(config-gpon)#profile T2-100M type 2 assured 100000
ZXAN(config-gpon)#profile T3-10M100M type 3 assured 10000 maximum 100000
ZXAN(config-gpon)#profile T4-100M type 4 maximum 100000
ZXAN(config-gpon)#profile T5-10M100M1000M type 5 fix 10000 assured 100000 max 1000000
ZXAN(config-gpon)#
Related Commands
None
Related Information
Different T-CONT profile configurations have the following detailed requirements:
20-2
SJ-20120615152640-010|2012-06-30 (R1.0)
TCONT Profile
Fixed Bandwidth
Type
Assured
Maxim
Bandwidth
Bandwidth
Remarks
Assured maxim
bandwidth
Fixed + Assured
maxim bandwidth
Purpose
To create a GPON traffic profile
To delete this profile, use the no command.
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
profile-name
1 64
sir information-rate
pir information-rate
Mode
GPONZXAN(config)#ZXAN(config-gpon)#
Example
The following example displays how to create a GPON traffic profile:
ZXAN(config-gpon)#profile traffic traffic1 sir 10000 pir 20000
20-3
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure the dial-plan
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
name
1 64 characters
id
Dial-plan ID
Range: 1 255
token
Dial-plan token
1 28 characters
Mode
ZXAN(config-gpon)#
Example
The following example displays how to configure the dial-plan:
ZXAN(config-gpon)#onu profile dial-plan test 1 token X*.X.#|#X.*.X.##
ZXAN(config-gpon)#onu profile dial-plan test 2 token #X.*.X.T|#X.*.X.#T
Related Commands
show gpon onu profile dial-plan
Purpose
To configure the dial-plan table
20-4
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
name
1 64 characters
size size
Fixed bandwidth
Range: 1 255
Default: 16
critical-timeout timer
Short timer
partical-timeout timer
Long timer
format format
h248
not-defined
nsc
vendor-specific
Default: h.248
Mode
ZXAN(config-gpon)#
Example
The following example displays how to configure the dial-plan table:
ZXAN(config-gpon)#onu profile dial-plan-table test format not-defined
Related Commands
show gpon onu profile dial-plan-table
Purpose
To configure the DSCP to 802.1p mapping profile
Usage Guidelines
The following table provides parameter description:
20-5
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
mapping
1 255 characters
X(-X):X[,....,X(-X):X])
Mode
ZXAN(config-gpon)#
Example
The following example displays how to configure the DSCP to 802.1p mapping profile:
ZXAN(config-gpon)#onu profile dscp abc dscp2pbit 0-7:0,8-15:1,16-23:2,24-31:3,
32-39:4,40-47:5,48-55:6,56-63:7
Related Commands
show gpon onu profile dscp
Purpose
To configure an IP profile
Usage Guidelines
The following table describes the relevant parameters:
Parameter
Description
Value
profile name
Profile name
164 characters
ip-gateway
Gateway IP
primary-dns
Primary DNS IP
second-dns
Second DNS IP
Mode
ZXAN(config-gpon)#
Example
The following example shows how to configure an IP profile:
ZXAN(config-gpon)#onu profile ip adsf static gateway 10.1.1.10
20-6
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Purpose
To configure a VLAN profile
Usage Guidelines
The following table describes the relevant parameters:
Parameter
Description
Value
profile name
VLAN name
164 characters
priority
Priority
07
Mode
ZXAN(config-gpon)#
Example
The following example shows how to configure a VLAN profile:
ZXAN(config-gpon)#onu profile vlan 12 tag-mode tag cvlan 23
Related Commands
None
Purpose
To configure extended VLAN filter rule for ONU
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
zero-tag
Untagged frame
single-tag
Single-tag frame
double-tag
Double-tag frame
rule-name
Rule name
Range: 1 63 characters
ARP
ARP frame
DHCP
DHCP frame
ICMP
ICMP frame
ICMPv6
ICMPv6 frame
IGMP
IGMP frame
IPoE
IPoE frame
IPoEv6
IPoEv6 frame
PPPoE
PPPoE frame
SIP
SIP frame
TCP
TCP frame
UDP
UDP frame
any
dstipv4 dstipv4
dstipv6 dstipv6
Range: 1 65535
dstmac dstmac
srcipv4 srcipv4
srcipv6 srcipv6
Range: 1 65535
srcmac srcmac
flow-label flow-label
Flow lable
Range: 0-1048575
mac-control
20-8
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
inner-priority priority
Range: 0 7
inner-vid vid
Inner VID
Range: 0 4094
double-tag frame
l
mode0: no filter
outer-priority priority
Range: 0 7
outer-vid vid
Outer VID
Range: 0 4094
Mode
ZXAN(config-gpon)#
Example
The following example displays how to configure the VLAN filter rule:
ZXAN(config-gpon)#onu profile filter-rule single-tag single-tag-vid100 inner-vid 100
ZXAN(config-gpon)#
Related Commands
show gpon onu profile filter-rule
20-9
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure the IGMP profile
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
name
Profile name
1 64 characters
last-query-interval interval
proxy-ip ipaddr
Proxy IP address
query-interval interval
Query interval
A.B.C.D
Range: 30 300, unit: 0.1 s
Default: 125
query-max-resp time
dynamic pckname
static pkgname
robustness { robustness |
Robustness
Range: 2 5, copy-from-query
copy-from-query }
version ver
Default: copy-from-query
IGMP version
v1
v2
v3
Default: v2
work-mode mode
flood
proxy
snooping
spr
Default: snooping
20-10
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
ZXAN(config-gpon)#
Example
The following example displays how to configure the IGMP profile:
ZXAN(config-gpon)#onu profile igmp test down-tag strip iptv-package static stv
Related Commands
show gpon onu profile igmp
Purpose
To configure the Media Gateway Control (MGC) profile
Usage Guidelines
The following table provides parameter description:
20-11
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
profile name
Profile name
1 64 characters
long-timer long-timer
short-timer short-timer
start-timer start-timer
heart-beat heart-beat
Heart-beat
disable
service-change
notify
Heart-beat interval
0 65535
max-retry-time max-retry-time
0 65535, unit: s
min-avalanche-timer
0 500000, unit: ms
min-rereg-timer min-rereg-timer
0 500000, unit: ms
msg-format msg-format
Message format
binary
text-long
text-short
heart-beat-interval
heart-beat-interval
max-retry-attempts
max-retry-attempts
min-avalanche-timer
Enable or disable
port port
Port number
1 65535
passive-heart-beat
Passive heart-beat
Enable or disable
regmsg-retran-timer
Registration message
regmsg-retran-timer
re-transmission timer
server1 server1
IP or URI
server2 server2
IP or URI
service-change-delay
Service delay
0 65535, unit: s
ss ss
SS vendor
1 4 characters
version version
1 255
num-match-shortest
num-match-shortest
passive-heart-beat
service-change-delay
Mode
ZXAN(config-gpon)#
20-12
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to configure MGC profile:
ZXAN(config-gpon)#onu profile mgc test server1 1.2.3.1
ZXAN(config-gpon)#onu profile mgc test server2 1.2.3.2
ZXAN(config-gpon)#onu profile mgc test user-tid prefix aaln postfix-len 5
postfix-start 1
ZXAN(config-gpon)#onu profile mgc test rtp-tid prefix rtp postfix-len 5
postfix-start 1
Related Commands
show gpon onu profile mgc
Purpose
To configure the CES performance monitoring threshold profile for ONU
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
profile-name
Profile name
Range: 1 64 characters
down-missing value1
Range: 1 4294967295
threshold
down-reordered value2
Range: 1 4294967295
threshold
down-misordered value3
Downstream mis-oredered
Range: 1 4294967295
packets threshold
down-buffer-underrun-overrun
Downstream buffer
value4
overrun/underrun packets
Range: 1 4294967295
threshold
down-malformed value5
Range: 1 4294967295
threshold
20-13
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
down-stray value6
Range: 1 4294967295
threshold
down-remote-loss value7
Range: 1 4294967295
packets threshold
down-es value8
Downstream ES threshold
Range: 1 4294967295
down-ses value9
Range: 1 4294967295
down-uas value10
Range: 1 4294967295
Mode
ZXAN(config-gpon)#
Example
The following example displays how to configure the CES performance monitoring
threshold profile:
ZXAN(config)#gpon
ZXAN(config-gpon)#onu profile performance-threshold cesuni ces-alarm
down-misordered 100
ZXAN(config-gpon)#
Related Commands
show gpon onu profile performance-threshold
Purpose
To configure the dot1x performance-threshold profile
Usage Guidelines
The following table provides parameter description:
20-14
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
name
Profile name
1 64 characters
rx-invalid-eapol num
Range: 1 4294967295
Range: 1 4294967295
Mode
ZXAN(config-gpon)#
Example
The following example displays how to configure the dot1x performance-threshold profile:
ZXAN(config-gpon)#onu profile performance-threshold dot1x abc rx-invalid-eapol
100 rx-len-err-eap 100
Related Commands
show gpon onu profile performance-threshold dot1x
Purpose
To configure the Ethernet UNI performance monitoring threshold profile for ONU
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
profile-name
Profile name
1 64 characters
fcs-err value1
Range: 1 4294967295
excessive-collision value2
Range: 1 4294967295
20-15
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
late-collision value3
Range: 1 4294967295
too-long value4
Range: 1 4294967295
rx-buf-overflow value5
Range: 1 4294967295
tx-buf-overflow value6
Range: 1 4294967295
single-collision value7
Single-collision threshold
Range: 1 4294967295
multi-collisions value8
Range: 1 4294967295
sqe value9
Range: 1 4294967295
deferred-tx value10
Range: 1 4294967295
threshold
internal-mac-tx-err value11
Range: 1 4294967295
threshold
internal-mac-rx-err valueRange:
12
threshold
carrier-sense-err value13
Range: 1 4294967295
Range: 1 4294967295
threshold
alignment-err value14
Range: 1 4294967295
pppoe-filtered value15
Range: 1 42949672955
drop-events value16
Range: 1 4294967295
undersize value17
Range: 1 4294967295
fragments value18
Fragments threshold
Range: 1 4294967295
jabbers value19
Jabbers threshold
Range: 1 4294967295
Mode
ZXAN(config-gpon)#
Example
The following example displays how to the configure the performance monitoring threshold
profile:
ZXAN(config)#gpon
ZXAN(config-gpon)#onu profile performance-threshold ethuni eth-alarm fcs-err 100
ZXAN(config-gpon)#
Related Commands
show gpon onu profile performance-threshold
20-16
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure the GEM port performance monitoring threshold profile for ONU
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
profile-name
Profile name
1 64 characters
lost-packets value1
Range: 1 4294967295
misinserted-packets value2
Range: 1 4294967295
impaired-blocks value3
Impaired-blocks threshold
Range: 1 4294967295
Mode
ZXAN(config-gpon)#
Example
The following example displays how to configure the performance monitoring threshold
profile:
ZXAN(config)#gpon
ZXAN(config-gpon)#onu profile performance-threshold gem gem-alarm lostpackets 100
ZXAN(config-gpon)#
Related Commands
show gpon onu profile performance-threshold
Purpose
To configure the RADIUS performance-threshold profile
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
name
Profile name
1 64 characters
rx-invalid-eapol num
Range: 1 4294967295
request
rx-len-err-eap num
Range: 1 4294967295
invalid packets
Mode
ZXAN(config-gpon)#
Example
The following example displays how to configure the RADIUS performance-threshold
profile:
ZXAN(config-gpon)#onu profile performance-threshold radius abc retx-access-req
10 rx-invalid-radius 10
Related Commands
show gpon onu profile performance-threshold radius
Purpose
To configure the switchport performance-threshold profile
Usage Guidelines
The following table provides parameter description:
20-18
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
name
Profile name
1 64 characters
delay-exceeded-discard num
Range: 1 4294967295
Range: 1 4294967295
Range: 1 4294967295
discarded frames
Mode
ZXAN(config-gpon)#
Example
The following example displays how to configure the switchport performance-threshold
profile:
ZXAN(config-gpon)#onu profile performance-threshold switchport abc delay-exceed
ed-discard 1000 100 mtu-exceeded-discard 100 received-and-discarded 1000
Related Commands
show gpon onu profile performance-threshold switchport
Purpose
To configure the VLAN Ethernet performance-threshold profile
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
name
Profile name
1 64 characters
Range: 1 4294967295
discard-delay-exceeded num
20-19
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
discard-lack-of-buffer num
Range: 1 4294967295
Range: 1 4294967295
Range: 1 4294967295
Mode
ZXAN(config-gpon)#
Example
The following example displays
performance-threshold profile:
how
to
configure
the
VLAN
Ethernet
ZXAN(config-gpon)#onu profile performance-threshold vlan ethuni abc discarddelay-exceeded 100 discard-lack-of-buffer 100 discard-on-error 100 discardon-ingress-filtering 100
Related Commands
show gpon onu profile performance-threshold vlan
Purpose
To configure the SIP profile
Usage Guidelines
The following table provides parameter description:
20-20
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
profile name
1 64 characters
proxy
1 128 characters
outbound
1 128 characters
registrar
1 128 characters
dsn1
dsn2
reg-exp-time
0 4294967295, unit: s
rereg-time
Re-registration time
0 4294967295, unit: s
release-time
Release timer
0 255, unit: s
ss
SS vendor
1 4 characters
dial-plan
1 64 characters
roh-time
ROH timer
0 255, unit: s
1 64 characters
1 64 characters
Mode
ZXAN(config-gpon)#
Example
The following example displays how to configure the SIP profile:
ZXAN(config-gpon)#onu profile sip sip-service proxy 2.1.1.1
ZXAN(config-gpon)#onu profile sip sip-service appsrv pro1 accesscode pro1
Related Commands
show gpon onu profile sip
20-21
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure TDM profile for the ONU
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
profile-name
Profile name
1 64 characters
jtrbfr-max depth
Range: 0 65535
jtrbfr-desire depth
Range: 0 65535
Default: enable
ssrc payload-ssrc
Payload SSRC
Range: 0 42949672955
signalling-ssrc
Signalling SSRC
Range: 0 42949672955
Payload type
Range: 96 127
signalling-type
Signaling type
Range: 0, 96 127
clk-ref clk-ref
Clock reference
timestamp-mode {absolute |
expected-ptype payload-type
payload-type: 0 255
signalling-type
signaling type
signalling-type : 0 255
expected-ssrc payload-ssrc
payload-ssrc: 0 42949672955
signalling-ssrc
signaling SSRC
signalling-ssrc: 0
differential | unknown}
42949672955
Mode
ZXAN(config-gpon)#
Example
The following example displays how to configure the TDM profile:
ZXAN(config-gpon)#onu profile tdm test rtp disable
ZXAN(config-gpon)#
Related Commands
None
20-22
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure the extended VLAN process profile for ONU
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
treat-name
Profile name
Range: 1 64 characters
remove-tag tagnum
Range: 0 - 2
Default: 0
| mode6 | mode7}
outer tag
TPID, copy DE bit from
inner tag
l
mode5: reserved
20-23
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
inner-priority {copy-inner |
Range: 0 7
copy-outer | derive-from-dscp|
mode
insert priority}
derive-from-dscp: derive
from DSCP
inner-vid {copy-inner |
Range: 1 4094
| mode6 | mode7}
mode5: reserved
20-24
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
outer-priority {copy-inner |
Range: 0 7
copy-outer | derive-from-dscp |
mode
insert priority}
derive-from-dscp: derive
from DSCP
outer-vid {copy-inner |
Range: 1 4094
Mode
ZXAN(config-gpon)#
Example
The following example displays how to configure the extended VLAN process profile:
ZXAN(config-gpon)#onu profile treat add-outer-vid200 outer-vid insert 200
ZXAN(config-gpon)#
Related Commands
show gpon onu profile treat
Related Information
If none of inner-tpid, inner-priority, and inner-vid is specified, the inner tag is not added to
packets.
If none of outer-tpid, outer-priority, and outer-vid is specified, the outer tag is not added to
packets.
20-25
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure VoIP service access code profile
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
profile name
Profile name
1 64 characters
cancel-call-waiting
1 5 characters
call-hold call-hold
Call hold
1 5 characters
call-park call-park
Call park
1 5 characters
cid-activate cid-activate
CID enable
1 5 characters
cid-deactivate cid-deactivate
CID disable
1 5 characters
no-disturb-activation
No-disturb enable
1 5 characters
No-disturb disable
1 5 characters
1 5 characters
Emergency service
1 5 characters
intercom-service intercom-service
Inter-communication service
1 5 characters
unattended-blind-call-transfer
1 5 characters
1 5 characters
cancel-call-waiting
no-disturb-activation
no-disturb-deactivation
no-disturb-deactivation
no-disturb-pin-change
no-disturb-pin-change
emergency-srv-num
emergency-srv-num
unattended-blind-call-transfer
attended-call-transfer
attended-call-transfer
20-26
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
ZXAN(config-gpon)#
Example
The following example displays how to configure VoIP service access code profile:
ZXAN(config-gpon)#onu profile voip-accesscode pro1 cancel-call-waiting 12365
attended-call-transfer 12345
Related Commands
show gpon onu profile voip-accesscode
Purpose
To configure VoIP service application profile
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
profile name
Profile name
1 64 characters
calling-num
Caller number
Enable or disable
calling-name
Caller name
Enable or disable
20-27
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
cid-blocking
CID block
Enable or disable
cid-num-permanent-status
Enable or disable
cid-name-permanent-status
Enable or disable
anonymous-cid-blocking
Enable or disable
call-waiting
Call waiting
Enable or disable
cid-announcement
CID announcement
Enable or disable
3way
3-way call
Enable or disable
call-transfer
Call transfer
Enable or disable
call-hold
Call hold
Enable or disable
call-park
Call park
Enable or disable
no-disturb
No disturb
Enable or disable
emergency-call-flash
Enable or disable
emergency-originate-hold
Enable or disable
6way
Conference call
Enable or disable
message-waiting-splash-ring
Enable or disable
message-wating-special-dialtone
Enable or disable
message
message-waiting-visual-ind
Enable or disable
message
call-forwarding-ind
Enable or disable
waiting message
direct-connect-feature
Direct connection
Enable or disable
dialtone-delay
Dial-tone delay
Enable or disable
direct-connect-uri
1 128 characters
validate
Validate
username username
User name
1 25 characters
password password
Password
1 25 characters
md5
MD5 value
realm realm
Realm
1 25 characters
conference-factory-uri
1 128 characters
direct-connect-uri
conference-factory-uri
Mode
ZXAN(config-gpon)#
20-28
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to configure the VoIP service application profile:
ZXAN(config-gpon)#onu profile voip-appsrv pro1 emergency-call-flash enable
conference-factory-uri 10.20.30.2 validate basic username zte password zte
Related Commands
show gpon onu profile voip-appsrv
Purpose
To configure the VoIP IP profile, which is only valid for static IP mode
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
profile name
Profile name
1 64 characters
gateway ip-address
Gateway
primary-dns address
Primary DNS
second-dns address
Secondary DNS
Mode
ZXAN(config-gpon)#
Example
The following example displays how to configure the VoIP IP profile:
ZXAN(config-gpon)#onu profile voip-ip pro1 static gateway 10.32.62.52 primarydns 10.32.25.14
Related Commands
show gpon onu profile voip-ip
20-29
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure the VoIP media profile
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
name
Profile name
1 64 characters
codec format
Codec format
cn
dvi4-rate11khz
dvi4-rate16khz
dvi4-rate22khz
dvi4-rate8khz
g722
g723
g728
g729
gsm
l16-1channel
l16-2channel
lpc
mpa
pcma
pcmu
qcelp
Default: pcmu
20-30
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
pkt-period period
Packet period
silence-suppress { on | off }
Silence suppression
Default: off
Fax mode
Default: passthru
Default: enable
min-port port
Minximum port
Range: 0 65535
max-port port
Maximum port
Range: 0 65535
dscp-mark dscp
DSCP priority
Range: 0 63
Piggyback event
Default: disable
Tone event
Default: disable
DTMF event
Default: disable
CAS event
Default: disable
announce-type type
Announce type
fast-busy
na
reorder-tone
silence
voice-announce
Default: na
echo-cancel { on | off }
Echo-cannel
Default: on
country-code code
Country code
Range: 0 65535
Default: 0
Range: 0 7, no change
Default: no change
Range: 0 7, no change
Default: no change
Adaptive jitter
Fixed jitter
Mode
ZXAN(config-gpon)#
Example
The following example displays how to configure the VoIP media profile:
ZXAN(config-gpon)#onu profile voip-media test rtp event piggyback enable tone
enable dtmf enable cas enable
20-31
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
show gpon onu profile voip-media
Purpose
To configure the VoIP VLAN profile
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
profile name
Profile name
1 64 characters
svlan svlan
SVLAN ID
1 4094
cvlan cvlan
CVLAN ID
1 4094
priority priority
Priority
07
Mode
ZXAN(config-gpon)#
Example
The following example displays how to configure the VoIP VLAN profile:
ZXAN(config-gpon)#onu profile voip-vlan pro1 tag-mode vlan-stacking svlan 100
Related Commands
show gpon onu profile voip-vlan
Purpose
To display GPON profile configuration
20-32
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
tcont
T-CONT profile
profile-name1
Range: 1 - 64 characters
traffic
Traffic profile
profile-name2
Range: 1 - 64 characters
Mode
Any mode except user mode
Example
The following example displays GPON T-CONT profile configuration:
ZXAN#show gpon profile tcont
NAME
TYPE
FBW
ABW
MBW
default
10240
profile
1000
bf
100
hf
100
ZXAN#
SIR
default
10240
10240
profile
1024
4048
tf
100
100
cf
65
100
PIR
ZXAN#
Related Commands
None
20-33
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To display the dial-plan configuration
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
name
1 64 characters
id
Dial-plan ID
Range: 1 255
Mode
Any mode except ZXAN>
Example
The following example displays the dial-plan:
ZXAN(config-gpon)#show gpon onu profile dial-plan test
Dial plan id
------------------------------------1
X*.X.#|#X.*.X.##
#X.*.X.T|#X.*.X.
#T
Related Commands
onu profile dial-plan
Purpose
To display the dial-plan table configuration
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
name
1 64 characters
20-34
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
Any mode except ZXAN>
Example
The following example displays the dial-plan table:
ZXAN(config-gpon)#show gpon onu profile dial-plan-table
TableName MaxSize
Critical
Partial
Format
--------------------------------------------------------------------test
16
4000
16000
not-define
d
Related Commands
onu profile dial-plan-table
Purpose
To display the DSCP to 802.1p mapping profile configuration
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
name
Profile name
1 64 characters
Mode
Any mode except ZXAN>
Example
The following example displays the DSCP to 802.1p mapping profile configuration:
ZXAN(config-gpon)#show gpon onu profile dscp
Profile name:
abc
Dscp2Pbit mapping:
8-15:1,16-23:2,24-31:3,32-39:4,40-47:5,48-55:6,56-63:7
Related Commands
onu profile dscp
20-35
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To display the filter rule profile configuration
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
name
Profile name
1 64 characters
Mode
Any mode except ZXAN>
Example
The following example displays the filter rule profile configuration:
ZXAN(config-gpon)#show gpon onu profile filter-rule
RuleName:
abc
TagNum:
EtherType:
IGMP
InnerPrio:
InnerVid:
100
InnerTPID:
mode0
OuterPrio:
OuterVid:
200
OuterTPID:
mode0
Related Commands
onu profile filter-rule
Purpose
To display the IGMP profile configuration
20-36
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
name
Profile name
1 64 characters
Mode
Any mode except ZXAN>
Example
The following example displays the IGMP profile configuration:
ZXAN(config-gpon)#show gpon onu profile igmp test
Profile-name:
test
Version:
v2
Work-mode:
snooping
Fast-leave:
disable
Robustness:
copy-from-query
Proxy-ip:
0.0.0.0
Query-interval:
125
Query-max-resp:
100
Last-query-interval:
10
Non-match-group:
discard
Rate-limit:
Up stream tag:
transparent
strip
Iptv-package-dynamic1:
Iptv-package-dynamic2:
Iptv-package-dynamic3:
Iptv-package-dynamic4:
Iptv-package-dynamic5:
Iptv-package-dynamic6:
Iptv-package-dynamic7:
Iptv-package-dynamic8:
Iptv-package-static:
stv
Related Commands
onu profile igmp
20-37
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To show an IP profile
Usage Guidelines
The following table describes the relevant parameters:
Parameter
Description
Value
profile name
Profile name
164 characters
Mode
All modes except user mode
Example
The following example shows a GPON ONU IP profile:
ZXAN#show gpon onu
profile ip
Related Commands
None
Purpose
To display the MGC profile configuration
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
name
Profile name
1 64 characters
Mode
Any mode except ZXAN>
20-38
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays the MGC profile configuration:
ZXAN(config-gpon)#show gpon onu profile mgc name abc
Profile name:
Server1:
abc
1.1.1.1
Validation scheme:
disable
Username:
N/A
Password:
N/A
Realm:
N/A
Server2:
1.1.1.2
Validation scheme:
disable
Username:
N/A
Password:
N/A
Realm:
N/A
UDP port:
2944
DSCP/TOS:
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
40000(ms)
2000(ms)
4000(ms)
60000(ms)
60000(ms)
120000(ms)
2000(ms)
10000(ms)
Related Commands
onu profile mgc
20-39
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To display the CES UNI performance-threshold profile configuration
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
name
Profile name
1 64 characters
Mode
Any mode except ZXAN>
Example
The following example displays the CES UNI performance-threshold profile configuration:
ZXAN(config-gpon)#show gpon onu profile performance-threshold ces
Profile name
abc
100
100
Related Commands
onu profile performance-threshold cesuni
Purpose
To display the dot1x performance-threshold profile configuration
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
name
Profile name
1 64 characters
Mode
Any mode except ZXAN>
Example
The following example displays the dot1x performance-threshold profile configuration:
ZXAN(config-gpon)#show gpon onu profile performance-threshold dot1x
Threshold profile:
abc
100
100
Related Commands
onu profile performance-threshold dot1x
Purpose
To display the Ethernet performance-threshold profile configuration
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
name
Profile name
1 64 characters
Mode
Any mode except ZXAN>
20-41
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays the Ethernet performance-threshold profile configuration:
ZXAN(config-gpon)#show gpon onu profile performance-threshold eth abc
Profile name
abc
10000
Sqe count
10000
Undersize packets
Fragments
Jabbers
Related Commands
onu profile performance-threshold ethuni
Purpose
To display the GEM port performance-threshold profile configuration
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
name
Profile name
1 64 characters
20-42
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
Any mode except ZXAN>
Example
The following example displays the GEM port performance-threshold profile configuration:
ZXAN(config-gpon)#show gpon onu profile performance-threshold gem
Profile name
abc
Lost packets
1000
Misinserted packets
1000
Impaired blocks
1000
Related Commands
onu profile performance-threshold gem
Purpose
To display the RADIUS performance-threshold profile configuration
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
name
Profile name
1 64 characters
Mode
Any mode except ZXAN>
Example
The following example displays the RADIUS performance-threshold profile configuration:
ZXAN(config-gpon)#show gpon onu profile performance-threshold radius
Threshold profile:
abc
ReTxAccessRequest:
10
RxInvalidRadius packets:
10
20-43
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
onu profile performance-threshold radius
Purpose
To display the switchport performance-threshold profile configuration
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
name
Profile name
1 64 characters
Mode
Any mode except ZXAN>
Example
The following example displays the switchport performance-threshold profile configuration:
ZXAN(config-gpon)#show gpon onu profile performance-threshold switchport abc
Profile name:
abc
1000
100
1000
Related Commands
onu profile performance-threshold switchport
Purpose
To display the VLAN Ethernet performance-threshold profile configuration
20-44
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
name
Profile name
1 64 characters
Mode
Any mode except ZXAN>
Example
The following example displays the VLAN Ethernet performance-threshold profile
configuration:
ZXAN(config-gpon)#show gpon onu profile performance-threshold vlan-eth
Profile name:
abc
100
100
Discard on error:
100
Related Commands
onu profile performance-threshold vlan
Purpose
To display the SIP profile configuration
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
name
Profile name
1 64 characters
Mode
Any mode except ZXAN>
20-45
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays the SIP profile configuration:
ZXAN(config-gpon)#show gpon onu profile sip name sip-test
Profile name :
sip-test
Proxy server:
1.2.3.1
Outbound proxy:
1.2.3.1
Registrar:
1.2.3.1
Validation scheme:
disable
UDP port:
5060
DSCP/TOS:
5060
Media DSCP/TOS:
DNS1:
0.0.0.0
DNS2:
0.0.0.0
3600(s)
Re-registration time:
360(s)
Softswitch vendor:
Dial plan table name:
test
Release timer:
10(s)
ROH timer:
15(s)
Link test:
disable
N/A
appsrv:
voip-service
accesscode:
abc
Related Commands
onu profile sip
Purpose
To display the TDM profile configuration
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
name
Profile name
1 64 characters
20-46
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
Any mode except ZXAN>
Example
The following example displays the TDM profile configuration:
ZXAN(config-gpon)#show gpon onu profile tdm
test
Fill policy:
ont-default
255
255
Buffer declare:
Buffer clear:
255
10
p0
p0
Ses threshold:
100
RTP information:
ignore
Related Commands
onu profile tdm
Purpose
To display the extended VLAN treatment profile configuration
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
name
Profile name
1 64 characters
20-47
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
Any mode except ZXAN>
Example
The following example displays the extended VLAN treatment profile configuration:
ZXAN(config-gpon)#show gpon onu profile treat
TreatName:
abc
TagsToRemove:
InnerprioMapMode:
insert
InnerPrio:
InnervidMapMode:
copy-inner
InnerVid:
InnerTPID
mode4
Related Commands
onu profile treat
Purpose
To show a GPON ONU VLAN profile
Usage Guidelines
The following table describes the relevant parameters:
Parameter
Description
Value
profile name
VLAN Name
164 characters
Mode
All modes except user mode
Example
The following example shows a GPON ONU VLAN profile:
ZXAN#show gpon onu profile vlan asdf
20-48
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Purpose
To display the VoIP access code profile configuration
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
name
Profile name
1 64 characters
Mode
Any mode except ZXAN>
Example
The following example displays the VoIP access code profile configuration:
ZXAN(config-gpon)#show gpon onu profile voip-accesscode
Profile-name:
abc
cancel-call-waiting:
call-hold:
***
call-park:
cid-activate:
cid-deactivate:
no-disturb-activation:
no-disturb-deactivation:
no-disturb-pin-change:
emergency-srv-num:
intercom-service:
unattend-blind-call-transfer:
attend-call-transfer:
Related Commands
onu profile voip-accesscode
20-49
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To display the VoIP service application profile configuration
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
name
Profile name
1 64 characters
Mode
Any mode except ZXAN>
Example
The following example displays the VoIP service application profile configuration:
ZXAN(config-gpon)#show gpon onu profile voip-appsrv
Profile-name:
voip-service
calling-num:
disable
calling-name:
disable
cid-blocking:
disable
cid-num-permanent-status:
disable
cid-name-permanent-status:
disable
anonymous-cid-blocking:
disable
call-wating:
enable
cid-announcement:
disable
3way:
enable
call-transfer:
enable
call-hold:
enable
call-park:
disable
no-disturb:
disable
emergency-call-flash:
disable
emergency-originate-hold:
disable
6way:
disable
message-waiting-splash-ring:
disable
message-wating-special-dialtone: disable
message-waiting-visual-ind:
disable
call-forwarding-ind:
disable
20-50
SJ-20120615152640-010|2012-06-30 (R1.0)
disable
dialtone-delay:
disable
direct-connect-uri:
Validation scheme:
disable
Username:
Password:
Realm:
bridge-line-agent-uri:
Validation scheme:
disable
Username:
Password:
Realm:
conference-factory-uri:
Validation scheme:
disable
Username:
Password:
Realm:
Related Commands
onu profile voip-appsrv
Purpose
To display the VoIP IP profile configuration
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
name
Profile name
1 64 characters
Mode
Any mode except ZXAN>
Example
The following example displays the VoIP IP profile configuration:
ZXAN(config-gpon)#show gpon onu profile voip-ip
20-51
SJ-20120615152640-010|2012-06-30 (R1.0)
ip-test
Gateway:
1.2.3.1
Primary DNS:
Related Commands
onu profile voip-ip
Purpose
To display the VoIP media profile configuration
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
name
Profile name
1 64 characters
Mode
Any mode except ZXAN>
Example
The following example displays the VoIP media profile configuration:
ZXAN(config-gpon)#show gpon onu profile voip-media test
Profilename:
test
Encoding:
1st - Codec: pcmu, Packet period: 10, Silence suppression: off
2nd - Codec: pcmu, Packet period: 10, Silence suppression: off
3rd - Codec: pcmu, Packet period: 10, Silence suppression: off
4th - Codec: pcmu, Packet period: 10, Silence suppression: off
Fax mode: passthru ,
Service:
Announcement type: na
Jitter: fix, Buffer target=0, max=0
Echo cancel: on
Country code: 0
Signal 802.1p priority: no change
Media 802.1p priority: no change
20-52
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
onu profile voip-media
Purpose
To display the VoIP VLAN profile configuration
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
name
Profile name
1 64 characters
Mode
Any mode except ZXAN>
Example
The following example displays the VoIP VLAN profile configuration:
ZXAN(config-gpon)#show gpon onu profile voip-vlan
Profile name:
vlan-test
Tag mode:
tag
CVLAN:
300
CVLAN priority:7
Related Commands
onu profile voip-vlan
20-53
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure the open & close time of the optical module on an OLT port
Usage Guidelines
The following table describes the relevant parameters:
Parameter
Description
Value
CloseTime time
Close time
LosCloseTime time
(LoS)
OpenTime time
Open time
Mode
GPON OLT interface mode: ZXAN(config-if)#
Example
The following example shows how to configure the open time of the optical module an OLT
port:
ZXAN(config-if)#als opentime 100
ZXAN(config-if)#
Related Commands
None
20.2.2 auto-learning
Syntax
auto-learning {aging-time |disable | enable }
Purpose
To configure the default ONU registration mode on the OLT interface
20-54
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
aging-time
Aging time
disable
provision (default)
enable
learn
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the default ONU registration mode:
ZXAN(config)#interface gpon-olt-1/14/1
ZXAN(config-if)#auto-learning enable
ZXAN(config-if)#
Related Commands
None
20.2.3 ber-interval
Syntax
ber-interval time
Purpose
To configure BER detection and report interval
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
time
Interval
Mode
ZXAN(config-if)#
20-55
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to configure BER detection and report interval:
ZXAN(config)#interface gpon-olt_1/1/1
ZXAN(config-if)#ber-interval 100000
ZXAN(config-if)#
Related Commands
None
20.2.4 clear
Syntax
clear
Purpose
To clear all configuration on the OLT interface
Usage Guidelines
None
Mode
ZXAN(config-if)#
Example
The following example displays how to clear all configuration on the OLT interface:
ZXAN(config)#interface gpon-olt_1/1/1
ZXAN(config-if)#clear
Related Commands
None
Related Information
Before you configure PON protection, you need to clear all configuration on the protective
OLT interface.
Purpose
To configure DBA period mode
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
default
Default mode
low-delay
low-overhead
Mode
ZXAN(config-if)#
Example
The following example displays how to configure DBA period mode:
ZXAN(config)#interface gpon-olt_1/1/1
ZXAN(config-if)#dba period-mode default
ZXAN(config-if)#
Related Commands
None
20.2.6 discover-period
Syntax
discover-period new-onu time1 miss-onu time2
Purpose
To configure period of ONU discovery
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
new-onu time1
miss-onu time2
Mode
ZXAN(config-if)#
20-57
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to configure period of ONU discovery:
ZXAN(config)#interface gpon-olt_1/1/1
ZXAN(config-if)#discover-period new-onu 100 miss-onu 300
Related Commands
None
20.2.7 fec
Syntax
fec {downstream | none}
Purpose
To configure FEC on the OLT interface
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
downstream
direction
none
Disable FEC
Mode
ZXAN(config-if)#
Example
The following example displays how to enable FEC on the OLT interface:
ZXAN(config)#interface gpon-olt_1/1/1
ZXAN(config-if)#fec downstream
Related Commands
show gpon fec
20.2.8 linktrap
Syntax
linktrap { inform | disable}
20-58
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure alarm trap mode when link on GPON OLT port is down
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
inform
link is down.
disable
Mode
ZXAN(config-if)#
Example
The following example displays how to enable link alarm trap on the PON port:
ZXAN(config)#interface gpon-olt_1/1/1
ZXAN(config-if)# linktrap inform
Related Commands
None
20.2.9 lock
Syntax
lock
no lock
Purpose
To shut down optical module and disable ONU alarm trap (OLT alarm trap is enabled.)
Usage Guidelines
None
Mode
ZXAN(config-if)#
Example
The following example displays how to lock the PON port:
20-59
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
20.2.10 loopback-detection
Syntax
loopback-detection {disable | enable}
Purpose
To enable or disable loop-back detection on GPON OLT port
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
disable
Enable
enable
Disable
Mode
ZXAN(config-if)#
Example
The following example displays how to enable loop-back detection on GPON OLT port:
GPON OLT
ZXAN(config)#interface gpon-olt_1/1/1
ZXAN(config-if)# loopback-detection enable
Related Commands
None
20.2.11 mld
Syntax
mld max-groups max-groups
20-60
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure MLD maximum group number
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
max-groups max-groups
Range: 0 32768
Mode
ZXAN(config-if)#
Example
The following example displays how to configure MLD maximum group number:
ZXAN(config)#interface gpon-olt_1/1/1
ZXAN(config-if)#mld max-groups 100
Related Commands
None
20.2.12 multicast-rate-limit
Syntax
multicast-rate-limit { [burst-size burstsize ] [ rate-limit ratelimit ] }
Purpose
To configure multicast rate limit
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
burst-size burstsize
rate-limit ratelimit
Mode
ZXAN(config-if)#
20-61
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to configure multicast rate limit:
ZXAN(config)#interface gpon-olt_1/1/1
ZXAN(config-if)#multicast-rate-limit burst-size 1000 rate-limit 1000
Related Commands
None
20.2.13 name
Syntax
name oltname
no name
Purpose
To configure the alias of OLT interface
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
oltname
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the alias of OLT interface:
ZXAN(config)#interface gpon-olt_1/1/1
ZXAN(config-if)#name n1
Related Commands
None
Purpose
To bind the line/remote/alarm/performance profile of the ONU
To unbind the profile, use the no command.
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
onu-num
ONU ID
line-profile-name
PON mode
remote-profile-name
in PON mode
alarm-profile-name
PON mode
performance-profile-name
Mode
ZXAN(config-if)#
Example
The following example displays how to bind the line/remote/alarm/performance profile of
the ONU:
ZXAN(config-if)#onu 3 profile line line-profile remote
remote-profile alarm alarm-profile performance performance-profile
20-63
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To register ONU to an OLT interface
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
onuid
ONU ID
Range: 1 - 128
type type-name
Range: 1 - 64 characters
including ZTE-F600G,
ZTE-F641, ZTE-F622,
ZTE-F625, ZTE-F621,
ZTE-F601, ZTE-F640,
universalOnuType
sn vendor-id+serial number
SN authentication mode
12 characters
SN + hex password
SN: 12 characters
password
authentication mode
Password: 1 10 characters
SN + password authentication
SN: 12 characters
password
mode
Password: 1 10 characters
SN: 12 characters
RID: 1 36 characters
rid
vport-mode
hpw password
Hex password
Range: 1 10 characters
loid loid
Range: 1 24 characters
LOID: 1 24 characters
mode
Password: 1 12 characters
pw password
Range: 1 10 characters
rid rid
Range: 1 36 characters
Mode
ZXAN(config-if)#
Example
The following example displays how to register ONU to an OLT interface:
ZXAN(config)#interface gpon-olt_1/1/1
ZXAN(config-if)#onu 1 type ZTE-F622 sn CIGG02938572 vport-mode gemport
ZXAN(config-if)#
20-64
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
20.2.16 onu-action
Syntax
onu-action deactive
Purpose
To deactivate ONUs on the OLT interface
Usage Guidelines
None
Mode
ZXAN(config-if)#
Example
The following example displays how to deactivate ONUs on the OLT interface:
ZXAN(config)#interface gpon-olt_1/1/1
ZXAN(config-if)#onu-action deactive
Related Commands
None
20.2.17 onu-sn
Syntax
onu-sn enable
Purpose
To enable all disabled ONUs on the OLT interface
Usage Guidelines
None
Mode
ZXAN(config-if)#
20-65
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to enable all disabled ONUs on the OLT interface:
ZXAN(config)#interface gpon-olt_1/1/1
ZXAN(config-if)#onu-sn enable
Related Commands
None
20.2.18 optical-module-alarm-profile
Syntax
optical-module-alarm-profile prfName
no optical-module-alarm-profile
Purpose
To apply an optical-module alarm profile on a OLT or Ethernet optical port
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
prfName
Profile name
Mode
ZXAN(config-if)#
Example
The following example displays how to apply on an optical interface:
ZXAN(config-if)#optical-module-alarm-profile opt_prf1
Related Commands
optical-module alarm-profile
show optical-module-alarm-profile
20.2.19 range-mode
Syntax
range-mode base-distance maximum-distance
20-66
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure OLT range mode
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
base-distance
Base distance
maximum-distance
Maximum distance
Mode
ZXAN(config-if)#
Example
The following example displays how to configure OLT range mode:
ZXAN(config)#interface gpon-olt_1/1/1
ZXAN(config-if)#range-mode 100 150
ZXAN(config-if)#
Related Commands
None
20.2.20 range
Syntax
range
Purpose
To display the interface range on the interface
Usage Guidelines
The following table provides parameter description:
None
Mode
ZXAN(config-if)#
Example
The following example displays how to display the interface range :
20-67
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
20.2.21 resource-id-assign-mode
Syntax
resource-id-assign-mode { mode1 | mode2}
Purpose
To set assigning mode of OLT resource ID
Usage Guidelines
The following table describes the relevant parameters:
Parameter
Description
Value
mode1 | mode2
configuration)
Mode
ZXAN(config-if)#
Example
The following example shows how to set the assigning mode of OLT resource ID as mode1:
ZXAN(config-if)#resource-id-assign-mode mode1
Related Commands
None
20-68
SJ-20120615152640-010|2012-06-30 (R1.0)
20.2.22 scb-port
Syntax
scb-port port
Purpose
To configure SCB port
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
port
Port ID
129 4095
Mode
ZXAN(config-if)#
Example
The following example displays how to configure SCB port:
ZXAN(config)#interface gpon-olt_1/1/1
ZXAN(config-if)#scb-port 200
Related Commands
None
20.2.23 shutdown
Syntax
shutdown
no shutdown
Purpose
To shut down the OLT interface
Usage Guidelines
None
Mode
ZXAN(config-if)#
20-69
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to shut down the OLT interface:
ZXAN(config)#interface gpon-olt_1/1/1
ZXAN(config-if)#shutdown
Related Commands
None
Purpose
To apply traffic profile on the OLT interface
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
name
Range: 1 31 characters
egress
Downstream direction
ingress
Upstream direction
Mode
ZXAN(config-if)#
Example
The following example displays how to apply traffic profile on the OLT interface:
ZXAN(config)#interface gpon-olt_1/1/1
ZXAN(config-if)#traffic-profile profile1 direction egress
Related Commands
None
20.2.25 vlan-smart-qinq
Syntax
vlan-smart-qinq { enable| disable }
20-70
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To enable or disable smart QinQ on the OLT interface
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
enable
Enable QINQ
disable
Disable QINQ
Mode
ZXAN(config-if)#
Example
The following example displays how to enable smart QinQ on the OLT interface:
ZXAN(config)#interface gpon-olt_1/1/1
ZXAN(config-if)#vlan-smart-qinq enable
Related Commands
None
Purpose
To display FEC configuration on GPON OLT interface
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
interface
Mode
ZXAN(config-if)#
Example
The following example displays the FEC configuration on GPON OLT interfaces:
20-71
SJ-20120615152640-010|2012-06-30 (R1.0)
mode
-------------------------------gpon-olt_1/1/1
downstream
gpon-olt_1/1/2
none
gpon-olt_1/1/3
none
gpon-olt_1/1/4
none
gpon-olt_1/1/5
none
gpon-olt_1/1/6
none
gpon-olt_1/1/7
none
gpon-olt_1/1/8
none
Related Commands
fec
Purpose
To display the configuration on OLT interface
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
interface
Mode
ZXAN(config-if)#
Example
The following example displays the configuration on the OLT interface:
ZXAN(config-if)#show gpon olt config gpon-olt_1/1/1
gpon-olt_1/1/1
Name:OLT-1
MaxSupportOnts :128
MaxSupportTconts
:4096
RealLegalOnts
RealIllegalOnts
:0
Missing onu
:5
PwMode
:none
:0
Discovering onu:10
Ethernet switch:disable
ONU Auto configuration
State
:ready
20-72
SJ-20120615152640-010|2012-06-30 (R1.0)
:sn
Auto learn
Aging time:
:0
SCB port:
FEC
:none
:disable
4095
Related Commands
None
Purpose
To display the statistics on the OLT interface
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
current
Current statistics
history
History statistics
interface
Mode
ZXAN(config-if)#
Example
The following example displays current statistics on the OLT interface:
ZXAN(config-if)#show gpon olt performance current gpon-olt_1/1/1
gpon-olt_1/1/1:
Current Olt Performance Statistics Data:
DsGemFrames:
0,
UsIdleGemFrames:
0,
UsCorGemFrames:
0,
UsErrGemFrmae:
0,
UsCorGemBytes:
0,
DsSendToOnuEthFrames:
0,
DsSendToOnuEthBytes:
0,
DsMacRxCorEthFrames:
0,
DsMacRxErrEthFrames:
0,
UsCorEthFrames:
0,
20-73
SJ-20120615152640-010|2012-06-30 (R1.0)
0,
DsPloamMsg:
5548,
UsCorPloamMsg:
0,
UsErrPloamMsg:
0.
Related Commands
None
Purpose
To display range mode of OLT interface
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
interface
Mode
ZXAN(config-if)#
Example
The following example displays range mode of the OLT interface:
ZXAN(config-if)#show gpon olt range-mode gpon-olt_1/1/1
OltInterface
Base-distance(100m)
Maximum-distance(100m)
--------------------------------------------------------------------gpon-olt_1/1/1
200
Related Commands
rang-mode
Purpose
To show the PON loopback detection configuration
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
global
ZXAN(config)#
interface
Mode
ZXAN(config)#
Example
The following example displays the PON loopback detection configuration:
ZXAN(config)#show loop-detection global
LoopDetectSwitch:disable
AutoShutdownSwitch:disable
AutoCheckTime:10(s)
Purpose
To show the PON loop-back detection information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
shelf/slot/port
OLT interface
Mode
ZXAN(config)#
Example
The following example displays the PON loop-back detection information:
ZXAN(config)#show pon-loopback-detection interface gpon-olt_1/1/1
20-75
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To display the optical module information of an optical port
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
interface
Interface name
Mode
Any mode except ZXAN>
Example
The following example displays the information about the optical module:
ZXAN#show interface optical-module-info gpon-olt_1/1/1
Optical module information:gpon-olt_1/1/1
Basic-info:
Vendor-Name
: N/A
Vendor-Pn
: N/A
Vendor-Sn
: N/A
Version-Lev
: N/A
Production-Data: N/A
Module-Type
: N/A
Wavelength
: N/A
Connector
: N/A
Fiber-Type
: N/A
Material-Number: N/A
Register-Data
: N/A
Diagnostic-info:
RxPower
: N/A
TxPower
: N/A
Bias-Current
: N/A
Laser-Rate
: N/A
Temperature
: N/A
Supply-Vol
: N/A
Alarm-thresh:
RxPower-Upper
: 3
(dbm)
RxPower-Lower
: -34(dbm)
TxPower-Upper
: 9
(dbm)
TxPower-Lower
: -14(dbm)
TxBias-Upper
: 131(mA)
TxBias-Lower
: 0
(mA)
Voltage-Upper
: 7
Voltage-Lower
: 0
(v)
(v)
Temperature-Upper: 90 (c)
Temperature-Lower: -45(c)
Related Commands
None
20-76
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To clear the counter on PON Vport
Usage Guidelines
The following table describes the relevant parameters:
Parameter
Description
Value
vport id
1256
to be cleared
Mode
ZXAN#
Example
The following example shows how to clear the counter on PON Vport:
ZXAN#clear counter pon-vport gpon-onu_1/1/1:1 vport 1
Related Commands
None
20.3.2 action
Syntax
action {action | deactive}
Purpose
To activate or deactivate ONU
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
action
Activate ONU
20-77
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
deactive
Deactivate ONU
Mode
ZXAN(config-if)#
Example
The following example displays how to activate the ONU:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#action active
Related Commands
None
Purpose
To bind IP address to ONU
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ip-addresss
IP address
vport vport
Virtual port ID
Range: 1 256
Mode
ZXAN(config-if)#
Example
The following example displays how to bind an IP address to the ONU:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#bind ip-address 10.20.30.2 vport 10
Related Commands
None
20-78
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To bind MAC address to ONU
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
mac-addresss
MAC address
vport vport
Virtual port ID
Range: 1 256
Mode
ZXAN(config-if)#
Example
The following example displays how to bind a MAC address to the ONU:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#bind mac-address 1a23.2235.2b5d vport 10
Related Commands
None
20.3.5 broadcast-rate-limit
Syntax
broadcast-rate-limit peak-rate pkt direction { egress | ingress } [vport vportid]
Purpose
To set the broadcast packet peak rate
Usage Guidelines
The following table describes the relevant parameters:
Parameter
Description
Value
peak-rate pkt
packets
Default: 2488000
20-79
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
egress
Egress
ingress
Ingress
vportid
Vport ID
1255
Mode
ZXAN(config-if)#
Example
The following example shows how to configure the broadcast packet peak rate as 10000kb:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#broadcast-rate-limit peak-rate 10000 direction egress
Related Commands
None
20.3.6 dba
Syntax
dba mode { hybrid | nsr | sr }
Purpose
To configure DBA mode
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
nsr
Mode
ZXAN(config-if)#
20-80
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to configure DBA mode:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#dba mode nsr
Related Commands
None
Purpose
To configure ONU description
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
string
ONU description
Mode
ZXAN(config-if)#
Example
The following example displays how to configure ONU description:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#description F620
Related Commands
None
20.3.8 dhcp6-option18
Syntax
dhcp6-option18 { enable | disable } sport sport | vport vport
dhcp6-option18 trust { true { keep | replace } | false { add | discard } } sport sport | vport
vport
20-81
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure DHCPv6 option18 function
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
sport sport
Range: 1 128
vport vport
Range: 1 128
option18
false { add | discard } }
option18
Mode
ZXAN(config-if)#
Example
The following example displays how to enable DHCPv6 option18:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#dhcp6-option18 enable vport 1
Related Commands
None
20.3.9 dhcp-option82
Syntax
dhcp-option82 { enable | disable } sport sport | vport vport
dhcp-option82 trust { true { keep | replace } | false { add | discard } } sport sport | vport
vport
Purpose
To configure DHCP option82 function
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
sport sport
Range: 1 128
20-82
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
vport vport
Range: 1 128
option82
false { add | discard } }
option82
Mode
ZXAN(config-if)#
Example
The following example displays how to configure DHCP option82 function:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#dhcp-option82 enable sport 1
Related Commands
None
20.3.10 encrypt
Syntax
encrypt portindex {enable | disable}
Purpose
To enable or disable GEM port encryption
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
portindex
Range: 1 - 256
enable
Enable encryption
disable
Disable encryption
Mode
ZXAN(config-if)#
Example
The following example displays how to enable GEM port encryption:
20-83
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Purpose
To configure FEC function on GPON ONU interface
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
none
Disable FEC
upstream
direction
Mode
ZXAN(config-if)#
Example
The following example displays how to configure enable FEC on the GPON ONU interface:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#fec upstream
Related Commands
show gpon onu detail-info
20.3.12 gemport
Syntax
gemport portindex [ name name ] [ portid portid ] unicast tcont tcont [ dir { both | down | up
} ] [ queue queue ]
20-84
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure GEM port attributes
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
portindex
Range: 1 255
up-queue-map-id queue-map-id
Range: 0 3
down-queue-map-id
Range: 0 7
name name
Port name
Range: 1 63 characters
portid portid
Actual port ID
129 4095
tcont tcont
T-CONT index
Range: 1 255
queue queue
Queue ID
Range: 1 8
traffic-limit
Traffic limit
downstream profile-name
upstream profile-name
queue-map-id
Mode
ZXAN(config-if)#
Example
The following example displays how to configure GEM port attributes:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#gemport 1 name gemport unicast tcont 1 queue 3
ZXAN(config-if)#gemport 1 up-queue-map-id 1
ZXAN(config-if)#gemport 1 traffic-limit downstream profile1
Related Commands
None
20-85
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Information
The corresponding T-CONT should be configured in advance.
20.3.13 ip access-group
Syntax
ip access-group {acl-number | acl-name} {in | out} vport vport number
no ip access-group {acl-number | acl-name} {in | out} vport vport number
Purpose
To apply the ACL to the ingress or egress direction of the port
To cancel the ACL, use the no command.
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
acl-number
ACL number
300 399
acl-name
ACL name
1 31
Mode
ZXAN(config-if)#
Example
The following example displays how to apply the ACL to the ingress or egress direction of
the port:
ZXAN(config-if)#no ip access-group 323 in vport 23
20.3.14 link-test
Syntax
link-test test-times testtimes
Purpose
To test the link status between OLT and ONU
Usage Guidelines
The following table provides parameter description:
20-86
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
testtimes
Times of test
Range: 1 100
Mode
ZXAN(config-if)#
Example
The following example displays how to test the link status between OLT and ONU:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#link test 1
Sending 1 GEM frames to gpon-onu_1/1/1:1.
.
Success rate is 0 percent (0/1)
Related Commands
None
20.3.15 max-mac-learn
Syntax
max-mac-learn value [vport vport]
Purpose
To configure maximum number of MAC addresses that the ONU can learn
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
value
Maximum number
Range: 0 4095
vport vport
Virtual port ID
Range: 1 256
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the maximum number of MAC addresses
that the ONU can learn:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#max-mac-learn 3
20-87
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Purpose
To configure alias of ONU interface
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
onuname
Mode
ZXAN(config-if)#
Example
The following example displays how to configure alias of the ONU interface:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#name n1
Related Commands
None
20.3.17 omcc-encrypt
Syntax
omcc-encrypt { enable | disable }
Purpose
To enable or disable OMCC encryption
Usage Guidelines
The following table provides parameter description:
20-88
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
enable
Enable
disable
Disable
Mode
ZXAN(config-if)#
Example
The following example displays how to enable OMCC encryption:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#omcc-encrypt enable
Related Commands
None
20.3.18 omci-bandwidth
Syntax
omci-bandwidth profile-name
Purpose
To configure OMCI bandwidth
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
profile-name
Mode
ZXAN(config-if)#
Example
The following example displays how to configure OMCI bandwidth:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#omci-bandwidth zteprofile1
Related Commands
None
20-89
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Information
The corresponding T-CONT profile should be configured in advance.
Purpose
To start/stop the GPON gemport performance sampling
Usage Guidelines
The following table describes the relevant parameters:
Parameter
Description
Value
gemportid
1256
ID
Mode
ZXAN(config-if)#
Example
The following example shows how to start the GPON gemport 1 performance sampling
ZXAN(config-if)#performance gemport 1 start
Related Commands
show performance gpon-gemport
Purpose
To start/stop performance sampling on a VPort
Usage Guidelines
The following table describes the relevant parameters:
20-90
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
vportid
1256
Mode
ZXAN(config-if)#
Example
The following example shows how to start performance sampling on VPort 1:
ZXAN(config-if)#performance vport 1 start
Related Commands
None
Purpose
To display port list on the ONU interface
Usage Guidelines
The following table provides parameter description:
None
Mode
ZXAN(config-if)#
Example
The following example displays port list on the ONU interface:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#range
Portlist of the range:
gpon-onu_1/1/1:1
Related Commands
None
20-91
SJ-20120615152640-010|2012-06-30 (R1.0)
20.3.22 registration-method
Syntax
registration-method { hpw hpw | pw pw | sn sn | loid loid}
Purpose
To configure ONU registration method
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
hpw hpw
Range: 1 10 characters
pw pw
ONU password
Range: 1 10 characters
sn sn
ONU SN
12 characters
loid loid
ONU LOID
24 characters
Mode
ZXAN(config-if)#
Example
The following example displays how to configure ONU registration method:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#registration-method pw zte123
Related Commands
None
20.3.23 rogue-onu-state
Syntax
rogue-onu-state { off | on | shutdown } [ duration{ time | forever }]
Purpose
To configure the state of rouge ONU
Usage Guidelines
The following table provides parameter description:
20-92
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
time
Duration
forever
Forever
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the state of rouge ONU:
To configure ONUONU
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#rogue-onu-state on duration 60
Related Commands
None
20.3.24 service-port
Syntax
service-port portid [ vport vport ] user-vlan { vid [to vid ] | untagged } [ user-etype { IPOE |
PPPOE | user-define protocol-type-value} [ filter { enable | disable } ]] [ user-priority priority ]
{ [ vlan vid ] [ [svlan vid ][ new-cos cos ] } [ vlan-xconnect ] [ transparent ] [ queue-no queue-no ]
service-port portid [ vport vport ]{ enable | disable }
service-port portid [ vport vport ] description string
service-port portid [ vport vport ] other-all tls-vlan vid [ queue-no queue-no ]
no service-port portid
Purpose
To configure service characteristics of the ONU interface
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
portid
Service port ID
Range: 1 128
vport vport
Virtual port ID
Range: 1 128
user-priority priority
User priority
Range: 0 7
Range: 1 4094
20-93
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
user-etype
user-define protocol-type-value
0xHHHH
svlan vid
SVLAN ID
Range: 1 4094
new-cos cos
Range: 0 7
vlan vid
CVLAN ID
Range: 1 4094
queue-no queue-no
Queue ID
Range: 0 7
Mode
ZXAN(config-if)#
Example
The following example displays how to configure service characteristics of the ONU
interface:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#service-port 1 vport 1 user-vlan 100 vlan 100 svlan 1000
new-cos 5
ZXAN(config-if)#service-port 1 enable
Related Commands
show service-port interface
20.3.25 state
Syntax
state {deactive | ready}
Purpose
To configure the state of an ONU
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
deactive
ready
OMCC is ready
20-94
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the state of an ONU:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#state ready
ZXAN(config-if)#
Related Commands
None
20.3.26 sn-bind
Syntax
sn-bind { enable | disable | update-sn }
Purpose
To configure SN binding on the ONU
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
enable
Enable SN binding
disable
Disable SN binding
update-sn
Upgrade SN
Mode
ZXAN(config-if)#
Example
The following example displays how to enable SN binding on the ONU:
To configure ONUSN
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#sn-bind enable
Related Commands
None
20-95
SJ-20120615152640-010|2012-06-30 (R1.0)
20.3.27 switchport
Syntax
switchport default { cvlan vid | vlan vid [ one-to-one ] } [ vport vportid ]
switchport mode { access | hybrid | trunk | transparent } [ vport vportid ]
switchport tls { disable | enable | vlan vid } [ vport vportid ]
switchport tpid tpid [ vport vportid ]
switchport translate vlan vid [ cvlan cvid ] svlan svid [ one-to-one ] [ vport vportid ]
switchport vlan vid { tag | untag } [ vport vportid ]
Purpose
To configure switching characteristics on the ONU interface
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
cvlan cvid
CVLAN ID
Range: 1 4094
svlan svid
SVLAN ID
Range: 1 4094
vlan vid
VLAN ID
Range: 1 4094
Port mode
transparent }
one-to-one
vport vportid ]
Virtual port ID
Range: 1 128
Mode
ZXAN(config-if)#
Example
The following example displays how to configure:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#switchport vlan 10 tag
Related Commands
show vlan port
20-96
SJ-20120615152640-010|2012-06-30 (R1.0)
20.3.28 traffic-profile
Syntax
traffic-profile profile vport vport direction { egress | ingress }
Purpose
To apply traffic profile on the ONU interface
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
profile
Profile name
vport vport
Virtual port ID
Range: 1 128
egress
Upstream direction
ingress
Downstream direction
Mode
ZXAN(config-if)#
Example
The following example displays how to apply traffic profile on the ONU interface:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#traffic-profile pf1 vport 1 direction ingress
Related Commands
None
20.3.29 tcont
Syntax
tcont tcont [ name name ] [ allocid allocid ] { gap gap | profile profile }
no tcont tcont
Purpose
To configure attributes of the transmission container (T-CONT)
Usage Guidelines
The following table provides parameter description:
20-97
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
tcont
T-CONT index
Range: 1 255
name name
T-CONT name
Range: 1 63 characters
allocid allocid
Allocated ID
256 4095
gap gap
profile profile
Profile name
Mode
ZXAN(config-if)#
Example
The following example displays how to configure T-CONT attributes:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#tcont 1 name iptv-tcont profile iptv-100M
Related Commands
show gpon onu tcont
Related Information
The corresponding T-CONT profile should be configured in advance.
20.3.30 type
Syntax
type name
Purpose
To configure the alias for ONU
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
name
Range: 1 63 characters
Mode
ZXAN(config-if)#
20-98
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to configure the alias for the ONU:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#type ZTE-F640
ZXAN(config-if)#
Related Commands
None
Related Information
Currently, the following ONU types are supported:
l
l
l
l
l
l
l
The 'universalOnuType' is connected to unknown ONU type. As the UNI of the unknow
ONU is also unknow, UNI user information cannot be queried.
Generally, it is recommended to use the known ONU type. Use the show onu-type
command to display the ONUs that the system supports. Use the onu-type command to
create ONU type in GPON interface mode.
The type name of the ONU which is added manually cannot be changed.
20.3.31 vport
Syntax
vport portId {name vportname} [map-type {cos | vlan | cos+vlan | 1:1}] [def-map-vlan vlanid]
[def-map-cos cosvalue]
no vport portId
Purpose
To create ONU virtual port
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
portiId
Range: 1 - 256
20-99
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
name vportname
Range: 1 - 64 characters
map-type
Mapping type
def-map-vlan vlanid
Range: 1 - 4094
def-map-cos cosvalue
Range: 0 - 7
Mode
ZXAN(config-if)#
Example
The following example displays how to configure ONU virtual port:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#vport 1 name vport map-type cos
ZXAN(config-if)#
Related Commands
None
20.3.32 vport-map
Syntax
vport-map portId gemport [vlan vlanid] [cos cos-type]
no vport-map portId gemport
Purpose
To create mapping between virtual port and GEM port
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
portId
VPORT ID
Range: 1 - 256
gemport
GEM port ID
Range: 1 - 256
vlan vlanid
VLAN ID
Range: 1 - 4094
cos cos-type
CoS number
Range: 0 - 7
Mode
ZXAN(config-if)#
20-100
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to create mapping between virtual port and GEM port:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#vport-map 1 1 vlan 200 cos 1
ZXAN(config-if)#
Related Commands
None
Related Information
Each virtual port supports maximum eight virtual port mapping.
20.3.33 vport-mode
Syntax
vport-mode {onu | gemport | manual} [def-map-type {cos | vlan | cos+vlan | 1:1}]
Purpose
To configure ONU virtual port mode
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
onu
ONU mode
gemport
manual
Manual mode
def-map-type
Mode
ZXAN(config-if)#
Example
The following example displays how to configure ONU virtual port mode:
ZXAN(config)#interface gpon-olt_1/1/1
ZXAN(config-if)#vport-mode gemport def-map-type cos
ZXAN(config-if)#
20-101
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Purpose
To show the detailed information on the GPON ONU
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
gpon-onu_shelf/slot/oltId:onuid
Mode
Any mode except the ZXAN> mode
Example
The following example displays the detailed information on the GPON ONU:
ZXAN(config)#show gpon onu detail-info gpon-onu_1/2/1:1
ONU interface:
Name:
gpon-onu_1/2/1:1
zte((Shanghai))
Type:
ZTE-F622
State:
ready
Admin state:
enable
Phase state:
OffLine
Authentication mode: SN
SN Bind:
Serial number:
ZTEG7001D7DB
Password mode:
none
Password:
Device ID:
Description:
ONU-1:1
Vport mode:
gemport
DBA Mode:
Hybrid
ONU Status:
enable
OMCI BW Profile:
N/A
Line Profile:
N/A
20-102
SJ-20120615152640-010|2012-06-30 (R1.0)
N/A
Alarm Profile:
N/A
N/A
Purpose
To display the information about extended VLAN process profile
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
treat-name
Profile name
1 63 characters
Mode
Any mode except ZXAN>
Example
The following example displays the information about extended VLAN process profile:
ZXAN#show gpon onu profile treat
TreatName:
add-outer-vid200
TagsToRemove:
OuterprioMapMode:
insert
OuterPrio:
OutervidMapMode:
insert
OuterVid:
200
OuterTPID:
mode4
ZXAN#
Related Commands
onu profile treat
Purpose
To display the GPON GEM port configuration
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
gpon-olt_shelf/slot/oltId
ONU ID
Range: 1 - 64
gemportId
GEM port ID
Range: 1 - 256
Mode
Any mode except user mode
Example
The following example displays how to show the GPON GEM port configuration:
ZXAN#show gpon onu gemport gpon-olt_1/1/1
Show Gemport Information As Follows:
OLT gpon-olt_1/1/1, ONU 1. GemPort 1, Name 1.
TCONT 1. Gemport direction:both.
DefQueueType QUEUE3. Encrypt state down.
You can see the detail profile Info. by using corresponding 'show'
command.
ZXAN#
Related Commands
None
Related Information
One T-CONT is configured with four GEM ports only. The value for gemportId ranges from
1 to 256. If the ONU supports only four GEM ports, the range is from 1 to 4.
20-104
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To show the basic information on the GPON ONU
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
gpon-onu_shelf/slot/oltId:onuid
Mode
Any mode except the ZXAN> mode
Example
The following example displays the basic information on the GPON ONU:
ZXAN(config-if)#show gpon onu baseinfo gpon-olt_1/1/1
OnuIndex
Type
Mode
SN/PW
State
----------------------------------------------------------------gpon-onu_1/1/1:1
ZTE-F622
SN
CIGG12345678
ready
Purpose
To show the status information on the GPON ONU
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
gpon-onu_shelf/slot/oltId onuId
AuthFail
DyingGasp
LOS
LOS ONU
Logging
OffLine
Offline ONU
20-105
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
syncMib
synchronized
Working ONU
working
Mode
Any mode except the ZXAN> mode
Example
The following example displays the status information on the GPON ONU:
ZXAN(config-if)#show gpon onu state gpon-olt_1/1/1 working
OnuIndex
Admin State
Omcc State
O7 State
Phase State
--------------------------------------------------------------------gpon-onu_1/1/1:1
enable
enable
operation
working
Purpose
To display GPON unauthorized ONU information
Usage Guidelines
The following table provides parameter description:
Parameter
gpon-olt_shelf/slot/oltId
Description
Value
onuId
Range: 1 - 64
Mode
Any mode except user mode
Example
The following example displays the unauthorized ONU information:
ZXAN#show gpon onu uncfg gpon-olt_1/1/1
OnuIndex
Sn
State
--------------------------------------------------gpon-onu_1/1 ZTE_--0x00150150
unknow
20-106
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Purpose
To display the GPON T-CONT information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
gpon-olt_shelf/slot/oltId
ONU ID
Range: 1 128
tcontId
T-CONT index
Range: 1 255
Mode
Any mode except user mode
Example
The following example displays the T-CONT information:
ZXAN#show gpon onu tcont gpon-olt_1/2/1 1 1
Related Commands
None
20-107
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To display the GPON ONU VPORT information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
gpon-olt_shelf/slot/oltId
ONU ID
Range: 1 - 128
vportId
VPORT ID
Range: 1 - 256
Mode
Any mode except user mode
Example
The following example displays the ONU VPORT information:
ZXAN#show gpon onu vport gpon-olt_1/1/1 1 1
ZXAN#
Related Commands
None
Purpose
To show the GPON gemport performance configuration
Usage Guidelines
The following table describes the relevant parameters:
20-108
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
gemportid
1256
Mode
All modes except user mode
Example
The following example shows the GPON ONU gemport 2 performance configuration
ZXAN#show performance gpon-gemport gpon-onu_1/1/1:1 gemport 2
Related Commands
None
Purpose
To show the vport performance configuration
Usage Guidelines
The following table describes the relevant parameters:
Parameter
Description
Value
vportid
1256
Mode
All modes except user mode
Example
The following example shows the vport performance configuration:
ZXAN#show performance pon-vport gpon-onu_1/1/1:1 vport 1 current
Related Commands
None
20-109
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To enter into the GPON ONU management configuration mode
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
gpon-onu_shelf/slot/oltId
ONU ID
Range: 1 - 64 characters
Mode
ZXAN(config)#
Example
The following example displays how to enter into the GPON ONU management
configuration mode:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#
Related Commands
None
Related Information
Register an ONU in GPON OLT interface configuration mode before entering into GPON
ONU management configuration mode.
20.4.2 auto-shutdown
Syntax
auto-shutdown [hold-time holdtime] [revert-time reverttime]
20-110
SJ-20120615152640-010|2012-06-30 (R1.0)
no auto-shutdown
Purpose
To configure auto-shutdown parameters
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
hold-time holdtime
disabled
revert-time reverttime
is enabled
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to configure auto-shutdown parameters:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#auto-shutdown hold-time 100 revert-time 100
ZXAN(gpon-onu-mng)#
Related Commands
show gpon remote-onu auto-shutdown
20.4.3 broadcast-limit
Syntax
broadcast-limit { cpu | ethuni eth_slot/port } limit
no broadcast-limit { cpu | ethuni eth_slot/port }
Purpose
To configure ONU broadcast limit
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
cpu
CPU
20-111
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
ethuni eth_slot/port}
limit
Broadcast limit
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to configure broadcast limit on ONU Ethernet
interface:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#broadcast-limit ethuni eth_0/1 200
Related Commands
show gpon remote-onu broadcast-limit
Purpose
To create the MEP associated to ONU Ethernet user port, specify MEP ID, primary VLAN,
associated VLAN, CCM interval, associated MD name, level and other parameters
To simplify the configurations, the first command is used to create MEP. The second
command is used to modify MEP-related parameters.
Usage Guidelines
The following table provides parameter description:
20-112
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
eth_slot/port
Range: 1 31
mepid
MEP ID
Range: 1 8191
code
Range: 1 31
level
MD level of MEP
Range: 0 7
name
MA name
Range: 1 45
vlanlist
Range: 1 64
100ms
10min
10ms
10s
1min
1s
3.33ms
Default: 1s
{ccm | server | ais} {enable |
parameter
MEP state
Default: lock
priority priority
Range: 0 7
Default: 7
Range: 1 8191
Default: 0
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to configure MEP:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#cfm mep 1 1 ethuni eth_0/1 1
20-113
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Related Information
Because MEP is associated to a bridge port, the uni bridge port must exist.
20.4.5 cfm ma
Syntax
cfm ma md-index ma-index [ name { primary-vid | integer integer | vpn-id vpn-id | string } ] [
ccm { disable | interval { 3.33ms | 10ms | 100ms | 1s | 10s | 1min | 10min }}] [ vlan vlanlist
] [ mhf-creation { none | default | explicit | defer }] [ senderid { none | chassis | manage |
chassis+manage | defer }]
no cfm ma md-index
Purpose
To create CFM MA in a specified MD, including the name format, CMM interval,
management VLAN (the first VLAN is the primary VLAN), MHF creation policy, Sender
ID TLV filling policy
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
md-index
MD index
Range: 1 16
ma-index
MA index
Range: 1 32
l
l
String: 1 45 characters
Default: primary-vid
ccm { disable | interval { 3.33ms
CCM interval
Default: 1 s
20-114
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
vlan vlanlist
Range: 1 4094
explicit | defer }
Default: defer
senderid { none | chassis | manage
| chassis+manage | defer
none: No filling
Default: defer
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to create CFM MA in the specified MD:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#cfm ma 2 1 name test-ma-2-1
ZXAN(gpon-onu-mng)#
Related Commands
None
20-115
SJ-20120615152640-010|2012-06-30 (R1.0)
20.4.6 cfm md
Syntax
cfm md md-index [ name { dns dns-link | mac mac-address | icc-based ITU carrier code+UMC
code | string } ] [ level level ] [ mhf-creation { none | default | explicit }] [ senderid { none |
chassis | manage | chassis+manage }]
no cfm md md-index
Purpose
To create CFM MD, including the name format, MD level, MHF creation policy, Sender ID
TLV filling policy
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
md-index
MD index
116
of 145 characters|mac
<aabb.ccdd.eeff:xxyy in
code+UMC code of 13
integer.
l
characters|<string of 145
characters}]
l
level level
MD level
145 characters
Range: 07
Default: 0
explicit }
Default: none
20-116
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
none: No filling
| chassis+manage}
configured chassis.
l
Default: none
Mode
ZXAN(gpon-onu-mng)#
Example
CFM MD
The following example displays how to create CFM MD:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#cfm md 1 name test-md-1 level 5
ZXAN(gpon-onu-mng)#
Related Commands
None
20.4.7 dot1p-map
Syntax
dot1p-map [unmark-option[ { dscp2prio | defprio}] [flow id ] [def-priority default-priority] [ds
cp2prio prio-mapping] [ipp2prio prio-mapping ] [tos2prio prio-mapping]
Purpose
To configure 802.1p priority mapping
Usage Guidelines
The following table provides parameter description:
20-117
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
flow id
Flow ID
Range:1 255
Default: 1
unmark-option {dscp2prio |
defprio}
priority
def-priority default-priority
Range: 0 - 7
Default: 0
dscp2prio prio-mapping
DSCP: 0 - 63
802.1p: 0 7
ipp2prio prio-mapping
IP addresses
tos2prio prio-mapping
TOS
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to configure 802.1p priority mapping:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#dot1p-map flow 1 unmark-option defprio
ZXAN(gpon-onu-mng)#
Related Commands
show gpon remote-onu dot1p-map flow
20.4.8 dot1x
Syntax
dot1x [ fallback { allow | deny } ] [ auth-server1 auth-server1 ] [ auth-server2 auth-server2 ] [
auth-server3 auth-server3 ] [ cid-prefix cid-prefix ] [ proxy proxy ] [ shared-secret1 shared-sec
ret1 ] [ shared-secret2 shared-secret2 ] [ shared-secret3 shared-secret3 ]
Purpose
To configure ONU 802.1x properties
Usage Guidelines
The following table provides parameter description:
20-118
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
Authentication status
auth-server1 auth-server1
1 128 characters
1 128 characters
1 128 characters
server UR Iaddress
cid-prefix cid-prefix
1 128 characters
proxy proxy
1 128 characters
shared-secret1 shared-secret1
1 128 characters
1 128 characters
1 128 characters
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to configure ONU 802.1x properties:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#dot1x fallback allow
Related Commands
None
20-119
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure Ethernet user port 802.1x properties
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ethuni
authentication
direction { both | upstream }
quiet-period quiet-period
Range: 0 65535
Unit: sec
Range: 0 65535
Unit: sec
server
Default: 30 s
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to configure 802.1x properties of Ethernet user port :
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#dot1x ethuni eth_0/1 auth enable
Related Commands
None
20.4.10 dhcp-ip
Syntax
dhcp-ip ethuni eth_slot/port {forbidden | from-internet | from-onu | no-ctrl }
20-120
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure DHCP IP address allocation mode for ONU Ethernet interface
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
eth_slot/port
{forbidden | from-internet |
Default: no-ctrl
from-onu | no-ctrl }
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to configure DHCP IP address allocation mode:
ZXAN(gpon-onu-mng)#dhcp-ip ethuni eth_0/1 from-onu
Related Commands
show gpon remote-onu dhcp-ip ethuni
Related Information
When the DHCP server function is enabled on an ONU, the downlink device acquires IP
address according to DHCP IP address allocation mode configured on the ONU.
20.4.11 dhcp-option60
Syntax
dhcp-option60 { enable < vendor class identifier > | disable}
Purpose
To enable/disable the option60 on an ONU
Usage Guidelines
The following table describes the relevant parameters:
Parameter
Description
Value
1128 characters
20-121
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
ZXAN(gpon-onu-mng)#
Example
The following example shows how to set and enable option60 on an ONU:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#dhcp-option60 enable 12345678
Related Commands
show gpon remote-onu dhcp-option60
20.4.12 equip-mgmt
Syntax
equip-mgmt [battery-backup {true | false}] [state {lock | unlock}] [sec-mode {aes | null}]
Purpose
To configure ONU information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
or not
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to configure ONU information:
ZXAN(config)#interface gpon-onu_1/1/1:1
20-122
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
20.4.13 ex-vlan
Syntax
ex-vlan { flow flowid | ethuni eth_slot/port | switchport ethuni eth_slot/port | veip veipid | wifi
wifi_slot/port } [ down-mode {no-operation | inverse-upstream } ] [ dscp2pbit dscp-name ] [
input-tpid tpid ] [ output-tpid tpid ]
no ex-vlan {flow | ethuni | [switchport]} id
Purpose
To configure extended VLAN
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
flow flowid
Flow ID
Range: 1 255
ethuni eth_slot/port
1 31 characters
1 31 characters
veip veipid
Range: 1 255
wifi wifi_slot/port
Wifi port
1 31 characters
down-mode
Downstream mode
no-operation: No operation
inverse-upstream: Do reverse
mapping according to upstream
rule
dscp2pbit dscp-name
1 64 characters
name
input-tpid tpid
Input TPID
output-tpid tpid
Output TPID
Mode
ZXAN(gpon-onu-mng)#
20-123
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to configure extended VLAN:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#ex-vlan ethuni eth_21/4 input-tpid 0x9100
ZXAN(gpon-onu-mng)#
Related Commands
None
20.4.14 ex-vlan-table
Syntax
ex-vlan-table { flow flowid | ethuni eth_slot/port | switchport ethuni eth_slot/port | veip veipid
| wifi wifi_slot/port } rule filter-rule-name treat treat-name
no ex-vlan-table {flow | ethuni | [switchport]} id
Purpose
To configure extended VLAN table
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
flow flowid
Flow ID
Range: 1 255
ethuni eth_slot/port
1 31 characters
1 31 characters
veip veipid
Range: 1 255
wifi wifi_slot/port
Wifi port
1 31 characters
rule filter-rule-name
treat treat-name
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to configure extended VLAN table:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#ex-vlan-table ethuni eth_0/1 rule single-tag-vid100
treat add-outer-vid200
20-124
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
20.4.15 flow
Syntax
flow flowid [{switch | ethuni | ethflow | iphost | downMulticast} vid vlanid]
no flow flowid
flow flowid priority priority vid vlanid
no flow flowid priority priority vid vlanid
Purpose
To configure flow and flow TCI
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
flowid
Flow ID
Range: 1 - 255
switch
ethuni
Downstream multicast
priority priority
Range: 0 - 7
vid vlanid
Range: 1 - 4094
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to configure flow:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
20-125
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Purpose
To configure flow mode
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
flowid
Flow ID
Range: 1 - 255
tag-filter
frames
transparent
Transparent forwarding
Discard unconditionally
forward
Forward unconditionally
prio-filter
20-126
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
prio-match
unmatched frames
prio-vid-match
frames
transparent
Transparent forwarding
Discard unconditionally
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to configure flow mode:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#flow mode 1 tag-filter vid-match untag-filter
discard
ZXAN(gpon-onu-mng)#
Related Commands
None
Related Information
By default, flow mode for tagged frames is vid-match. Flow mode for untagged frames is
discard.
Purpose
To configure firewall IP filter
Use the no command to delete specific field or the filter.
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
id
IP filter ID
1 255
state{enable | disable}
IP filter state
Default: disable
mode{permit | discard}
IP filter mode
Default: discard
protocol {tcp|udp|tcp-udp|icmp
Protocol type
Default: tcp
Default: no filter
Default: no filter
Ingress object
Default: no filter
Egress object
Default: no filter
|all}
ethuni eth_slot/port}
egress {lan|iphost hostid | ethuni
eth_slot/port}
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to configure the IP filter:
ZXAN(gpon-onu-mng)#firewall ip-filter 1 state enable protocol udp src-ip
10.1.1.1 to 10.1.1.255 src-port 5060 ingress iphost 1
ZXAN(gpon-onu-mng)#firewall ip-filter 2 state enable protocol tcp dst-ip
192.168.1.1 dst-port 21 egress ethuni eth_0/1
ZXAN(gpon-onu-mng)#no firewall ip-filter 2 dst-ip
Related Commands
show gpon remote-onu firewall ip-filter
20-128
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure firewall MAC filter
Use the no command to delete the filter.
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
id
Filter ID
1 255
macaddress
MAC address
{src | dst}
protocol {ip|all}
Protocol type
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to configure MAC filter:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#firewall mac-filter 1 00d0.d0d0.0101 dst protocol ip
ZXAN(gpon-onu-mng)#firewall mac-filter 2 00d0.d0d0.0101 dst protocol all
ZXAN(gpon-onu-mng)#firewall mac-filter 3 00d0.d0d0.0102 src protocol ip
Related Commands
show gpon remote-onu firewall mac-filter
Purpose
To configure firewall MAC filter table
Use the no command to delete the filter table.
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
Default: disable
Default: discard
Mode
ZXAN(gpon-onu-mng)#
Related Information
None
Example
The following example displays how to configure MAC filter table:
ZXAN(gpon-onu-mng)#firewall mac-filter-table state enable mode permit
Related Commands
show gpon remote-onu firewall mac-filter-table
Purpose
To configure firewall port forwarding (from WAN to LAN)
Use the no command to delete specific field or the forwarding.
Usage Guidelines
The following table provides parameter description:
20-130
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
id
Port forwarding ID
1 255
Forwarding state
Default: disable
iphost iphostid
IP host ID
1 255, default: 1
protocol {tcp|udp|tcp-udp}
Protocol type
Default: tcp
Default: 0.0.0.0
lan-mac lan-mac
lan-ip lan-ip
lan-port lan-port
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to configure port forwarding:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#firewall port-forward 1 state enable protocol udp wan-ip
10.1.1.1 to 10.1.1.255 wan-port 5060 lan-ip 192.168.1.10 lan-port 2000
ZXAN(gpon-onu-mng)#firewall port-forward 2 state enable iphost 2 protocol tcp
wan-ip 11.1.1.1 wan-port 21 lan-mac 00d0.d0d0.0101 lan-port 1000
ZXAN(gpon-onu-mng)#no firewall port-forward 2 wan-ip
Related Commands
show gpon remote-onu firewall ip-filter
20.4.21 gemport
Syntax
gemport portindex [ up-queue-map queue-map-id ] [ down-queue queue-map-id ] [ uni eth_slot
/port ]
gemport portindex traffic-limit [ downstream profile-name ][ upstream profile-name ]
gemport portindex [ dot1p-list 802.1p-map ] [ flow flowid ]
gemport portindex loop { enable | disable }
no gemport portindex [ traffic-limit { all | downstream | upstream } ]
Purpose
To configure GEM port attributes
20-131
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
portindex
Range: 1 255
up-queue-map queue-map-id
Range: 0 3
down-queue queue-map-id
Range: 0 7
traffic-limit
Traffic limit
downstream profile-name
upstream profile-name
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to configure GEM port attributes:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#gemport 1 traffic-limit downstream test1 upstream test2
Related Commands
None
20.4.22 igmp
Syntax
igmp eth_slot/port [max-groups max-groups] [max-bandwidth max-bandwidth] [bandwidth-en
force {enable | disable }] [profile profilename]
no igmp eth_slot/port [max-groups] [max-bandwidth] [profile profilename]
Purpose
To configure ONU Ethernet user port IGMP parameters and associate the port with the
IGMP profile
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
eth_slot/port
max-groups
Range: 1 65535
20-132
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
max-bandwidth
Maximum bandwidth
Range: 1 4294967295
profilename
Profile name
Range: 1 31
gpon-onu_shelf/slot/olt:onu
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to configure ONU Ethernet user port IGMP parameters
and associate the port with the IGMP profile:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:64
ZXAN(gpon-onu-mng)#igmp eth_0/1 profile test
ZXAN(gpon-onu-mng)#igmp eth_0/1 max-groups 1024
Related Commands
None
Purpose
To configure IGMP management port
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
eth_slot/port
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to configure IGMP management port:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
20-133
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Purpose
To configure the properties of a CES user port
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ces_slot/port
number
state{unlock | lock}
ds1-framing{extendsuper | g704 |
lock
unlock
Default: extendedsuper
DS1 mode
type expected-type
line-length line-length
Line length
Coding mechanism
Default: b8zs
Line type
Loop
hdb3}
line-type{3plcp | ds3cbitparity
| ds3clearchannel | ds3m23 |
ds3syntran | e3framed | other}
loop{noloop | lineloop |
opsloop1 | opsloop2 | opsloop3 |
payloadloop}
20-134
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
arc arc
Alarm suppression
arc-interval arc-interval
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to lock the management state of the CES user port:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#interface ces ces_0/1 state lock
Related Commands
None
Purpose
To configure the properties of an Ethernet interface
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
eth_slot/port
lock
unlock
mtu mtu
pause-time pause-time
frames
l2l3{ l2 | l3 | either }
loop{enable | disable}
20-135
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
type expect-type
Range: 1 254
0: Adaptive
power-control{disable | enable }
Power control
pppoe-filter{disable | enable }
control
packets only.
disable: Transmit packets of all
types.
Cable type
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to lock the management state of a specified Ethernet
interface:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)# interface eth eth_0/1 state lock
Related Commands
None
Purpose
To configure the SFi/SF alarm BER threshold and SDi/SF alarm BER threshold of a PON
port
Usage Guidelines
The following table provides parameter description:
20-136
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
pon_slot/port
number
gem-blocklen GEM-block-length
Range: 0 65,535
Default: 48
sf-threshold threshold1
Sf-threshold: 3 8
Default: 5
sd-threshold threshold2
Sf-threshold: 4 10
Range: 9
arc arc
Alarm suppression
0: No suppression
1: Alarm suppression
arc-interval arc-interval
Range: 0 254
Unit: minute
255: Alarm suppression without
limit
rx-optical-threshold
low threshold1
threshold
Accuracy: 0.5
threshold
high threshold2
threshold
tx-optical-threshold
low threshold1
threshold
Granularity: 0.5 dB
power threshold
high threshold2
power threshold
alarm {enable | disable}
alarm-disable-interval interval
Range: 0 255
Unitmin
alarm is disabled.
[vol-thresholdlow{threshold1}
Range: 0 6.56 V
high{threshold2}]
threshold
Granularity: 0.02 V
20-137
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
current-thresholdlow{threshold1}
Range: 0 131 mA
high{threshold2}]
Granularity: 0.002 mA
high {threshold2}]
alarm threshold
Granularity: 1/256
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to configure the SFi/SF alarm BER threshold and
SDi/SF alarm BER threshold of a PON port:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#interface pon pon_0/1 sf-threshold 4 sd-threshold 8
Related Commands
None
Purpose
To configure the properties of a POTS user port
Usage Guidelines
The following table provides parameter description:
20-138
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
pots_slot/port
port number
state{lock | unlock}
tx-gain gain
lock
unlock
rx-gain gain
tx-path{fulltimeOnHook |
fulltimeOnHook: Full-time
parttimeOnHook }
on-hook
parttimeOnHook: Part-time
on-hook
impedance impedance
Impedance
Range: 0 255
arc arc
Alarm suppression
0: No suppression
1: Alarm suppression
arc-interval arc-interval
Range: 0 254
Unit: minute
255: Alarm suppression without
limit
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to configure the impedance of a specified POTS user
port:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#interface pots pots_0/1 impedance 10
Related Commands
None
Purpose
To configure the properties of a video interface
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
video_slot/port
number
state{unlock | lock}
lock
unlock
power-control{disable | enable}
Power control
arc arc
Alarm suppression
0: No suppression
1: Alarm suppression
arc-interval arc-interval
Range: 0 254
Unit: minute
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to lock the management state of a video port:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#interface video video_0/1 state lock
Related Commands
None
Purpose
To configure Access Node Interface (ANI) for video service on the ONU
20-140
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
arc arc
arc-interval arc-interval
Value
ACR inteval
agc-mode
disable: no AGC
broadband: broadband
gain
l
offset agc-setting
-12.8 dB12.7 dB
mode
Unit: 0.1 dB
agc-mode is disable, no
need to set
agc-mode is broadband,
set broadband gain
upper threshold
pilot-frequency pilot-frequency
Pilot frequency
0 Hz 4294967295 Hz
l
Signal capability 4 or 5:
read and write
Signal capability 2 or 3:
read only
Signal capability 0, 1, 6, or
7: undefined
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to configure ANI for video service on the ONU:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#interface video-ani state unlock
ZXAN(gpon-onu-mng)#interface video-ani arc 1 arc-interval 2
ZXAN(gpon-onu-mng)#interface video-ani pilot-frequency 1000
ZXAN(gpon-onu-mng)#interface video-ani agc-mode broadband offset 30
20-141
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
show gpon remote-onu interface video-ani
Purpose
To configure the properties of WIFI port
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
wifi_slot/port
1 31 characters
arc arc
Alarm suppression
0: No suppression
1: Alarm suppression
arc-interval arc-interval
Range: 0 254
Unit: minute
255: Alarm suppression without
limit
lock
unlock
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to configure the properties of a WIFI port:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#interface wifi wifi_0/1 arc 0 arc-interval 255 state unlock
Related Commands
None
20-142
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure ONU host DHCP, PING response and trace response
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
hostId
ONU host ID
Range: 1 255
dhcp-enable
Enable DHCP
true
false
true
false
true
false
ping-response
traceroute-response
PING response
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to configure ONU host DHCP, PING response and
trace response:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#ip-host 1 dhcp-enable true ping-response true traceroute-response true
Related Commands
None
20.4.32 ip-host id
Syntax
ip-host hostId id string
20-143
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure ONU host ID
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
hostId
ONU host ID
Range: 1 255
string
1 25 characters
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to configure the ONU host ID:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#ip-host 1 id test
Related Commands
None
20.4.33 ip-host ip
Syntax
ip-host hostId ip address mask mask [gateway gateway]
Purpose
To configure ONU host IP address, subnet mask, and gateway
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
hostId
ONU host ID
Range: 1 255
ip address
IP address
Decimal numbers
mask mask
Subnet mask
gateway gateway
Gateway address
Decimal numbers
Mode
ZXAN(gpon-onu-mng)#
20-144
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to configure the ONU host IP address, subnet mask,
and gateway:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#ip-host 1 ip 10.1.1.1 mask 255.255.255.0 gateway 10.61.54.254
Related Commands
None
Purpose
To configure ONU host DNS
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
hostId
ONU host ID
1 255
primary-dns address
Decimal numbers
second-dns address
Decimal numbers
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to configure the ONU host DNS:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#ip-host 1 primary-dns 192.168.1.1 second-dns 192.168.1.10
Related Commands
None
20-145
SJ-20120615152640-010|2012-06-30 (R1.0)
20.4.35 ip-service-map
Syntax
ip-service-map service-Id host hostid
Purpose
To configure IP Service host ID
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
service-Id
Service ID
Range: 1 24
host hostid
Host ID
Range: 1 255
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to configure IP Service host ID:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#ip-service-map 1 host 1
Related Commands
None
20.4.36 lct
Syntax
lct { enable | disable }
Purpose
To enable LCT
Usage Guidelines
None
Mode
ZXAN(gpon-onu-mng)#
20-146
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to enable LCT:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#lct enable
Related Commands
None
20.4.37 loopback
Syntax
loopback
Purpose
To configure ONU loopback
Usage Guidelines
None
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to configure ONU loopback:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#loopback
Related Commands
None
20.4.38 loop-detect
Syntax
loop-detect ethuni eth_slot/port {enable | disable}
Purpose
To enable/disable the loop detection
20-147
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ethuni eth_slot/port
Range: 1 - 31 characters
enable
disable
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to enable the loop detection on a UNI:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#loop-detect ethuni eth_0/1 enable
ZXAN(gpon-onu-mng)#
Related Commands
show gpon remote-onu loop-detect
20.4.39 mac-filter
Syntax
mac-filter {flow flowid | ethuni eth_slot/port | iphost hostid} macaddress {discard | forward}
no mac-filter {flow flowid | ethuni eth_slot/port | iphost hostid} macaddress
Purpose
To configure the MAC address filter
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
flow flowid
Flow ID
Range: 1 - 255
ethuni eth_slot/port
Range: 1 - 31 characters
port number
iphost hostid
Host ID
Range: 1 - 255
macaddress
MAC address
XXXX.XXXX.XXXX
discard
20-148
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
forward
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to configure the MAC address filter:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#mac-filter iphost 1 0000.0000.1111 discard
ZXAN(gpon-onu-mng)#
Related Commands
None
20.4.40 me-access
Syntax
me-access trans-id MSG-type ME-class ME-id [ ME-content ]
Purpose
To configure ME access
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
trans-id
Trans ID
Range: 0 65535
MSG-type
MSG type
Range: 0 255
ME-class
ME class
Range: 0 65535
ME-id
ME id
Range: 0 65535
ME-content
ME contents
0 95 characters
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to configure ME access :
20-149
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
20.4.41 mgc
Syntax
mgc mgcid {server1 address-name [validate {disable | md5 username name password password
realm realm | basic username name password password}]|server2 address-name [validate {dis
able | md5 username name password password realm realm | basic username name password
password}]}
mgc mgcid [port port-num] [version version][msg-format {text-long | text-short | binary}] [ma
x-retry-time time-in-seconds] [max-retry-attempts times] [service-change-delay time-in-second
s][ss-vendor ss-vendor]
no mgc mgcid
Purpose
To create an MGC and associate the MGC with TCP/UDP port
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
mgcid
MGC ID
Range: 1 65535
server1 address-name
server
name
1 128 characters
server2 address-name
server
name
1 128 characters
port port-num
Range: 1 65535
host-id hostid
IP host ID
Range: 1 255
version version
Protocol version
Range: 1 255
msg_format
Message format
text-long
text-short
binary
max-retry-time time-in-seconds
20-150
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
max-retry-attempts times
Range: 1 65535
service-change-delay
ss-vendor ss-vendor
SS vendor
1 4 characters
Validation mode
md5
basic
disable
time-in-seconds
username name
User name
0 128 characters
password password
Password
0 25 characters
realm realm
Domain
0 25 characters
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to configure an MGC:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#mgc 1 server1 10.64.196.254 validate basic username zte password zte
Related Commands
None
20.4.42 mgc-service
Syntax
mgc-service pots_slot/port profile profile-name
Purpose
To configure POTS MGC service (including H.248 and MGCP)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
pots_slot/port
1 64 characters
profile profile-name
1 64 characters
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to configure POTS MGC service:
ZXAN(gpon-onu-mng)#mgc-service pots_0/1 profile test1
Related Commands
None
Related Information
The MGC service is configured when VoIP is H.248 or MGCP. The MGC profile must be
created in advance.
20.4.43 mgmt-ip
Syntax
mgmt-ip ip-address mask-address vlan vlanID priority priority route subnet net-mask nexthop [
host hostid ]
Purpose
To configure GPON ONU management IP address
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ip-address mask-address
A.B.C.D
address
vlan vlanID
VLAN ID
Range: 1 4094
priority priority
Priority
Range: 0 7
A.B.C.D
next-hop address
host hostid
Host ID
Range: 1 255
Mode
ZXAN(gpon-onu-mng)#
20-152
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to configure GPON ONU management IP address:
ZXAN(gpon-onu-mng)#mgmt-ip 10.2.3.4 255.0.0.0 vlan 3 priority 1
route 10.3.2.5 255.0.0.0 10.2.3.6 host 3
Related Commands
None
Purpose
To assign ONU MGMT IP address automatically from the IP address pool
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
host host
host ID
Range: 1 255
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to assign ONU MGMT IP address automatically from
the IP address pool:
ZXAN(gpon-onu-mng)#mgmt-ip auto-assign host 1
Related Commands
None
20-153
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To release ONU MGMT IP address
Usage Guidelines
None
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to release ONU MGMT IP address:
ZXAN(gpon-onu-mng)#mgmt-ip release
Related Commands
None
20.4.46 mirror
Syntax
mirror ethuni eth gemport gemport direction { both | down | up }
Purpose
To configure mirroring
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ethuni eth
gemport gemport
gemport number
Range: 1 256
Mirroring direction
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to configure mirroring:
ZXAN(gpon-onu-mng)#mirror ethuni eth_0/1 gemport 1 direction both
20-154
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Purpose
To configure ONU multicast VLAN
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
Range: 1 4094
Range: 1 4094
clear
VLAN
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to configure ONU multicast VLAN:
ZXAN(gpon-onu-mng)#multicast vlan add vlanlist 1
Related Commands
None
20-155
SJ-20120615152640-010|2012-06-30 (R1.0)
20.4.48 onu-vlan
Syntax
onu-vlan { ethuni ethuni | iphost iphost | wifi wifi } [ down-mode down-mode ] [ up-mode up-m
ode ] [ up-prio up-prio ]
Purpose
To configure VLAN process mode on ONU UNI
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ethuni ethuni
Ethernet port
iphost iphost
IP host ID
Range: 1 255
wifi wifi
WIFI port
down-mode down-mode
up-mode up-mode
up-prio up-prio
Range: 0 7
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to configure VLAN process mode on ONU UNI:
ZXAN(gpon-onu-mng)#onu-vlan ethuni eth_0/1 down-mode delete-pvid
Related Commands
None
20.4.49 performance
Syntax
performance {flow flow id | [switchport] ethuni eth_slot/port | dot1x ethuni eth_slot/port |ga
l-eth gemport id | gem gemport id | multicast { [ethuni eth_slot/port ] [ vlan vid ] } | switch
switch_slot/port | [switchport] iphost host id | call-ctrl pots_slot/port| rtp pots_slot/port | sip-aent
agent id | sip-call-init agent id | mgc mgc id | pw ces_slot/port | vlan ethuni eth_slot/port vid}
{start | stop | threshold threshold-profile-name }
20-156
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure performance statistics task
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
start
stop
threshold threshold-profile-name
profile name
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to configure an Ethernet performance statistics task:
ZXAN(gpon-onu-mng)#performance ethuni detailed eth_0/1 start
Related Commands
show gpon remote-onu performance
20.4.50 power-shedding
Syntax
power-shedding [restore-interval time] [{atm | ces | data | dsl | frame | sonnet | video-overlay
| video-return | voice} {immediate | interval time-before-shedding}]
no power-shedding {atm | ces | data | dsl | frame | sonnet | video-overlay | video-return | voice}
20-157
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To disable specific service for power saving when the ONU AC power is faulty
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
restore-interval time
0 65535, unit: s
2 65535, unit: s
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to configure power-shedding:
ZXAN(gpon-onu-mng)#power-shedding restore-interval 23 data interval 23
Related Commands
show gpon remote-onu power-shedding
20.4.51 pkt-filter
Syntax
pkt-filter {flow flowid | ethuni eth-slot/port | iphost hostid} [{appleTalk | arp | bpdu | ipv4bro
adcast | ipv4multicast | ipv6multicast | ipx | netBEUI | pppoe | rarp} {discard | forward}]
Purpose
To configure packet filter rule for layer 2 bridge on ONU
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ethuni eth-slot/port
Ethernet port
flow flowid
Flow ID
Range: 1 255
iphost hostid
IP host
Range: 1 255
20-158
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
discard
forward
ipv4broadcast | ipv4multicast |
ipv6multicast | ipx | netBEUI |
pppoe | rarp
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to configure packet filter rule :
ZXAN(config)#pon-onu-mng gpon-onu-1/3/1:1
ZXAN(gpon-onu-mng)#pkt-filter ethuni eth_0/1 pppoe discard rarp forward
ZXAN(gpon-onu-mng)#
Related Commands
None
Purpose
To configure PW over Ethernet
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ces_slot/port
1 31 characters
switch_slot/switch
Switch name
1 31 characters
XXXX.XXXX.XXXX
loopback{disable | enable}
20-159
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
tx-payload-ecid ecid
Tx payload ECID
tx-signalling-ecid ecid
Tx signaling ECID
Hex mumber
4 bytes
expected-payload-ecid ecid
expected-signalling-ecid ecid
Hex number
4 bytes
tag-policy
Tag policy
Tag
Untag
untag
Untagged
tag
Tagged
prio priority
Priority
Range: 0 7
vid vlanid
VLAN ID
Range: 1 4094
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to configure PW over Ethernet:
ZXAN(config)#pon-onu-mng gpon-onu-1/3/1:1
ZXAN(gpon-onu-mng)#pw psn ethernet ces_0/1 dst-mac 0000.1111.2222 loopback disable
tx-payload-ecid 0x00004102 tx-singalling-ecid 0x00000000 expected-payload-ecid
0x00004102 expected-signalling-ecid 0x00000000 tag-policy untag
ZXAN(gpon-onu-mng)#
Related Commands
None
20.4.53 pw psn ip
Syntax
pw psn ip ces_slot/port near-end-ip tcp-udp-port [host hostid] far-end-ip URI
Purpose
To create PW over IP
20-160
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ces_slot/port
near-end-ip tcp-udp-port
number
host hostid
Near-end IP host ID
far-end-ip URI
Far-end IP address
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to create PW over IP:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#pw psn ip ces_0/1 near-end-ip 5060 far-end-ip
udp://192.168.100.221:5000
Related Commands
None
Related Information
1. To configure a PW link, the relevant command flow is: pw rtp -> pw ip (pw ethernet)
-> pw tdm -> pw optional (optional).
2. Only creating a PW link and deleting a PW link is supported. The pw delete command
is used to delete all PW link configurations.
20.4.54 pw optional
Syntax
pw optional ces_slot/port {[service-type {basic-unstructure | octec-aligned-unstructure | stru
ctured}] [signaling {no-signalling | cas-same-packet-stream | cas-seperate-channel}] [arc arc
arc-interval interval]}
Purpose
To configure PW optional properties
Usage Guidelines
The following table provides parameter description:
20-161
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
ces_slot/port
service-type {basic-unstructure
Service type
Signaling type
Alarm suppression
0: No suppression
| octec-aligned-unstructure |
structured}
signaling {no-signalling |
cas-same-packet-stream |
cas-seperate-channel}
arc arc
1: Alarm suppression
arc-interval interval
Range: 0 254
Unit: minute
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to configure PW optional properties:
ZXAN(gpon-onu-mng)#pw optional ces_0/1 service-type basic-unstructure
Related Commands
None
Related Information
1. To configure a PW link, the relevant command flow is: pw rtp -> pw ip (pw ethernet)
-> pw tdm -> pw optional (optional).
2. Only creating a PW link and deleting a PW link is supported. The pw delete command
is used to delete all PW link configurations.
20.4.55 pw rtp
Syntax
pw rtp ces_slot/port payload-ssrc ssrc signalling-ssrc ssrc payload-ptype payload-type signallin
g-ptype payload-type {[clock-reference multiplesOf8kHz timestamp-mode {unknown | absolute
| differential}] [expected-payload-ptype payload-type expected-signalling-ptype payload-type]
[expected-payload-ssrc ssrc expected-signalling-ssrc ssrc] [rtp-ts-mode {absolute | differential
| unknow}]}
Purpose
To configure PW RTP properties
20-162
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ces_slot/port
payload-ssrc ssrc
Payload SSRC
Range: 0 4294967295
signalling-ssrc ssrc
Signaling SSRC
Range: 0 4294967295
payload-ptype
signalling-ptype payload-type
clock-reference multiplesOf8kHz
Clock reference
timestamp-mode {unknown |
Multiples of 8kHz
expected-payload-ptype
payload-type
payload channel
expected-signalling-ptype
payload-type
signaling channel
expected-payload-ssrc ssrc
absolute | differential}
channel
expected-signalling-ssrc ssrc
channe
rtp-ts-mode {absolute |
Default: unknow
differential | unknow}
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to configure PW RTP properties:
ZXAN(gpon-onu-mng)#pw rtp ces_0/1 payload-ssrc 2
signalling-ptype 0
signalling-ssrc 3 payload-ptype 4
expected-payload-ptype 0 expected-signalling-ptype 4
Related Commands
None
Related Information
1. To configure a PW link, the relevant command flow is: pw rtp -> pw ip (pw ethernet)
-> pw tdm -> pw optional (optional).
20-163
SJ-20120615152640-010|2012-06-30 (R1.0)
2. Only creating a PW link and deleting a PW link is supported. The pw delete command
is used to delete all PW link configurations.
20.4.56 pw tdm
Syntax
pw tdm ces_slot/port payloadsize size [payload-delay time-in-ms] timing-mode {network-timi
ng | differential-timing | adaptive-timing | loop-timing} [tdm-profile profile-name]
Purpose
To configure PW TDM properties
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ces_slot/port
payloadsize size
Payload size
payload-delay time-in-ms
Payload delay
timing-mode {network-timing
Timing mode
TDM profile
| differential-timing |
adaptive-timing | loop-timing}
tdm-profile profile-name
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to configure PW TDM properties:
ZXAN(gpon-onu-mng)# pw tdm ces_0/1 payloadsize 32 timing-mode differential-timing
Related Commands
None
20.4.57 pw delete
Syntax
pw delete ces_slot/port
20-164
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To delete PW
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ces_slot/port
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to delete a PW:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#pw delete ces_0/1
Related Commands
None
20.4.58 protocol-filter
Syntax
protocol-filter ethuni eth forward { enable | disable } [ vlan vlan-list ]
Purpose
To configure protocol filtering
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ethuni eth
Ethernet interface
vlan vlan-list
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to configure protocol filtering :
20-165
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
20.4.59 proto-proc
Syntax
proto-proc ctrl Profile name [limit] Profile name
proto-proc ethuni eth_slot/port {ctrl Profile name | limit Profile name} [ctrl | limit]
proto-proc limit Profile name [ctrl] Profile name
Purpose
To configure protocol process mode
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ethuni eth_slot/port
Mode
ZXAN(gpon-onu-mng)#
Related Information
None
Example
The following example displays how to configure protocol process mode:
ZXAN(gpon-onu-mng)#proto-proc limit asdf ctrl asdf
Related Commands
show gpon remote-onu proto-proc
20-166
SJ-20120615152640-010|2012-06-30 (R1.0)
20.4.60 range
Syntax
range
Purpose
To display the port range in current mode
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays the port range in current mode:
ZXAN(gpon-onu-mng)#range
Portlist of the range:
gpon-onu_1/2/1:1
Related Commands
None
20.4.61 reboot
Syntax
reboot
Purpose
To reboot remote ONU
Usage Guidelines
None
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to reboot ONU:
ZXAN(gpon-onu-mng)#reboot
ZXAN(gpon-onu-mng)#
20-167
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
20.4.62 restore
Syntax
restore
Purpose
To restore remote ONU
Usage Guidelines
None
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to restore remote ONU:
ZXAN(gpon-onu-mng)#restore
ZXAN(gpon-onu-mng)#
Related Commands
None
20.4.63 schedule
Syntax
schedule eth_slot/port profile name
no schedule eth_slot/port profile
Purpose
To configure ONU Ethernet port scheduling and associate the scheduling to the relevant
profile
Usage Guidelines
The following table provides parameter description:
20-168
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
eth_slot/port
name
1 31 characters
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to configure Ethernet port scheduling and associate
the scheduling to the relevant profile:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#schedule eth_0/1 profile test
Related Commands
None
Purpose
To set WIFI encryption including encryption method, length and key
Usage Guidelines
The following table describes the relevant parameters:
Parameter
Description
Value
{wep | wpa}
Encryption method
{open-system | shared-key}
wep encryption
be ASCII
default-key key id
14, in default 1
20-169
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
ZXAN#
Example
The following example displays how to configure the WIFI encryption:
ZXAN(gpon-onu-mng)#ssid auth wep wifi_0/1 shared-key
Related Commands
ssid auth wpa
Purpose
To set the WIFI encryption including encryption method, length and key
Usage Guidelines
The following table describes the relevant parameters:
Parameter
Description
Value
wpa-psk | wpa2-psk |
In default wpa-wpa2-psk
In default TKIP-AES
863 characters
wpa-wpa2-psk
encrypt {wep | tkip | wep-tkip
| aes | wep-aes | tkip-aes |
wep-tkip-aes
key { default wpa passphrase }
Mode
ZXAN(gpon-onu-mng)#
Example
The following example shows how to configure the WIFI encryption:
ZXAN(gpon-onu-mng)#ssid auth wpa wifi_0/1 key default
20-170
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Related Information
WPA is the default encryption method for ONU WIFI. The following are default setting:
ZXAN(gpon-onu-mng)#ssid auth wpa wifi_0/1 wpa-wpa2-psk
encrypt tkip-aes key-update-interval 600
No key input during open-system and shared-key switching under WEP method
No key input during the switch among wpa-psk, wpa2-psk and wpa-wpa2-psk.
Encryption key recovery can be realized with the following command under WPA method:
ZXAN(gpon-onu-mng)#ssid auth wpa wifi_0/1 key default
20.4.66 service
Syntax
service name type {internet | hybrid | internet+iptv | iptv | voip} {ethuni eth_slot/port | iphost
iphost} gemport gemport-index [[cos cos] [vlan vlanid [mvlan mvlanid]] | untag]
no service name
Purpose
To configure service on the ONU
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
name
Service name
1 31 characters, no space
type
Service type
Internet
VOIP
IPTV
Internet+IPTV
Hybrid
ethuni eth_slot/port
Ethernet interface
iphost iphost
IP host ID
1 255
20-171
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
cos cos
07
1 4094
MVLAN ID
untag
port
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to configure services on the ONU:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#service 1 gemport 1 vlan 100
ZXAN(gpon-onu-mng)#service 2 gemport 2 untag
Related Commands
show gpon remote-onu service
Related Information
The service command supports creation and deletion, but no modification.
The service command supports optimized services configuration on GPON ONUs. It
conflicts with the flow and gemport commands.
On one ONUservice transparent transmission, CoS mapping, VLAN mapping ,CoS +
VLAN mapping, and port mapping conflict with each other. Only one mapping type can be
used.
On one ONU, untagged service and tagged service (CoS mapping, VLAN mapping ,CoS
+ VLAN mapping) can be coexistent.
20.4.67 sntp
Syntax
sntp time-zone time-zone master-server IPAddress slave-server IPAddress [daylight-saving-ti
me { enable| disable}][interval interval][dscp dscp]
Purpose
To configure properties of the Simple Networking Timing Protocol (SNTP)
20-172
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
time-zone time-zone
Time zone
GMT-12:00 to GMT+12:00
master-server IPAddress
slave-server IPAddress
daylight-saving-time{ enable|
Enable or disable
disable}
daylight-saving-time
interval interval
Interval of synchronization
1 4294967295, unit: s
Default: 86400 s
dscp dscp
DSCP of synchronization
0 255
packets
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to configure the SNTP parameters:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#sntp time-zoon GMT+08:00 master-server 1.2.3.4 slave-server
1.2.3.5
20.4.68 switch
Syntax
switch switch_slot/switch [stp {disable | enable}] [learn {disable | enable}] [local-switch {disable
| enable}] [priority priority] [max-age seconds] [hello-time seconds] [forward-delay seconds]
[unknownMac-discard {disable | enable}] [addr-learn-depth depth]
Purpose
To configure switch information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
switch_slot/switch
Switch port
Range: 1 - 31 characters
20-173
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
switch
priority priority]
Range: 0 - 65535
max-age seconds
Range: 6 - 40 sec
item
hello-time seconds
Hello time
Range: 1 - 10 sec
forward-delay seconds
Forward delay
Range: 4 - 30 sec
unknownMac-discard {disable |
disable: Flooding
enable}
or not
enable: Discard
addr-learn-depth depth
Range: 0 - 255
at UNI side
0: No restriction
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to configure switch information:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#switch switch_0/1 forward-delay 4 hello-time 1
ZXAN(gpon-onu-mng)#
Related Commands
None
20.4.69 switchport-bind
Syntax
switchport-bind switch_slot/switch {ethuni | iphost} id
no switchport-bind {ethuni | iphost} id
Purpose
To bind UNI or host to switch port
Usage Guidelines
The following table provides parameter description:
20-174
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
switch_slot/switch
Switch port
Range: 1 - 31 characters
ethuni
Ethernet port
Range: 1 - 31 characters
Format: eth_slot/port
iphost id
Host ID
Range: 1 - 255
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to bind UNI to switch port:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#switchport-bind switch_0/1 ethuni eth_0/1
ZXAN(gpon-onu-mng)#
Related Commands
None
20.4.70 switchport
Syntax
switchport {flow | ethuni | iphost | veip} id [addr-learn-depth num] [stp {enable | disable}]
[path-cost path-cost] [priority priority] [lan-fcs {forward | discard}]
Purpose
To configure L2 bridge port properties
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
L2 bridge port ID
ethuni: eth_slot/port
Others: 1 255
addr-learn-depth num
Range: 0 255
0 means no limit
Enable/disable STP
path-cost path-cost
Path cost
0 65535
priority priority
Port priority
0 65535
20-175
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
Forward/discard FCS
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to configure L2 bridge port properties:
ZXAN(gpon-onu-mng)#switchport ethuni eth_0/1 stp enable
Related Commands
show gpon remote-onu firewall switchport
20.4.71 synctime
Syntax
synctime
Purpose
To synchronize the start time of performance statistics
Usage Guidelines
None
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to synchronize the start time of performance statistics:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#synctime
ZXAN(gpon-onu-mng)#
Related Commands
None
20-176
SJ-20120615152640-010|2012-06-30 (R1.0)
20.4.72 sys-attr
Syntax
sys-attr {[cpu-threshold percentage] [mem-threshold percentage] }
Purpose
To configure the alarm thresholds for CPU and memory usage
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
percentage
Percentage
0 100
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to configure the alarm thresholds for CPU and memory
usage:
ZXAN(gpon-onu-mng)#sys-attr cpu-threshold 23 mem-threshold 32
Related Commands
show gpon remote-onu sys-attr
20.4.73 security-ctrl
Syntax
security-ctrl { enable psk psk | disable }
Purpose
To configure security control
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
psk psk
Pre-shared key
32 characters
20-177
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to configure security control:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#security-ctrl enable psk 1234567890123456789012
Related Commands
None
20.4.74 security-mng
Syntax
security-mng id [ ingress-type ingress-type ] [ mode mode ] [ start-src-ip start-src-ip end-src-ip
end-src-ip ] [ state state ][ protocol {[ protocol1 ] [ protocol2 ] [ protocol3 ]}]
Purpose
To configure remote security control properties
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
id
Port ID
Range: 1 65535
ingress-type ingress-type
Ingress type
iphost
lan
wan
discard
permit
mode mode
Control mode
end-src-ip
source
state state
Control state
protocol protocol
A.B.C.D
enable
disable
ftp
telnet
web
Mode
ZXAN(gpon-onu-mng)#
20-178
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to configure remote security control properties:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#security-mng 1 ingress-type lan mode discard start-src-ip
10.2.3.4 end-src-ip 10.2.3.254 state enable protocol ftp telnet web
Related Commands
None
Purpose
To configure SIP agent authentication overtime
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
agent-id
SIP agent ID
Range: 0 65,535
reg-exptime time
Authentication overtime
Range: 0 42,949,672,955
Unit: sec
rereg-starttime time
Range: 0 42,949,672,955
Unit: sec
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to configure SIP agent authentication overtime:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#sip-agent 1 reg-exptime 100 rereg-starttime 100
Related Commands
None
20-179
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To specify the authenctication server of SIP agent
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
agent-id
Agent ID
Range: 0 65,535
{IP | URL}
IP or URL
0 128 characters
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to specify the authenctication server of SIP agent:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#sip-agent 1 registrar-server 10.1.1.1
Related Commands
None
Purpose
To configure the re-authentication start time of SIP agent
Usage Guidelines
The following table provides parameter description:
20-180
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
agent-id
Agent ID
Range: 0 65,535
rereg-starttime time
Range: 0 42,949,672,955
Unit: sec
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to configure the re-authentication start time of SIP
agent:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#sip-agent 1 rereg-starttime 1223
Related Commands
None
Purpose
To create a SIP agent and associate the agent with TCP/UDP port
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
agent-id
Agent ID
Range: 0 65,535
Proxy server
IP or URL
0 128 characters
outbound-proxy{IP | URL}
IP or URL
0 128 characters
Decimal numbers
secondary-dns address
Decimal numbers
20-181
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
tcpudp-port tcp-udp-port
TCP/UDP port
Range: 0 65,535
host host-id
The host ID
Range: 1 255
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to create a SIP agent:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#sip-agent 1 proxy-server 1.1.1.1 outbound-proxy 2.2.2.2
primary-dns 3.3.3.3 tcpudp-port 100
Related Commands
None
20.4.79 sip-agent ss
Syntax
sip-agent agent-id ss softswitch-vendor
Purpose
To configure the SS vendor of SIP agent
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
agent-id
Agent ID
Range: 0 65,535
softswitch-vendor
SS vendor
0 4 characters
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to configure the SS vendor of SIP agent:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#sip-agent 1 ss ZTE
20-182
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Purpose
To configure the validation mode of SIP agent and the relevant parameters
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
agent-id
Agent ID
Range: 0 65,535
Validation mode
md5
basic
disable
username name
User name
0 128 characters
password password
Password
0 25 characters
realm realm
Domain
0 25 characters
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to configure the validation mode of SIP agent and
relevant parameters:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#sip-agent 1 validate basic username zte password zte
Related Commands
None
20-183
SJ-20120615152640-010|2012-06-30 (R1.0)
20.4.81 sip-user
Syntax
sip-user pots_slot/port sip-agent agent-id user-aor aor [display-name name] [username name
password password]
sip-user pots_slot/port vmail-validate {disable | md5 | basic}] {vmail-username name vmail-pa
ssword password | vmail-realm realm }
sip-user pots_slot/port dial-plan dial-plan-name
sip-user pots_slot/port {[ vmail-server {IP | URL} ][vmail-exptime time] [release-time time][roh
-time time] }
sip-user pots_slot/port release-time time [roh-time time]
no sip-user pots_slot/port
Purpose
To create a SIP user and associate with POTS UNI, SIP Agent
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
pots_slot/port
POTS port
0 31 characters
sip-agent agent-id
SIP agent ID
Range: 0 65,535
user-aor aor
User AOR
0 128 characters
display-name name
Display name
0 25 characters
username name
User name
0 25 characters
password password
Password
0 25 characters
IP or URL
0 128 characters
vmail-validate{disable | md5 |
basic}
md5
basic
disable
vmail-username name
0 25 characters
vmail-password password
0 25 characters
vmail-exptime time]
Range: 0 42,949,672,955
Unit sec
vmail-realm realm
0 25 characters
dial-plan dial-plan-name
1 63 characters
20-184
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
service-profile profile-id
Range: 0 65,535
ONU
release-time time
Release time
Range: 0 255
Unit sec
roh-time time
ROH time
Range: 0 255
Unit sec
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to create a SIP user:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#sip-user pots_4/1 sip-agent 1 user-aor sip1
ZXAN(gpon-onu-mng)#sip-user pots_4/1 sip-agent 1 user-aor sip1
Related Commands
None
20.4.82 sip-service
Syntax
sip-service pots_slot/port profile profilename userid userid [username name password passwor
d][display-name name][vmail-server {ip | url}][vmail-validate{disable | basic username userna
me password password | md5 username username password password realm realm}][vmail-su
bscript-time time]
Purpose
To configure POTS SIP service
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
pots_slot/port
POTS port
1 64 characters
profile profilename
Profile name
1 64 characters
userid userid
User ID
1 128 characters
20-185
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
1 25 characters
display-name name
Display name
1 25 characters
IP or URL
password
1 128 characters
vmail-validate{disable | md5 |
basic}
md5
basic
disable
Default: disable
vmail-subscript-time time
Range: 0 42,949,672,955
Unit sec
Default: 3600 sec
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to configure POTS SIP service:
ZXAN(gpon-onu-mng)#sip-service pots_0/1 profile test1 userid 68895000
username 5000 password 5000 display-name ztesh vmail-server 10.63.10.1
vmail-validate md5 username test password test realm test vmail-subscript-time 7200
Related Commands
show gpon remote-onu sip-service
20.4.83 test
Syntax
test
Purpose
To test ONU
Usage Guidelines
None
Mode
ZXAN(gpon-onu-mng)#
20-186
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to test ONU:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#test
ZXAN(gpon-onu-mng)#
Related Commands
None
20.4.84 tr069-mgmt
Syntax
tr069-mgmt veipid [state { lock | unlock }] [acs IP/URL validate {disable | basic username name
password password | md5 username name password password realm realm}] [tag pri pri vlan
vlanid | untag]
no tr069-mgmt veipid acs
Purpose
To configure parameters of TR069 management channel
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
veipid
1 255
(VEIP) ID
state {lock | unlock}
Default: lock
management channel
acs IP/URL
Auto-Configuration Server
(ACS) IP address
validate {disable| basic username
disableno need to
validate
Default: disable
basicbasic validation
md5MD5 validation
tag
Tag mode
pri pri
Priority
07
vlan vlanid
VLAN ID
1 4094
untag
Untag mode
Default: untag
20-187
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to configure parameters of TR069 management
channel:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#tr069-mgmt 1 state unlock
ZXAN(gpon-onu-mng)#tr069-mgmt 1 acs 10.63.10.1 validate basic username zte password zte
ZXAN(gpon-onu-mng)#tr069-mgmt 1 tag pri 5 vlan 100
Related Commands
show gpon remote-onu tr069-mgmt
20.4.85 up-queue-map
Syntax
up-queue-map flow flowid priority-list queue queue id
no up-queue-map flow flowid
Purpose
To configure GPON ONU upstream queue map
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
flow
flowid
Flow ID
Range: 1 - 255
priority-list
Priority list
Range: 0 - 7
queue queue id
Queue ID
Range: 0 - 7
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to configure GPON ONU upstream queue map:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
20-188
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Related Information
l
l
Before executing this command, it is required to create the relevant flow or 802.1p
connection at UNI or upstream port.
queue queue id is upstream priority queue ID. It ranges from 0 to 7. The real queue
number depends on ONU. Queue 1 has the highest priority. The larger the queue ID,
the lower is the priority.
Queue 0 indicates the highest priority queue of T-CONT.
Purpose
To configure VLAN port mode
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
port
Ethernet port
eth_slot/port
Port mode
transparent
trunk
tag
hybrid
hybrid}
priority priority
Priority
Range: 0 7
vlan vlanid
VLAN ID
Range: 1 4094
def-vlan vlanid
Default VLAN ID
Range: 1 4094
def-prio priorityid
Default priority
Range: 0 7
Mode
ZXAN(gpon-onu-mng)#
20-189
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to configure VLAN port mode:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#vlan port eth_3/1 mode trunk
ZXAN(gpon-onu-mng)#
Related Commands
None
Purpose
To configure the binding between a VLAN and a port
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
port
Ethernet port
vlan vlanid
VLAN ID
Range: 1 4094
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to configure the binding between a VLAN and a port:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#vlan port eth_3/1 VLAN 1
Related Commands
show gpon remote-onu vlan port
20-190
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure VLAN translate rule
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
port
Ethernet port
priority priority
Priority
Range: 0 7
vlan vlanid
VLAN ID
Range: 1 4094
cvlan cvlanid
CVLAN ID
Range: 1 4094
cvlan-prio priority
CVLAN priority
Range: 0 7
svlan svlanid
SVLAN ID
Range: 1 4094
svlan-prio priority
SVLAN priority
Range: 0 7
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to configure VLAN translate rule:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#vlan port eth_3/1 translate vlan 100 cvlan 200 svlan 300
ZXAN(gpon-onu-mng)#
Related Commands
show gpon remote-onu vlan translate
20-191
SJ-20120615152640-010|2012-06-30 (R1.0)
20.4.89 vlan-filter-mode
Syntax
vlan-filter-mode {ethuni eth_slot/port | iphost hostid | veip veipid | wifi wifi_slot/port} tag-filter
{transparent | discard | forward | prio-filter | vid-filter | prio-vid-filter | prio-match | vid-ma
tch | prio-vid-match} untag-filter {transparent | discard}
no vlan-filter-mode {ethuni eth_slot/port | iphost hostid | veip veipid | wifi wifi_slot/port}
Purpose
To configure VLAN filter mode
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ethuni eth_slot/port
Range: 1 - 31 characters
port number
iphost hostid
Host ID
Range: 1 - 255
veip veipid
Range: 1 - 255
wifi wifi_slot/port
Wifi port
Range: 1 - 31 characters
tag-filter
frames
transparent
Transparent forwarding
Discard unconditionally
forward
Forward unconditionally
prio-filter
20-192
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
prio-match
unmatched frames
prio-vid-match
frames
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to configure VLAN filter mode:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#vlan-filter-mode ethuni eth_0/1 tag-filter
discard untag-filter transparent
ZXAN(gpon-onu-mng)#
Related Commands
None
20.4.90 vlan-filter
Syntax
vlan-filter {ethuni eth_slot/port | iphost hostid | veip veipid | wifi wifi_slot/port} [priority priority
vid vid
no vlan-filter {ethuni eth_slot/port | iphost hostid | veip veipid | wifi wifi_slot/port} [priority
priority vid vid
Purpose
To configure VLAN filter
Usage Guidelines
The following table provides parameter description:
20-193
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
ethuni eth_slot/port
Range: 1 - 31 characters
port number
iphost hostid
Host ID
Range: 1 - 255
veip veipid
Range: 1 - 255
wifi wifi_slot/port
Wifi port
Range: 1 - 31 characters
priority priority
Filter priority
Range: 0 - 7
vid vid
Filter VLAN ID
Range: 1 - 4094
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to configure VLAN filter:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#vlan-filter ethuni eth_0/1 priority 0 vid 10
ZXAN(gpon-onu-mng)#
Related Commands
None
20.4.91 veip
Syntax
veip id [ inter-domain inter-domain ] [ port [ tcp | udp ] port ] [ state state ]
Purpose
To configure ONU virtual Ethernet interface
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
id
MAC bridge ID
Range: 1 255
inter-domain inter-domain
algorithm or not
port [ tcp | udp ] port
Range: 1 65535
20-194
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
state state
State
lock
unlock
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to configure ONU virtual Ethernet interface:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#veip 1 port tcp 100 host 1 state lock
ZXAN(gpon-onu-mng)#
Related Commands
None
20.4.92 voip
Syntax
voip protocol {h248 | mgcp | none | sip}
Purpose
To configure VoIP protocol
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
h248
H.248 protocol
mgcp
MGCP
none
None
sip
SIP
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to configure VoIP protocol:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
20-195
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
20.4.93 voip-ctp
Syntax
voip-ctp pots_slot/port [signal {loop-start | groud-start | loop-reverse-battery | coin-fist | dialtone-first | multi-party}] | [media-profile profile-name] | [mgc mgc-index]
no voip-ctp pots_slot/port
Purpose
To configure VoIP voice CTP and associate the user data to POTS UNI
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
pots_slot/port
0 31 characters
signal
loop-start
groud-start
loop-reverse-battery
coin-fist
dial-tone-first
multi-party
media-profile profile-name
0 63 characters
mgc mgc-index
MGC index
Range: 1 65535
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to configure VoIP voice CTP:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#voip-ctp pots_0/1 signal multi-party
Related Commands
None
20-196
SJ-20120615152640-010|2012-06-30 (R1.0)
20.4.94 voip-ip
Syntax
voip-ip [ media ] mode dchp [ id id ] vlan-profile vlan-profile name [ slot slotno ] [ host hostId ]
voip-ip [ media ] mode static ip-profile ip-profile name ip ip-address mask mask vlan-profile
vlan-profile name [ slot slotno ] [ host hostId ]
voip-ip [ media ] mode pppoe [ mode { auto | chap | pap } ] username username password
password ] vlan-profile vlan-profile name [ slot slotno ] [ host hostId ]
voip-ip [ media ] [ ping-response { enable | disable } [ traceroute-response { enable | disable }
] [ slot slotno ] [ host hostId ]
Purpose
To configure VoIP IP address mode on the ONU
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
profile name
Profile name
1 64 characters
svlan svlan
SVLAN ID
1 4094
cvlan cvlan
CVLAN ID
1 4094
priority priority
Priority
07
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to configure the VoIP IP address mode on the ONU:
ZXAN(gpon-onu-mng)#voip-ip mode pppoe mode chap username zte password zte
vlan-profile 20110921
Related Commands
None
20.4.95 weight
Syntax
weight tcont tcontId queue queue-number weight
20-197
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure T-CONT weight
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
tcontId
T-CONT ID
Range: 1 256
queue-number
Queue number
Range: 1 4
weight
Weight
Range: 0 255
Mode
ZXAN(gpon-onu-mng)#
Example
The following example displays how to configure T-CONT weight:
ZXAN(gpon-onu-mng)#weight tcont 1 queue 1 30
Related Commands
None
Purpose
To display NAT configuration table information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
summary
idle items
static
dynamic
all
20-198
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
Any mode except ZXAN>
Example
The following example displays NAT configuration table information:
ZXAN# show mpnat cfg-table all
OutGlbIp
InGlbPort InRmtIp
InLclIp
InLclPort Type
OnuI
nterface
------------------------------------------------------------------------------0.0.0.0
9999
6.6.7.1
6.6.7.2
static
Used Num
: 1
Unused Num
: 63
Related Commands
None
Purpose
To display NAT transfer table information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
summary
idle items
all
service-port
Range: 0-7000
a service port
onu_shelf/slot/oltId:onuId
a specified ONU
20-199
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
Any mode except ZXAN>
Example
The following example displays NAT transfer table information:
ZXAN# show mpnat trans-table all
Entry:
113043736
OutGlbMac :
0:21:97:ef:28:3c
InLclMac :
0:d0:d0:12:34:56
InGlbMac
0:d0:d0:44:44: 8
InRmtMac :
0: 1: c: d: 0:ab
OutGlbIp
: 10.63.194.82
InLclIp
: 6.6.7.2
InGlbIp
: 10.63.194.84
InRmtIp
: 6.6.7.1
OutGlbPort: 2806
InLclPort: 2806
InGlbPort : 9999
InRmtPort: 9999
OnuInterface:
OuterIfName:mng1
RecvOuterPkt
: 15
RecvInnerPkt
: 14
Snd2InnerPkt
: 15
Snd2OuterPkt
: 14
Snd2InnerFailPkt: 0
Snd2OuterFailPkt: 0
Used Num
: 1
Unused Num
: 1023
Related Commands
None
Purpose
To query GPON ONU auto-shutdown configuration
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
gpon-onu_shelf/slot/olt:onu
20-200
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
Any mode
Example
The following example displays how to query auto-shutdown parameters:
ZXAN(gpon-onu-mng)#show gpon remote-onu auto-shutdown gpon-onu_1/1/1:1
hold-time: 60(s)
revert-time: 15(s)
Related Commands
auto-shutdown
Purpose
To display ONU broadcast limit
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
gpon-onu_shelf/slot/olt:onu
eth_slot/port
Mode
Any mode except ZXAN>
Example
The following example displays broadcast limit on the ONU Ethernet interface:
ZXAN(gpon-onu-mng)#$emote-onu broadcast-limit ethuni gpon-onu_1/1/1:1 eth_0/1
UNI Port:
eth_0/1
Limit Rate:
200
Related Commands
broadcast-limit
20-201
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To show the ONU capacity information, including the ONU type, priority queue quantity,
and port quantity
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
gpon-onu_shelf/slot/oltId:onuid
Mode
ZXAN(config-if)#
Example
The following example displays the ONU capacity information:
ZXAN(config-if)#show gpon remote-onu capability gpon-onu_1/1/5:1
TCONT number:
GEMPort number:
N/A
IP host number:
VEIP number:
Operation Id:
N/A
N/A
ONU type:
N/A
N/A
(GE:0
FE:0)
20-202
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To display MEP information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
gpon-onu_shelf/slot/olt:onu
Mode
Any mode except ZXAN>
Example
The following example displays MEP information:
ZXAN(gpon-onu-mng)#show gpon remote-onu cfm mep gpon-onu_1/1/1:1
interface: eth_0/1
MEP ID111
MEP CCMenable
MEP serverdisable
MEP AISdisable
MEP directiondown
MEP stateunlock
MEP CCM priority7
Peer MEP ID222
Peer MEP MAC00d0.d001.0101
MA primary VLAN100
MA normal VLAN200,300
MA CCM interveal1s
MD nameCTC0123456789
MD level0
Related Commands
None
20-203
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To display DHCP IP address allocation mode on ONU Ethernet interface
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
gpon-onu_shelf/slot/olt:onu
eth_slot/port
Mode
Any mode except ZXAN>
Example
The following example displays DHCP IP address allocation mode on the ONU Ethernet
interface:
ZXAN(config)#show gpon remote-onu dhcp-ip ethuni gpon-onu_1/1/1:1
interface: eth_0/1
DHCP IP obtain contrl mode :no control
interface: eth_0/2
DHCP IP obtain contrl mode :no control
interface: eth_0/3
DHCP IP obtain contrl mode :no control
interface: eth_0/4
DHCP IP obtain contrl mode :no control
interface: eth_0/5
DHCP IP obtain contrl mode :no control
interface: eth_0/6
DHCP IP obtain contrl mode :no control
20-204
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
dhcp-ip ethuni
Purpose
To show the ONU option60
Usage Guidelines
None
Mode
All modes except user mode
Example
The following example shows the ONU option60:
ZXAN#show gpon remote-onu dhcp-option60 gpon-onu_1/1/1:1
Option60 status: disable
Related Commands
None
Purpose
To display the 802.1p mapping information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
flow
Flow
20-205
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
gpon-onu_shelf/slot/olt:onu
Flow ID
Range: 1 - 255
Mode
Any mode except user mode
Example
The following example displays the 802.1p mapping information:
ZXAN#show gpon remote-onu dot1p-map flow gpon-onu_1/1/1:1 1
ZXAN#
Related Commands
None
Purpose
To show the ONU properties, including the administrative status, battery backup, security
mode, equipment ID, OMCC version, startup time, and operation time
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
gpon-onu_shelf/slot/oltId:onuid
Mode
Any mode except the ZXAN> mode
Example
The following example displays the ONU properties:
ZXAN(config)#show gpon remote-onu equip gpon-onu_1/1/1:1
Vendor ID:
20-206
SJ-20120615152640-010|2012-06-30 (R1.0)
00000000
Admin status:
unlock
Battery backup:
false
Security Mode:
aes
Product code:
TotalPrioQueueNum:
TotalTrafficSchNum:
TrafficMgmtOption:
priority-controlled
OperState:
enable
EquipID:
OMCC Version:
N/A
TotalGemPortNum:
N/A
SysUpTime:
N/A
Purpose
To display the remote ONU extended VLAN information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ethuni
information in ANI
switchport
Port ID
Mode
Any mode except user mode
20-207
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays the remote ONU extended VLAN information:
ZXAN#show gpon remote-onu ex-vlan ethuni gpon-onu_1/1/1:1 eth_0/1
ZXAN#
Related Commands
None
Purpose
To display the GPON remote ONU extended VLAN table information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ethuni
switchport
Port ID
rule rule-name
Range: 1 - 64 characters
Mode
Any mode except user mode
Example
The following example displays the GPON remote ONU extended VLAN table information:
ZXAN#show gpon remote-onu ex-vlan-table ethuni gpon-onu_1/1/1:1
eth_0/1
ZXAN#
20-208
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Purpose
To display the remote ONU flow information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
gpon-onu_shelf/slot/olt:onu
Flow ID
Range: 1 - 255
Mode
Any mode except user mode
Example
The following example displays the remote ONU flow information:
ZXAN#show gpon remote-onu flow gpon-onu_1/1/1:1 1
ZXAN#
Related Commands
None
Purpose
To display GEM port information
20-209
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
gpon-onu_shelf/slot/olt:onu
GEM port ID
queue-map
Mode
Any mode except ZXAN>
Example
The following example displays GEM port information:
ZXAN(gpon-onu-mng)#show gpon remote-onu gemport gpon-onu_1/2/3:1 1
Gemport:
Traffic limit:
ZXAN(gpon-onu-mng)#show gpon remote-onu gemport gpon-onu_1/2/3:1 queue-map 1
Gemport ID:
Upstream queue map(prio->queue):0->3 1->3 2->3 3->3 4->3 5->3 6->3 7->3
Downstream queue:
UNI name:
eth_0/1
Related Commands
None
Purpose
To display IGMP information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
gpon-onu_shelf/slot/olt:onu
Mode
Any mode except ZXAN>
Example
The following example displays IGMP information:
ZXAN(gpon-onu-mng)#show gpon remote-onu igmp gpon-onu_1/2/3:1 eth_0/1
Interface:
eth_0/1
Max-groups:
Max-bandwidth:
Bandwidth-enforce: disable
Profile:
test
Related Commands
None
Purpose
To display the remote ONU interface property and statistics information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
eth
pots
ces
video
video-ani
information
pon
wifi
gpon-onu_shelf/slot/olt:onu
Port ID
20-211
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
Any mode except user mode
Example
The following example displays the remote ONU interface property and statistics
information:
ZXAN#show gpon remote-onu interface eth gpon-onu_1/1/1:1 eth_0/1
interfece:
eth_0/1;
admin status:
unlock;
full-100;
arc-interval 0;
expect-type:
0;
speed config:
auto;
eth-loop:
noloop
max-frame:
1518;
pause-time:
wiring :
dce
bridgeOrIP:
either
pppoe-filter:
disable
power-control: disable
ZXAN#
Related Commands
None
Purpose
To display ONU host IP address configuration information
Usage Guidelines
The following table provides parameter description:
20-212
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
gpon-onu_shelf/slot/olt:onu
hostId
Range: 0 255
Mode
Any mode except ZXAN>
Example
The following example displays ONU host IP address configuration information:
ZXAN#show gpon remote-onu ip-host gpon-onu_1/1/1:1 1
host id:
1;
hostName:
identify:
test;
ip:
10.1.1.1;
mask:
255.255.255.0;
gateway:
10.61.54.254;
primary DNS:
192.168.1.1;
second DNS:
192.168.1.10;
dhcp-enable:
true;
ping-response:
true;
traceroute-response:true;
mac:
00:00:00:00:00:00;
curIp:
0.0.0.0;
curMask:
0.0.0.0;
curGateway:
0.0.0.0;
curPriDNS:
0.0.0.0;
curSecDNS:
0.0.0.0;
domainName:
Related Commands
ip-host
Purpose
To display IP service map of the ONU
20-213
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
gpon-onu_shelf/slot/olt:onu
serviceID
Service ID
Range: 1 24
Mode
Any mode except ZXAN>
Example
The following example displays IP service map of the ONU:
ZXAN(gpon-onu-mng)#show gpon remote-onu ip-service-map gpon-onu_1/1/1:1
Service id:
host id:
Related Commands
ip-service-map
Purpose
To show the ONU IP route information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
gpon-onu_shelf/slot/oltId:onuid
Mode
ZXAN(config-if)#
Example
The following example displays the ONU IP route information:
ZXAN(config-if)#show gpon remote-onu ip route gpon-onu_1/1/5:1
20-214
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To query GPON ONU loop-detect configuration
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ethuni
gpon-onu_shelf/slot/olt:onu
Mode
Any mode
Example
The following example displays how to query loop-detect configuration:
ZXAN(gpon-onu-mng)#show gpon remote-onu loop-detect ethuni gpon-onu_1/1/1:1
Interface:
eth_0/1
Interface:
eth_0/2
Interface:
eth_0/3
Interface:
eth_0/4
Related Commands
loop-detect
20-215
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To display the MAC address filter configuration information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ethuni
Ethernet port
flow
Flow
iphost
IP host
A.B.C.D
gpon-onu_shelf/slot/olt:onu
Port ID
Mode
Any mode except user mode
Example
The following example displays the MAC address filter information:
ZXAN#show gpon remote-onu mac-filter ethuni gpon-onu_1/1/1:1 eth_0/1
ZXAN#
Related Commands
None
Purpose
To display the performance alarm information
20-216
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
gpon-onu_shelf/slot/olt:onu
MGC ID
Range: 1 65535
Mode
Any mode except ZXAN>
Example
The following example displays the performance alarm information:
ZXAN(config)#show gpon remote-onu mgc gpon-onu_1/1/1:64
Related Commands
None
Purpose
To show the port location of the ONU
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
gpon-onu_shelf/slot/oltId:onuid
slotId
0 255
Mode
Any mode except the ZXAN> mode
Example
The following example displays the port location of the ONU:
ZXAN#show gpon remote-onu port-map gpon-onu_1/1/1:1 slot 3
20-217
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To show ONU power shedding information
Usage Guidelines
The following table provides parameter description:
Parameter
gpon-onu_shelf/slot/oltid:onuid
Description
Value
Mode
Any mode except ZXAN>
Example
The following example displays ONU power shedding information:
ZXAN#show gpon remote-onu power-shedding gpon-onu_1/1/1:1
Related Commands
None
Purpose
To display PW configuration information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
gpon-onu_shelf/slot/olt:onu
ces_slot/port
20-218
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
Any mode except ZXAN>
Example
The following example displays PW configuration information:
ZXAN# show gpon remote-onu pw gpon-onu_1/1/1:1
Related Commands
None
Purpose
To display the GPON packets filter information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ethuni
Ethernet port
flow
Flow
iphost
IP host
A.B.C.D
gpon-onu_shelf/slot/olt:onu
Port ID
Mode
Any mode except user mode
Example
The following example displays the GPON packets filter information:
ZXAN#show gpon remote-onu pkt-filter ethuni gpon-onu_1/1/1:1 eth_0/1
ZXAN#
20-219
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Purpose
To display the remote ONU performance information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ethuni eth_slot/port
Range: 1 - 31 characters
data
gal-eth gemportid
Range: 1 - 256
data
gem gemportid
Range: 1 - 256
switch switch_slot/port
Range: 1 - 31 characters
iphost hostid
Range: 1 - 255
call-ctrl pots_slot/port
Range: 1 - 31 characters
rtp pots_slot/port
Range: 1 - 31 characters
sip-call-init agentid
Range: 1 - 255
statistics data
mgc mgcid
Range: 1 - 65535
switchport
gpon-onu_shelf/slot/olt:onu
Performance point ID
20-220
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
Any mode except user mode
Example
The following example displays the remote ONU performance information:
ZXAN#show gpon remote-onu performance ethuni gpon-onu_1/1/1:1 eth_0/1
ZXAN#
Related Commands
None
Purpose
To display SIP agent configuration information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
gpon-onu_shelf/slot/olt:onu
agent-id
Range: 0 65,535
Mode
Any mode except ZXAN>
Example
The following example displays SIP agent configuration information:
ZXAN#show gpon remote-onu sip-agent gpon-onu_1/1/1:4
agent id :
1;
proxyServer:
1.1.1.1;
outboundProxy:
2.2.2.2;
primary DNS :
3.3.3.3;
second DNS :
0.0.0.0;
regServer :
4.4.4.4;
20-221
SJ-20120615152640-010|2012-06-30 (R1.0)
aaa;
regPassword:
aaa;
tcpudpPort:
21;
regExpTime :
3600;
reRegStartTime:
ssVendor:
status:
1223;
ZTE;
NA;
Related Commands
sip-agent
Purpose
To show POTS SIP service configuration information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
gpon-onu_shelf/slot/olt:onu
0 31 characters
Mode
Any mode except ZXAN>
Example
The following example displays POTS SIP service configuration information:
ZXAN(confg-gpon)#show gpon remote-onu sip-service gpon-onu_1/1/1:1
Interface:pots_0/1
Profile:test1
User identification:68895000
Username:5000
Password:5000
Display name:ztesh
Voicemail server:10.63.10.1
Validation scheme:md5
20-222
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Related Information
The command is used when VoIP is SIP. In addition, the SIP profile is already configured.
Purpose
To display SIP user information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
gpon-onu_shelf/slot/olt:onu
0 31 characters
Mode
Any mode except ZXAN>
Example
The following example displays SIP user information:
ZXAN#show gpon remote-onu sip-user gpon-onu_1/1/1:1
Related Commands
sip-user
20-223
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To show the WIFI encryption, including encryption method, length and key
Usage Guidelines
None
Mode
All modes except user mode
Example
The following example shows the WIFI encryption:
ZXAN#show gpon remote-onu ssid info gpon-onu_1/1/1:1 wifi_1/1
Related Commands
None
Purpose
To show the ONU service mapping type
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
gpon-onu_shelf/slot/oltId:onuid
Mode
ZXAN(config-if)#
Example
The following example displays the ONU service mapping type:
20-224
SJ-20120615152640-010|2012-06-30 (R1.0)
Type
IfId
GemPort
Cos
Vlan
---------------------------------------------------------------1
hybrid
--
100
Purpose
To display Ethernet port scheduling
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
gpon-onu_shelf/slot/olt:onu
Ethernet UNI
Mode
Any mode except ZXAN>
Example
The following example displays Ethernet port scheduling:
ZXAN(gpon-onu-mng)#show gpon remote-onu schedule gpon-onu_1/1/1:1
interface: eth_0/1
schedule profile nametest
interface: eth_0/2
schedule profile namedefault
interface: eth_0/3
schedule profile name
Related Commands
None
Purpose
To display the switch configuration
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
flow
Flow
gpon-onu_shelf/slot_olt:onu
Bridge port
Range: 1 - 31 characters
Mode
Any mode except user mode
Example
The following example displays the switch configuration:
ZXAN#show gpon remote-onu switch gpon-onu_1/2/1:1 switch_0/1
Switch name:
switch_0/1
STP:
true
MAC learn:
true
Port bridge:
true
Priority:
Max age:
Hello time: 1
Forword delay:4
UnknownMac discard: false
Address learn depth:0
Aging time:300
Related Commands
switch
Purpose
To display the switch port information
20-226
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ethuni
Ethernet port
flow
Flow
iphost
IP host
A.B.C.D
gpon-onu_shelf/slot/olt:onu
Port ID
Mode
Any mode except user mode
Example
The following example displays the switch port information:
ZXAN#show gpon remote-onu switchport ethuni gpon-onu_1/1/1:1
eth_0/1
ZXAN#
Related Commands
None
Purpose
To show the ONU test result, including the voice information, management channel, and
Ethernet information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
gpon-onu_shelf/slot/oltId:onuid
20-227
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
ZXAN(config-if)#
Example
The following example displays the ONU test result:
ZXAN(config-if)#show gpon remote-onu test-result iphost gpon-onu_1/1/5:1 1
Purpose
To show the IPoE simulation test
Usage Guidelines
None
Mode
All modes except user mode
Example
The following example shows the IPoE simulation test:
ZXAN#show gpon remote-onu test-result ipoe gpon-onu_1/1/1:1 eth_slot/port
Related Commands
None
Purpose
To display the upstream queue mapping information
Usage Guidelines
The following table provides parameter description:
20-228
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
uni
UNI information
gpon-onu_shelf/slot/olt:onu
flowid
Flow ID
1 255
Mode
Any mode except user mode
Example
The following example displays the upstream queue mapping information:
ZXAN#show gpon remote-onu up-queue-map flow gpon-onu_1/2/1:1
Flow ID
Priority :Queue
--------------------------------------------------------------2
Related Commands
None
Purpose
To display VoIP configuration
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
gpon-onu_shelf/slot/olt:onu
Mode
Any mode except ZXAN>
Example
The following example displays VoIP configuration:
20-229
SJ-20120615152640-010|2012-06-30 (R1.0)
SIP
Related Commands
None
Purpose
To display VoIP voice CTP configuration
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
gpon-onu_shelf/slot/olt:onu
POTS port
0 31 characters
Mode
Any mode except ZXAN>
Example
The following example displays VoIP voice CTP configuration:
ZXAN(config)#show gpon remote-onu voip-ctp gpon-onu_1/1/1:64
Related Commands
None
Purpose
To display VoIP link status
20-230
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
gpon-onu_shelf/slot/olt:onu
POTS port
0 31 characters
Mode
Any mode except ZXAN>
Example
The following example displays VoIP link status:
ZXAN(config)#show gpon remote-onu voip-linestatus gpon-onu_1/1/1:64
Related Commands
None
Purpose
To display ONU UNIVLAN information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
gpon-onu_shelf/slot/olt:onu
ONU interface
port
translate
Mode
Any mode except user mode
Example
The following example displays the ONU UNI VLAN information:
ZXAN(gpon-onu-mng)#show gpon remote-onu vlan port gpon-onu_1/1/1:1
20-231
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
Def-vid
Def-Prio
Vlan-list
............................................................................
eth_0/1
trunk
--
--
835,838,840,851-860
The following example displays the ONU UNI VLAN translate information:
ZXAN(gpon-onu-mng)# show gpon remote-onu vlan translate gpon-onu_1/1/1:1
Interface
Vlan
Prio
CVlan
CVlan-Prio
SVlan
SVlan-Prio
............................................................................
eth_0/1
835
--
--
500
Related Commands
vlan port
Purpose
To display the VLAN information of a user port
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
gpon-onu_shelf/slot/olt:onu
Ethernet interface
eth_slot/port
Mode
Any mode except ZXAN>
Example
The following example displays the VLAN information of a user port:
ZXAN#show gpon remote-onu vlan port gpon-onu_1/1/1:1 eth_0/1
Related Commands
None
20-232
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To display port VLAN translate rule
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
gpon-onu_shelf/slot/olt:onu
Ethernet interface
eth_slot/port
Mode
Any mode except ZXAN>
Example
The following example displays port VALN translate rule:
ZXAN#show gpon remote-onu vlan translate gpon-onu_1/1/1:1 eth_0/1
Related Commands
None
Purpose
To display the GPON VLAN filter information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ethuni
Ethernet port
iphost
IP host
A.B.C.D
20-233
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
gpon-onu_shelf/slot/olt:onu
ONU interface
id
Port ID
Mode
Any mode except user mode
Example
The following example displays the GPON VLAN filter information:
ZXAN#show gpon remote-onu vlan-filter ethuni gpon-onu_1/1/1:1
eth_0/1
ZXAN#
Related Commands
None
Purpose
To display T-CONT queue weight of the ONU
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
gpon-onu_shelf/slot/olt:onu
Mode
Any mode except ZXAN>
Example
The following example displays T-CONT queue weight of the ONU:
ZXAN(gpon-onu-mng)#show gpon remote-onu weight gpon-onu_1/1/1:1
Tcont
Queue
Weight
-------------------------------------1
255
20-234
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
weight
Purpose
To display the configuration of TR069 management channel on the ONU
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
gpon-onu_shelf/slot/olt:onu
veipid
VEIP ID
1 255
Mode
Any mode except ZXAN>
Example
The following example displays the configuration of TR069 management channel:
ZXAN(gpon-onu-mng)#show gpon remote-onu tr069-mgmt gpon-onu_1/2/1:1
VEIP ID:
Admin status:
lock
ACS:
Validation scheme: disable
Tag:
Related Commands
tr069-mgmt
20-235
SJ-20120615152640-010|2012-06-30 (R1.0)
20-236
SJ-20120615152640-010|2012-06-30 (R1.0)
Chapter 21
Multicast Commands
Table of Contents
Layer-3 Multicast Commands ...................................................................................21-1
IGMP Snooping Global Commands........................................................................21-38
IGMP Snooping Interface Commands ....................................................................21-56
MVLAN Commands................................................................................................21-66
SCB VLAN Commands ..........................................................................................21-87
Purpose
To filter the multicast messages encapsulated in the received register messages
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
access-list-number
Range: 1 - 99
Mode
ZXAN(config-router)#
Example
The following example displays how to filter the multicast messages encapsulated in the
received register messages:
ZXAN(config)#router pimsm
ZXAN(config-router)#accept-register 1
ZXAN(config-router)#
21-1
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
rp-candidate
Related Information
Use this command to prevent unauthorized sources from registering with the RP. If an
unauthorized source sends a register message to the RP, the RP immediately sends back
a register-stop message.
21.1.2 accept-rp
Syntax
accept-rp access-list-number
no accept-rp
Purpose
To filter the candidate RP address advertised in the BSR message
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
access-list-number
Range: 1 - 99
Mode
ZXAN(config-router)#
Example
The following example displays how to filter the candidate RP address advertised in the
BSR message:
ZXAN(config)#router pimsm
ZXAN(config-router)#accept-rp 1
ZXAN(config-router)#
Related Commands
bsr-candidate
21-2
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Information
If this router is not a BSR, the candidate RP addresses advertised in the received BSR
message are filtered according to the rules defined in the ACL access list. The matched
ones are added into the local RP set while the ones not matched are ignored.
If this router is a BSR, the candidate RP addresses advertised in the sent BSR messages
are filtered according to the rules defined in the ACL access list. The matched ones are
added into the message advertisement while the ones not matched are ignored.
21.1.3 bsr-candidate
Syntax
bsr-candidate interface-name [hash-mask-length] [priority]
no bsr-candidate
Purpose
To configure the router as the candidate BSR
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
interface-name
Interface name
hash-mask-length
Range: 0 - 32
priority
Priority
Range: 0 - 255
Default: 0
Mode
ZXAN(config-router)#
Example
The following example displays how to configure the router as the candidate BSR:
ZXAN(config)#router pimsm
ZXAN(config-router)#bsr-candidate loopback1 30 100
ZXAN(config-router)#
Related Commands
show ip pim bsr
21-3
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Information
By default, BSR candidate priority is zero. The candidate BSR with higher priority becomes
the final BSR. If several routers have the same BSR priority, the candidate BSR with higher
IP address becomes the final BSR.
It is recommended to configure the BSR on the loopback interface to minimize the network
oscillation caused by the interface up/down.
Purpose
To delete entries from the IP multicast routing table
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
group-address group-address
A.B.C.D
source-address source-address
Source address
A.B.C.D
Mode
ZXAN#
Example
The following example displays how to delete entries from the IP multicast routing table:
ZXAN#clear ip mroute
ZXAN#
Related Commands
show ip mroute
21-4
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To clear the TCP connection to the specified MSDP peer
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
peer-address
Peer address
A.B.C.D
Mode
ZXAN#
Example
The following example displays how to clear the TCP connection to the specified MSDP
peer:
ZXAN#clear ip msdp peer 168.1.1.1
ZXAN#
Related Commands
None
Related Information
This command closes the TCP connection to the peer, resets all the MSDP peer statistics,
and clears the input and output queues to and from the MSDP peer.
Purpose
To configure the group range that the IGMP can join
Usage Guidelines
The following table provides parameter description:
21-5
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
access-list-number
Range: 1 - 199
Range: 1000 - 1999 (extended
range)
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the group range that the IGMP can join:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip igmp access-group 1
ZXAN(config-if)#ip igmp access-group 2
ZXAN(config-if)#
Related Commands
show igmp interface
Purpose
To minimize the leave latency of IGMP memberships when IGMP Version 2 is used and
only one receiver host is connected to each interface
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
group-list access-list-number
Range: 1 - 99
Mode
ZXAN(config-if)#
21-6
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to minimize the leave latency of IGMP memberships
when IGMP Version 2 is used and only one receiver host is connected to each interface:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip igmp immediate-leave group-list 1
ZXAN(config-if)#
Related Commands
ip igmp last-member-query-interval
Purpose
To configure the interval at which the router sends IGMP group-specific or
group-source-specific query messages
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
seconds
Default: 1 sec
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the interval at which the router sends
IGMP group-specific or group-source-specific query messages:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip igmp last-member-query-interval 1000
ZXAN(config-if)#
21-7
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
ip igmp immediate-leave
Related Information
When a router receives an IGMP Version 2 (IGMPv2) or IGMP Version 3 (IGMPv3)
message indicating that a host wants to leave a group, source, or channel, it sends
last-member-query-count group, group-specific, or source-specific IGMP query messages
at intervals set by the ip igmp last-member-query-interval command. If no response is
received after this period, the router stops forwarding for the group, source, or channel.
Purpose
To configure the timeout period before the router triggers IGMP querier reelection for the
interface
Usage Guidelines
The following table provides parameter description:
Parameter
seconds
Description
Value
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the timeout period before the router
triggers IGMP querier reelection for the interface:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip igmp querier-timeout 100
ZXAN(config-if)#
Related Commands
ip igmp query-interval
21-8
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Information
The IGMP querier timeout period applies to routers on the subnet that are not currently
acting as the IGMP querier.
By default, a router on the subnet that is not currently acting as the querier waits twice
the query interval specified by the ip igmp query-interval command, after which, if it has
heard no queries, it triggers IGMP reelection. The router with the lowest IP address on the
subnet is elected the IGMP querier
Purpose
To configure the frequency at which the IGMP host-query messages are sent
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
seconds
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the frequency at which the IGMP
host-query messages are sent:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip igmp query-interval 250
ZXAN(config-if)#
Related Commands
ip igmp querier-timeout
show ip igmp interface
21-9
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Information
Multicast routers send host membership query messages (host-query messages) to
discover which multicast groups have members on the router's attached networks. Hosts
respond with IGMP report messages indicating that they wish to receive multicast packets
for specific groups (that is, indicating that the host wants to become a member of the
group). Host-query messages are addressed to the all-hosts multicast group, which has
the address 224.0.0.1, and has an IP TTL value of 1
Purpose
To configure the maximum response time advertised in IGMP queries
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
seconds
Range: 1 - 25 sec
Default: 10 sec
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the maximum response time advertised
in IGMP queries:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip igmp query-max-response-time 15
ZXAN(config-if)#
Related Commands
show ip igmp interface
21-10
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Information
This command is valid only when IGMP Version 2 is running. This command controls the
period during which the responder can respond to an IGMP query message before the
router deletes the group.
Purpose
To configure the static group member on the IGMP interface
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
group-address
A.B.C.D
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the static group member on the IGMP
interface:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip igmp static-group 224.1.1.1
ZXAN(config-if)#
Related Commands
show ip igmp group
Purpose
To configure the IGMP version on the interface
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
version
IGMP version
Range: 1 - 2
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the IGMP version on the interface:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip igmp version 2
ZXAN(config-if)#
Related Commands
ip igmp query-max-reponse-time
21.1.14 ip multicast-routing
Syntax
ip multicast-routing
no ip multicast-routing
Purpose
To enable the IP multicast route function
Usage Guidelines
None
Mode
ZXAN(config)#
Example
The following example displays how to enable the IP multicast route function:
ZXAN(config)#ip multicast-routing
21-12
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Purpose
To configure the interface to be the PIM domain border
Usage Guidelines
None
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the interface to be the PIM domain border:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip pim bsr-border
ZXAN(config-if)#
Related Commands
bsr-candidate
Related Information
When this command is configured on the interface, no boot message can pass through the
border in any direction. This command effectively divides the network into different boot
message areas. Other PIM messages can pass through the domain border.
21.1.16 ip pim dm
Syntax
ip pim dm
21-13
SJ-20120615152640-010|2012-06-30 (R1.0)
no ip pim dm
Purpose
To enable PIM-DMprotocol on the interface
Use no ip pim dm command to disable the protocol.
Usage Guidelines
None
Mode
ZXAN(config-if)#
Example
The following example displays how to enable PIM-DM protocol on the interface:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip pim dm
Related Commands
show ip pimsm interface
Related Information
When PIM-DM protocol is enabled on an interface, the IGMP is enable automatically as
well.
By default, PIM-DM protocol is disabled on a interface.
Purpose
To set the priority for which a router is elected as the DR
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
priority
Range: 0 - 4294967295
selected as the DR
Default: 0
21-14
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
ZXAN(config-if)#
Example
The following example displays how to set the priority for which a router is elected as the
designated router (DR):
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip pim dr-priority 1000
ZXAN(config-if)#
Related Commands
show ip pimsm interface
show ip pimsm neighbor
Related Information
When a DR is a candidate for election, the following conditions apply:
l
The router with the highest priority value configured on an interface is elected as the
DR. If this priority value is the same on multiple routers, then the router with the highest
IP address configured on an interface is elected as the DR.
If a router does not advertise a priority value in its hello messages, the router is
regarded as having the highest priority and is elected as the DR. If there are multiple
routers with this priority status, then the router with the highest IP address configured
on an interface is elected as the DR.
On the shared network section connected with the receiver, only the DR can respond to
the IGMP join/leave messages.
Purpose
To prevent a router from participating in PIM (for example, to configure stub multicast
routing)
Usage Guidelines
The following table provides parameter description:
21-15
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
access-list-number
Range: 1 - 99
Mode
ZXAN(config-if)#
Example
The following example displays how to prevent a router from participating in PIM:
ZXAN(config)#acl standard number 10
ZXAN(config-std-acl)#rule 1 deny 10.1.1.1 0.0.0.0
ZXAN(config-std-acl)#exit
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip pim neighbor-filter 10
XAN(config-if)#
Related Commands
show ip pimsm neighbor
Purpose
To configure the time interval for sending PIM hello messages
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
seconds
messages
Default: 30 sec
Mode
ZXAN(config-if)#
21-16
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to configure the time interval for sending PIM hello
messages:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip pim query-interval 50
ZXAN(config-if)#
Related Commands
show ip pimsm interface
21.1.20 ip pim sm
Syntax
ip pim sm
no ip pim sm
Purpose
To enable the PIM-SM protocol on the interface
Usage Guidelines
None
Mode
ZXAN(config-if)#
Example
The following example displays how to enable the PIM-SM protocol on the interface:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip pim sm
ZXAN(config-if)#
Related Commands
show ip pimsm interface
21-17
SJ-20120615152640-010|2012-06-30 (R1.0)
21.1.21 packet-count
Syntax
packet-count {begin | end}
Purpose
To enable or disable the upstream multicast data packet counting function
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
begin
Mode
ZXAN(config-router)#
Example
The following example displays how to enable the upstream multicast data packet counting
function:
ZXAN(config)#router pimsm
ZXAN(config-router)#packet-count begin
ZXAN(config-router)#
Related Commands
show ip pimsm interface
Purpose
To enable the PIM-SM multicast protocol
21-18
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
None
Mode
ZXAN(config)#
Example
The following example displays how to enable the PIM-SM multicast protocol:
ZXAN(config)#router pimsm
ZXAN(config-router)#
Related Commands
ip multicast-routing
21.1.23 rp-candidate
Syntax
rp-candidate interface-name [group-list access-list-number] [priority priority]
no rp-candidate
Purpose
To configure the router to advertise itself as the candidate RP
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
interface-name
Interface name
Range: 1 - 99
group-list access-list-number
prefixes
priority priority
Range: 0 - 255
Default: 0
Mode
ZXAN(config-router)#
Example
The following example displays how to configure the router to advertise itself as the
candidate RP:
21-19
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
show ip pim bsr
Purpose
To display the multicast groups with receivers that are directly connected to the router and
that were learned through IGMP
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
group-address
IP group address
A.B.C.D
interface-name
VLAN number
Range: 1 - 4094
summary
Mode
Any mode except user mode
Example
The following example displays the multicast groups with receivers that are directly
connected to the router and that were learned through IGMP:
ZXAN#show ip igmp groups summary
IGMP groups summary:
Interface
Static
Joined
Total
vlan100
vlan2
Summary
ZXAN#
21-20
SJ-20120615152640-010|2012-06-30 (R1.0)
Interface
Present
Expire
Last Reporter
224.1.1.1
vlan2
00:14:02
never
10.1.1.1
ZXAN#
Description
Group addr
Group IP address
Interface
Present
Expire
Last Reporter
Related Commands
ip igmp static-group
Purpose
To display multicast-related information about an interface
Usage Guidelines
The following table provides parameter description:
21-21
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
interface-name
Interface name
Mode
Any mode except user mode
Example
The following example displays the multicast-related information about an interface:
ZXAN#show ip igmp interface vlan 2
vlan2
Internet address is 10.1.1.1, subnet mask is 255.255.0.0
IGMP is enabled on interface
Current IGMP version is 2
IGMP query interval is 250 seconds
IGMP last member query interval is 10 seconds
IGMP query max response time is 15 seconds
IGMP querier timeout period is 100 seconds
IGMP querier is 10.1.1.1, never expire
Inbound IGMP access group is 131072
IGMP immediate leave for group-list 1
ZXAN#
Description
Related Commands
None
Purpose
To display the IGMP receive or send protocol packet
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
interface-name
Interface name
Mode
Any mode except user mode
Example
The following example displays the IGMP receive or send protocol packet:
ZXAN#show ip igmp packet-count
Received IGMP Packets Count
Interface
ReportV1
Query
Others
vlan100
0
vlan2
0
0
0
Summary
Leave
Total
0
ReportV2
0
0
Query
Spec-Query
Total
vlan100
vlan2
Summary
ZXAN#
Related Commands
None
21-23
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To display IGMP snooping information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
group group-address
Group IP addrses
A.B.C.D
vlan vlanid
VLAN ID
1 4094
statistic
Statistics information
clear
Cleared statistics
Mode
Any mode except ZXAN>
Related Information
None
Example
The following example displays IGMP snooping information:
ZXAN# show ip igmp snooping statistic
RxCommQuery
0;
RxSpecialQuery
0;
RxV1Report
0;
RxV2Report
0;
RxV3Report
0;
RxLeave
0;
RxError
0;
RxUnknown
0;
TxCommQuery
0;
TxSpecialQuery
0;
TxV1Report
0;
TxV2Report
0;
TxV3Report
0;
TxLeave
0;
DropRxCommQuery
0;
DropRxSpecialQuery
0;
DropRxV1Report
0;
DropRxV2Report
0;
DropRxV3Report
181;
DropRxLeave
0;
DropRxUnknown
0;
RxTotal
181;
TxTotal
0;
21-24
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To display the multicast forwarding route entries
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
group-address
A.B.C.D
source-address source-address
Source address
A.B.C.D
summary
Summary information
Mode
Any mode except user mode
Example
The following example displays the multicast forwarding route entries:
ZXAN#show ip mforwarding summary
ZXAN#
Description
Up Send
Up Send
Assert flag
Assert flag
No Used
No Used
IIF MATCH
IIF MATCH
IIF Wrong
IIF Wrong
FORWARD
FORWARD
Related Commands
show ip mroute
21-25
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To display the contents of the multicast routing (mroute) table
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
group-address
Group IP address
A.B.C.D
source-address source-address
Source IP address
A.B.C.D
summary
summary
Brief
brief
Mode
Any mode except user mode
Example
The following example displays the contents of the multicast routing (mroute) table:
ZXAN#show ip mroute
IP Multicast Routing Table
Flags:D -Dense,S -Sparse,C -Connected,L -Local,P -Pruned,
R -RP-bit set,F -Register flag,T -SPT-bit set,J -Join SPT,
M -MSDP created entry,N -No Used,U -Up Send,
A -Advertised via MSDP,X -Proxy Join Timer Running,
* -Assert flag
Statistic:Receive packet count/Send packet count
Timers:Uptime/Expires
Interface state:Interface,Next-Hop or VCD,State/Mode
ZXAN#
Description
Dense
Sparse
Connected
Pruned
RP-bit set
21-26
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Register flag
SPT-bit set
Up Send
No Used
Join SPT
Uptime/Expires
RP
flag
Incoming interface:
RPF nbr
Assert flag
Related Commands
show ip mforwarding
Purpose
To display the BSR information
Usage Guidelines
None:
Mode
Any mode except user mode
Example
The following example displays the BSR information:
ZXAN#show ip pim bsr
21-27
SJ-20120615152640-010|2012-06-30 (R1.0)
Description
BSR address
BSR IP address
Uptime
BSR lifetime
BSR Priority
BSR Priority
Expires
Priority
RP
Related Commands
bsr-candidate
rp-candidate
Purpose
To display which RP is being selected for a specified group
21-28
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
group-address
A.B.C.D
group address
Mode
Any mode except user mode
Example
The following example displays which rendezvous point (RP) is being selected for a
specified group:
ZXAN#show ip pim rp hash 224.1.1.1
rp address:10.1.1.1 (?)
Info source: 10.1.1.1(?) via bootstrap
Uptime: 2d21h, expires: 00:02:12
ZXAN#
Description
Rp address
Static
Info source
Uptime
Expire
Related Commands
None
21-29
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To display the RP set information advertised by the BSR
Usage Guidelines
None:
Mode
Any mode except user mode
Example
The following example displays the RP set information advertised by the BSR:
ZXAN#show ip pim rp mapping
Group(s) 224.0.0.0/4
RP 10.1.1.1, v2, Priority :192
BSR: 10.1.1.1, via bootstrap
Uptime: 2d21h, expires: 00:02:15
ZXAN#
Description
Group
Rp address
Static
BSR address
BSR IP address
Uptime
Candidate RP lifetime
Expire
Related Commands
bsr-candidate
rp-candidate
21-30
SJ-20120615152640-010|2012-06-30 (R1.0)
static-rp
Purpose
To display information about interfaces configured for PIM-SM
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
interface-name
Interface name
Mode
Any mode except user mode
Example
The following example displays the information about interfaces configured for PIM-SM:
ZXAN#show ip pimsm interface
Address
Interface
State Nbr
Count
Query
DR
DR
Intvl
Priority
10.1.1.1 vlan2
Down
50
0.0.0.0
1000
0.0.0.0
Down
30
0.0.0.0
vlan100
ZXAN#
Description
Address
Interface
State
State Up/Down
NbrCount
QueryIntvl
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
DR
DR Priority
DR Priority
Related Commands
ip pim sm
show ip pimsm neighbor
Purpose
To display the IP multicast PIM-SM routing table
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
group-address
Group IP address
A.B.C.D
interface-name
Source IP address
A.B.C.D
summary
Summary information
Mode
Any mode except user mode
Example
The following example displays the IP multicast PIM-SM routing table:
ZXAN#show ip pimsm mroute
PIMSM Multicast Routing Table
Flags:C -Connected,P -Pruned,L -Local,R -RP-bit set,
F -Register flag,T -SPT-bit set,J -Join SPT,
M -MSDP created entry,N -No Used,U -Up Send,
A -Advertised via MSDP,X -Proxy Join Timer Running,
* -Assert flag
Statistic:Receive packet count/Send packet count
Timers:Uptime/Expires
Interface state:Interface,Next-Hop or VCD,State/Mode
21-32
SJ-20120615152640-010|2012-06-30 (R1.0)
Description
Connected
Pruned
Uptime
Expires
Related Commands
show ip mroute
Purpose
To display the PIM-SM neighbors discovered
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
interface-name
Interface name
Mode
Any mode except user mode
Example
The following example displays the PIM-SM neighbors discovered:
ZXAN#show ip pimsm neighbor
Neighbor Address Interface DR Priority Uptime Expires Ver
ZXAN#
21-33
SJ-20120615152640-010|2012-06-30 (R1.0)
Description
Neighbor Address
Interface
DR Priority
DR Priority
Uptime
Uptime shows how long (in hours:minutes:seconds) the entry has been in the PIM neighbor
table
Expires
Expires shows how long (in hours:minutes:seconds or in milliseconds) until the entry will be
removed from the IP multicast routing table
Ver
Related Commands
show ip pimsm interface
Purpose
To display the statistics of packets received and sent by multicast PIM-SM and the statistics
of upstream sent packets received
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
interface-number
Interface number
Mode
Any mode except user mode
Example
The following example displays the statistics of packets received and sent by multicast
PIM-SM and the statistics of upstream sent packets received:
21-34
SJ-20120615152640-010|2012-06-30 (R1.0)
Rx_ok
Tx_ok
Rx_err
Tx_err
Hello
Register
*0
*0
Register-Stop
*0
*0
Join/Prune
BSR
Assert
CRP-ADV
*0
*0
PROBE
*0
*0
ERR_TYPE
ZXAN#
Description
DataUpsend
Packet-type
Packet-type
Rx_ok
Receive packet
Tx_ok
Transmit packet
Rx_err
Tx_err
Related Commands
None
Purpose
To display the information that IP multicast routing uses to perform the RPF check for a
multicast source
Usage Guidelines
The following table provides parameter description:
21-35
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
source-address
IP address or name of a
A.B.C.D
Mode
Any mode except user mode
Example
The following example displays the information that IP multicast routing uses to perform
the RPF check for a multicast source:
ZXAN#show ip rpf 168.1.10.1
RFF information:
RPF interface is mng1<>
RPF neighbor is 10.63.196.254 <isn't neighbor>
RPF metric preference is 1
RPF metric value is 0
RPF type is unicast
ZXAN#
Description
RPF interface
RPF neighbor
RPF metric
Related Commands
show ip mroute
21.1.38 spt-threshold
Syntax
spt-threshold infinity [group-list access-list-number]
21-36
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure the router with directly-connected receiver to change over from the SPT to
the shared tree and then to the RP tree
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
infinity
Range: 1 - 99
Mode
ZXAN(config-router)#
Example
The following example displays how to configure the router with directly-connected receiver
to change over from the SPT to the shared tree and then to the RP tree:
ZXAN(config)#router pimsm
ZXAN(config-router)#spt-threshold infinity
ZXAN(config-router)#
Related Commands
None
21.1.39 static-rp
Syntax
static-rp ip-address [group-list access-list-number] [priority priority]
no static-rp
Purpose
To configure the static RP address
Usage Guidelines
The following table provides parameter description:
21-37
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
ip-address
Static RP address
A.B.C.D
group-list access-list-number
Range: 1 - 99
priority priority
Priority
Range: 0 - 255
Default: 0
Mode
ZXAN(config-router)#
Example
The following example displays how to configure the static RP address:
ZXAN(config)#router pimsm
ZXAN(config-router)#static-rp 10.1.1.1
ZXAN(config-router)#
Related Commands
show ip pim rp mapping
Related Information
After the static RP configuration, it enters the RP set to join in the selection, even if this
router does not receive any BSR RP information advertisement.
Purpose
To enable the global IGMP
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
vport vport
Virtual port ID
Range: 1 - 255
21-38
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
ZXAN(config-if)#
Example
The following example displays how to enable the IGMP on an interface:
ZXAN(config)#interface gpon-onu_1/1/2:3
ZXAN(config-if)#igmp enable vport 1
ZXAN(config-if)#
Related Commands
show igmp interface
Related Information
By default, IGMP is enabled.
Purpose
To configure IGMP version process mode for the router
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
v1
IGMP version 1
v2
IGMP version 2
v3
IGMP version 3
accept
drop
Mode
ZXAN(config)#
Example
The following example displays how to configure IGMP version process mode for the router
to transparently forward the packets:
21-39
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
show igmp
Related Information
By default, all IGMP packets are accepted.
Purpose
To configure IGMP snooping aging time
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
aging-time
Aging time
Mode
ZXAN(config)#
Example
The following example displays how to configure IGMP snooping aging time:
ZXAN(config)#igmp snooping-aging-time 500
ZXAN(config)#
Related Commands
None
Purpose
To enable or disable IGMP span VLAN
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
enable
disable
Mode
ZXAN(config)#
Example
The following example displays how to enable IGMP span VLAN:
ZXAN(config)#igmp span-vlan enable
ZXAN(config)#
Related Commands
None
Related Information
By default, IGMP span VLAN is enabled.
Purpose
To enable or disable IGMP bandwidth control
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
enable
disable
21-41
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
ZXAN(config)#
Example
The following example displays how to enable IGMP bandwidth control:
ZXAN(config)#igmp bandwidth-control enable
ZXAN(config)#
Related Commands
None
Related Information
By default, bandwidth control is disabled.
Purpose
To enable or disable IGMP logging
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
enable
disable
Mode
ZXAN(config)#
Example
The following example displays how to enable IGMP logging:
ZXAN(config)#igmp log enable
ZXAN(config)#
21-42
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
show igmp log
Related Information
By default, IGMP logging is disabled.
Purpose
To configure the number of times that the system sends each IGMP message from this
interface
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
robustness
Range: 2 - 5
variable
Default: 2
Mode
ZXAN(config)#
Example
The following example displays how to configure the number of times that the system
sends each IGMP message from this interface:
ZXAN(config)#igmp robustness 3
ZXAN(config)#
Related Commands
show igmp
Related Information
By default, the IGMP querier robustness variable is 2.
The IGMP robustness variable determines the default number of general queries the IGMP
querier sends on startup and the number of IGMP group-specific queries the IGMP querier
sends upon receiving an IGMP leave message.
21-43
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure the frequency at which the IGMP host-query messages are sent
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
interval
Mode
ZXAN(config)#
Example
The following example displays how to configure the frequency at which the IGMP
host-query messages are sent:
ZXAN(config)#igmp query-interval 60
ZXAN(config)#
Related Commands
show igmp
Related Information
Multicast routers send host membership query messages (host-query messages) to
discover which multicast groups have members on the attached networks of the router.
Hosts respond with IGMP report messages indicating that they want to receive multicast
packets for specific groups (that is, indicating that the host wants to become a member of
the group). Host-query messages are addressed to the all-hosts multicast group, which
has the address 224.0.0.1, and has an IP TTL value of 1.
Purpose
To configure the maximum response time advertised in IGMP queries
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
query-max-resp
Range: 10 - 250
Mode
ZXAN(config)#
Example
The following example displays how to configure the maximum response time advertised
in IGMP queries:
ZXAN(config)#igmp query-max-resp 50
ZXAN(config)#
Related Commands
show igmp
Related Information
By default, the maximum response time for IGMP general queries is 10 seconds.
This command is used to control the maximum response time for hosts to answer an IGMP
query message.
Purpose
To configure the last member query interval, namely the length of time the device waits
between sending IGMP group-specific queries
Usage Guidelines
The following table provides parameter description:
21-45
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
interval
Range: 1 - 255
interval
Default: 10
Mode
ZXAN(config)#
Example
The following example displays how to configure the last member query interval, namely
the length of time the device waits between sending IGMP group-specific queries:
ZXAN(config)#igmp last-query-interval 20
ZXAN(config)#
Related Commands
show igmp
Related Information
By default, the IGMP last member query interval is 1 second.
Purpose
To configure the number of group-specific queries sent before the router assumes there
are no local members of a group
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
count
Query count
Range: 2 - 5
Default: 2
Mode
ZXAN(config)#
21-46
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to configure the number of group-specific queries sent
before the router assumes there are no local members of a group:
ZXAN(config)#igmp last-query-count 3
ZXAN(config)#
Related Commands
show igmp
Purpose
To configure the interval for IGMP unsolicited report
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
time
Interval
1 600, unit: s
Default: 10 s
Mode
ZXAN(config)#
Example
The following example displays how to configure the interval for IGMP unsolicited report:
ZXAN(config)#igmp unsolicited-report-interval 15
Related Commands
show igmp
Purpose
To enable or disable IGMP host tracking
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
enable
Enable
disable
Disable (default)
Mode
ZXAN(config)#
Example
The following example displays how to enable IGMP host tracking:
ZXAN(config)#igmp host-tracking enable
Related Commands
show igmp
Related Information
When there are multiple STBs connected to a UNI and fast-leave is enabled on the UNI,
the IGMP host tracking should be enabled.
Purpose
To enable or disable IGMP multi-copy multicast
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
enable
Enable
disable
Disable (default)
21-48
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
ZXAN(config)#
Example
The following example displays how to enable IGMP multi-copy multicast:
ZXAN(config)#igmp mcm enable
Related Commands
show igmp
Purpose
To configure the action on mismatched groups
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
forward
Forward
drop
Drop (default)
Mode
ZXAN(config)#
Example
The following example displays how to configure the action on mismatched groups:
ZXAN(config)#igmp non-match-group forward
Related Commands
show igmp
Purpose
To clear the IGMP statistics
Usage Guidelines
The following table describes the relevant parameters:
Parameter
Description
Value
mvlan vlan-id
MVLAN ID
14094
interface if-name
Interface Name
032 characters
vport id
VPORT ID
1255
pvc id
PVC ID
18
Mode
Global configuration mode: ZXAN(config)#
Example
The following example shows how to clear the current IGMP statistics:
ZXAN(config)#igmp statistics clear history
Related Commands
None
Related Information
If with parameters, only statistics associated with the specified MVLAN or interface is to
be cleared.
Purpose
To display the IGMP configuration information
Usage Guidelines
None
Mode
Any mode except user mode
21-50
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays the IGMP configuration information:
ZXAN#show igmp
IGMP global parameters:
---------------------------------------------------IGMP is globally enable.
IGMP v1 mode is accept.
IGMP v2 mode is accept.
IGMP v3 mode is accept.
IGMP log is disable.
Snooping aging time is 300 seconds.
Span vlan is enable.
Bandwidth control is disable.
Robustness variable is 2.
General query interval is 125(second).
Query max response time is 100(0.1second).
Last member query interval is 10(0.1second).
Last member query count is 2.
Version 1 router present timeout is 400 seconds.
Unsolicited report interval is 10 seconds.
ZXAN#
Related Commands
None
Purpose
To display IGMP packet statistics
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
mvlan-id mvlan-id
MVLAN ID
Range: 1 - 4095
interface if-name
Interface name
vport vport
Virtual port ID
Range: 1 - 255
21-51
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
Any mode except user mode
Example
The following example displays IGMP packet statistics:
ZXAN(config)#show igmp statistics mvlan 4000
Igmp Statistics of Mvlan : 4000
-------------------------------------------------joins sent to net
: 0
: 0
: 0
leave
to network
: 0
leave
from users
: 0
gen-query
to users
: 0
: 0
spe-query
to users
: 0
spe-query
from net
: 0
----------------------------------------------------
: 0
leave messages
: 0
gen-query
to users
: 0
spe-query
to users
: 0
--------------------------------------------------
Related Commands
igmp mvlan
Purpose
To display the numbers of layer-2 multicast packets received and transmitted by the control
and switching cards:
Usage Guidelines
The following table provides parameter description:
21-52
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
mvlan vlan-id
MVLAN ID
1 4095
Mode
Any mode except ZXAN>
Example
The following example displays the numbers of layer-2 multicast packets received and
transmitted by the control and switching cards of specific VLAN:
ZXAN#show igmp mp-statistics mvlan 1
Total Statictics:
-----------------------------------------RxTotal
: 0
TxTotal
: 0
Rx Statistics:
-----------------------------------------RxCommQuery
: 0
RxSpecialQuery
: 0
RxV1Report
: 0
RxV2Report
: 0
RxV3Report
: 0
RxLeave
: 0
RxError
: 0
RxUnknown
: 0
Tx Statistics:
-----------------------------------------TxCommQuery
: 0
TxSpecialQuery
: 0
TxV1Report
: 0
TxV2Report
: 0
TxV3Report
: 0
TxLeave
: 0
Drop Statistics:
-----------------------------------------DropRxCommQuery
: 0
DropRxSpecialQuery
: 0
DropRxV1Report
: 0
DropRxV2Report
: 0
DropRxV3Report
: 0
DropRxLeave
: 0
21-53
SJ-20120615152640-010|2012-06-30 (R1.0)
: 0
Related Commands
show igmp statistics
Purpose
To display the numbers of layer-2 multicast packets received and transmitted by the control
and switching cards
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
current
Current traffic
history
Historical traffic
mvlan vlan-id
MVLAN ID
1 4095
interface interface
Interface
Mode
Any mode except ZXAN>
Example
The following example displays the numbers of layer-2 multicast packets received and
transmitted by the control and switching cards:
ZXAN(config)#show igmp np-statistics history
Total Statictics:
-----------------------------------------RxTotal
: 0
TxTotal
: 0
Rx Statistics:
-----------------------------------------RxCommQuery
: 0
RxSpecialQuery
: 0
RxV1Report
: 0
RxV2Report
: 0
21-54
SJ-20120615152640-010|2012-06-30 (R1.0)
: 0
RxLeave
: 0
RxError
: 0
RxUnknown
: 0
Tx Statistics:
-----------------------------------------TxCommQuery
: 0
TxSpecialQuery
: 0
TxV1Report
: 0
TxV2Report
: 0
TxV3Report
: 0
TxLeave
: 0
Drop Statistics:
-----------------------------------------DropRxCommQuery
: 0
DropRxSpecialQuery
: 0
DropRxV1Report
: 0
DropRxV2Report
: 0
DropRxV3Report
: 0
DropRxLeave
: 0
DropRxUnknown
: 0
Related Commands
None
Purpose
To display the numbers of layer-2 multicast packets received and transmitted by the PON
port
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
interface interface
21-55
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
Any mode except ZXAN>
Example
The following example displays the numbers of layer-2 multicast packets received and
transmitted by the PON port:
ZXAN(config)#show igmp pon-statistics interface gpon-olt_1/1/1
Active Group Num
: 0
: 0
Related Commands
None
Purpose
To drop IGMP packets
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
vport vport
Virtual port ID
Range: 1 - 255
Mode
ZXAN(config-if)#
Example
The following example displays how to drop IGMP packets:
ZXAN(config)#interface gpon-onu_1/1/2:3
ZXAN(config-if)#igmp drop vport 1
ZXAN(config-if)#
Related Commands
None
21-56
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To enable the IGMP
Usage Guidelines
None
Mode
ZXAN(config-if)#
Example
The following example displays how to enable the global IGMP:
ZXAN(config)#igmp enable
Related Commands
show igmp
Related Information
By default, IGMP is enabled.
Purpose
To configure the IGMP version on the interface
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
v1
IGMPv1
v2
IGMPv2 (default)
21-57
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
v3
IGMPv3
vport vport
Virtual port ID
1 255, default: 1
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the IGMP version on the interface:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#igmp version v1 vport 1
Related Commands
None
Purpose
To configure IGMP version for an interface
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
IGMP version 1
IGMP version 2
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the IGMP version for an interface:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip igmp version 2
ZXAN(config-if)#
21-58
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
ip igmp query-max-reponse-time
show ip igmp interface
Related Information
By default, the IGMP version on a VLAN interface is v2.
Purpose
To enable or disable the fast leave processing on the current interface
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
enable
disable
vport vport
Virtual port ID
Range: 1 - 255
Mode
ZXAN(config-if)#
Example
The following example displays how to enable the fast leave processing on the current
interface:
ZXAN(config)#interface gpon-onu_1/1/2:3
ZXAN(config-if)#igmp fast-leave enable vport 1
ZXAN(config-if)#
Related Commands
show igmp interface
Related Information
By default, fast leave process is disabled.
21-59
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure the maximum number of groups used by IGMP and accepted by a router
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
group-num
Range: 0 - 8192
accepted by a router
vport vport
Virtual port ID
Range: 1 - 255
Mode
ZXAN(config-if)#
Example
To configure the maximum number of groups used by IGMP and accepted by a router:
ZXAN(config)#interface gpon-onu_1/1/2:3
ZXAN(config-if)#igmp max-groups 1024
ZXAN(config-if)#
Related Commands
None
Purpose
To configure IGMP proxy source address for a query packet
Usage Guidelines
The following table provides parameter description:
21-60
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
ip-address
A.B.C.D
vport vport
Virtual port ID
Range: 1 - 255
Mode
ZXAN(config-if)#
Example
The following example displays how to configure IGMP proxy source address for a query
packet:
ZXAN(config)#interface gpon-onu_1/1/2:3
ZXAN(config-if)#igmp proxy-ip 10.1.1.1 vport 1
ZXAN(config-if)#
Related Commands
None
Purpose
To configure the last member query interval, namely the length of time the device waits
between sending IGMP group-specific queries
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
interval
Range: 1 - 255
interval
Virtual port ID
Range: 1 - 255
vport vport
Mode
ZXAN(config-if)#
21-61
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to configure the last member query interval, namely
the length of time the device waits between sending IGMP group-specific queries:
ZXAN(config)#interface gpon-onu_1/1/2:3
ZXAN(config-if)#igmp last-query-interval 10 vport 1
ZXAN(config-if)#
Related Commands
None
Purpose
To configure the number of group-specific queries sent before the router assumes there
are no local members of a group
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
count
Query count
Range: 2 - 5
Default: 2
vport vport
Virtual port ID
Range: 1 - 255
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the number of group-specific queries sent
before the router assumes there are no local members of a group:
ZXAN(config)#interface gpon-onu_1/1/2:3
ZXAN(config-if)#igmp last-query-count 3 vport 1
ZXAN(config-if)#
21-62
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Purpose
To configure the number of times that the system sends each IGMP message from this
interface
Usage Guidelines
The following table provides parameter description:
Parameter
Description
robustness
Range: 2 - 5
variable
Default: 2
Virtual port ID
Range: 1 - 255
vport vport
Value
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the number of times that the system
sends each IGMP message from this interface:
ZXAN(config)#interface gpon-onu_1/1/2:3
ZXAN(config-if)#igmp robustness 3 vport 1
ZXAN(config-if)#
Related Commands
None
21-63
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure the maximum response time advertised in IGMP queries
Usage Guidelines
The following table provides parameter description:
Parameter
query-max-resp
Description
Value
Range: 10 - 250
vport vport
Virtual port ID
Range: 1 - 255
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the maximum response time advertised
in IGMP queries:
ZXAN(config)#interface gpon-onu_1/1/2:3
ZXAN(config-if)#igmp query-max-resp 10 vport 1
ZXAN(config-if)#
Related Commands
None
Purpose
To display IGMP multicast-related information about an interface
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
if-name
Interface name
Range: 0 - 32 characters
vport vport
Virtual port ID
Range: 1 - 255
21-64
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
Any mode except user mode
Example
The following example displays IGMP multicast-related information about an interface:
ZXAN#show igmp interface gpon-onu_1/1/2:3
IGMP interface gpon-onu_1/1/2:3 vport 1 parameters:
---------------------------------------------------IGMP status is drop.
IGMP version is v2.
fast leave is enable.
max concurrent group num is 32.
proxy ip is 192.168.2.14.
general query interval is 2 (second).
query max response time is 150 (0.1second).
last membership query interval is 10 (0.1second).
last membership query count is 2.
ZXAN#
Related Commands
None
Purpose
To display the IGMP interface dynamic group list information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
if-name
Interface name
Range: 0 - 32 characters
vport vport
PVC ID
Range: 1 - 8
Mode
Any mode except user mode
21-65
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays the IGMP interface active group list information:
ZXAN#show igmp interface gpon-onu_1/1/2:3 dynamic-group-list
VID
Group IP
Join Time
Host ID
-----------------------------------------100
244.1.1.1
ZXAN#
Related Commands
None
Purpose
To configure the MVLAN translation entry
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
org-vlan-id
MVLAN ID
1 4094
new-vlan-id
CVLAN ID
1 4094
Mode
ZXAN(config)#
Example
The following example displays how to configure the MVLAN translation entry:
ZXAN(config)#mvlan-translate 40 to 100
Related Commands
None
21-66
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Information
l
l
l
l
Before configure the MVLAN translation rule, you need configure the MVLAN first.
The ZXA10 C320 supports only downstream MVLAN translation for protocol packets
and data packets.
The ZXA10 C320 supports only 1:1 translation.
The ZXA10 C320 supports maximum 16 translation entries.
Purpose
To create a MVLAN
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
vid
MVLAN ID
Range: 1 - 4094
Mode
ZXAN(config)#
Example
The following example displays how to create a MVLAN:
ZXAN(config)#igmp mvlan 100
Related Commands
None
Purpose
To configure the correspondence between the MVLAN and CVLAN
21-67
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
mvlan vid
MVLAN ID
2 4093
cvlan vid
CVLAN ID
0 4094
Default: 0
Mode
ZXAN(config)#
Example
The following example displays how to configure the correspondence between the MVLAN
and CVLAN
ZXAN(config)#igmp mvlan 100 cvlan 100
Related Commands
None
Purpose
To create a MVLAN and configure the IGMP packet management
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
vid
MVLAN ID
Range: 1 - 4094
enable
disable
transparently
drop
Mode
ZXAN(config)#
21-68
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to create MVLAN and enable IGMP packet
management:
ZXAN(config)#igmp mvlan 100 enable
ZXAN(config)#
Related Commands
None
Purpose
To configure IGMP working mode
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
vid
MVLAN ID
Range: 1 - 4094
snooping
router
proxy
Mode
ZXAN(config)#
Example
The following example displays how to configure IGMP working mode to be snooping
mode:
ZXAN(config)#igmp mvlan 100 work-mode snooping
ZXAN(config)#
Related Commands
None
21-69
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Information
Proxy mode is the default IGMP working mode.
Purpose
To configure MVLAN host IP address
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
vid
MVLAN ID
Range: 1 - 4094
ip-address
Host IP address
A.B.C.D
Mode
ZXAN(config)#
Example
The following example displays how to configure MVLAN host IP address:
ZXAN(config)#igmp mvlan 100 host-ip 10.1.1.1
XAN(config)#
Related Commands
None
Related Information
host-ip is the source IP address of the report/leave message sent by the system in proxy
mode. By default, it is 192.168.2.14.
21-70
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure the host version of the MVLAN
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
vid
VLAN ID
2 4094
host-version
Host version
v2, v3
Mode
ZXAN(config)#
Example
The following example displays how to configure the host version of the MVLAN:
ZXAN(config)#igmp mvlan 100 host-version v2
Related Commands
None
Purpose
To configure source ports on NNI side
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
vid
MVLAN ID
Range: 1 - 4094
if-name
Interface name
Range: 0 - 32 characters
Mode
ZXAN(config)#
21-71
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to configure source port on NNI side:
ZXAN(config)#igmp mvlan 100 source-port gei_1/3/1
ZXAN(config)#
Related Commands
None
Purpose
To configure receive ports on UNI side
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
vid
MVLAN ID
Range: 1 - 4094
if-name
Interface name
Range: 0 - 32 characters
Mode
ZXAN(config)#
Example
The following example displays how to configure receive port on UNI side:
ZXAN(config)#igmp mvlan 100 receive-port gpon-onu_1/1/2:3
ZXAN(config)#
Related Commands
None
21-72
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure maximum group number
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
vid
MVLAN ID
Range: 1 - 4094
group-num
Group number
Range: 0 - 32768
Mode
ZXAN(config)#
Example
The following example displays how to configure maximum group number:
ZXAN(config)#igmp mvlan 100 max-groups 1024
ZXAN(config)#
Related Commands
None
Purpose
To enable or disable the group access control
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
vid
MVLAN ID
Range: 1 - 4094
21-73
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
enable
disable
control
Mode
ZXAN(config)#
Example
The following example displays how to enable the group access control:
ZXAN(config)#igmp mvlan 100 group-filter enable
ZXAN(config)#
Related Commands
None
Related Information
By default, group access control is enabled.
Purpose
To configure MVLAN group properties
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
vid
MVLAN ID
Range: 1 - 4094
group group-address
Group address
A.B.C.D
group-end
21-74
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
ZXAN(config)#
Example
The following example displays how to configure MVLAN group properties:
ZXAN(config)#igmp mvlan 100 group 224.224.1.1 to 224.224.1.127
ZXAN(config)#
Related Commands
None
Purpose
To configure IGMP MVLAN group bandwidth
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
vid
MVLAN ID
Range: 1 - 4094
group-address
Group address
A.B.C.D
group-end
Bandwidth
Mode
ZXAN(config)#
Example
The following example displays how to configure the IGMP MVLAN group bandwidth:
ZXAN(config)#igmp mvlan 100 group 224.224.1.1 bandwidth 4096
ZXAN(config)#
21-75
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Purpose
To configure IGMP MVLAN static group membership entries
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
vid
MVLAN ID
Range: 1 - 4094
group group-address
Group address
A.B.C.D
group-end
Interface name
Range: 0 - 32 characters
Mode
ZXAN(config)#
Example
The following example displays how to configure IGMP MVLAN static group membership
entries:
ZXAN(config)#igmp mvlan 100 group 224.224.1.1
static-port gpon-onu_1/1/2:3
ZXAN(config)#
Related Commands
None
21-76
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure MVLAN group properties
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
vid
MVLAN ID
Range: 1 - 4094
group group-address
Group address
A.B.C.D
group-end
Pre-join
enable
disable
Mode
ZXAN(config)#
Example
The following example displays how to configure MVLAN group properties:
ZXAN(config)#igmp mvlan 100 group 224.224.1.1 prejoin enable
ZXAN(config)#
Related Commands
None
Related Information
By default, MVLAN group pre-join is disabled.
21-77
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure IGMP MVLAN group source address
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
vid
VLAN ID
Range: 1 - 4094
group-address
Group IP address
A.B.C.D
group-end
Group end
source-address source-address
Source address
A.B.C.D
Mode
ZXAN(config)#
Example
The following example displays how to configure IGMP MVLAN group source address:
ZXAN(config)#igmp mvlan 100 group 224.224.1.1 source-address 168.1.1.1
ZXAN(config)#
Related Commands
None
Purpose
To configure the priority of IGMP protocol packets in proxy or router mode
Usage Guidelines
The following table provides parameter description:
21-78
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
vid
VLAN ID
1 4094
priority value
Priority
0 7, default: 0
Mode
ZXAN(config)#
Related Information
None
Example
The following example displays how to configure the priority of IGMP protocol packets:
ZXAN(config)#igmp mvlan 100 priority 7
Related Commands
None
Purpose
To clear the IGMP statistics information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
mvlan vid
MVLAN ID
Range: 1 - 4094
interface if-name
Interface name
Range: 0 - 32 characters
vport vport
PVC ID
Range: 1 - 8
current
Current statistics
history
History statistics
Mode
ZXAN(config)#
21-79
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to clear the IGMP statistics information:
ZXAN(config)#igmp statistics clear history mvlan 100
ZXAN(config)#
Related Commands
None
21.4.19 mvlan-translate
Syntax
mvlan-translate mvlan to cvlan
no mvlan-translate mvlan to cvlan
Purpose
To translate downstream MVLAN to CVLAN
Use no command to delete MVLAN translate.
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Parameter
Mvlan-id
Range: 1 4090
Cvlan-id
Range: 1 4090
Mode
ZXAN(config)#
Example
The following example displays how to translate MVLAN to CVLAN:
ZXAN(config)#mvlan-translate 1000 to 100
Related Command
show mvlan-translate
21-80
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To display the IGMP interface information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
interface-name
Interface name
Range: 0 - 32 characters
vport vport
Virtual port ID
Range: 1 - 255
Mode
Any mode except user mode
Example
The following example displays the IGMP interface information:
ZXAN#show igmp interface gpon-onu_1/1/2:3
IGMP interface gpon-onu_1/1/2:3 vport 1 parameters:
---------------------------------------------------IGMP status is drop.
IGMP version is v2.
fast leave is enable.
max concurrent group num is 32.
proxy ip is 192.168.2.14.
general query interval is 2 (second).
query max response time is 150 (0.1second).
last membership query interval is 10 (0.1second).
last membership query count is 2.
ZXAN#
Related Commands
None
21-81
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To display MVLAN information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
vid
MVLAN ID
Range: 1 - 4095
Mode
Any mode except user mode
Example
The following example displays the MVLAN information:
ZXAN#show igmp mvlan
Total Num is 3.
VID
Status
Mode
Host IP
GroupFilt
MaxGroups
ActGroups
----------------------------------------------------------------2
enable
snooping 10.1.1.1
enable
1024
10
enable
proxy
0.0.0.0
enable
1024
100
enable
snooping 10.1.1.1
enable
1024
ZXAN#
Related Commands
None
Purpose
To display the MVLAN group details
21-82
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
vid
MVLAN ID
Range: 1 - 4094
group-address
Group address
A.B.C.D
Mode
Any mode except user mode
Example
The following example displays the MVLAN group details:
ZXAN#show igmp mvlan 100
Source Port
: gei_1/3/1
Receive Port
224.224.1.1 - 224.224.1.127
ZXAN#
Related Commands
None
Purpose
To display the dynamic member information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
shelf shelf
Range: 1 - 5
slot slot
Range: 3 - 8, 11 - 16
mvlan vid
MVLAN ID
Range: 1 - 4095
group group-address
Group address
A.B.C.D
21-83
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
Any mode except user mode
Example
The following example displays the dynamic member information:
ZXAN#show igmp dynamic-member
ZXAN#
Related Commands
None
Purpose
To display the static membership information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
mvlan vid
MVLAN ID
Range: 1 - 4095
group group-address
Group address
A.B.C.D
Mode
Any mode except user mode
Example
The following example displays the static membership information:
ZXAN#show igmp static-member
ZXAN#
Related Commands
None
21-84
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To display IGMP log information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
statistic
Statistics information
interface if-name
Interface name
Range: 0 - 32 characters
vport vport
PVC ID
Range: 1 - 8
group-address
Group address
A.B.C.D
hh:mm:ss
Time
hh: hours
mm: minutes
ss: seconds
month
Month
day
Day of month
Range: 1 - 31
year
Year
Mode
Any mode except user mode
Example
The following example displays the IGMP log information:
ZXAN#show igmp log group 224.1.1.1
ZXAN#
Related Commands
None
21-85
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To display IGMP statistics information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
mvlan vid
MVLAN ID
Range: 1 - 4094
interface if-name
Interface name
Range: 0 32 characters
vport vport
Virtual port ID
Range: 1 - 255
Mode
Any mode except user mode
Example
The following example displays the IGMP statistics information:
ZXAN#show igmp statistics mvlan 100 interface gpon-onu_1/1/2:3 vport 1
ZXAN#
Related Commands
None
Purpose
To show downstream multicast traffic VLAN translate items
Usage Guidelines
None
21-86
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
Any mode except user mode
Example
The following example displays how to show downstream multicast traffic VLAN translate
items:
ZXAN(config)#show mvlan-translate
Mvlan
Cvlan
---------------------------------------1000
100
1004
104
1005
105
1006
106
1007
107
1008
108
1009
109
1010
110
1011
111
1012
112
Related Command
mvlan-translate
Purpose
To remove tags from EPON OLTs SCB downstream traffic
Usage Guidelines
The following table describes the relevant parameters:
Parameter
Description
Value
interface interface
Interface name
OLT port
vlan
VLAN ID
14094
21-87
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
Global configuration mode: ZXAN(config)#
Example
The following example shows how to remove tags from EPON OLTs SCB downstream
traffic:
ZXAN(config)# vlan-scb-action interface epon-olt_1/1/1 vlan-remove 10
Related Commands
None
Related Information
None
Purpose
To configure the EPON OLT to translate VLAN of downstream SCB traffic
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
interface interface
OLT interface
vlan vlan
Downstream CVlan Id
1 4094
Mode
ZXAN(config)#
Example
The following example displays how to configure the EPON OLT to translate VLAN of
downstream SCB traffic:
ZXAN(config)#vlan-scb-action the interface gpon-olt_1/1/1 vlan-translate svlan 1
vlan 1 user-vlan 1
Related Commands
None
21-88
SJ-20120615152640-010|2012-06-30 (R1.0)
Chapter 22
IPTV Commands
Table of Contents
IPTV Global Commands...........................................................................................22-1
IPTV Channel Commands........................................................................................22-4
Package Commands .............................................................................................. 22-11
PWR Preview Commands ......................................................................................22-14
View-profile Profile Commands...............................................................................22-18
CDR Commands ....................................................................................................22-22
Interface Mode Commands ....................................................................................22-31
Purpose
To enable or disable CAC
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
enable
Enable CAC
disable
Disable CAC
Mode
ZXAN(config)#
Example
The following example displays how to enable IPTV channel access control:
ZXAN(config)#iptv cac enable
ZXAN(config)#
22-1
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
show iptv control
Related Information
By default, CAC is disabled.
Purpose
To configure SMS server IP address
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ipaddress
A.B.C.D
Mode
ZXAN(config)#
Example
The following example displays how to configure the SMS server IP address:
ZXAN(config)#iptv sms-server 10.61.97.156
ZXAN(config)#
Related Commands
show iptv control
Purpose
To configure the highest priority
22-2
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
deny
deny
watch
watch
Mode
ZXAN(config)#
Example
The following example displays how to configure the highest priority:
ZXAN(config)#iptv highest-priority deny
Related Commands
None
Purpose
To display the IPTV channel control information
Usage Guidelines
None
Mode
Any mode except user mode
Example
The following example displays the IPTV channel control information:
ZXAN#show iptv control
CAC
: disable
SMS
: 192.168.0.119
ZXAN#
22-3
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
iptv sms-server
Purpose
To configure IPTV channel information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
mvlan-id
MVLAN ID
Range: 1 4096
group-ip
Group IP address
A.B.C.D
channel-name
Channel name
Range: 1 32 characters
id channel-id
Channel ID
Range: 1 1023
Mode
ZXAN(config)#
Example
The following example displays how to configure IPTV channel information:
l
Create channel.
ZXAN(config)#iptv channel mvlan 2 group 224.1.1.1
ZXAN(config)#iptv channel mvlan 2 group 224.1.1.3
ZXAN(config)#iptv channel mvlan 2 group 224.1.1.4 name cqtv1
ZXAN(config)#iptv channel mvlan 2 group 224.1.1.2 name cqtv id 3
ZXAN(config)#
mvlan
group
name
22-4
SJ-20120615152640-010|2012-06-30 (R1.0)
224.1.1.1
CHNAME0
224.1.1.3
CHNAME1
224.1.1.4
CQTV1
224.1.1.2
CQTV
ZXAN#
mvlan
group
name
-------------------------------------------------1
224.1.1.3
CHNAME1
224.1.1.4
CQTV1
ZXAN#
Related Commands
show iptv channel
Related Information
If channel-name parameter is not used, the system uses the default channel name and ID.
Channel ID is calculated to be 5 by use of internal algorithm and its name is CHNAME5.
To configure channel name, ID must be unique.
Purpose
To create or delete the channels in a batch
Usage Guidelines
The following table provides parameter description:
22-5
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
mvlan-id
MVLAN ID
Range: 1 4096
group-ip
Starting IP address
A.B.C.D
to group-ip-end
Ending IP address
A.B.C.D
prename prename-str
Range: 1 27 characters
id channel-id
Channel ID
Range: 0 1023
Mode
ZXAN(config)#
Example
The following example displays how to create or delete the channels in a batch
l
mvlan
group
name
-------------------------------------------------0
224.3.3.1
CHNAME0
224.1.1.3
CHNAME1
224.1.1.4
CQTV1
224.3.3.2
CHNAME3
224.3.3.3
CHNAME4
224.3.3.4
CHNAME5
508
224.3.4.252
CCTV252
509
224.3.4.253
CCTV253
510
224.3.4.254
CCTV254
511
224.3.4.255
CCTV255
ZXAN#
Display the channels which exist after some channels are deleted in a batch.
22-6
SJ-20120615152640-010|2012-06-30 (R1.0)
mvlan
group
name
-------------------------------------------------100
224.3.3.99
CHNAME100
101
224.3.3.100
CHNAME101
102
224.3.3.101
CHNAME102
103
224.3.3.102
CHNAME103
104
224.3.3.103
CHNAME104
510
224.3.4.254
CCTV254
511
224.3.4.255
CCTV255
ZXAN#
Related Commands
show iptv channel
Related Information
l
l
l
Purpose
To rename an IPTV channel
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
old-name
Old name
Range: 1 32 characters
new-name
New name
Range: 1 32 characters
22-7
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
ZXAN(config)#
Example
The following example displays how to rename an IPTV channel:
ZXAN(config)#iptv channel chname100 rename hbtv
ZXAN(config)#show iptv channel
ID
mvlan
group
name
-------------------------------------------------100
224.3.3.99
HBTV
101
224.3.3.100
CHNAME101
102
224.3.3.101
CHNAME102
ZXAN(config)#
Related Commands
show iptv channel
Purpose
To create an IPTV channel profile
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
channel-name
Channel name
Range: 1 32 characters
viewfile-name
Profile name
Range: 1 64 characters
Default Profile: DEFVAL.PRF
Mode
ZXAN(config)#
Example
The following example displays how to create an IPTV channel profile:
ZXAN(config)#iptv channel hbtv view-profile test
22-8
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
show iptv channel
Purpose
To enable or disable IPTV channel CDR
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
channel-name
Channel name
Range: 1 32 characters
enable
disable
Mode
ZXAN(config)#
Example
The following example displays how to enable IPTV channel CDR:
ZXAN(config)#iptv channel hbtv cdr enable
ZXAN(config)#
Related Commands
show iptv channel
Related Information
By default, IPTV channel CDR is enabled.
22-9
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To display the IPTV channel information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
channel-name
Channel name
Range: 1 32 characters
users
Mode
Any mode except user mode
Example
The following example displays the IPTV channel information:
ZXAN#show iptv channel hbtv
id
:0
mvlan
:3
group
:224.3.3.99
cdrenable
:enable
-------view info------viewprofile
:TEST.PRF
max-view-cout
:4
view-interval
:200
blankout-interval
:30
ZXAN#
Related Commands
None
22-10
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure the IPTV package information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
package-name
Package name
Range: 1 32 characters
package-id
Package ID
Range: 0 1023
Mode
ZXAN(config)#
Example
The following example displays how to configure the IPTV package information:
ZXAN(config)#iptv pack name pkg1
ZXAN(config)#iptv pack name pkg2 pkgid 4
ZXAN(config)#
Related Commands
show iptv package
Related Information
When the package-id parameter is not configured, the system automatically generates a
package ID.
22-11
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure the IPTV channel package information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
package-name
Package name
Range: 1 32 characters
channel-name
Channel name
Range: 1 32 characters
idlist
Channel ID list
Range: 0 1023
mvlan-id
MVLAN ID
Range: 1 4094
group group-ip
Starting IP address
A.B.C.D
to group-ip-end
Ending IP address
A.B.C.D
deny
Deny access
watch
preview
Full access
Mode
ZXAN(config)#
Example
The following example displays how to configure the IPTV channel package information:
ZXAN(config)#iptv package pkg1 channel 0,3-10 preview
ZXAN(config)#iptv package pkg1 channel hbtv50 watch
ZXAN(config)#iptv package pkg1 channel hbtv51 watch
ZXAN(config)#no iptv package pkg1 channel 50
ZXAN(config)#no iptv package pkg1 channel hbtv50
ZXAN(config)#
22-12
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
show iptv package
Purpose
To modify IPTV package name
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
package-name
1 32 characters
new-name
1 32 characters
Mode
ZXAN(config)#
Example
The following example displays how to modify IPTV package name:
ZXAN(config)#iptv package pkg1 rename pkg2
Related Commands
show iptv package
Purpose
To display the IPTV channel package information
Usage Guidelines
The following table provides parameter description:
22-13
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
package-name
Package name
Range: 1 32 characters
Mode
Any mode except user mode
Example
The following example displays the IPTV channel package information:
ZXAN#show iptv package
Total package number 2
----------------------------------------------------------Id
Packagename
Channels
Users
----------------------------------------------------------0
PKG1
PKG2
ZXAN#
Name
Ip-address
Mvlan
Right
----------------------------------------------------------------0
CCTV
224.1.1.1
Watch
ZXAN#
Related Commands
None
Purpose
To enable or disable the IPTV preview function
22-14
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
enable
disable
Mode
ZXAN(config)#
Example
The following example displays how to enable the IPTV preview function:
ZXAN(config)#iptv prw enable
ZXAN(config)#
Related Commands
show iptv prw
Purpose
To reset the IPTV user preview parameters
Usage Guidelines
None
Mode
ZXAN(config)#
Example
The following example displays how to reset the IPTV user preview parameters:
ZXAN(config)#iptv prw reset
ZXAN(config)#
22-15
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
show iptv prw
Purpose
To configure the auto reset time for IPTV preview function
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
HH:MM:SS
Reset time
hh:mm:ss
Mode
ZXAN(config)#
Example
The following example displays how to configure the auto reset time for IPTV preview
function:
ZXAN(config)#iptv prw auto-reset 23:58:59
ZXAN(config)#
Related Commands
show iptv prw
Purpose
To configure IPTV preview recognition time
Usage Guidelines
The following table provides parameter description:
22-16
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
recog-time
Recognition time
Range: 1 60 seconds
Default: 4 seconds
Mode
ZXAN(config)#
Example
The following example displays how to configure IPTV preview recognition time:
ZXAN(config)#iptv prw recognition-time 12
ZXAN(config)#
Related Commands
show iptv prw
Purpose
To display IPTV user preview information
Usage Guidelines
None
Mode
Any mode except user mode
Example
The following example displays the IPTV user preview information:
ZXAN#show iptv prw
Prwenable
PrwRecognitionTime
PrwAutoResetTime
: enable
: 12
: 23:58:59
ZXAN#
22-17
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Purpose
To configure the IPTV view profile parameters
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
viewfile-name
Range: 1 64 characters
Default Profile: DEFVAL.PRF
Mode
ZXAN(config)#
Example
The following example displays how to configure the IPTV view profile parameters:
ZXAN(config)#iptv view-profile test
ZXAN(config)#iptv view test count 4 duration 200 interval 30
ZXAN(config)#
Related Commands
iptv view-profile count
iptv view-profile duration
Purpose
To configure the IPTV view profile count time
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
viewfile-name
Range: 1 64 characters
view-count
Range: 1 100
time
Default: 3
Duration time
duration duration-time
Blackout interval
Mode
ZXAN(config)#
Example
The following example displays how to configure the IPTV view profile count time:
ZXAN(config)#iptv view-profile test count 20
ZXAN(config)#
Related Commands
iptv view-profile duration
Purpose
To configure the IPTV view profile duration time
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
viewfile-name
Range: 1 64 characters
22-19
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
duration-time
Duration time
blackout blackout-interval
Blackout interval
Mode
ZXAN(config)#
Example
The following example displays how to configure the IPTV view profile duration time:
ZXAN(config)#iptv view-profile test duration 120
ZXAN(config)#
Related Commands
iptv view-profile count
Purpose
To configure the IPTV view profile blackout interval
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
viewfile-name
Range: 1 64 characters
blackout-interval
Blackout interval
Mode
ZXAN(config)#
Example
The following example displays how to configure the IPTV view profile blackout interval:
ZXAN(config)#iptv view-profile test blackout interval 20
ZXAN(config)#
22-20
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
iptv view-profile duration
iptv view-profile count
Purpose
To display the IPTV view profile parameters
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
viewfile-name
Range: 1 64 characters
Mode
Any mode except user mode
Example
The following example displays the IPTV view profile parameters:
ZXAN#show iptv view-profile
all view-profile-----DEFVAL.PRF
TEST.PRF
ZXAN#
:4
:200(s)
blackout-interval
:30(s)
ZXAN#
Related Commands
iptv view-profile count
iptv view-profile duration
22-21
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To enable or disable the CDR function
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
enable
disable
Mode
ZXAN(config)#
Example
The following example displays how to enable the CDR function:
ZXAN(config)#iptv cdr enable
ZXAN(config)#
Related Commands
iptv cdr max-records
Purpose
To configure the maximum CDR records that can be cached
Usage Guidelines
The following table provides parameter description:
22-22
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
cdr-size
Mode
ZXAN(config)#
Example
The following example displays how to configure maximum CDR records that can be
cached:
ZXAN(config)#iptv cdr max-records 6000
ZXAN(config)#
Related Commands
iptv cdr report-interval
iptv cdr report
iptv cdr creat-interval
iptv cdr deny-right
iptv cdr prw-right
show iptv cdr
Purpose
To report the CDR records
Usage Guidelines
None
Mode
ZXAN(config)#
Example
The following example displays how to report the CDR records:
ZXAN(config)#iptv cdr report
22-23
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
iptv cdr report-interval
iptv cdr max-records
iptv cdr creat-interval
iptv cdr deny-right
iptv cdr prw-right
show iptv cdr
Purpose
To configure the interval for generation of CDR report
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
report-interval
Report interval
Range: 1 30 minutes
Default: 5 minutes
Mode
ZXAN(config)#
Example
The following example displays how to configure the interval for generation of CDR report:
ZXAN(config)#iptv cdr report-interval 10
ZXAN(config)#
Related Commands
iptv cdr report
iptv cdr max-records
iptv cdr creat-interval
22-24
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure CDR auto-report threshold value
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
report-threshold
Mode
ZXAN(config)#
Example
The following example displays how to configure CDR auto-report threshold value:
ZXAN(config)#iptv cdr report-threshold 300
ZXAN(config)#
Related Commands
iptv cdr report-interval
iptv cdr report
Purpose
To configure the period for creating a CDR record for 'permit' user
22-25
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
period
Mode
ZXAN(config)#
Example
The following example displays how to configure the period for creating a CDR record for
'permit' user:
ZXAN(config)#iptv cdr create-period 30
ZXAN(config)#
Related Commands
show iptv cdr
Purpose
To enable or disable the 'Deny' user for generating the CDR records
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
enable
Mode
ZXAN(config)#
22-26
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to enable the 'Deny' user for generating the CDR
records:
ZXAN(config)#iptv cdr deny-right enable
ZXAN(config)#
Related Commands
iptv cdr prw-right
show iptv cdr
Purpose
To enable or disable the 'Preview' user for generating the CDR records
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
enable
Mode
ZXAN(config)#
Example
The following example displays how to enable the 'Preview' user for generating the CDR
records:
ZXAN(config)#iptv cdr prw-right enable
ZXAN(config)#
Related Commands
iptv cdr deny-right
22-27
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To enable or disable the CDR switch for preview user over-count
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
enable
user over-count
disable
user over-count
Mode
ZXAN(config)#
Example
The following example displays how to enable CDR switch for preview over-count:
ZXAN(config)#iptv cdr prw-overcount enable
ZXAN(config)#
Related Commands
iptv cdr prw-right
show iptv cdr
Purpose
To clear IPTV CDR records
22-28
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
None
Mode
ZXAN(config)#
Example
The following example displays how to clear IPTV CDR records:
ZXAN(config)#iptv cdr clear
ZXAN(config)#
Related Commands
show iptv cdr
Purpose
To display the IPTV CDR information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
records
line-card
Mode
Any mode except user mode
Example
The following example displays the IPTV CDR information:
ZXAN#show iptv cdr
CDR
DISABLE
CDR State
IDLE
CDR SocketStatus
CLOSE
CDR Deny-right
ENABLE
22-29
SJ-20120615152640-010|2012-06-30 (R1.0)
ENABLE
CDR Create-Period(min.)
60
MAX-RECORDS
1000
REPORT-INTERVAL(sec.)
300
Records in cache
ZXAN#
Description
CDR
CDR status
CDR State
CDR Deny-right
CDR Prw-right
CDR Create-Period
MAX-RECORDS
Records in cache
Related Commands
None
Purpose
To display CDR record contents
Usage Guidelines
None
Mode
Any mode except user mode
Example
The following example displays the CDR record contents:
ZXAN#show iptv cdr content
--Cdr message includes following information.
22-30
SJ-20120615152640-010|2012-06-30 (R1.0)
--Time_stamp
--ifindex
--Vid
--SourceIP
--
--GroupIP
--Validility
---Type
--
1 -- view
--
2 -- preview
--
0 -- deny
--Reason
--
0 --
permit Leave(valid)
--
1 --
--
2 --
--
3 --
--
4 --
deny(invalid)
--
5 --
permit over-config-period(valid)
ZXAN#
Related Commands
None
Purpose
To configure the IPTV port service mode
Usage Guidelines
The following table provides parameter description:
22-31
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
start
pause
resume
remove
vport vport
Virtual port ID
Range: 1 32
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the IPTV port service mode:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#iptv service start vport 3
ZXAN(config-if)#
Related Commands
show iptv interface
Related Information
l
l
l
l
Purpose
To configure the IPTV user authorization mode
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
auth
Authorization mode
22-32
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
no-auth
No authorization mode
vport vport
Virtual port ID
Range: 1 32
Mode
Epon-onu interface configuration mode
ZXAN(config-if)#
Example
The following example displays how to configure the IPTV user authorization mode:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#iptv auth-mode no-auth vport 1
ZXAN(config-if)#
Related Commands
show iptv interface
Related Information
By default, the right mode is authorization mode. When authorization mode is changed
from auth to no-auth, the package and channel configuration is deleted.
Purpose
To configure the IPTV user multicast control mode
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
package
channel
vport vport
Virtual port ID
Range: 1 32
Mode
Epon-onu interface configuration mode
22-33
SJ-20120615152640-010|2012-06-30 (R1.0)
ZXAN(config-if)#
Example
The following example displays how to configure the IPTV user multicast control mode:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#iptv right-mode package vport 1
ZXAN(config-if)#
Related Commands
show iptv interface
Purpose
To configure the IPTV user channel information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
channel-name
Channel name
Range: 1 32 characters
package-list
Package ID
Range: 0 1023
deny
watch
preview
vport vport
Virtual port ID
Range: 1 32
Mode
Epon-onu interface configuration mode
ZXAN(config-if)#
Example
The following example displays how to configure the IPTV user channel information:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#iptv channel chname0 watch vport 1
22-34
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
show iptv interface
Purpose
To enable or disable the CDR function for an IPTV user
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
enable
disable
vport vport
Virtual port ID
Range: 1 32
Mode
Epon-onu interface configuration mode
ZXAN(config-if)#
Example
The following example displays how to enable the CDR function for an IPTV user:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#iptv cdr enable vport 1
ZXAN(config-if)#
Related Commands
show iptv interface
Purpose
To display IPTV user information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
PON-ONU interface
interface-name
name
vport vport
Virtual port ID
Range: 1 256
channel
Channel information
package
Package information
watching
Channel watching
information
Channel preview
previewing
information
Mode
Any mode except user mode
Example
The following example displays the IPTV user information:
ZXAN#show iptv interface gpon-onu_1/1/1:1 vport 1
auth-mode : auth
right-mode: package
cdrstatus : enable
service
: IN_SERVICE
ZXAN#
right
channel-name
-----------------------------------------1
preview
watch
CHNAME1
CHNAME2
ZXAN#
pkg-name
-----------------------------------------0
PKG1
22-36
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
22-37
SJ-20120615152640-010|2012-06-30 (R1.0)
22-38
SJ-20120615152640-010|2012-06-30 (R1.0)
Chapter 23
23-1
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure port 802.3ah OAM mode and enable port OAM function
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
active
Active mode
passive
Passive mode
Mode
ZXAN(config-if)#
Example
The following example displays how to configure 802.3ah OAM mode and enable port
OAM function:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#efm enable active
ZXAN(config-if)#
Related Commands
None
Purpose
To disable port OAM function
Usage Guidelines
None
23-2
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
ZXAN(config-if)#
Example
The following example displays how to disable port OAM function:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#efm disable
ZXAN(config-if)#
Related Commands
None
Purpose
To configure 802.3ah OAM remote looback
Usage Guidelines
None
Mode
ZXAN(config-if)#
Example
The following example displays how to configure 802.3ah OAM remote loopback:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#efm remote-loopback
ZXAN(config-if)#
Related Commands
None
Related Information
Only when the port's 802.3ah OAM mode is 'active', can the port be configured with remote
loopback. The port in passive mode cannot be configured with remote loopback.
23-3
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure the number of sent packets while there is a loopback on the remote end
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
Num
Number of packets
1 10
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the number of sent packets :
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#efm send-packet 3
Related Commands
show efm
Related Information
When a port whose 802.3ah mode is active is set to remote loopback successfully, you
can use the command efm send-packet to send test packets.
Purpose
To create the CFM MD
Usage Guidelines
The following table provides parameter description:
23-4
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
session id
Session ID
Range: 1 16
name name
MD name
1 16 characters
level level
MD level
Range: 0 7
Mode
ZXAN(config)#
Example
The following example displays how to create a CFM MD:
ZXAN(config)#cfm create md session 1 name md1 level 3
ZXAN(config-md)#
Related Commands
show cfm md
Purpose
To delete the Ethernet OAM MD
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
id
Session ID
Range: 1 16
Mode
ZXAN(config)#
Example
The following example displays how to delete an Ethernet OAM MD:
ZXAN(config)#cfm delete md 1
Related Commands
show cfm md
23-5
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To enable the CFM function
Usage Guidelines
None
Mode
ZXAN(config)#
Example
The following example displays how to enable the CFM function:
ZXAN(config)#cfm enable
Related Commands
show cfm status
Purpose
To configure the CFM MD
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
id
Session ID
Range: 1 16
Mode
ZXAN(config)#
23-6
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to configure a CFM MD:
ZXAN(config)#cfm md session 1
ZXAN(config-md)#
Related Commands
show cfm md
23.9 ma create
Syntax
ma create session id name name
Purpose
To create the CFM MA
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
session id
Session ID
Range: 1 32
name name
MD name
1 16 characters
Mode
ZXAN(config-md)#
Example
The following example displays how to create a CFM MA:
ZXAN(config-md)#ma create session 1 name ma1
ZXAN(config-md-ma)#
Related Commands
show cfm ma
23.10 ma delete
Syntax
ma delete { id | name }
23-7
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To delete the CFM MA
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
id
Session ID
Range: 1 32
name
MA name
1 16 characters
Mode
ZXAN(config-md)#
Example
The following example displays how to delete a CFM MA:
ZXAN(config-md)#ma delete 1
Related Commands
show cfm ma
23.11 ma session
Syntax
ma session id
Purpose
To configure the CFM MA
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
id
Session ID
Range: 1 32
Mode
ZXAN(config-md)#
Example
The following example displays how to configure a CFM MA:
ZXAN(config-md)#ma session 1
23-8
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
show cfm ma
23.12 assign
Syntax
assign { mep mepid | mip sessionid } to { interface interface | tunnel tunnelid }
Purpose
To assign Ethernet interface to MEP or MIP
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
mep mepid
MEP ID
Range: 1 8191
mip sessionid
Session ID
Range: 1 64
interface interface
1 16 characters
interface
tunnel tunnelid
Tunnel ID
Range: 1 4096
Mode
ZXAN(config-md)#
Example
The following example displays how to create a CFM MA:
ZXAN(config-md-ma)#assign mep 1 to interface gei_1/3/1
Related Commands
show cfm ma
23-9
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure the CCM interval
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
interval
CCM interval
Range: 1 7
1: 3 ms
2: 10 ms
3: 100 ms
4: 1 s
5: 10 s
6: 1 min
7: 10 min
Mode
ZXAN(config-md-ma)#
Example
The following example displays how to enable the CCM sending function:
ZXAN(config-md-ma)#ccm timer-interval 2
Related Commands
show cfm ma
Purpose
To create the CFM MEP
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
session id
Session ID
Range: 1 64
mepid
MEP ID
Range: 1 8191
23-10
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
ZXAN(config-md-ma)#
Example
The following example displays how to create a CFM MEP:
ZXAN(config-md-ma)#create mep session 1 1 direction down
ZXAN(config-md-ma-mep)#
Related Commands
show cfm ma
Purpose
To create the CFM MIP
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
session id
Session ID
Range: 1 64
name name
MIP name
1 16 characters
Mode
ZXAN(config-md-ma)#
Example
The following example displays how to create a CFM MIP:
ZXAN(config-md-ma)#create mip session 2 name mip1
Related Commands
show cfm ma
23-11
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To create the CFM RMEP
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
session id
Session ID
Range: 1 64
mepid
MEP ID
Range: 1 8191
macaddr
MAC address
XXXX.XXXX.XXXX
Mode
ZXAN(config-md-ma)#
Example
The following example displays how to create a CFM RMEP:
ZXAN(config-md-ma)#create rmep session 2 2 remote-mac 00d0.d058.6958
Related Commands
show cfm ma
23.17 mep
Syntax
mep mepid id
Purpose
To configure the CFM MEP
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
mepid id
MEP ID
Range: 1 8191
23-12
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
ZXAN(config-md-ma)#
Example
The following example displays how to configure a CFM MEP:
ZXAN(config-md)#mep mepid 1
ZXAN(config-md-ma-mep)#
Related Commands
show cfm mp
Purpose
To configure the primary VLAN of CFM MA
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
vid
VLAN ID
Range: 1 4094
Mode
ZXAN(config-md-ma)#
Example
The following example displays how to configure the primary VLAN of a CFM MA:
ZXAN(config-md-ma)#primary vlan 100
Related Commands
show cfm ma
23.19 protect
Syntax
protect { link | tunnel | vlan }
23-13
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure protection mode of CFM MA
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
link
Protect link
tunnel
Protect tunnel
vlan
Protect VLAN
Mode
ZXAN(config-md-ma)#
Example
The following example displays how to configure protect mode of the CFM MA:
ZXAN(config-md-ma)#protect vlan
Related Commands
show cfm ma
23.20 ccm-send
Syntax
ccm-send { disable | enable }
Purpose
To enable or disable the CCM sending function
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
disable
enable
Mode
ZXAN(config-md-ma-mep)#
23-14
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to enable the CCM sending function:
ZXAN(config-md-ma-mep)#ccm-send enable
Related Commands
show cfm mp
Purpose
To enable the MEP
Usage Guidelines
None
Mode
ZXAN(config-md-ma-mep)#
Example
The following example displays how to enable the MEP:
ZXAN(config-md-ma-mep)#state enable
Related Commands
show cfm mp
Purpose
To send CFM loopback messages
23-15
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
md mdid
MD ID
Range: 1 16
ma maid
MA ID
Range: 1 32
smep-id smep-id
Source MEP ID
Range: 1 8191
dmep-id dmep-id
Destination MEP ID
Range: 1 8191
dmep-mac dmep-mac
XXXX.XXXX.XXXX
dmip-mac dmip-mac
XXXX.XXXX.XXXX
repeat count
Repeat counts
Range: 1 200
size size
Range: 1 400
timeout time
Time-out interval
Mode
ZXAN#
Example
The following example displays how to send CFM loopback messages between to MEPs:
ZXAN#cfm lbm md 1 ma 1 smep-id 1 dmep-id 2
Related Commands
cmf ltm
Purpose
To send CFM link trace messages
Usage Guidelines
The following table provides parameter description:
23-16
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
md mdid
MD ID
Range: 1 16
ma maid
MA ID
Range: 1 32
smep-id smep-id
Source MEP ID
Range: 1 8191
dmep-id dmep-id
Destination MEP ID
Range: 1 8191
dmep-mac dmep-mac
XXXX.XXXX.XXXX
dmip-mac dmip-mac
XXXX.XXXX.XXXX
timeout time
Time-out interval
ttl ttl
TTL
Range: 1 64
Mode
ZXAN#
Example
The following example displays how to send CFM link trace messages between to MEPs:
ZXAN#cfm ltm md 1 ma 1 smep-id 1 dmep-id 2
Related Commands
cmf lbm
Purpose
To read the CFM link trace reply
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
trans-id id
Transaction ID
Range: 1 42949672955
Mode
ZXAN#
23-17
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to read the CFM link trace reply:
ZXAN#cfm ltr-read trans-id 10
Related Commands
cmf ltm
Purpose
To show port OAM information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
interface_name
Mode
ZXAN(config-if)#
Example
The following example displays how to show port OAM information:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#show efm interface gei_1/3/1
Function Switch: ON
Mode: ACTIVE
Status: SEND_ANY
Related Commands
None
23-18
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To display the CFM MA configuration
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
all
All sessions
session id
MA session ID
Range: 1 32
md mdid
MD session ID
Range: 1 16
Mode
Any mode except ZXAN>
Example
The following example displays the CFM MA configuration:
ZXAN(config-md-ma)#show cfm ma all md 1
MA session 1
name:
ma1
belong to MD:
primary vlan:
100
protect type:
vlan
tunnel:
time interval:
speed:
1(s)
slow
contain MP numbers:
Related Commands
create cfm ma
23-19
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To display the CFM MD configuration
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
all
All sessions
session id
Session ID
Range: 1 16
Mode
Any mode except ZXAN>
Example
The following example displays the CFM MD configuration:
ZXAN(config)#show cfm md all
MD session 1
name:
level:
md1
3
contain MA numbers: 0
Related Commands
create cfm md
Purpose
To display the CFM MA configuration
Usage Guidelines
The following table provides parameter description:
23-20
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
all
All sessions
session id
MA session ID
Range: 1 32
md mdid
MD session ID
Range: 1 16
ma maid
MA session ID
Range: 1 64
Mode
Any mode except ZXAN>
Example
The following example displays the CFM MA configuration:
ZXAN(config)#show cfm mp all md 1 ma 1
MP session 1
type: local mep
direction: down
mep id: 1
admi state: disable
ccm send state: disable
mep priority: 7
mep client-level: 0
mep ais state: disable
mep lck state: disable
mep ais flag state: disable
mep lck flag state: disable
ccm check state: enable
lowest alarm priory: 1
assign port: gei_1/3/1
assign tunnel: 0
relate-to rmep:0
One-LM state: disable
LocalLoss: 0
LocalLoss_Average: 0
RmtLoss: 0
RmtLoss_Average: 0
LocalLoss_Average: 0
RmtLoss: 0
RmtLoss_Average: 0
TimeDelayAverage: 0
TimeDelayIntervalAverage: 0
TimeDelayAverage: 0
23-21
SJ-20120615152640-010|2012-06-30 (R1.0)
DefXconCCM:0
DefErrorCCM:0
DefRemoteCCM:0
DefRDICCM:0
UnexpectedMepIDCCM:0
UnexpectedPeriodCCM:0
UnexpectedLevelCCM:0
MP session 2
type: mip
name: mip1
assign port:
MP session 3
type: remote mep
mep id: 3
admi state: disable
ccm check state: enable
ccm send state: disable
remote mac: d0d0.1123.ef01
DefRemoteCCM:1
DefRDICCM:0
Related Commands
create mep
Purpose
To display the CFM status
Usage Guidelines
None
Mode
Any mode except ZXAN>
23-22
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays the CFM status:
ZXAN(config)#show cfm status
CFM enabled
Related Commands
cfm enable
23-23
SJ-20120615152640-010|2012-06-30 (R1.0)
23-24
SJ-20120615152640-010|2012-06-30 (R1.0)
Chapter 24
LST Commands
Table of Contents
lst-group ...................................................................................................................24-1
add-port ...................................................................................................................24-2
next-hop ...................................................................................................................24-2
interval-link-detect ....................................................................................................24-3
retry-link-detect ........................................................................................................24-4
show lst ....................................................................................................................24-5
show lst groupid .......................................................................................................24-5
24.1 lst-group
Syntax
lst-group group-id
no lst-group group-id
Purpose
To create a lst group
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
group-id
Group ID
Range: 1 16
Mode
ZXAN(config)#
Example
The following example displays how to create a lst group:
ZXAN(config)#lst-group 4
ZXAN(cfg-lst-4)#
Related Commands
show lst-group
24-1
SJ-20120615152640-010|2012-06-30 (R1.0)
24.2 add-port
Syntax
add-port { uplink-port | olt-port } interface
no add-port { uplink-port | olt-port } interface
Purpose
To configure the binding between the uplink port and OLT port (PON port) in a lst group
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
interface
Interface
Mode
ZXAN(cfg-lst-id)#
Example
The following example displays how to configure the between the uplink port and OLT port
(PON port) in a lst group:
ZXAN(config)#lst-group 1
ZXAN(cfg-lst-1)#add-port uplink-port gei_1/3/1
Related Commands
None
Related Information
If one uplink port is already specified in a lst group, the uplink port cannot be used in other
lst groups. If some OLT ports are already bound to a lst group, these OLT ports cannot
be used in other lst groups. One lst group can only be configured with one uplink port and
less than 40 OLT ports.
24.3 next-hop
Syntax
next-hop ipaddress
no next-hop
24-2
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure the next-hop IP address
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ipaddress
IP address
Mode
ZXAN(cfg-lst-id)#
Example
The following example displays how to configure the next-hop IP address:
ZXAN(config)#lst-group 1
ZXAN(cfg-lst-1)# next-hop 10.10.10.1
Related Commands
show lst groupid
Related Information
You need to create a lst group before executing this command.
24.4 interval-link-detect
Syntax
interval-link-detect time
Purpose
To configure the link detection interval
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
time
Detection time
Range: 1 10
Unit: sec
Default: 3
24-3
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
ZXAN(cfg-lst-id)#
Example
The following example displays how to configure the link detection interval:
ZXAN(config)#lst-group 1
ZXAN(cfg-lst-1)# interval-link-detect 9
Related Commands
show lst groupid
Related Information
You need to create a lst group before executing this command.
24.5 retry-link-detect
Syntax
retry-link-detect num
Purpose
To configure the retry times
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
num
Retry times
Range: 1 10
Default: 5
Mode
ZXAN(cfg-lst-id)#
Example
The following example displays how to configure the retry times:
ZXAN(config)#lst-group 1
ZXAN(cfg-lst-1)# retry-link-detect 9
Related Commands
show lst groupid
24-4
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Information
You need to create a lst group before executing this command.
Purpose
To display the current lst group
Usage Guidelines
None
Mode
Any mode except ZXAN>
Example
The following example displays the current lst group:
ZXAN(config)#show lst
Group List :
--------------------------------------Group List :
--------------------------------------1
Related Commands
show lst groupid
Purpose
To display the information of a lst group
Usage Guidelines
The following table provides parameter description:
24-5
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
groupid
lst group ID
Range: 1 16
Mode
Any mode except ZXAN>
Example
The following example displays the information of a lst group:
ZXAN(config)#show lst groupid 1
Switch type
Next-hop
common port
gei_1/3/1 : up
0.0.0.0
Link-detect-retry
Link-detect-interval
Link status
N/A
Related Commands
show lst
24-6
SJ-20120615152640-010|2012-06-30 (R1.0)
Chapter 25
Port Configuration
Commands
Table of Contents
max-mac-learn .........................................................................................................25-1
linktrap .....................................................................................................................25-2
lock ..........................................................................................................................25-3
customer-xconnect ...................................................................................................25-4
flowcontrol................................................................................................................25-4
port-protect...............................................................................................................25-5
description................................................................................................................25-6
eth-switch multicast-limit...........................................................................................25-7
eth-switch mac-protect .............................................................................................25-8
eth-switch vlan-limit ..................................................................................................25-8
optical-module-alarm-profile .....................................................................................25-9
ip access-group......................................................................................................25-10
show customer-xconnect detail .............................................................................. 25-11
show customer-xconnect summary ........................................................................25-12
show interface port-status ......................................................................................25-12
25.1 max-mac-learn
Syntax
max-mac-learn num [vport vportno]
no max-mac-learn [vport vportno]
Purpose
To configure the maximum MAC address learn number
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
num
Range: 0 4095
25-1
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
vport vportno
1 256
Default: 1
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the maximum MAC address learn
number:
ZXAN(config)#interface gpon-onu_1/1/4:1
ZXAN(config-if)#max-mac-learn 128 vport 1
Related Commands
None
25.2 linktrap
Syntax
For EPON OLT interface configuration mode:
linktrap {disable | inform}
For Ethernet interface configuration mode:
linktrap {alarm | disable }
Purpose
To configure interface link traps
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
disable
inform
alarm
Mode
ZXAN(config-if)#
25-2
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to enable link trap informs in EPON OLT interface
configuration mode:
ZXAN(config)#interface gpon-olt_1/1/1
ZXAN(config-if)#linktrap inform
The following example displays how to enable link trap alarm in Ethernet interface
configuration mode:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#linktrap alarm
Related Commands
show running interface
Related Information
l
l
25.3 lock
Syntax
lock
no lock
Purpose
To lock (shutdown) a EPON OLT interface
Usage Guidelines
None
Mode
EPON OLT interface configuration mode
ZXAN(config-if)#
Example
The following example displays how to lock (shutdown) a EPON OLT interface:
25-3
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Related Information
l
l
l
When a EPON OLT interface is locked (shutdown), all alarms of the OLT are cleared
and no more alarms occur.
When a EPON OLT interface is unlocked (no shutdown), the OLT state is changed to
'up' and interface is enabled.
By default, EPON OLT interface is unlocked.
25.4 customer-xconnect
Syntax
customer-xconnect { enable | disable } [ cvlan cvlanid]
Purpose
To set the customer-xconnect on a CVLAN
Usage Guidelines
None
Mode
ZXAN(config-vlan)#
Example
The following example shows how to set the customer-xconnect on CVLAN 23:
ZXAN(config-vlan)#customer-xconnect enable cvlan 23
Related Commands
None
25.5 flowcontrol
Syntax
flowcontrol {enable | disable}
25-4
SJ-20120615152640-010|2012-06-30 (R1.0)
no flowcontrol
Purpose
To configure flow control
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
enable
disable
Mode
Ethernet interface configuration mode
ZXAN(config-if)#
Example
The following example displays how to enable flow control:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#flowcontrol enable
Related Commands
None
Related Information
By default, the Ethernet uplink port flow control is disabled.
25.6 port-protect
Syntax
port-protect {enable | disable}
Purpose
To configure port protection
Usage Guidelines
The following table provides parameter description:
25-5
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
enable
disable
Mode
Ethernet interface configuration mode
ZXAN(config-if)#
Example
The following example displays how to enable port protection:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#port-protect enable
Related Commands
None
Related Information
This command is used to isolate users of Ethernet uplink port. By default, port protection
is disabled.
25.7 description
Syntax
description description
Purpose
To provide description for an interface
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
description
Interface description
Range: 1 64 characters
(Ethernet/PON-OLT
interface)
25-6
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
ZXAN(config-if)#
Example
The following example displays how to provide description for an interface:
ZXAN(config)#interface gpon-onu_1/2/1:1
ZXAN(config-if)#description this is ONU1
Related Commands
show interface
Purpose
To configure multicast limit
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
num
Multicast limit
Mode
ZXAN(config)#
Example
The following example displays how to configure multicast limit:
ZXAN(config)#eth-switch multicast-limit 1000
Related Commands
show eth-switch
Related Information
l
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure a protected MAC address
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
mac-address
MAC address
XXXX.XXXX.XXXX
vlan num
VLAN number
1 4094
Mode
ZXAN(config)#
Example
The following example displays how to configure a protected MAC address:
ZXAN(config)#eth-switch mac-protect 0000.0000.0001 vlan 2
Related Commands
show eth-switch
Related Information
l
l
After executing this command, the system provides MAC+VLAN configuration to all
GPON cards.
After a MAC address is protected, if one ONU has MAC+VLAN upstream data flow,
the relevant GPON card discards the upstream data.
Purpose
To configure VLAN rate limit
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
vlan vlan
VLAN number
Range: 1 1094
rate rate
Rate value
upstream
downstream
Mode
ZXAN(config)#
Example
The following example displays how to configure upstream VLAN limit:
ZXAN(config)#eth-switch vlan-limit vlan 200 rate 64 upstream
Related Commands
show eth-switch vlan-limit
Related Information
l
l
l
The main control card can be configured with 64 VLAN rate limit rules at the maximum.
The configured rate granularity is 64 Kbps. Valid value is multiple of 64.
Downstream rate limit is configured on all uplink ports. Upstream rate limit is
configured on all ports except uplink ports.
25.11 optical-module-alarm-profile
Syntax
performance threshhold-profile profilename
Purpose
To apply the optical-module alarm-profile on the optical interface
25-9
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
profilename
Profile name
1 32 characters
Mode
ZXAN(config-if)#
Example
The following example displays how to apply the optical-module alarm-profile on the optical
interface:
ZXAN(config-if)#optical-module-alarm-profile abc
Related Commands
optical-module alarm-profile
25.12 ip access-group
Syntax
For Ethernet or PON-OLT interface configuration mode:
ip access-group {aclnum| aclname} in
no ip access-group {aclnum| aclname} in
For PON-ONUu interface configuration mode:
ip access-group {aclnum| aclname} {in | out} [ vport vport ]
no ip access-group {aclnum| aclname} {in | out} [ vport vport ]
Purpose
To apply an ACL to an interface
Usage Guidelines
The following table provides parameter description:
25-10
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
aclnum
aclname
ACL name
Range: 1 32 characters
in
Inbound packets
out
Outbound packets
vport
Virtual port ID
Range: 1 256
Mode
ZXAN(config-if)#
Example
The following example displays how to apply an ACL to the interface:
ZXAN(config)#interface gpon-onu_1/2/1:1
ZXAN(config-if)#ip access-group 300 in vport 1
Related Commands
show running-config
Purpose
To show the customer-xconnect configuration
Usage Guidelines
None
25-11
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
All modes except user mode
Example
The following example shows the customer-xconnect configuration:
ZXAN#show customer-xconnect detail
Related Commands
None
Purpose
To show the customer-xconnect summary information
Usage Guidelines
None
Mode
All modes except user mode
Example
The following example shows the customer-xconnect summary information:
ZXAN#show customer-xconnect summary
Related Commands
None
Purpose
To display Ethernet interface information
25-12
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
interface-id
Ethernet interface
Gei_1/3/portno
Xgei_1/3/portno
Mode
Any mode except user mode
Example
The following example displays how to display Ethernet interface information:
ZXAN(config)#show interface port-status gei_1/3/4
-----------------------------------------------------------------Port
hybrid Status
Native VLAN
Negotiation Status
-----------------------------------------------------------------gei_1/3/4
electric
enable
-----------------------------------------------------------------Speed (Mbps)
Duplex
Flow-Ctrl
Admin Status
Link
-----------------------------------------------------------------10000
full
disable
activate
down
Related Commands
None
25-13
SJ-20120615152640-010|2012-06-30 (R1.0)
25-14
SJ-20120615152640-010|2012-06-30 (R1.0)
Chapter 26
Ethernet Interface
Configuration Commands
Table of Contents
byname ....................................................................................................................26-1
clear counter ............................................................................................................26-2
description................................................................................................................26-3
duplex ......................................................................................................................26-4
flowcontrol................................................................................................................26-5
hybrid-attribute .........................................................................................................26-6
interface ...................................................................................................................26-6
monitor session ........................................................................................................26-8
monitor session (Port) ..............................................................................................26-9
multicast.................................................................................................................26-10
negotiation auto...................................................................................................... 26-11
shutdown................................................................................................................ 26-11
speed .....................................................................................................................26-12
port-protect.............................................................................................................26-13
eth-switch broadcast-limit .......................................................................................26-14
eth-switch unknowncast-limit ..................................................................................26-15
eth-switch multicast-limit.........................................................................................26-15
eth-switch vlan-limit ................................................................................................26-16
range......................................................................................................................26-17
uplink-isolate ..........................................................................................................26-17
show eth-switch......................................................................................................26-18
show eth-switch vlan-limit.......................................................................................26-19
show interface ........................................................................................................26-20
show ip interface ....................................................................................................26-23
show monitor session .............................................................................................26-24
show performance eth-if .........................................................................................26-25
26.1 byname
Syntax
byname by-name
no byname
26-1
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure the interface byname
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
by-name
Interface byname
Range: 1 32 characters
Mode
Ethernet interface configuration mode
ZXAN(config-if)#
Example
The following example displays how to configure the interface byname:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#byname ether1
ZXAN(config-if)#exit
ZXAN(config)#interface byname ether1
ZXAN(config-if)#
Related Commands
show interface
Purpose
To clear the interface statistics
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
Gei interface
gei_1/3/portno
xgei_1/3/portno
Epon-olt interface
OLT interface
epon-olt_rackno/slotno/portno
26-2
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
Epon-onu interface
ONU interface
epon-onu_rackno/slotno/portno:onuno
Mode
ZXAN#
Example
The following example displays how to clear the interface statistics:
ZXAN#clear counter ethernet gei_1/3/1
ZXAN#
Related Commands
show interface
Related Information
Execute this command to clear all interface statistics unless an interface name is specified.
26.3 description
Syntax
description string
no description
Purpose
To describe a specific interface
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
string
Range: 1 20 characters
Mode
Ethernet interface configuration mode
ZXAN(config-if)#
Example
The following example displays how to describe a specific interface:
26-3
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
26.4 duplex
Syntax
duplex {half | full}
no duplex
Purpose
To configure the working pattern as half-duplex or full-duplex
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
half
Half duplex
full
Full duplex
Mode
Ethernet interface configuration mode
ZXAN(config-if)#
Example
The following example displays how to configure the working pattern as full-duplex:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#no negotiation auto
ZXAN(config-if)#duplex full
ZXAN(config-if)#
Related Commands
None
26-4
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Information
Fast Ethernet port, gigabit Ethernet port support both half-duplex and full-duplex modes.
Fast Ethernet optical port, 1000 M Ethernet port and gigabit Ethernet optical port only
supports full-duplex mode.
Disable auto negotiation function before configuring the duplex mode.
26.5 flowcontrol
Syntax
flowcontrol {enable | disable}
no flowcontrol
Purpose
To enable or disable the flow control
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
enable
disable
Mode
Ethernet interface configuration mode
ZXAN(config-if)#
Example
The following example displays how to disable the flow control:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#flowcontrol disable
ZXAN(config-if)#
Related Commands
None
Related Information
flowcontrol disable and no flowcontrol have the same effect.
By default, flowcontrol function is disable.
26-5
SJ-20120615152640-010|2012-06-30 (R1.0)
26.6 hybrid-attribute
Syntax
hybrid-attribute {fiber | copper}
Purpose
To configure the Giga Ethernet interface property
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
fiber
Fiber port
copper
Copper port
Mode
Ethernet interface configuration mode
ZXAN(config-if)#
Example
The following example displays how to configure the Giga Ethernet interface property:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#hybrid-attribute copper
ZXAN(config-if)#
Related Commands
None
Related Information
Before executing this command to transfer fiber to copper, or copper to fiber, ensure the
interface support both fiber mode and copper mode.
26.7 interface
Syntax
interface {interface-name | byname byname}
no interface {interface-name | byname byname}
26-6
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To enter into an interface mode
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
interface-name
Interface name
Epon-olt_rackno/slotno/portno
Epon-onu_rackno/slotno/portno:onuno
Gei_1/3/portno
Loopback
Interface Range: 1 64
Mng1
Null1
Smartgroup
Interface Range: 1 8
SuperVLAN
Interface Range: 1 255
Tunnel
Interface Range: 1 64
Vlan
Interface Range: 1 4094
Xgei_1/3/portno
byname byname
Byname
Range: 1 32 characters
Mode
ZXAN(config)#
Example
The following example displays how to enter into an interface mode:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#
Related Commands
show interface
Related Information
The no command is invalid for physical interfaces. Both the no interface byname byname
and the no interface interface-name commands are used to delete the interface.
Only when the interface byname for the interface is set, it is possible to enter the
configuration mode of this interface using the byname parameter.
26-7
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To create a session
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
session-number
Session number
dst-ip dstip
Destination IP address
A.B.C.D
src-ip srcip
Source IP address
A.B.C.D
dscp dscp
DSCP priority
Range: 0 63
priority prio
Priority
tpid tpid
TPID
0xHHHH
Range: 1 255
ttl ttl
interface interface
Interface name
1 32 characters
inner-port port
1 32 characters
Mode
ZXAN(config)#
Example
The following example displays how to create a session:
ZXAN(config)#monitor session 1 destination dst-ip 1.1.1.1 src-ip 2.2.2.2
dscp 0 priority 0 tpid 0x8100 ttl 255
ZXAN(config)#
Related Commands
show monitor session
26-8
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Information
Use the no command to delete the session. All the configured source ports and destination
ports in that session are deleted.
Purpose
To add a source or a destination port to a session
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
session-number
Session number
destination
Destination port
source
Source port
direction
source port
both
source port to Tx
rx
source port to Rx
Mode
Ethernet/Smartgroup interface configuration mode
ZXAN(config-if)#
Example
The following example displays how to add a source or a destination port to a session:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#monitor session 1 source direction tx
ZXAN(config-if)#monitor session 1 destination
ZXAN(config-if)#
26-9
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
show monitor session
Related Information
Each session can be configured with up to eight source ports and one destination port.
Each port can be either the source or the destination, but not both.
When configuring the source/destination port with the command, if the session number
does not exist, create a session first, and then add the source/destination port. When
configuring the destination port, if the session already holds a destination port, the
configuration is invalid.
If the source/destination port of each session are on the same line interface card, the
system supports up to eight sessions. If the source/destination port of each session are
not on the same line interface card, only one session is allowed.
26.10 multicast
Syntax
multicast ttl-threshold value
no multicast-limit
Purpose
To configure the multicast TTL threshold value
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ttl-threshold value
Range: 0 255
Mode
Ethernet interface configuration mode
ZXAN(config-if)#
Example
The following example displays how to configure the multicast TTL threshold value:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#multicast ttl-threshold 10
ZXAN(config-if)#
26-10
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Purpose
To activate auto-negotiation link for the Ethernet interface
Usage Guidelines
None
Mode
Ethernet interface configuration mode
ZXAN(config-if)#
Example
The following example displays how to activate auto-negotiation link for the Ethernet
interface:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#negotiation auto
ZXAN(config-if)#
Related Commands
show interface
26.12 shutdown
Syntax
shutdown
no shutdown
Purpose
To shut down an interface
26-11
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
None
Mode
ZXAN(config-if)#
Example
The following example displays how not to shut down an interface:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#no shutdown
ZXAN(config-if)#
Related Commands
None
Related Information
The shutdown command is used to shut down an interface (to disable all functions), and
does not correspond to the physical status (up or down) of an interface.
26.13 speed
Syntax
speed {10 | 100 | 1000| 10000}
no speed
Purpose
To configure the interface speed to 10/100/1000/10000 Mbps
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
10
100
1000
10000
26-12
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
Ethernet interface configuration mode
ZXAN(config-if)#
Example
The following example displays how to configure the interface speed to 1000 Mbps:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#no negotiation auto
ZXAN(config-if)#speed 1000
ZXAN(config-if)#
Related Commands
show interface
Related Information
Before configuring interface speed, disable the auto negotiation.
26.14 port-protect
Syntax
port-protect {enable | disable}
Purpose
To enable or disable the port protection function
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
enable
disable
Mode
Ethernet interface configuration mode
ZXAN(config-if)#
Example
The following example displays how to enable the port protection function:
26-13
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Purpose
To enable/disable the global broadcast packet limit
Usage Guidelines
The following table describes the relevant parameters:
Parameter
Description
Value
num
(PPS)
Mode
Global configuration mode: ZXAN(config)#
Example
The following example shows how to set the broadcast peak rate as 200 pps:
ZXAN(config)#eth-switch broadcast-limit 200
Related Commands
show eth-switch
Related Information
None
26-14
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure unknowncast limit
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
num
Mode
ZXAN(config)#
Example
The following example displays how to configure the unknowncast limit:
ZXAN(config)#eth-switch unkowncast-limit 1000
ZXAN(config)#
Related Commands
None
Purpose
To configure the multicast limit
Usage Guidelines
The following table provides parameter description:
26-15
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
num
Mode
ZXAN(config)#
Example
The following example displays how to configure the multicast limit:
ZXAN(config)#eth-switch multicast-limit 100
ZXAN(config)#
Related Commands
show eth-switch
Purpose
To configure rate limit for the VLAN
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
vlan
VLAN ID
Range: 1 4094
rate
Rate
upstream
Upstream direction
downstream
Downstream direction
Mode
ZXAN(config)#
26-16
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to configure rate limit for the VLAN:
ZXAN(config)#eth-switch vlan-limit vlan 100 rate 640 downstream
Related Commands
show eth-switch vlan-limit
Related Information
The ZXA10 C320 supports maximum 64 VLAN rate-limit entries.
26.19 range
Syntax
range
Purpose
To display the port list of a specified range
Usage Guidelines
None
Mode
ZXAN(config-if)#
Example
The following example displays the port list of a specified range:
ZXAN(config)#interface gpon-olt_1/1/1
ZXAN(config-if)#range
Portlist of the range: gpon-olt_1/1/1
ZXAN(config-if)#
Related Commands
None
26.20 uplink-isolate
Syntax
uplink-isolate {enable | disable}
26-17
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To enable/disable the uplink port isolation
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
enable
disable
Mode
ZXAN(config-if)#
Example
The following example displays how to enable the uplink port isolation:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#uplink-isolate enable
ZXAN(config-if)#
Related Commands
None
Related Information
When an uplink port is uplink-isolate enabled, the port cannot communicate with other
uplink ports that are uplink-isolate enabled, it can only communicate with uplink ports that
are uplink-isolate disabled and user ports.
Purpose
To display the Ethernet switch information
Usage Guidelines
None
Mode
Any mode except user mode
26-18
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays the Ethernet switch information:
ZXAN#show eth-switch
broadcast-limit
:100 pps
:disable
mac-anti-spoofing:disable
port-protect
:disable
ZXAN#
Related Commands
None
Purpose
To display the configuration of VLAN rate limit
Usage Guidelines
None
Mode
Any mode except ZXAN>
Related Information
None
Example
The following example displays the configuration of VLAN rate limit:
ZXAN(config)#show eth-switch vlan-limit
the total vlan-limit rule numbers:1
-------------------------------------------vlan
rate(unit:kbps)
direction
-------------------------------------------100
640
downstream
26-19
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
eth-switch vlan-limit
Purpose
To display the detailed statistics of the interface for network traffic analysis
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
interface
Interface name
Epon-olt_rackno/slotno/portno
Epon-onu_rackno/slotno/portno:onuno
Gei_1/3/portno
Loopback
Interface Range: 1 64
Mng1
Null1
Smartgroup
Interface Range: 1 8
SuperVLAN
Interface Range: 1 255
Tunnel
Interface Range: 1 64
Vlan
Interface Range: 1 4094
Xgei_1/3/portno
Mode
Any mode except user mode
Example
The following example displays the detailed statistics of the interface for network traffic
analysis:
l
Loopback interface
ZXAN#show interface loopback1
loopback1 is up,
line protocol is up
26-20
SJ-20120615152640-010|2012-06-30 (R1.0)
BW 8000000 Kbits
ZXAN#
Null interface
ZXAN#show interface null1
null1 is up,
line protocol is up
Description is none
Keepalive set:10 sec
BW 10000000 Kbits
ZXAN#
Smartgroup interface
ZXAN#show interface smartgroup1
smartgroup1 is up,
Description is none
Keepalive set:10 sec
VLAN mode is hybrid, pvid 1
ZXAN#
VLAN interface
ZXAN#show interface vlan1
vlan1 is up,
line protocol is up
Description is none
Keepalive set:10 sec
MAC address is 00d0.d0c7.ffe0
ARP Timeout:00:05:00
Internet address is unassigned
MTU 1500 bytes
MRU 1500 bytes
BW 1000000 Kbits
ZXAN#
gei_1/3/1 interface
ZXAN#show interface gei_1/3/1
gei_1/3/1 is down,
Description is none
Keepalive set:10 sec
The port is optical
Duplex full
scramble payload-enable
VLAN mode is access, pvid 1BW 1000000 Kbits
26-21
SJ-20120615152640-010|2012-06-30 (R1.0)
0 pps
0 pps
:
0 Bps, output
0 Bps
0%
Input:
Packets
: 0
Bytes
: 0
Unicasts
: 0
Multicasts: 0
Broadcasts
: 0
Undersize : 0
Oversize
: 0
CRC-ERROR : 0
Dropped
: 0
Fragments : 0
Jabber
: 0
MacRxErr
: 0
: 0
Output:
Packets
: 0
Bytes
Unicasts
: 0
Multicasts: 0
Broadcasts
: 0
Collision : 0
LateCollision: 0
Total:
64B
: 0
65-127B
: 0
128-255B
: 0
256-511B
: 0
512-1023B : 0
1024-2018B: 0
ZXAN#
Description
gei_1/3/1 is down
line protocol is up
Description
Interface description
Duplex
vlan
MTU
BW
Interface bandwidth
MAC
InputOutputTotal
Interface statistics
26-22
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Purpose
To display the interface status and configuration information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
brief
and configuration
interface-name
Interface name
Epon-olt_rackno/slotno/portno
Epon-onu_rackno/slotno/portno:onuno
Gei_1/3/portno
Loopback
Interface Range: 1 64
Mng1
Null1
Smartgroup
Interface Range: 1 8
SuperVLAN
Interface Range: 1 255
Tunnel
Interface Range: 1 64
Vlan
Interface Range: 1 4094
Xgei_1/3/portno
Output modifier
begin
matches
exclude
matches
include
26-23
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
line
Line
Mode
Any mode except user mode
Example
The following example displays the interface status and configuration information:
ZXAN#show ip interface brief
interface
IP-Address
Mask
vlan1
unassigned
unassigned
vlan100
vlan200
up
up
up
10.63.184.213 255.255.255.0
up
up
up
unassigned
up
up
down
unassigned
ZXAN#
Related Commands
None
Related Information
show ip interface command displays information about all the interfaces configured.
show ip interface interface-name command displays the specified interface information.
show ip interface brief command displays the summary of all the interfaces.
show ip interface brief interface-name command displays the summary of the specified
interface.
Purpose
To display the detailed information about the user defined sessions
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
session-number
Session number
26-24
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
Any mode except user mode
Example
The following example displays the detailed information about the user defined sessions:
ZXAN#show monitor session 1
Session 1
-----------Source Ports:
Port: gei_1/3/1
Destination Port:
Port:
ZXAN#
Related Commands
monitor session
Purpose
To display Ethernet interface performance
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
gei_shelf/slot/olt
Ethernet interface
current
Current
current-15min-interval
his-15min-interval interval
Range: 1 96
his-1day-interval interval
Range: 1 7
Mode
Any mode except ZXAN>
26-25
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays the current performance of an Ethernet interface:
ZXAN(config)#show performance eth-if gei_1/16/1 current
---------------------------------------------------------------Input:
Byte
:0
Packets
:0
:0
UcastPkts
:0
McastPkts
BcastPkts
:0
OversizePkts :0
UndersizePkts:0
Output:
Byte
:0
Packets
:0
UcastPkts
:0
McastPkts
:0
BcastPkts
:0
PausePkts
:0
DiscardPkts
:0
Collisions
:0
SingColls
:0
MultiColls
:0
FcsErrors
:0
AlignErrs
:0
Related Commands
None
26-26
SJ-20120615152640-010|2012-06-30 (R1.0)
Chapter 27
MSTP Commands
Table of Contents
instance ...................................................................................................................27-1
name........................................................................................................................27-2
revision ....................................................................................................................27-3
spanning-tree ...........................................................................................................27-4
spanning-tree bpduguard .........................................................................................27-5
spanning-tree edged-port .........................................................................................27-6
spanning-tree forward-delay .....................................................................................27-7
spanning-tree guard .................................................................................................27-8
spanning-tree hello-time ...........................................................................................27-9
spanning-tree linktype ..............................................................................................27-9
spanning-tree max-age...........................................................................................27-10
spanning-tree mcheck ............................................................................................ 27-11
spanning-tree mode ...............................................................................................27-12
spanning-tree mst configuration .............................................................................27-12
spanning-tree mst hmd5-digest ..............................................................................27-13
spanning-tree mst hmd5-key ..................................................................................27-14
spanning-tree mst instance priority .........................................................................27-15
spanning-tree mst instance (Interface)....................................................................27-16
spanning-tree mst instance path-cost .....................................................................27-17
spanning-tree mst max-hops ..................................................................................27-17
spanning-tree transparent ......................................................................................27-18
spanning-tree packet-type ......................................................................................27-19
show spanning tree inconsistentports .....................................................................27-20
show spanning-tree instance ..................................................................................27-21
show spanning-tree interface..................................................................................27-22
show spanning-tree mst configuration ....................................................................27-23
show spanning-tree statistics..................................................................................27-24
show spanning-tree transparent .............................................................................27-25
27.1 instance
Syntax
instance instance vlans vlan-id
no instance instance
27-1
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To create an instance in MSTP mode, and map it to the corresponding VLAN table
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
instance
Instance ID
Range: 1 16
vlans
VLAN maps
vlan-id
Range: 1 4094
(Example: 1 10 or 1, 3, 5)
Mode
ZXAN(config-mstp)#
Example
The following example displays how to create an instance in MSTP mode, and map it to
the corresponding VLAN table:
ZXAN(config)#spanning-tree mst configuration
ZXAN(config-mstp)#instance 1 vlans 10-20
ZXAN(config-mstp)#
Related Commands
show spanning-tree mst configuration
spanning-tree mst configuration
Related Information
By default, all VLANs are mapped to the common internal spanning tree (CIST).
Use the no instance command to remap the specified VLAN(s) or all VLANs to the CIST
(MST instance 0).
The user cannot map the same VLAN to different MST instances. If the user map's a VLAN
that has been mapped to an instance to a new instance, the old mapping is automatically
removed.
27.2 name
Syntax
name name
27-2
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To create an MST configuration name
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
name
Configuration name
Range: 1 32 characters
Mode
ZXAN(config-mstp)#
Example
The following example displays how to create an MST configuration name:
ZXAN(config)#spanning-tree mst configuration
ZXAN(config-mstp)#name zte
ZXAN(config-mstp)#
Related Commands
show spanning-tree mst configuration
spanning-tree mst configuration
27.3 revision
Syntax
revision version
no revision
Purpose
To configure the MSTP version number
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
version
Revision number
Range: 0 65535
Default: 0
27-3
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
ZXAN(config-mstp)#
Example
The following example displays how to configure MSTP revision number:
ZXAN(config)#spanning-tree mst configuration
ZXAN(config-mstp)#revision 10
ZXAN(config-mstp)#
Related Commands
show spanning-tree mst configuration
spanning-tree mst configuration
Related Information
The MSTP revision level, the MST region name, and the VLAN-to-instance mapping table
of a device jointly determine the MST region the device belongs to.
27.4 spanning-tree
Syntax
spanning-tree {enable | disable}
Purpose
to enable or disable the MSTP feature globally or on the port(s)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
enable
disable
Mode
ZXAN(config)#
Ethernet interface configuration mode
ZXAN(config-if)#
27-4
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to enable the MSTP globally and disable the MSTP
on port:
ZXAN(config)#spanning-tree enable
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#spanning-tree disable
ZXAN(config-if)#
Related Commands
None
Related Information
After being enabled, MSTP dynamically maintains spanning tree status of the
corresponding VLANs based on the received configuration BPDUs. After being disabled,
it stops maintaining the spanning tree status.
Purpose
To change an interfaces spanning tree BPD guard for BPDU packets
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
action discard
action shutdown
Shutdown port
Mode
Ethernet interface configuration mode
ZXAN(config-if)#
Example
The following example displays how to change an interfaces spanning tree BPD guard:
27-5
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Related Information
By default, the BPDU guard function is disabled.
Through this command, the ports are protected from attack.
Purpose
To enable or disable the spanning tree edged port
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
enable
port
disable
port
Mode
Ethernet interface configuration mode
ZXAN(config-if)#
Example
The following example displays how to enable the spanning tree edged port:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#spanning-tree edged-port enable
ZXAN(config-if)#
27-6
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
spanning-tree linktype
spanning-tree packet-type
Related Information
By default, port is not an edged port.
Using this command, the administrator can set the port connected to the computer to serve
as an edged port. This interface is in forwarding state or can fast switch to the forwarding
state.
Purpose
To configure the spanning tree forward delay time
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
time
Range: 4 30 seconds
Default: 15 seconds
Mode
ZXAN(config)#
Example
The following example displays how to configure the spanning tree forward delay time:
ZXAN(config)#spanning-tree forward-delay 16
ZXAN(config)#
Related Commands
spanning-tree mst max-hops
spanning-tree hello-time
27-7
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To change an interface STP guard mode
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
loop
on interface
root
on interface
instance instance-range
Instance range
Range: 0 31
Mode
Ethernet interface configuration mode
ZXAN(config-if)#
Example
The following example displays how to change an interface STP guard mode:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#spanning-tree guard root instance 0
ZXAN(config-if)#
Related Commands
None
Related Information
Using this command, administrators can avoid the wrong configuration.
By default, this command is disabled.
27-8
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure the spanning tree Hello time (interval for sending BPDU packets)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
time
Range: 1 10 seconds
of configured BPDUs
Default: 2 seconds
Mode
ZXAN(config)#
Example
The following example displays how to configure the spanning tree Hello time
ZXAN(config)#spanning-tree hello-time 3
ZXAN(config)#
Related Commands
spanning-tree mst max-hops
spanning-tree forward-delay
Purpose
To configure the spanning tree link type
Usage Guidelines
The following table provides parameter description:
27-9
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
auto
share
Mode
Ethernet interface configuration mode
ZXAN(config-if)#
Example
The following example displays how to configure the spanning tree link type:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#spanning-tree linktype p2p
ZXAN(config-if)#
Related Commands
spanning-tree packet-type
Related Information
By default, link type is auto.
The user can enable the fast status change function when the link type of the port is p2p.
If the link type of the port is share, the status can be changed only after two times of
forward-delay time.
Purpose
To configure the maximum age of the STP BPDU packet
Usage Guidelines
The following table provides parameter description:
27-10
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
time
Range: 6 40 seconds
packet
Default: 20 seconds
Mode
ZXAN(config)#
Example
The following example displays how to configure the maximum age of the STP BPDU
packet:
ZXAN(config)#spanning-tree max-age 21
ZXAN(config)#
Related Commands
spanning-tree mst max-hops
spanning-tree forward-delay
Purpose
To configure the spanning tree mcheck
Usage Guidelines
None
Mode
Ethernet interface configuration mode
ZXAN(config-if)#
Example
The following example displays how to configure the spanning tree mcheck:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#spanning-tree mcheck
ZXAN(config-if)#
27-11
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Purpose
To configure the spanning tree mode
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
mstp
rstp
sstp
Mode
ZXAN(config)#
Example
The following example displays how to configure the spanning tree mode:
ZXAN(config)#spanning-tree mode rstp
ZXAN(config)#
Related Commands
spanning-tree
Related Information
By default, MSTP is the spanning tree mode.
Purpose
To enter into the MSTP configuration mode
Usage Guidelines
None
Mode
ZXAN(config)#
Example
The following example displays how to enter into the MSTP configuration mode:
ZXAN(config)#spanning-tree mst configuration
ZXAN(config-mstp)#
Related Commands
show spanning-tree mst configuration
Related Information
In MSTP configuration mode, users can configure dedicated parameters of MSTP; MST
configuration name, MST configuration version, and configuration digest.
Purpose
To configure MST HMD5 digest key parameters
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
cisco
Cisco key
huawei
Huawei key
key
27-13
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
ZXAN(config)#
Example
The following example displays how to configure MST HMD5 digest key parameters
ZXAN(config)#spanning-tree mst hmd5-digest cisco 0x123456789012345678
90123456789012
ZXAN(config)#
Related Commands
spanning-tree mst hmd5-key
Related Information
Because the MSTP packet format is different from the IEEE standard when different
manufacturers (such as CISCO and HUAWEI) implement MSTP, the user must configure
a KEY or DIGEST value for the ZTE switch before connecting to the equipment.
The default value is 0x00000000000000000000000000000000.
Purpose
To configure the MST hmac MD5 digest
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
cisco
Cisco
huawei
Huawei
key
HMD5_KEY(0x... 32 HEX-
KEYs)
0x...32)
Mode
ZXAN(config)#
27-14
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to configure the spanning tree MST hmac MD5 digest:
ZXAN(config)#spanning-tree mst hmd5-key CISCO 0x12345678901234567890
123456789012
ZXAN(config)#
Related Commands
spanning-tree mst hmd5-digest
Related Information
Because the MSTP packet format is different from the IEEE standard when different
manufacturers (such as CISCO and HUAWEI) implement MSTP, the user must configure
a KEY or DIGEST value for the ZTE switch before connecting to the equipment.
Purpose
To configure the MST instance priority
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
instance
Instance ID
Range: 0 31
Default: 0
priority
Interface priority
Mode
ZXAN(config)#
Example
The following example displays how to configure the MST instance priority:
ZXAN(config)#spanning-tree mst instance 0 priority 4096
ZXAN(config)#
27-15
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
spanning-tree mst instance priorityinterface
Purpose
To configure the MST instance
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
instance
Instance ID
Range: 0 16
Default: 0
path-cost cost
Range: 1 2000000
priority priority
Interface priority
Range: i x 16 (i = 0 15)
Mode
Ethernet interface configuration mode
ZXAN(config-if)#
Example
The following example displays how to configure the MST instance:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#spanning-tree mst instance 0 path-cost 30000
ZXAN(config-if)#
Related Commands
spanning-tree mst instance priority
Related Information
Using this command, the administrator can change the topology of spanning tree.
By default, the device automatically calculates the path costs of ports in each MST instance
based on the corresponding standard.
27-16
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure the path cost for MST instance
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
instance
Instance ID
Range: 0 16,
0 is the default instance.
path-cost cost
Path cost
Range: 1 2000000
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the path cost of MST instance:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#spanning-tree mst instance 0 path-cost 30000
Related Commands
spanning-tree mst instance priority
Related Information
The network administrator can modify the topology structure of an spanning tree by this
command.
Purpose
To configure the maximum hops of the BPDU packet in the MST area
27-17
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
hop
Range: 1 40
packet
Default: 20
Mode
ZXAN(config)#
Example
The following example displays how to configure the maximum hops of the BPDU packet
in the MST area:
ZXAN(config)#spanning-tree mst max-hops 23
ZXAN(config)#
Related Commands
spanning-tree mst max-age
Related Information
Devices other than the root bridge in an MST region use the maximum hops setting on the
root bridge.
Purpose
To enable or disable the transparent flag
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
enable
disable
27-18
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
ZXAN(config)#
Example
The following example displays how to enable the transparent flag:
ZXAN(config)#spanning-tree disable
ZXAN(config)#spanning-tree transparent enable
ZXAN(config)#
Related Commands
spanning-tree
Related Information
Disable the STP before using this command.
Purpose
To configure the MST BPDU packet-type
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
IEEE
CISCO
HAMMER
BPDU packet
HUAWEI
Mode
Ethernet interface configuration mode
ZXAN(config-if)#
27-19
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to configure the MST BPDU packet-type:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#spanning-tree packet-type CISCO
ZXAN(config-if)#
Related Commands
spanning-tree linktype
spanning-tree edged-port
Related Information
Because the MST BPDU packet-type is modified by different manufacturers, it must be
configured on the ports before connecting to the devices of these manufacturers.
By default, BPDU packet type is IEEE.
Purpose
To display the information about the inconsistent ports
Usage Guidelines
None
Mode
Any mode except user mode
Example
The following example displays the information about the inconsistent ports:
ZXAN#show spanning-tree inconsistentports
Mst Instance
interface
Name
name
Inconsistency
------------------------------------------------MST00
gei_1/3/1
Root Inconsistent
ZXAN#
27-20
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
show spanning-tree instance
show spanning-tree interface
Purpose
To display the information about an instance and its ports
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
instance
Instance ID
Range: 0 16
Default: 0
Mode
Any mode except user mode
Example
The following example displays the information about an instance and its ports:
ZXAN#show spanning-tree instance 0
MST00
Spanning tree enabled protocol MSTP
Root
ID:
Priority
4096;
Address
Hello-Time
Forward-Delay
10 sec;
sec;
00d0.d0c7.ffe0
Max-Age
20 sec
RegRootID: Priority
4096;
Address
00d0.d0c7.ffe0
BridgeID:
Priority
4096;
Address
00d0.d0c7.ffe0
Hello-Time
Forward-Delay
10 sec;
Max-Hops
Message-Age
0 sec;
RemainHops
Interface
sec;
Max-Age
20 sec
5
5
Prio.Nbr
27-21
SJ-20120615152640-010|2012-06-30 (R1.0)
Port ID
Cost
Sts
Role
LinkType Bound
---------------------------------------------------------------tdm-gei_1/22 4/1128.59
20000 Forward
Designated p2p
MSTP
ZXAN#
Related Commands
show spanning-tree interface
Purpose
To display the information about all instances of a designated port
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
port-name
Interface name
Gei_1/3/portno
Smartgroup
Interface Range: 1 8
Xgei_1/3/portno
Mode
Any mode except user mode
Example
The following example displays the information about all instances of a designated port:
ZXAN#show spanning-tree interface gei_1/3/1
Mst Instance
Name
Prio.Nbr
Port ID
Cost
Sts
Role
--------------------------------------------------------------MST00
128.31
200000
forward
root
MST01
112.31
200000
forward
root
----------------------------------------------------------------
ZXAN#
27-22
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
show spanning-tree instance
Purpose
To display the relevant MSTP mode configurations
Usage Guidelines
None
Mode
Any mode except user mode
Example
The following example displays the relevant MSTP mode configurations:
ZXAN#show spanning-tree mst configuration
spanning-tree mode: [MSTP]
CISCO
Hmd5-key
: 0x13ac06a62e47fd51f95d2ba243cd0346
CISCO
Hmd5-digest
: 0x00000000000000000000000000000000
HUAWEI
Hmd5-key
: 0x13ac06a62e47fd51f95d2ba243cd0346
HUAWEI
Hmd5-digest
: 0x00000000000000000000000000000000
Name
: [00d0d0183101]
Revision
: 0
Instance
Vlans mapped
--------
---------------------------------------------------
1-4094
ZXAN#
Related Commands
show spanning-tree instance
show spanning-tree interface
27-23
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To display the STP port statistics
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
port-name
Interface name
Gei_1/3/portno
Smartgroup
Interface Range: 1 8
Xgei_1/3/portno
Mode
Any mode except user mode
Example
The following example displays the STP port statistics:
ZXAN#show spanning-tree statistics gei_1/3/1
statistic of port gei_1/3/1
-------------------------------------------------------------BPDU-related parameters
-------------------------------------------------------------port spanning tree
enable
state
forward
port_priority
128
port_number
31
path cost
200000
designated_root
00-0d-0d-f0-01-01
designated_ext_cost
designated_int_cost
200000
designated_bridge
00-0d-0d-f0-01-01
designated_port
41
bpdu's xmitted
All
bpdu's received
123
27-24
SJ-20120615152640-010|2012-06-30 (R1.0)
123
MSTP
multicast_mac_addr
01-80-c2-00-00-00
bridge priority
32768
00-0d-0d-f0-01-01
15 sec
20 sec
20
sec
--------------------------------------------------------------
ZXAN#
Related Commands
show spanning-tree interface
Purpose
To display the current status of the STP transparent transmission flag
Usage Guidelines
None
Mode
Any mode except user mode
27-25
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays the current status of the STP transparent transmission
flag:
ZXAN#show spanning-tree transparent
transparent flag:disabled
ZXAN#
Related Commands
spanning-tree transparent
Related Information
After this command is executed, the chip broadcasts the received BPDU packets directly
in VLAN, without sending to CPU.
27-26
SJ-20120615152640-010|2012-06-30 (R1.0)
Chapter 28
LACP Commands
Table of Contents
clear lacp..................................................................................................................28-1
interface ...................................................................................................................28-2
lacp admin-key .........................................................................................................28-3
lacp port-priority .......................................................................................................28-3
lacp system-priority ..................................................................................................28-4
lacp timeout..............................................................................................................28-5
linkgroup load-balance .............................................................................................28-6
linkgroup ..................................................................................................................28-7
show lacp .................................................................................................................28-7
smartgroup...............................................................................................................28-9
smartgroup load-balance........................................................................................28-10
user-smartgroup load-balance................................................................................ 28-11
show user-smartgroup............................................................................................ 28-11
show linkgroup .......................................................................................................28-12
Purpose
To clear the count of received and transmitted LACP packets
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
smartgroup-id
Range: 1 32
Mode
ZXAN#
28-1
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to clear the count of received and transmitted LACP
packets:
ZXAN#clear lacp 1 counters
ZXAN#
Related Commands
None
Related Information
When smartgroup-id parameter is not added, this command clears all the counters.
28.2 interface
Syntax
interface smartgroup-number
no interface smartgroup-number
Purpose
To create a smartgroup and enter the smartgroup interface configuration mode
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
smartgroup-number
Range: 1 8
Mode
ZXAN(config)#
Example
The following example displays how to create a smartgroup and enter the smartgroup
interface configuration mode:
ZXAN(config)#interface smartgroup1
ZXAN(config-if)#
Related Commands
None
28-2
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Information
Delete the ports in the smartgroup before using no interface.
Purpose
To set the LACP admin-key
Usage Guidelines
The following table describes the relevant parameters:
Parameter
Description
Value
key-value
065535
LACP ID.
Mode
ZXAN(config-if)#
Example
The following example shows how to configure the LACP admin-key as 100:
ZXAN(config)# interface smartgroup1
ZXAN(config-if)# lacp admin-key 1000
Related Commands
show running-config interface
show lacp internal
Purpose
To configure the LACP port priority
28-3
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
priority
Range: 1 65535
Mode
Ethernet interface configuration mode
ZXAN(config-if)#
Example
The following example displays how to configure the LACP port priority:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#lacp port-priority 100
ZXAN(config-if)#
Related Commands
show lacp
Related Information
With this command, ports are added to the link aggregation group according to their
priorities.
Purpose
To configure the LACP system priority
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
priority
Range: 1 65535
Default: 32768
28-4
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
ZXAN(config)#
Example
The following example displays how to configure the LACP system priority:
ZXAN(config)#lacp system-priority 100
ZXAN(config)#
Related Commands
show lacp
Related Information
After configuring this command, ports are added to the link aggregation group according
to their priorities.
Purpose
To configure the interface LACP timeout
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
long
short
Mode
Ethernet interface configuration mode
ZXAN(config-if)#
Example
The following example displays how to configure the interface LACP to short timeout:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#lacp timeout short
28-5
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
show lacp
Related Information
By default, long timeout is configured.
When the long timeout is configured, the system sends LACP packets once every 30
seconds.
When the short timeout is configured, the system sends LACP packets once every one
second.
Purpose
To configure load balance mode for a link group
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
groupid
Link group ID
Range: 1 192
mode mode
Mode
ZXAN(config)#
Example
The following example displays how to configure load balance mode for a link group:
ZXAN(config)#linkgroup load-balance 1 mode src-mac
Related Commands
show linkgroup
28-6
SJ-20120615152640-010|2012-06-30 (R1.0)
28.8 linkgroup
Syntax
linkgroup groupid
no linkgroup
Purpose
To add interface(s) to a link group
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
groupid
Link group ID
Range: 1 192
Mode
ZXAN(config-if)#
ZXAN(config-if-range)#
Example
The following example displays how to add interfaces to a link group:
ZXAN(config)#interface gei_1/3/1-2
ZXAN(config-if-range)#linkgroup 1
Related Commands
show linkgroup
Purpose
To display the current LACP configuration and state
Usage Guidelines
The following table provides parameter description:
28-7
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
smartgroup-id
Range: 1 8
counter
Counters information
internal
Internal information
neighbors
Neighbors information
sys-id
System ID information
Mode
Any mode except user mode
Example
The following example displays the current LACP configuration and state:
ZXAN#show lacp 1 counters
Smartgroup:1
Actor LACPDUs Marker LACPDUs Marker
Port Tx Rx Tx Rx Err Err
----------------------------------------------------ZXAN#show lacp internal
Smartgroup:1
Flag *--LOOP is TRUE
Actor Agg LACPDUs Port Oper Port RX Mux
Port State Interval Priority Key State Machine Machine
-----------------------------------------------------ZXAN#show lacp neighbors
Smartgroup 1 neighbors
Actor Partner Partner Port Oper Port
Port System ID Port No. Priority Key State
-----------------------------------------------------
Related Commands
smartgroup
28-8
SJ-20120615152640-010|2012-06-30 (R1.0)
28.10 smartgroup
Syntax
smartgroup smartgroup-id mode {passive | active | on} [subgroupsubgroup-id]
no smartgroup
Purpose
To add an interface to a link aggregation group, and set the link aggregation mode for the
interface
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
smartgroup-id
Smart group ID
Range: 1 8
mode
passive
device is detected
active
on
subgroup-id
Sub group ID
Range: 1 2
Mode
Ethernet interface configuration mode
ZXAN(config-if)#
Example
The following example displays how to add an interface to a link aggregation group, and
set the link aggregation mode for the interface:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#smartgroup 1 mode active
ZXAN(config-if)#
Related Commands
show lacp
28-9
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Information
VLAN configurations of a member interface must be consistent with those of the
smartgroup; otherwise such an interface is not allowed to join the smartgroup.
After an interface joins an aggregation group, modifying VLAN attributes of the smartgroup
results in automatic modification of VLAN attributes on the side of the member interfaces
to keep consistent with the smartgroup.
Purpose
To configure load balance mode for smartgroup
Usage Guidelines
The following table provides parameter description:
Parameter
Description
mode
Value
dst-ip, dst-mac, src-dst-ip,
src-dst-mac, src-ip, src-mac
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the load balance policy for smartgroup:
ZXAN(config)#interface smartgroup1
ZXAN(config-if)#smartgroup load-balance src-mac
ZXAN(config-if)#
Related Commands
show lacp
28-10
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To set the load balance mode of the smartgroup
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
group-id
User smartgroup ID
1 192
lb-mode
modes in LACP
Mode
ZXAN(config)#
Example
The following example displays how to set the load balance mode of the smartgroup:
ZXAN(config)#user-smartgroup load-balance 45 mode dst-mac
Purpose
To show the information on the user smartgroups
Usage Guidelines
The following table provides parameter description:
28-11
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
all
group-id
Mode
Any mode except the ZXAN# mode
Example
The following example displays the information on the user smartgroups:
ZXAN(config)#show user-smartgroup all
Purpose
To display the configuration of a link group
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
groupid
Link group ID
Range: 1 192
Mode
Any mode except ZXAN>
Example
The following example displays the configuration of a link group:
ZXAN(config)#show linkgroup 1
Linkgroup: 1
-------------------------------------------------------Member ports:
gei_1/3/1
gei_1/3/2
28-12
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
linkgroup load-balance
28-13
SJ-20120615152640-010|2012-06-30 (R1.0)
28-14
SJ-20120615152640-010|2012-06-30 (R1.0)
Chapter 29
DHCP Commands
Table of Contents
DHCP Snooping Commands ....................................................................................29-1
DHCP Layer-3 Commands .....................................................................................29-10
DHCP Relay/Proxy Commands ..............................................................................29-14
DHCP Server Commands ......................................................................................29-24
Syntax
no ip dhcp snooping broadcast-to-unicast
Purpose
To configure DHCP snooping upstream broadcast to unicast function
Use no command to disable the function
Usage Guidelines
None
Mode
ZXAN(config-vlan)#
Example
The following example displays how to configure DHCP snooping upstream broadcast to
unicast function
ZXAN(config)#vlan 1234
ZXAN(config-vlan)#ip dhcp snooping broadcast-to-unicast
29-1
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Command
None
Purpose
To clear the DHCP snooping items or client MAC addresses according to the slot number
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
slot
Slot number
mac
Mode
ZXAN(config)#
Example
The following example displays how to clear the DHCP snooping items according to the
slot number:
ZXAN(config)#ip dhcp snooping clear slot 2
Purpose
To enable globalDHCP snooping
Usage Guidelines
None
29-2
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
ZXAN(config)#
Example
The following example displays how to enable global DHCP snooping:
ZXAN(config)#ip dhcp snooping enable
ZXAN(config)#
Related Commands
None
Purpose
To enable or disable DHCP snooping on an itnerface
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
enable
disable
vport vport
Virtual port ID
1 255
Mode
ZXAN(config-if)#
Example
The following example displays how to enable DHCP snooping on the interface:
ZXAN(config)interface gpon-onu_1/1/1:1
ZXAN(config-if)#ip dhcp snooping enable vport 1
ZXAN(config-if)#
Related Commands
None
29-3
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure the maximum number of DHCP snooping sessions
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
max-session
Range: 1 255
vport vport
Virtual port ID
Range: 1 255
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the maximum number of DHCP snooping
sessions:
ZXAN(config)interface gpon-onu_1/1/1:1
ZXAN(config-if)#ip dhcp snooping quota 100
ZXAN(config-if)#
Related Commands
None
Purpose
To configure interface or interface range as trusted
29-4
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
interface
Interface name
gei_1/3/portno
Smartgroup
Interface Range: 1 8
Xgei_1/3/portno
Mode
ZXAN(config)#
Example
The following example displays how to configure interface or interface range as trusted:
ZXAN(config)#ip dhcp snooping trust gei_1/3/1
ZXAN(config)#
Related Commands
None
Related Information
This command can only be executed on the uplink ports.
Purpose
To delete DHCP snooping user information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Parameter
ip-address
IP address
A.B.C.D
Mode
ZXAN(config)#
29-5
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to delete DHCP snooping user information
ZXAN(config)# ip dhcp snooping user delete ip 11.11.11.14
Related Command
None
Purpose
To enable DHCP snooping on a VLAN or VLAN range
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
vlanName
VLAN name
vlanNo
VLAN ID
Range: 1 4094
Mode
ZXAN(config)#
Example
The following example displays how to enable DHCP snooping on a VLAN:
ZXAN(config)#ip dhcp snooping vlan 2
ZXAN(config)#
Related Commands
None
29-6
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To display the DHCP snooping global configuration
Usage Guidelines
None
Mode
Any mode except user mode
Example
The following example displays the DHCP snooping global configuration:
ZXAN#show ip dhcp snooping configure
DHCP snooping configure information
DHCP snooping globally state :enable(running)
ZXAN#
Related Commands
None
Purpose
To display the DHCP snooping port information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
quota
DHCP quota
statistics
DHCP statistics
29-7
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
pon-onu_shelf/slot/olt:onu
gei_shelf/slot/port
Ethernet interface
linkgroup
Ling group
Range: 1 192
vport vport
Virtual port ID
Range: 1 128
Mode
Any mode except user mode
Example
The following example displays the DHCP snooping port information:
ZXAN#show ip dhcp snooping port gpon-onu_1/1/1:1
Status
: enable
IP addr
Vlan State
Expiration
ZXAN#
Related Commands
ip dhcp snooping quota
Purpose
To display the DHCP snooping trust interface
Usage Guidelines
None
Mode
Any mode except user mode
Example
The following example displays the DHCP snooping trust interface:
ZXAN#show ip dhcp snooping trust
Interface
State
----------------------------------------
29-8
SJ-20120615152640-010|2012-06-30 (R1.0)
Trusted
ZXAN#
Related Commands
None
Purpose
To display the DHCP snooping status on VLANs
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
vlanName
VLAN name
vlanNo
VLAN ID
Range: 1 4094
Mode
Any mode except user mode
Example
The following example displays the DHCP snooping status on VLANs:
ZXAN#show ip dhcp snooping vlan
DHCP snooping state on vlans
Vlan
State
------------------------------20
enable
ZXAN#
Related Commands
None
29-9
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To display the DHCP snooping port quota information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
interface
Interface name
epon-onu_rackno/slotno/portno:onuno
Vport id
vport vport
Range: 1 255
Mode
Any mode except user mode
Example
The following example displays the DHCP snooping port quota information:
ZXAN#show ip dhcp snooping port quota gpon-onu_1/1/1:1
Port
Vport
gpon-onu_1/1/1:1
Quota
No Limit
ZXAN#
Related Commands
None
29-10
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To enable the DHCP function
Usage Guidelines
None
Mode
ZXAN(config)#
Example
The following example displays how to enable the DHCP function:
ZXAN(config)#ip dhcp enable
ZXAN(config)#
Related Commands
None
Related Information
Only when DHCP is enabled globally, the ports in DHCP relay, DHCP proxy, or DHCP
server mode can run properly, but the DHCP snooping function is not related to DHCP
globally enabling.
Purpose
To enable the DHCP log function
Usage Guidelines
None
Mode
ZXAN(config)#
29-11
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to enable the DHCP log function:
ZXAN(config)#ip dhcp logging on
ZXAN(config)#
Related Commands
None
Purpose
To configure DHCP work mode
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
relay
proxy
server
Mode
Supervlan/Vlan interface configuration mode
ZXAN(config-if)#
Example
The following example displays how to configure DHCP work mode:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip dhcp mode proxy
ZXAN(config-if)#
Related Commands
None
29-12
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To display the DHCP configuration information
Usage Guidelines
None
Mode
Any mode except user mode
Example
The following example displays the DHCP configuration information:
ZXAN#show ip dhcp configure
DHCP process state information
process state : disable(stop)
logging flag : off
DHCP server configure:
available dns for client.master:
lease time of ip address:
slave:
3600 seconds
default(replace)
default(china-tel)
10
Related Commands
None
29-13
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure DHCP database parameters
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
read
write
Mode
ZXAN(config)#
Example
The following example displays how to configure DHCP database parameters:
ZXAN(config)#ip dhcp database write
ZXAN(confif)#
Related Commands
None
Related Information
l
l
When the DHCP user information is read, it is deleted. Therefore, the user information
can be read only once.
This command can write the user information only in DHCP relay and proxy modes.
The user information in DHCP server mode cannot be written or read.
29-14
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure the retry times for the packets from relay to server
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
num
Range: 5 1000
Default: 10
Mode
ZXAN(config)#
Example
The following example displays how to configure the retry times for the packets from relay
to server:
ZXAN(config)#ip dhcp relay server retry 1000
ZXAN(config)#
Related Commands
None
Related Information
If the retry times exceed the maximum, the server is considered to be faulty. The server
forwarding state is set to dead and the system switches to the next server. If only one
server is configured, the system continues to use this server.
Purpose
To secure dynamic ARP entries in the ARP table to their corresponding DHCP bindings
Usage Guidelines
None
Mode
ZXAN(config)#
Example
The following example displays how to update ARP entry of DHCP binding:
ZXAN(config)#ip dhcp relay update arp
ZXAN(config)#
Related Commands
None
Related Information
After forwarding the IP address returned by the DHCP server to DHCP client, the DHCP
relay binds the IP addresses allocated by the DHCP server with the ARP table items and
stops ARP learning. This protects the DHCP users from ARP attack.
This command takes effect only when the interface is configured to secure forwarding
mode.
By default, the IP addresses are not bound with ARP.
Purpose
To configure DHCP proxy client lease time
Usage Guidelines
The following table provides parameter description:
29-16
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
seconds
Mode
ZXAN(config)#
Example
The following example displays how to configure DHCP proxy client lease time:
ZXAN(config)#ip dhcp proxy client leasetime 1000
ZXAN(config)
Related Commands
None
Purpose
To configure the mapping relationship between the DHCP option60 string and the server
IP address
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
string
Range: 1 50 characters
ip
A.B.C.D
standard
for relay
security
for relay
Mode
ZXAN(config)#
29-17
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to configure the map of vclass ID to DHCP relay
server:
ZXAN(config)#ip dhcp relay server vclass-id test 10.1.1.1 standard
ZXAN(config)#
Related Commands
None
Related Information
By default, the forwarding mode is auto learning mode. In standard mode, when the user
successfully applies for an IP address, the user space is released and the succeeding
DHCP packets are not processed. In security mode, when the user successfully applies
for an IP address, the user space is reserved and the succeeding DHCP unicast packets
are processed.
Purpose
To configure Option60 forwarding in DHCP relay or proxy mode
Usage Guidelines
None
Mode
Vlan interface configuration mode
ZXAN(config-if)#
Example
The following example displays how to configure Option60 forwarding in DHCP relay or
proxy mode:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip dhcp helper-address policy vclass-id
ZXAN(config-if)#
29-18
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Related Information
If the field option60 does not find matching server IP address, discard the request packet.
Purpose
To configure the DHCP agent IP address in relay or proxy mode. To delete the DHCP
agent IP address, use the no command.
To delete the DHCP agent IP address, use the no command.
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ip-address
A.B.C.D
Mode
Supervlan/Vlan interface configuration mode
ZXAN(config-if)#
Example
The following example displays how to configure DHCP relay agent:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip dhcp relay agent 192.200.100.254
ZXAN(config-if)#
Related Commands
None
29-19
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Information
Before enabling DHCP relay to forward the user DHCP request to the external DHCP
server, configure the DHCP agent IP address, which is one of the IP addresses of the
DHCP client interfaces.
The external DHCP server allocates the user IP addresses according to the DHCP agent
IP address so that the IP addresses are in the same subnet. The response packet returned
by the DHCP server to the DHCP client is forwarded through DHCP agent. Therefore, the
external DHCP server needs to configure the route of the subnet which the DHCP agent
belongs to.
This IP address is contained in the giaddr field in the DHCP packet.
Purpose
To configure DHCP relay server address
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ip-address
A.B.C.D
standard
for relay
security
for relay
Mode
Vlan interface configuration mode
ZXAN(config-if)#
Example
The following example displays how to configure DHCP relay server address:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip dhcp relay server 192.200.100.254
ZXAN(config-if)#
29-20
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
ip dhcp relay agent
Related Information
By default, the forwarding mode is the field learning mode.
Purpose
To delete DHCP relay user information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Parameter
ip-address
IP address
A.B.C.D
Mode
ZXAN(config)#
Example
The following example displays how to delete DHCP relay user information
ZXAN(config)# ip dhcp relay user delete ip 1.1.1.11
Related Command
None
29.3.10 bridge-dhcp-relay
Syntax
bridge-dhcp-relay vlan vlan1 source-interface-vlan vlan2
no bridge-dhcp-relay vlan vlan1
Purpose
To configure bridge DHCP VLAN map
29-21
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
vlan vlan1
VLAN ID
Range: 1 4096
source-interface-vlan vlan2
Range: 1 4096
Mode
ZXAN(config)#
Example
The following example displays how to configure bridge DHCP VLAN map:
ZXAN(config)#bridge-dhcp-relay vlan 20 source-interface-vlan 10
Related Commands
show bridge-dhcp-relay
Purpose
To display DHCP server IP address and the mapping relations
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
string
Range: 1 50 characters
Mode
Any mode except user mode
Example
The following example displays DHCP server IP address and the mapping relations:
ZXAN#show ip dhcp relay server vclass-id
test:
DHCP server :10.1.1.1
standard
29-22
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Purpose
To display DHCP proxy client parameters
Usage Guidelines
None
Mode
Any mode except user mode
Example
The following example displays DHCP proxy client parameters:
ZXAN#show ip dhcp proxy client
DHCP client configure information in proxy mode:
leasetime
:60 seconds
ZXAN#
Related Commands
None
Purpose
To display the configuration of bridge DHCP relay map
29-23
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
None
Mode
Any mode except ZXAN>
Example
The following example displays the configuration of bridge DHCP relay map:
ZXAN(config)#show bridge-dhcp-relay
bridge-dhcp-relay vlan
20 source-interface-vlan
10
Related Commands
bridge-dhcp-relay
Purpose
To configure IP local address pool list
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
pool-name
Pool name
Range: 1 16 characters
begin-ip-address
Beginning IP address
A.B.C.D
last-ip-address
Last IP address
A.B.C.D
net-mask
A.B.C.D
Mode
ZXAN(config)#
Example
The following example displays how to configure IP local address pool list:
29-24
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Purpose
To configure the timeout interval for conflicting IP addresses
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
timeout
Conflict IP timeout
Mode
ZXAN(config)#
Example
The following example displays how to configure the timeout interval for conflicting IP
addresses to 60 minutes:
ZXAN(config)#ip local pool conflict-ip 60
ZXAN(config)#
Related Commands
show ip local pool conflict-ip
Purpose
To configure the DNS address returned by theDHCP server
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
master-ip
A.B.C.D
slave-ip
A.B.C.D
Mode
ZXAN(config)#
Example
The following example displays how to configure DHCP server DNS address:
ZXAN(config)#ip dhcp server dns 10.1.1.1 10.1.1.10
ZXAN(config)#
Related Commands
show ip dhcp server user
ip dhcp server leasetime
ip dhcp server gateway
ip local pool
peer default ip pool
Related Information
Up to two DNS addresses can be configured at the same time.
Purpose
To configure DHCP server lease time
29-26
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
time
Lease time
Mode
ZXAN(config)#
Example
The following example displays how to configure DHCP server lease time:
ZXAN(config)#ip dhcp server leasetime 1200
ZXAN(config)#
Related Commands
show ip dhcp server user
ip dhcp server dns
Related Information
Before the lease period expires, the user needs to lease the IP address from the DHCP
server again. Otherwise, the DHCP server reclaims the IP address.
Purpose
To update the ARP entry of DHCP client
Usage Guidelines
None
Mode
ZXAN(config)#
29-27
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to update the ARP entry of DHCP client:
ZXAN(config)#ip dhcp server update arp
ZXAN(config)#
Related Commands
show ip dhcp relay server vclass-id
Related Information
This command binds the IP addresses allocated by the DHCP server with the ARP table
items and stops ARP learning. This protects the DHCP users from ARP attack.
By default, the IP addresses are not bound with ARP.
Purpose
To configure DHCP client gateway address
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ip-address
A.B.C.D
Mode
Supervlan/Vlan interface configuration mode
ZXAN(config-if)#
Example
The following example displays how to configure DHCP client gateway address:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip dhcp server gateway 10.1.1.1
ZXAN(config-if)#
29-28
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
show ip dhcp server user
ip dhcp server leasetime
ip dhcp server dns
peer default ip pool
Related Information
The DHCP gateway address configured on the interface should be in the same network
segment with the IP address of the interface.When the router works as the DHCP client
gateway, the gateway IP address is set to be the interface IP address. Otherwise, the
DHCP client cannot obtain a matched gateway for communication. In addition, when the
lease period of the DHCP client IP address expires, the IP address cannot be leased again
in unicast mode.
When the DHCP server is started, the DHCP gateway address is returned to the user as
the default gateway address.
Purpose
To configure default IP pool parameters
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
poolname
Pool name
Range: 1 16 characters
Mode
Supervlan/Vlan interface configuration mode
ZXAN(config-if)#
Example
The following example displays how to configure default IP pool parameters:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#peer default ip pool test
29-29
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Purpose
To display the DHCP server online user information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
interface-name
Interface name
VLAN
Range: 1 4094
SuperVLAN
Range: 1 255
Mode
Any mode except user mode
Example
The following example displays the DHCP server online user information:
ZXAN#show ip dhcp server user vlan 2
Current online users are 0.
Index MAC addr
IP addr
State
Expiration
ZXAN#
Related Commands
None
29-30
SJ-20120615152640-010|2012-06-30 (R1.0)
Chapter 30
Purpose
To configure port location access node identifier information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
inband-mac
hostname
Mode
ZXAN(config)#
Example
The following example displays how to configure port location access node identifier
information:
ZXAN(config)#port-location access-node-identifier inband-mac
ZXAN(config)#
30-1
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
show port-location global
Purpose
To configure port location host name
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
string
Host name
Range: 1 50 characters
Mode
ZXAN(config)#
Example
The following example displays how to configure port location host name:
ZXAN(config)#port-location hostname ZTE
ZXAN(config)#
Related Commands
show port-location global
Purpose
To configure the rack number and frame number for port location
Usage Guidelines
The following table provides parameter description:
30-2
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
rackno rackno
Range: 0 63
framenno frameno
Range: 0 31
Mode
ZXAN(config)#
Example
The following example displays how to configure the rack number and frame number for
port location:
ZXAN(config)#port-location rackno 3 frameno 8
ZXAN(config)#
Related Commands
show port-location global
Purpose
To add items to the flexible syntax table
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
delimiter delimiter
1 5 characters
String
1 50 characters
30-3
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
variable variable
Variable
access_node_id
chassis
cvlan
ethernet-priority
frame
gem-port
loid
loidpw
onu-id
port
q-vid
rack
slot
sn
sub-slot
svlan
vci
vpi
width
Variable width
Range: 1 5
index index
Index
Range: 1 30
Mode
ZXAN(config)#
Example
The following example displays how to add items to the flexible syntax table:
ZXAN(config)#port-location flexible-syntax add delimiter space index 1
ZXAN(config)#port-location flexible-syntax add string ZXAN
ZXAN(config)#port-location flexible-syntax add variable slot
Related Commands
show port-location flexible-syntax
Related Information
The index parameter is optional. If the command contains this parameter, the items are
added in this position. If the command does not contain this parameter, the items are
added at the end of the table.
You cannot add the same variable range repeatedly.
30-4
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To delete items from the flexible syntax table
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
index index
Index
Range: 1 30
Mode
ZXAN(config)#
Example
The following example displays how to delete item from the flexible syntax table:
ZXAN(config)#port-location flexible-syntax delete index 1
Related Commands
show port-location flexible-syntax
Purpose
To configure port location format
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
china-telecom
dsl-forum
30-5
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
china-netcom
ti
Ti format
sport sport
Sport index
Range: 1 8
vport vport
Virtual port ID
Mode
ZXAN(config-if)#
Example
The following example displays how to configure port location format:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#port-location format china-telecom sport 1
ZXAN(config-if)#
Related Commands
show port-location port
Purpose
To enable or disable the port location sub-option remote ID
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
enable
Enable remote ID
disable
Disable remote ID
sport sport
Sport index
Range: 1 128
vport vport
Virtual port ID
Range: 1 128
Mode
ZXAN(config-if)#
30-6
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to enable the port location sub-option remote ID:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)# port-location sub-option remote-id enable
ZXAN(config-if)#
Related Commands
show port-location port
Purpose
To configure port location sub-option remote ID name
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
string
Remote ID name
Range: 1 64 characters
sport sport
Sport index
Range: 1 128
vport vport
Virtual port ID
Range: 1 128
Mode
ZXAN(config-if)#
Example
The following example displays how to configure port location sub-option remote ID name:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#port-location sub-option remote-id name name1 sport 1
ZXAN(config-if)#
Related Commands
show port-location port
30-7
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To display the global port location information
Usage Guidelines
None
Mode
Any mode except user mode
Example
The following example displays the global port location information:
ZXAN#show port-location global
identifer : inband-mac
rackno
: 0
frameno
: 0
hostname
: ZXAN
ZXAN#
Related Commands
port-location hostname
Purpose
To display the port location information
Usage Guidelines
The following table provides parameter description:
30-8
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
port interface
Interface name
Epon-onu_rackno/slotno/portno:onuno
pvc pvcid
PVC number
Range: 1 8
sport sport
Sport index
Range: 1 8
vport vport
Virtual port ID
Range: 1 128
Mode
Any mode except user mode
Example
The following example displays the port location information:
ZXAN#show port-location port gpon-onu_1/1/1:1
Port
CircuitId Format
gpon-onu_1/1/1:1
china-telecom
RemoteId status
RemoteId name
disable
ZXAN#
Related Commands
port-location format
port-location sub-option remote-id
port-location sub-option remote-id name
Purpose
To display the port location flexible syntax configuration
Usage Guidelines
None
Mode
Any mode except ZXAN>
Example
The following example flexible syntax configuration:
30-9
SJ-20120615152640-010|2012-06-30 (R1.0)
VariableType
Variable Name
Width
Delimiter
space
String
ZXAN
Standard-Var
Slot
Flexible-Syntax Format:
ZXANSlot
Related Commands
port-location flexible-syntax add
port-location flexible-syntax delete
Purpose
To enable or disable DHCP Option82
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
enable
disable
Mode
ZXAN(config)#
Example
The following example displays how to enable DHCP Option82:
ZXAN(config)#dhcp-option82 enable
ZXAN(config)#
Related Commands
show dhcp-option82 global
30-10
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To enable or disable DHCP option82
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
enable
disable
sport sport
Sport index
Range: 1 8
vport vport
Virtual port ID
Mode
ZXAN(config-if)#
Example
The following example displays how to enable DHCP Option82:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#dhcp-option82 enable sport 1
ZXAN(config-if)#
Related Commands
show dhcp-option82 port
Purpose
To configure DHCP Option82 trust policy
30-11
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
keep
replace
discard
add
sport sport
Sport index
Range: 1 8
vport vport
Virtual port ID
Mode
ZXAN(config-if)#
Example
The following example displays how to configure DHCP Option82 trust policy:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#dhcp-option82 trust true keep sport 1
ZXAN(config-if)#
Related Commands
show dhcp-option82 port
Purpose
To display the DHCP Option82 global information
Usage Guidelines
None
Mode
Any mode except user mode
30-12
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays the DHCP Option82 global information:
ZXAN#show dhcp-option82 global
option82 status : enable
ZXAN#
Related Commands
dhcp-option82
Purpose
To display the DHCP Option82 port information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
interface
Interface number
epon-onu_rackno/slotno/portno:onuno
pvc pvcid
PVC number
Range: 1 8
sport sport
Sport index
Range: 1 8
vport vport
Virtual port ID
Range: 1 128
Mode
Any mode except user mode
Example
The following example displays the DHCP Option82 port information:
ZXAN#show dhcp-option82 port gpon-onu_1/1/1:1
Onu
Option82 status
gpon-onu_1/1/1:1
enable
Trust
true
Policy
keep
ZXAN#
Related Commands
show dhcp-option82 global
30-13
SJ-20120615152640-010|2012-06-30 (R1.0)
dhcp-option82 trust
Related Information
When trust is true, policy can be only set to keep or replace.
When trust is false, policy can be only set to discard or add.
Purpose
To enable or disable the PPPoE+ function
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
enable
disable
Mode
ZXAN(config)#
Example
The following example displays how to enable the PPPoE+ function:
ZXAN(config)#pppoe-plus enable
ZXAN(config)#
Related Commands
show pppoe-plus global
Purpose
To enable or disable the PPPoE+ PVC function
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
enable
disable
sport sport
Sport index
Range: 1 8
vport vport
Virtual port ID
Mode
ZXAN(config-if)#
Example
The following example displays how to enable the PPPoE+ PVC function:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)# pppoe-plus enable sport 1
ZXAN(config-if)#
Related Commands
show pppoe-plus port
Purpose
To display the PPPoE+ global information
Usage Guidelines
None
Mode
Any mode except user mode
30-15
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays the PPPoE+ global information:
ZXAN#show pppoe-plus global
pppoe-plus status : enable
ZXAN#
Related Commands
show pppoe-plus global
Purpose
To display the PPPoE+ port information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
port interface
Interface name
epon-onu_rackno/slotno/portno:onuno
pvc pvcid
PVC number
Range: 1 8
sport sport
Sport index
Range: 1 8
vport vport
Virtual port ID
Range: 1 128
Mode
Any mode except user mode
Example
The following example displays the PPPoE+ port information:
ZXAN#show pppoe-plus port gpon-onu_1/1/1:1
Port
gpon-onu_1/1/1:1
Pppoe-plus status
disable
ZXAN#
Related Commands
pppoe-plus
30-16
SJ-20120615152640-010|2012-06-30 (R1.0)
Chapter 31
Purpose
To configure MAC address forced forwarding function
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Parameter
enable
forwarding function
disable
forwarding function
Mode
ZXAN(config)#
31-1
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to configure MAC address forced forwarding function.
ZXAN(config)#ip-service mac-forced-forwarding enable
Related Command
show ip-service mac-forced-forwarding
Syntax
no ip-service mac-forced-forwarding vlan vlanId gateway ip-address[ gateway mask | mac-add
ress]
Purpose
To enable or disable the gateway IP/MAC MAC forced forwarding function
Usage Guidelines
The following table describes the relevant parameters:
Parameter
Description
Value
vlanId
Gateway VLAN
14094
ip-address
Gateway IP address
A.B.C.D
mac-address
A.B.C.D
gateway mask
Gateway mask
A.B.C.D
Mode
ZXAN(config)#
Example
The following example shows how to enable MAC forced forwarding function in VLAN 2
on a MEF gateway:
ZXAN(config)#ip-service mac-forced-forwarding vlan 217 gateway 217.1.1.254
Related Commands
show ip-service mac-forced-forwarding gateway
31-2
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Information
Now, the system support to configure maximum 8 VLANs on a MEF gateway.
Purpose
To configure ARP anti-spoofing function
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Parameter
enable
function
disable
function
Mode
ZXAN(config)#
Example
The following example displays how to configure ARP anti-spoofing function.
ZXAN(config)#ip-servcie arp-anti-spoofing enable
Related Command
show ip-service arp-anti-spoofing
Related Information
Presently, ARP anti-spoofing function relies on DHCP ARP item and the ARP iterm of the
fixed users specified by IP access user management module.
Syntax
no ip-servcie arp-anti-spoofing vlan vlanid direction {all | uplink-port | user-port }
Purpose
To configure VLAN ARP anti-spoofing function
Use no command to delete VLAN ARP anti-spoofing function.
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Parameter
vlanid
Range: 1 4094
direction
Mode
ZXAN(config)#
Example
The following example displays how to configure VLAN ARP anti-spoofing function.
ZXAN(config)#ip-servcie arp-anti-spoofing vlan 217 direction uplink-port
Related Command
show ip-service arp-anti-spoofing
Related Information
l
l
l
Presently, ARP anti-spoofing function relies on DHCP ARP item and fixed user's ARP
iterm specified by IP access user management module.
ARP anti-spoofing function supports eight VLANs at maximum.
At the network side, ARP anti-spoofing function is mainly for configuring VLAn
gateway MAC address.
Purpose
To configure the IP-source-guard function
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
enable
Enable IP-source-guard
disable
Disable IP-source-guard
Mode
ZXAN(config)#
Example
The following example displays how to enable the IP-source-guard function:
ZXAN(config)#ip-servcie ip-source-guard enable
Related Commands
show ip-service ip-source-guard
Purpose
To show ARP mapping list information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
dhcp
module
ipoa-dynamic
dynamic learning
ipoa-static
static configuration
31-5
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
dynamic
option
vlanId
Range: 1 4094
VLAN
Mode
ZXAN(config)#
Example
The following example displays how to show ARP mapping list information.
ZXAN(config)#show ip-service arp
Total arp: 5
Vlan Internet Address Physical Address
Type
Port
Related Command
ip-service ip-fixed-user
Purpose
To show MAC forced forwarding enabled status
Usage Guidelines
None
Mode
ZXAN(config)#
31-6
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to show MAC forced forwarding enabled status.
ZXAN(config)#show ip-service mac-forced-forwarding
MAC-forced Forwarding status:Enabled.
Related Command
ip-service mac-forced-forwarding
Purpose
To show gateway information in MAC forced forwarding status
Usage Guidelines
None
Mode
ZXAN(config)#
Example
The following example displays how to show gateway information in MAC forced
forwarding status.
ZXAN(config)#show ip-service gateway
Vlan Gateway IP
Gateway MAC
Type
__________________________________________________
210 21.1.1.254 0000.0000.0000
invalid
dynamic-600s
Related Command
ip-service mac-forced-forwarding vlan
ip-service mac-forced-forwarding
31-7
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To show configuration information related to arp-anti-spoofing function
Usage Guidelines
None
Mode
ZXAN(config)#
Example
The following example displays how to show configuration information related to
arp-anti-spoofing function.
ZXAN(config)#show ip-service arp-anti-spoofing
Arp Anti-Snoofing status:Enabled.
vlan
direction
___________________
211
all
212
user-port
Related Command
ip-service arp-anti-spoofing
ip-service arp-anti-spoofing vlan
Purpose
To display ip-source-guard information
Usage Guidelines
The following table provides parameter description:
31-8
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
interface
Interface naem
Mode
Any mode except ZXAN>
Example
The following example displays ip-source-guard information:
ZXAN(config)#show ip-servcie ip-source-guard
Related Commands
ip-service ip-source-guard
31-9
SJ-20120615152640-010|2012-06-30 (R1.0)
31-10
SJ-20120615152640-010|2012-06-30 (R1.0)
Chapter 32
32.1 anti-dos
Syntax
anti-dos {enable | disable}
Purpose
To configure anti-DoS function
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Parameter
enable
disable
Mode
ZXAN(control-panel)#
Example
The following example displays how to configure anti-DoS function.
32-1
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Command
None
Related Information
The anti-DoS function protects normal responses between NEs when DOS attacks occur.
Purpose
To configure anti-DoS drop function
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Parameter
enable
disable
Mode
ZXAN(control-panel)#
Example
The following example displays how to configure anti-DoS drop function.
ZXAN(config)#control-panel
ZXAN(control-panel)#anti-dos drop enable
Related Command
None
Purpose
To configure anti-DoS drive limit function
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Parameter
enable
function
disable
function
Mode
ZXAN(control-panel)#
Example
The following example displays how to configure anti-DoS drive limit function.
ZXAN(config)#control-panel
ZXAN(control-panel)#anti-dos drv-limit enable
Related Command
None
Purpose
To configure anti-DoS blocking time
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Parameter
Blocking time
Mode
ZXAN(control-panel)#
32-3
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to configure anti-DoS blocking time.
ZXAN(config)#control-panel
ZXAN(control-panel)#anti-dos blocking-time 300
Related Command
None
Purpose
To configure anti-DoS limit number
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Parameter
Limit number
Mode
ZXAN(control-panel)#
Example
The following example displays how to configure anti-DoS limit number.
ZXAN(config)#control-panel
ZXAN(control-panel)#anti-dos limit-num 20
Related Command
None
32.6 antidos
Syntax
antidos shutdown-time time
32-4
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure shutdown time on virtual ports for anti-DoS entry
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
time
Shutdown time
Mode
ZXAN(control-panel)#
Example
The following example displays how to configure the shutdown time on virtual ports for
anti-DoS:
ZXAN(config)#control-panel
ZXAN(control-panel)# antidos shutdown-time 2
Related Commands
None
32.7 packet-limit
Syntax
packet-limit packet type Limit number
Syntax
no packet-limit packet type Limit number
Purpose
To configure packet limit
Use no command to delete packet limit configuration.
Usage Guidelines
The following table provides parameter description:
32-5
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Parameter
packet type
Packet type
Limit
number
Mode
ZXAN(control-panel)#
Example
The following example displays how to configure packet limit.
ZXAN(config)#control-panel
ZXAN(control-panel)#packet-limit arp 10
Related Command
None
Related Information
The function of 'antidos' is to protect normal responses between NEs when DOS attacks
occur.
32-6
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To display anti-DoS black table
Usage Guidelines
None
Mode
Any mode except ZXAN>
Example
The following example displays the anti-DoS black table:
ZXAN#show control-panel anti-dos black-table
----------------------------MP
mac-address
vlan
port
----------------------------NP
mac-address
BLACK-TABLE-----------------------------------onu-sn
state
PktIn
Drop
BLACK-TABLE------------------------------------
port
onu-sn
state
PktIn
Drop
-------------------------------------------------------------------------------
Related Command
None
Related Information
The function of 'anti-dos' is to protect normal responses between NEs when DOS attacks
occur.
Purpose
To display packet-limit statistics
Usage Guidelines
None
Mode
Any mode except ZXAN>
32-7
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays the packet-limit statistics:
ZXAN#show control-panel packet-limit statistics
-------------------------------------------------------------inband
pktNumTotal
pktNumProcessed
pktNumDropped
all
arp
icmp
igmp
bpdu
dhcp
vbas
pppoe
snmp
------------------------------------------------------------outband
pktNumTotal
pktNumProcessed
pktNumDropped
all
arp
1632199
1631944
255
icmp
-------------------------------------------------------------
Related Command
None
Purpose
To clear packet statistics
Usage Guidelines
None
Mode
ZXAN#
Example
The following example displays how to clear packet statistics.
ZXAN#clear packet-statistics
32-8
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Command
None
32-9
SJ-20120615152640-010|2012-06-30 (R1.0)
32-10
SJ-20120615152640-010|2012-06-30 (R1.0)
Chapter 33
Purpose
To bind automatically the ARP dynamic entries in the ARP buffer
Usage Guidelines
None
Mode
ZXAN(config)#
Example
The following example displays how to bind automatically the ARP dynamic entries in the
ARP buffer:
ZXAN(config)#arp to-static
ZXAN(config)#
Related Commands
None
no arp timeout
Purpose
To configure the ARP cache timeout
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
timeout
ARP timeout
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the ARP cache timeout:
ZXAN(config)#interface vlan 100
ZXAN(config-if)#arp timeout 10000
Related Commands
None
Purpose
To delete a specific entry or all entries from the ARP table
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ip-address
A.B.C.D
permanent
33-3
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
ZXAN(config-if)#
Example
The following example displays how to delete a specific entry or all entries from the ARP
table:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#clear arp static
ZXAN#
Related Commands
set arp
show srp
Purpose
To clear the ARP cache for a specified interface or all interfaces on a specified module
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
supervlan number
Range: 1 - 255
vlan number
VLAN number
Range: 1 - 4094
Mode
ZXAN#
Example
The following example displays how to clear the ARP cache for all interfaces on a specified
module:
ZXAN#clear arp-cache
ZXAN#
33-4
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
show arp
Purpose
To clear the IP traffic statistical counters
Usage Guidelines
None
Mode
ZXAN#
Example
The following example displays how to clear the IP traffic statistical counters:
ZXAN#clear ip traffic
ZXAN#
Related Commands
show ip traffic
Purpose
To clear the TCP connections, including Telnet, FTP and BGP connections
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
mng
Management interface
33-5
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
local-host-address
Local IP address
A.B.C.D
local-port
Range: 1 65535
remote-ip-address
Remote IP address
A.B.C.D
remote-port
Range: 1 65535
Mode
ZXAN#
Example
The following example displays how to clear the TCP connections, including Telnet, FTP
and BGP connections:
ZXAN#clear tcp connect 168.1.168.168 23 168.1.16.140 1456
ZXAN#
Related Commands
None
Purpose
To clear the Telnet connection
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
line-number
Line number
Range: 66 69
Mode
ZXAN#
Example
The following example displays how to clear the Telnet connection:
ZXAN#clear tcp line 66
33-6
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Purpose
To clear the TCP protocol statistics
Usage Guidelines
None
Mode
ZXAN#
Example
The following example displays how to clear the TCP protocol statistics:
ZXAN#clear tcp statistics
ZXAN#
Related Commands
None
Purpose
To clear the TCB address
Usage Guidelines
The following table provides parameter description:
33-7
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
tcb-address
TCB address
Range: 0 4294967295
Mode
ZXAN#
Example
The following example displays how to clear the TCB address:
ZXAN#clear tcp tcb 3261896
ZXAN#
Related Commands
None
Purpose
To clear the terminal controller address
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
tty-number
TTY number
Range: 66 69
Mode
ZXAN#
Example
The following example displays how to clear the terminal controller address:
ZXAN#clear tcp tty 66
ZXAN#
33-8
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Purpose
To clear the virtual terminal controller address
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
vty-number
VTY number
Range: 0 3
Mode
ZXAN#
Example
The following example displays how to clear the virtual terminal controller address:
ZXAN#clear tcp vty 0
ZXAN#
Related Commands
None
33.12 ip route
Syntax
ip route prefix net-mask {[interface-name] | next-hop-address} [distance-metric] [global] [tag tag]
no ip route prefix net-mask [distance-metric] [tag tag]
Purpose
To configure a static route
33-9
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
prefix
A.B.C.D
address
net-mask
Network mask
A.B.C.D
interface-name
Interface name
next-hop-address
A.B.C.D
distance-metric
Range: 1 255
global
tag tag
Mode
ZXAN(config)#
Example
The following example displays how to configure a static route:
ZXAN(config)#ip route 131.108.0.0 255.255.0.0 131.108.6.6
ZXAN(config)#ip route 10.0.0.0 255.0.0.0 131.108.3.4 110
ZXAN(config)#
Related Commands
None
Related Information
distance-metric is equivalent to the priority of the routing protocol. The smaller it is, the
higher the priority. By default, the priority of static routes is higher than dynamic routes.
However, the dynamic router with higher priority is configured.
tag corresponds to the tag value in the IP routing table of the routing protocol. Two static
routes to the same destination network (with different next hop addresses) do not have the
same tag value.
33-10
SJ-20120615152640-010|2012-06-30 (R1.0)
33.13 ip address
Syntax
ip address ip-address net-mask [broadcast-address] [secondary]
no ip address [ip-address net-mask]
Purpose
To configure interface IP address
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ip-address
IP address
A.B.C.D
net-mask
Network mask
A.B.C.D
broadcast-address
Broadcast address
A.B.C.D
secondary
Secondary address
Mode
ZXAN(config-if)#
Example
The following example displays how to configure interface IP address:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip address 168.1.10.100 255.255.0.0
ZXAN(config-if)#
Related Commands
None
Related Information
If no parameter is attached, all interface configurations are deleted.
By default, the interface IP address is not configured.
33.14 ip mtu
Syntax
ip mtu bytes
33-11
SJ-20120615152640-010|2012-06-30 (R1.0)
no ip mtu
Purpose
To configure the MTU size of IP packets sent on an interface
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
bytes
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the MTU size of IP packets sent on an
interface:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip mtu 1000
ZXAN(config-if)#
Related Commands
None
33.15 ip proxy-arp
Syntax
ip proxy-arp
no ip proxy-arp
Purpose
To enable ARP port agent function
Usage Guidelines
None
Mode
ZXAN(config-if)#
33-12
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to enable ARP port agent function:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip proxy-arp
ZXAN(config-if)#
Related Commands
None
Related Information
By default, ARP port agent function is disabled.
33.16 ip redirect
Syntax
ip redirect
no ip redirect
Purpose
To enable the sending of ICMP redirect messages
Usage Guidelines
None
Mode
ZXAN(config-if)#
Example
The following example displays how to enable the sending of ICMP redirect messages:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip redirect
ZXAN(config-if)#
Related Commands
None
33-13
SJ-20120615152640-010|2012-06-30 (R1.0)
33.17 ip source-route
Syntax
ip source-route
no ip source-route
Purpose
To enable or disable the router to handle packets with IP source route options
Usage Guidelines
None
Mode
ZXAN(config)#
Example
The following example displays how to enable the router to handle packets with IP source
route options:
ZXAN(config)#ip source-route
ZXAN(config)#
Related Commands
None
Purpose
To configure the wait time for TCP disconnection
Usage Guidelines
The following table provides parameter description:
33-14
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
seconds
disconnection
Mode
ZXAN(config)#
Example
The following example displays how to configure the wait time for TCP disconnection:
ZXAN(config)#ip tcp finwait-time 400
ZXAN(config)#
Related Commands
None
Purpose
To configure the maximum length of TCP outgoing packets
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
packets
Number of packets
Range: 5 50
Mode
ZXAN(config)#
Example
The following example displays how to configure the maximum length of TCP outgoing
packets:
ZXAN(config)#ip tcp queuemax 40
ZXAN(config)#
33-15
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Purpose
To configure the wait time for new TCP connection attempt
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
seconds
Range: 30 80 sec
Default: 30 sec
Mode
ZXAN(config)#
Example
The following example displays how to configure the wait time for new TCP connection
attempt:
ZXAN(config)#ip tcp synwait-time 50
ZXAN(config)#
Related Commands
None
33-16
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure the TCP window size
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
bytes
Window size
Mode
ZXAN(config)#
Example
The following example displays how to configure the TCP window size:
ZXAN(config)#ip tcp window-size 2000
ZXAN(config)#
Related Commands
None
33.22 ip unreachable
Syntax
ip unreachable
no ip unreachable
Purpose
To enable the sending of ICMP unreachable messages
Usage Guidelines
None
Mode
ZXAN(config-if)#
Example
The following example displays how to enable the sending of ICMP unreachable
messages:
33-17
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Related Information
If the router receives an unknown protocol used to send to its non-broadcast packet, it
would send an ICMP host unreachable message to the source address.
33.23 ping
Syntax
ping ip-address
ping ip-address [option repeat-count datagram-size timeout [extcom source-ip-address type-of-se
rvice time-to-live frag {loose | strict} source-route-address [source-route-address] | record recor
d-hops | timestamp record-timestamps| none]]
Purpose
To check the connectivity of the host
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ip-address
Host IP address
A.B.C.D
repeat-count
Range: 1 4294967295
repeated
datagram-size
Range: 36 8192
timeout
Time out
Range: 1 60 sec
extcom
Extended commands
source-ip-address
Source IP address
A.B.C.D
type-of-service
Type of service
Range: 0 255
time-to-live
Time to live
Range: 1 255
frag
Fragment
Range: 0 1
0: may frag
1: do not frag
33-18
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
loose
Loose
strict
Strict
source-route-address
A.B.C.D
record record-hops
Range: 1 9
timestamp record-timestamps
Number of timestamp
Range: 1 9
none
No option
Mode
ZXAN>
ZXAN#
Example
The following example displays how to check the connectivity of the host:
ZXAN#ping 100.1.1.49
sending 5,100-byte ICMP echos to 100.1.1.49,
timeout is 2 seconds.!!!!!
Success rate is 100 percent(5/5),round-trip
min/avg/max= 0/0/0 ms.
ZXAN#
Related Commands
None
Related Information
The ping command sends the ICMP echo packet. If the destination receives an ICMP
echo message, it sends an ICMP echo reply message to the source address of the echo
message. As a result, this command is used to diagnose network interconnectivity.
Purpose
To check the connectivity of the management interface
33-19
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ip-address
Host IP address
A.B.C.D
Range: 1 4294967295
repeat-count
repeated
datagram-size
Range: 36 8192
timeout
Time out
Range: 1 60 seconds
Mode
ZXAN>
ZXAN#
Example
The following example displays how to check the connectivity of the management interface:
ZXAN#ping mng 100.1.1.49 option 10 36 1
sending 10,36-byte ICMP echos to 100.1.1.49,timeout
is 1 seconds.
!!!!!!!!!!
Success rate is 100 percent(10/10),round-trip
min/avg/max= 0/2/20 ms.
ZXAN#
Related Commands
None
Related Information
The ping mng command sends the ICMP echo packet. If the destination receives an
ICMP echo message, it sends an ICMP echo reply message to the source address of the
echo message. As a result, this command is used to diagnose network inter-connectivity.
Purpose
To configure the ARP MAC address binding
33-20
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
static
Static binding
permanent
Permanent binding
ip-address
IP address
A.B.C.D
hardware-address
MAC Address
xxxx.xxxx.xxxx
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the ARP MAC address binding:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#set arp static 168.10.1.1 000a.010c.e2c6
ZXAN(config-if)#
Related Commands
show arp
Purpose
To display the ARP table entry
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
interface- number
Interface number
mac mac-addr
MAC address
XXXX.XXXX.XXXX
33-21
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
Any mode except user mode
Example
The following example displays the ARP table entry:
ZXAN#show arp
Arp protect whole is disabled . The count is 3.
Address
Age(min)
Hardware Addr
Interface
10.63.184.21
0019.21d4.e22a
vlan100
10.63.184.254
00d0.d0c7.0601
vlan100
10.63.184.213
0033.1111.1111
vlan100
ZXAN#
Description
Address
Age (min)
Hardware Addr
MAC address
Interface
Related Commands
clear arp-cache
Related Information
The show arp command without any parameters shows the corresponding relations
between the IP address and MAC address in the ARP buffer of the interface. If it is
attached with the interface- number parameter, the ARP table of the specified interface is
displayed.
33-22
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To display the entries in the unicast forwarding table
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
start-ip-address
Start IP address
A.B.C.D
end-ip-address
End IP addres
A.B.C.D
hostrt
subnetrt
mask
Mode
Any mode except user mode
Example
The following example displays the entries in the unicast forwarding table:
ZXAN#show ip forwarding summary
Summary of ip forward-table:
---------------------------host
route is 1
subnet
route is 1
ZXAN#
Related Commands
None
Related Information
The contents of the unicast forwarding table, include the host routes, subnet routes, and
summary of the forwarding table.
To display the host routes, start-ip-address is mandatory, and end-ip-address is optional.
When end-ip-address is not specified, only one entry corresponding to the IP address is
displayed. Otherwise, all entries (not more than 255) within start-ip-address and end-ip-add
ress are displayed.
33-23
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To display the protocol stack route-related information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
network ip-address
Network IP address
A.B.C.D
mask net-mask
IP subnet mask
A.B.C.D
summary
Mode
Any mode except user mode
Example
The following example displays the protocol stack route-related information:
ZXAN#show ip protocol routing
Protocol routes:
status codes: *valid, >best, i-internal, s-stale
Dest
NextHop
*> 0.0.0.0/0
0.0.0.0
254
special
*> 10.0.0.0/8
10.63.184.254 1
static
*> 10.63.184.0/22
10.63.184.213 0
connected
*> 10.63.184.213/32
10.63.184.213 0
connected
special
254
ZXAN#
Related Commands
None
Related Information
By default, all protocol stack routes are displayed. If the network IP address and network
mask parameters are used, the protocol routes that match the address/mask are displayed.
33-24
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To display the IP protocol routing summary
Usage Guidelines
None
Mode
Any mode except user mode
Example
The following example displays the IP protocol routing summary:
ZXAN#show ip protocol routing summary
Route Source
connected :
count
0
static:
ospf:
rip:
bgp:
isis:
Total:
ZXAN#
Related Commands
None
Purpose
To display the IP routing table
33-25
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ip-address
IP address
A.B.C.D
net-mask
Network mask
A.B.C.D
protocol
Protocol
other
Mode
Any mode except user mode
Example
The following example displays the IP routing table:
ZXAN#show ip route
IPv4 Routing Table:
Dest
Mask
100.1.1.0 255.255.255.0
Gw
Interface Owner
pri metric
100.1.1.1
mng1
direct
mng1
address 0
Description
Dest
Mask
Network mask
Gw
Next-hop IP address
Interface
Specified interface
Owner
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
pri
metric
Related Commands
None
Purpose
To display the IP transmission statistics
Usage Guidelines
None
Mode
Any mode except user mode
Example
The following example displays the IP transmission statistics:
ZXAN#show ip traffic
IP statistics:
Rcvd: 7091 total, 1322 local destination
format errors
checksum errors
unknown protocol
0
Frags:reassembled
timeouts
couldn't reassemble
0
fragmented
couldn't fragment
Bcast:received
sent
53
44
Sent: generated
forwarded
encapsulation failed
no route
990
ICMP statistics:
Rcvd: 0 total
33-27
SJ-20120615152640-010|2012-06-30 (R1.0)
redirects
unreachable
echo
echo reply
mask requests
mask replies
quench
timestamp request
timestamp reply
time exceeded
parameter problem
0
Sent: 0 total
format errors
redirects
unreachable
echo
echo reply
mask requests
mask replies
quench
timestamp request
timestamp reply
time exceeded
parameter problem
0
UDP statistics:
Rcvd: 53 total, 0 checksum errors, 1 no port
Sent: 0 total
TCP statistics:
Rcvd: 1269 total, 0 checksum errors
Sent: 983 total
ARP statistics:
Rcvd: requests
13
replies
41
Sent: requests
41
replies
10
Droped: in requests
0
in replies
out requests
ZXAN#
Related Commands
None
Related Information
This command displays the statistic information of all the protocols (including the dynamic
routing protocol) on the IP layer.
The statistics of the protocol packets include the following contents:
l
l
SJ-20120615152640-010|2012-06-30 (R1.0)
l
l
l
Purpose
To display the relevant parameters of all TCP connections
Usage Guidelines
None
Mode
Any mode except user mode
Example
The following example displays the relevant parameters of all TCP connections:
ZXAN#show tcp
tty 67,virtual tty from host 10.63.10.208
Connection state is ESTAB, I/O status: 1, unread input
bytes: 1
Local host: 10.63.173.100, Local port: 23
Foreign host: 10.63.10.208, Foreign port: 2852
Enqueued packets for retransmit: 0, input: 70
mis-ordered: 0 (0 bytes)
Starts
Wakeups
47
AckHold
22
KeepAlive
37
37
Persist
SynWait
FinWait
iss: 1210240000
snduna: 1210240372
sndnxt: 1210240372
33-29
SJ-20120615152640-010|2012-06-30 (R1.0)
rcvnxt: 3144580317
rcvwnd: 4026
Starts
Wakeups
637
Retrans
TimeWait
AckHold
295
KeepAlive
468
468
Persist
SynWait
FinWait
iss: 630845000
snduna: 630848834
sndnxt: 630848834
sndwnd: 16106
irs: 3723997840
rcvnxt: 3723998392
rcvwnd: 4084
33-30
SJ-20120615152640-010|2012-06-30 (R1.0)
Starts
Wakeups
4299
25
AckHold
1702
30
KeepAlive
2689
2689
Retrans
TimeWait
Persist
SynWait
FinWait
iss: 65000000
snduna: 65048570
sndnxt: 65048572
sndwnd: 65203
irs: 1368434624
rcvnxt: 1368437948
rcvwnd: 3992
Related Commands
None
33-31
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To display the brief descriptions of all the TCP connections
Usage Guidelines
None
Mode
Any mode except user mode
Example
The following example displays the brief descriptions of all the TCP connections:
ZXAN#show tcp brief
TCB
Local Address
Foreign Address
State
197404144
100.1.1.1.23
100.1.1.49.1648
ESTAB
197406336
100.1.1.1.23
100.1.1.2.1370
ESTAB
197439456
100.1.1.1.23
100.1.1.88.1584
ESTAB
197369152
100.1.1.1.23
100.1.1.5.1150
ESTAB
ZXAN#
Related Commands
None
Purpose
To display the TCP configuration parameter information
Usage Guidelines
None
Mode
Any mode except user mode
Example
The following example displays the TCP configuration parameter information:
33-32
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Purpose
To display the relevant TCP connection parameters of the corresponding connection in the
specified row
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
line-number
Line number
Range: 66 69
Mode
Any mode except user mode
Example
The following example displays the relevant TCP connection parameters of the
corresponding connection in the specified row:
ZXAN#show tcp line 66
tty 66,virtual tty from host 10.63.11.58
Connection state is ESTAB, I/O status: 1, unread input bytes: 1
Local host: 10.63.184.213, Local port: 23
Foreign host: 10.63.11.58, Foreign port: 2265
Enqueued packets for retransmit: 0, input: 273
mis-ordered: 0 (0 bytes)
33-33
SJ-20120615152640-010|2012-06-30 (R1.0)
Starts
Wakeups
113
Retrans
TimeWait
AckHold
48
KeepAlive
67
67
Persist
SynWait
FinWait
iss: 2479350456
snduna: 2479351795
sndnxt: 2479351797
irs: 1068303723
rcvnxt: 1068303833
rcvwnd: 3990
sndwnd: 65393
Related Commands
None
Purpose
To display the TCP layer statistic parameters
Usage Guidelines
None
Mode
Any mode except user mode
Example
The following example displays the TCP layer statistic parameters:
ZXAN#show tcp statistics
33-34
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Purpose
To display the relevant parameters of the connection corresponding to the specified TCB
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
tcb-address
TCB address
Range: 0 4294967295
Mode
Any mode except user mode
33-35
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays the relevant parameters of the connection corresponding
to the specified TCB:
ZXAN#show tcp tcb 3507808
Stand-alone TCP connection from host 168.1.16.140
Connection state is ESTAB, I/O status: 1,
unread input bytes: 1
Local host: 168.1.168.168, Local port: 21
Foreign host: 168.1.16.140, Foreign port: 1804
Enqueued packets for retransmit: 0, input: 3
mis-ordered: 0 (0 bytes)
Starts
Wakeups
Retrans
TimeWait
AckHold
KeepAlive
Persist
SynWait
FinWait
rcvnxt: 3109854540
rcvwnd: 2144
maxRTT: 20 ms,
Related Commands
None
33-36
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To display the relevant parameters of the connections with TTY terminal type
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
tty-number
TTY number
Range: 66 69
Mode
Any mode except user mode
Example
The following example displays the relevant parameters of the connections with TTY
terminal type:
ZXAN#show tcp tty 66
tty 66,virtual tty from host 10.63.11.58
Connection state is ESTAB, I/O status: 1, unread input bytes: 1
Local host: 10.63.184.213, Local port: 23
Foreign host: 10.63.11.58, Foreign port: 1411
Enqueued packets for retransmit: 5, input: 913
mis-ordered: 0 (0 bytes)
Starts
Wakeups
663
AckHold
312
12
KeepAlive
428
428
Retrans
TimeWait
Persist
SynWait
FinWait
iss: 1561420456
snduna: 1561426537
sndnxt: 1561426539
irs: 3376372298
rcvnxt: 3376372798
rcvwnd: 3600
sndwnd: 65355
33-37
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Purpose
To display the VTY terminal type relevant parameters
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
vty-number
VTY number
Range: 0 3
Mode
Any mode except user mode
Example
The following example displays the VTY terminal type relevant parameters:
ZXAN#show tcp vty 1
tty 67,virtual tty from host 100.1.1.49
Connection state is ESTAB, I/O status: 1, unread input bytes: 1
Local host: 100.1.1.1, Local port: 23
Foreign host: 100.1.1.49, Foreign port: 1648
Enqueued packets for retransmit: 6, input: 689
mis-ordered: 0 (0 bytes)
Starts
Wakeups
679
33-38
SJ-20120615152640-010|2012-06-30 (R1.0)
AckHold
302
15
KeepAlive
415
415
Persist
SynWait
FinWait
iss: 279010816
snduna: 279029365
irs: 3216228978
rcvnxt: 3216229646
sndnxt: 279029367
sndwnd: 17284
rcvwnd: 1477
Related Commands
None
Purpose
To display the configuration information of all VRRP groups
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
group
Virtual router ID
Range: 0 255
all
Displays configuration
the VRRP
33-39
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
interface interface-name
Interface name
Mode
Any mode except user mode
Example
The following example displays the configuration information of all VRRP groups:
ZXAN#show vrrp
vlan2 - Group 1
State is Initial
Virtual IP address is 10.1.1.1
Virtual MAC address is 0000.5e00.0101
Advertisement interval is 2.000 sec
Preemption is enabled
min delay is 500.000 sec
Priority is 120 (config 120)
Authentication is enabled
Master Router is 0.0.0.0 , priority is 0
Master Advertisement interval is 0.000 sec
Master Down interval is 6.531 sec
ZXAN#
Description
Vlan2-Group
State
Virtual IP address
Advertisement interval
Preemption
Priority
Track object
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Master Router
Related Commands
None
33.41 trace
Syntax
trace ip-address
Purpose
To track the route to the destination
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ip-address
IP address
A.B.C.D
Mode
ZXAN>
ZXAN#
Example
The following example displays how to track the route to the destination:
ZZXAN#trace 10.63.10.250
tracing the route to 10.63.10.250
1
10.63.184.254
10.63.0.117
10.63.0.14
<20ms
20 ms
<20ms
<20ms
<20ms
20 ms
<20ms
<20ms
<20ms
<20ms
<20ms
<20ms
[finished]
ZXAN#
Parameter
Description
10.63.184.254/10.63.0.117/10.63.0.14
20 ms 20 ms <20ms
Related Commands
None
Related Information
The trace command works on the ICMP error packet that is generated when the packet
exceeds its TTL value. The trace command starts by sending a packet with the TTL value
being 1 to cause the first router to discard the packet and send the first error packet.
TTL timeout packet means that a middle router receives the message and abandons
the detection. The destination unreachable message means that the destination node
receives the message but cannot deliver the message. If the timer stops before the
response arrives, the trace prints a *.
Purpose
To configure the VRRP advertisement timer
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
group
Group number
Range: 0 255
msec interval
Advertisement interval in
millisecond
interval
Advertisement interval in
second
Mode
ZXAN(config-if)#
33-42
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to configure the VRRP advertisement timer:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#vrrp 1 advertise 2
ZXAN(config-if)#
Related Commands
show vrrp
Purpose
To configure the VRRP authentication
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
group
Group number
Range: 0 255
authentication string
Authentication string
Range: 1 8 characters
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the VRRP authentication:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#vrrp 1 authentication hello
ZXAN(config-if)#
Related Commands
show vrrp
33-43
SJ-20120615152640-010|2012-06-30 (R1.0)
33.44 vrrp ip
Syntax
vrrp group ip ip-address [secondary]
no vrrp group [ip ip-address]
Purpose
To enable the VRRP
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
group
Group number
Range: 0 255
ip ip-address
A.B.C.D
secondary
Mode
ZXAN(config-if)#
Example
The following example displays how to enable the VRRP:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#vrrp 1 ip 10.1.1.1
ZXAN(config-if)#
Related Commands
show vrrp
Purpose
To learn the VRRP timer values from current master
33-44
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
group
Group number
Range: 0 255
Mode
ZXAN(config-if)#
Example
The following example displays how to learn the VRRP timer values from current master:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#vrrp 1 learn
ZXAN(config-if)#
Related Commands
show vrrp
Purpose
To configure the router to take over as master virtual router for a VRRP group if it has
higher priority than the current master virtual router
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
group
Range: 0 255
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the router to take over as master virtual
router for a VRRP group if it has higher priority than the current master virtual router:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#vrrp 1 preempt delay 500
ZXAN(config-if)#
Related Commands
show vrrp
Purpose
To configure the VRRP group priority
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
group
Group number
Range: 0 255
priority priority
Priority level
Range: 1 254
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the VRRP group priority:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#vrrp 1 priority 120
ZXAN(config-if)#
33-46
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
show vrrp
33-47
SJ-20120615152640-010|2012-06-30 (R1.0)
33-48
SJ-20120615152640-010|2012-06-30 (R1.0)
Chapter 34
ACL Commands
Table of Contents
acl standard .............................................................................................................34-1
acl extend.................................................................................................................34-2
acl hybrid..................................................................................................................34-3
acl link......................................................................................................................34-3
name........................................................................................................................34-4
rule (Basic ACL) .......................................................................................................34-5
rule (Extended ACL).................................................................................................34-6
rule (Layer-2 ACL)....................................................................................................34-8
rule (Hybrid ACL) .....................................................................................................34-9
vlan-mark ............................................................................................................... 34-11
clear traffic-statistics ...............................................................................................34-12
show access-list bound ..........................................................................................34-13
show acl .................................................................................................................34-13
Purpose
To configure the standard ACL
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
number acl-number
Range: 1 - 99
Range: 1 - 32 characters
Mode
ZXAN(config)#
34-1
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to configure the standard ACL:
ZXAN(config)#acl standard number 10
ZXAN(config-std-acl)#
Related Commands
show acl
Purpose
To access the extended ACL configuration mode
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
number acl-number
name acl-name
Range: 1 - 32 characters
Mode
ZXAN(config)#
Example
The following example displays how to access the extended ACL configuration mode:
ZXAN(config)#acl extend number 100
ZXAN(config-ext-acl)#
Related Commands
show acl
34-2
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To access the hybrid ACL configuration mode
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
number acl-number
name acl-name
Range: 1 - 32 characters
Mode
ZXAN(config)#
Example
The following example displays how to access the hybrid ACL configuration mode:
ZXAN(config)#acl hybrid number 300
ZXAN(config-hybd-acl)#
Related Commands
show acl
Purpose
To access the layer-2 ACL configuration mode
Usage Guidelines
The following table provides parameter description:
34-3
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
number acl-number
name acl-name
Range: 1 - 32 characters
Mode
ZXAN(config)#
Example
The following example displays how to access the layer-2 ACL configuration mode:
ZXAN(config)#acl link number 200
ZXAN(config-link-acl)#
Related Commands
show acl
34.5 name
Syntax
name acl-alias
no name acl-alias
Purpose
To configure an ACL alias
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
acl-alias
Range: 1 - 32 characters
Mode
ZXAN(config-ext-acl)#
ZXAN(config-hybd-acl)#
ZXAN(config-link-acl)#
ZXAN(config-std-acl)#
Example
The following example displays how to configure an ACL alias:
34-4
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Purpose
To configure a basic ACL rule
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
rule-no
ACL rule ID
Range: 1 - 127
permit
this rule
deny
this rule
source
Source IP address
A.B.C.D
source-wildcard
A.B.C.D
mask
any
time-range timerange-name
Range: 1 - 16 characters
Mode
ZXAN(config-std-acl)#
Example
The following example displays how to configure a basic ACL rule:
ZXAN(config-std-acl)#rule 1 permit 168.1.1.1 0.0.0.255
ZXAN(config-std-acl)#rule 10 permit any time-range test
ZXAN(config-std-acl)#
34-5
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
show acl
time-range
Related Information
Configure a time range for ACL to specify an expiry time. Enable time range globally by
executing the time-range command prior to specifying time range for ACL.
Purpose
To configure an extended ACL rule
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
rule-no
ACL rule ID
Range: 1 - 127
permit
this rule
34-6
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
deny
this rule
source
Source IP address
A.B.C.D
source-wildcard
A.B.C.D
mask
any
dest
Destination IP address
A.B.C.D
dest-wildcard
A.B.C.D
mask
icmp-type
ICMP type
icmp-code icmp-code
ICMP code
Range: 0 - 254
precedence pre-value
Priority
Range: 0 - 7
tos tos-value
Service type
Range: 0 - 15
dscp dscp-value
DSCP value
Range: 0 - 63
time-range timerange-name
Range: 1 - 16 characters
ip-number
rule
Rule
port
Port
established
Established
Mode
ZXAN(config-ext-acl)#
Example
The following example displays how to configure an extended ACL rule:
ZXAN(config-ext-acl)#rule 1 permit 100 any any
ZXAN(config-ext-acl)#rule 2 permit icmp 168.1.1.0 0.0.0.255 any echo
dscp 1
ZXAN(config-ext-acl)#rule 3 deny ip any 168.1.0.0 0.0.255.255 tos 1
precedence 1
ZXAN(config-ext-acl)#rule 4 permit tcp any eq bgp 168.1.1.0 0.0.0.255
eq domain
established tos 1 precedence 7
ZXAN(config-ext-acl)#rule 5 deny udp any any dscp 5 time-range test
ZXAN(config-ext-acl)#
34-7
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
show acl
time-range
Purpose
To configure layer-2 ACL rule parameters
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
rule-no
ACL rule ID
Range: 1 - 127
permit
this rule
deny
this rule
protocol-number
An IP number
Range: 0 - 65534
protocol-type
Protocol type
Keyword: arp, ip
vlan-id
VLAN ID
Range: 1 - 4094
cos cos-value
CoS value
Range: 0 - 7
ingress
Ingress parameters
source-mac
xxxx.xxxx.xxxx
source-mac-wildcard
xxxx.xxxx.xxxx
egress
Egress parameters
any
double-tag
time-range timerange-name
Range: 1 - 16 characters
34-8
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
ZXAN(config-link-acl)#
Example
The following example displays how to configure layer-2 ACL rule parameters:
ZXAN(config-link-acl)#rule 1 permit any cos 2 vlan-id 100 ingress 0011.1234.0000
0000.0000.0000 egress any
ZXAN(config-link-acl)#
Related Commands
show acl
time-range
Purpose
To configure a hybrid ACL rule
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
rule-id
ACL rule ID
Range: 1 - 4094
deny
this rule
permit
this rule
protocol-number
An IP number
Range: 0 - 254
34-9
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
igmp
Protocol (2)
ip
ospf
Protocol (89)
pim
(103)
tcp
(6)
udp
vrrp
Protocol (112)
source-address
Source IP address
A.B.C.D
source-wildcard-bits
A.B.C.D
mask
any
destination-address
Destination IP address
A.B.C.D
destination-wildcard-bits
A.B.C.D
mask
rule
or destination port
port
number
tcpporttype
type
udpporttype
type
protocol-type
Protocol type
Keyword: arp, ip
vlan-id vlan-id
VLAN ID
Range: 1 - 4094
cos-value
CoS value
Range: 0 - 7
double-tag
ingress
Ingress parameters
source-mac source-mac-wildcard
xxxx.xxxx.xxxx
wildcard bits
egress
Egress parameters
34-10
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
dest-mac dest-mac-wildcard
xxxx.xxxx.xxxx
wildcard bits
time-range timerange-name
Range: 1 - 16 characters
Mode
ZXAN(config-hybd-acl)#
Example
The following example displays how to configure a hybrid ACL rule:
ZXAN(config-hybd-acl)#rule 1 permit igmp any 168.10.1.1 0.0.0.255 any ingress
0000.0000.3230 0000.0000.0000
ZXAN(config-hybd-acl)#rule 2 deny udp any 168.1.1.1 0.0.0.0 egress 1111.0000.0000
0000.ffff.ffff
ZXAN(config-hybd-acl)#rule 3 permit tcp 168.1.1.1 0.0.0.255 eq ftp 168.1.2.2
0.0.0.255 eq telnet 1024 ingress 1111.aabb.cccc 0000.0000.ffff time-range test
ZXAN(config-hybd-acl)#
Related Commands
show acl
time-range
34.10 vlan-mark
Syntax
vlan-mark in { acl-number | acl-name } rule-id rule-no vlan-id vlan-id
no vlan-mark in { acl-number | acl-name } rule-id rule-no vlan-id vlan-id
Purpose
To configure the flow priority mark function
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
in
Priority mark
acl-number
ACL number
Range: 1 - 699
acl-name
ACL name
Range: 1 - 32 characters
rule-id rule-no
Rule id
Range: 1 - 4094
34-11
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
vlan-id vlan-id
Vlan id
Range: 1 - 4094
Mode
ZXAN(config)#
Example
The following example displays how to configure the flow priority mark:
ZXAN(config)#vlan-mark in 100 rule-id 1 vlan-id 2
ZXAN(config)#
Related Commands
None
Purpose
To clear the traffic statistics
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
in
Priority mark
acl-number
ACL number
Range: 1 - 399
acl-name
ACL name
Range: 1 - 31 characters
rule-id rule-no
ACL rule ID
Range: 1 - 4094
Mode
ZXAN#
Example
The following example displays how to clear the traffic statistics:
ZXAN#clear traffic-statistics in 300 rule-id 1
ZXAN#
34-12
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Purpose
To display access list(s) information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
interface-name
Interface name
Mode
Any mode except user mode
Example
The following example displays access list(s) information:
ZXAN#show access-list bound
Interface
Bound
Type
ACL
gei_1/3/1
in
V4STD
10
ZXAN#
Related Commands
None
Purpose
To display all the configured ACLs on the system or to display ACL contents of a specified
ACL
34-13
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
acl-number
ACL number
Range: 1 - 349
acl-name
ACL name
Range: 1 - 31 characters
Mode
Any mode except user mode
Example
The following example displays all the configured ACLs on the system or to display ACL
contents of a specified ACL:
ZXAN#show acl
ZXAN#
Related Commands
acl extend
acl link
acl standard
acl hybrid
34-14
SJ-20120615152640-010|2012-06-30 (R1.0)
Chapter 35
QoS Commands
Table of Contents
qos dscp-to-dscp-profile ...........................................................................................35-1
qos dscp-to-drop-profile............................................................................................35-2
qos dscp-to-cos-profile .............................................................................................35-3
qos cos-to-cos-profile ...............................................................................................35-4
qos queue-block-profile ............................................................................................35-5
qos queue-map-profile .............................................................................................35-7
qos eth-cos-local-map ..............................................................................................35-8
traffic-profile .............................................................................................................35-9
qos trust .................................................................................................................35-10
qos cos cos-remark ................................................................................................ 35-11
qos cos dscp-remark ..............................................................................................35-12
qos egress-cos cos-remark ....................................................................................35-13
qos egress-cos dscp-remark ..................................................................................35-14
qos traffic-shape.....................................................................................................35-14
qos queue-block-profile (interface) .........................................................................35-15
qos queue-map-profile (interface)...........................................................................35-16
qos drop-procedence .............................................................................................35-17
qos dscp dscp-remark ............................................................................................35-18
traffic-mirror............................................................................................................35-19
traffic-profile ...........................................................................................................35-20
show qos dscp-to-dscp-profile ................................................................................35-21
show qos dscp-to-drop-profile ................................................................................35-21
show qos cos-to-cos-profile ....................................................................................35-22
show qos queue-block-profile .................................................................................35-23
show qos queue-map-profile ..................................................................................35-23
show qos eth-cos-local-map ...................................................................................35-24
show traffic-profile ..................................................................................................35-25
show traffic-mirror...................................................................................................35-25
35-1
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To create a dscp-to-dscp profile, which presents the mapping relationship when the user
remarks the dscp according to the original packets dscp
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
prf-name
Range: 1 32 characters
dscp-value
Range: 0 63
new-dscp-value
Range: 0 63
Mode
ZXAN(config)#
Example
The following example displays how to create a dscp-to-dscp profile:
l
l
Related Commands
show qos dscp-to-dscp-profile
Related Information
The default dscp value for 64 dscp lists (0 63) is 0 to 63 respectively.
You can use the no qos dscp-to-dscp-profile command to delete the related profile.
Purpose
To create a dscp-to-drop profile, which represents the mapping relationship when the user
revises the drop precedence according to the original packets dscp
35-2
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
prf-name
Range: 1 32 characters
dscp-value
Range: 0 63
drop-value
Drop precedence
Mode
ZXAN(config)#
Example
The following example displays how to create a dscp-to-drop profile:
l
l
Related Commands
show qos dscp-to-drop-profile
Related Information
The default drop-value for the 64 dscp lists (0 63) is 0.
You can use the no qos dscp-to-drop-profile command to delete the related profile.
Purpose
To create a dscp-to-cos profile, which represents the mapping relationship when the user
revises the cos priority according to the original packets dscp
Usage Guidelines
The following table provides parameter description:
35-3
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
prf-name
Range: 1 32 characters
dscp-value
Range: 0 63
cos-value
Cos priority
Range: 0 7
Mode
ZXAN(config)#
Example
The following example displays how to create a dscp-to-cos profile:
l
l
Related Commands
show qos dscp-to-cos-profile
Related Information
The default cos priority of the 64 dscp lists (0 63) is as follows:
l
l
l
l
l
l
l
l
dscp0 7: cos0
dscp8 15: cos1
dscp16 23: cos2
dscp24 31: cos3
dscp32 39: cos4
dscp40 47: cos5
dscp48 55: cos6
dscp56 63: cos7
You can use the no qos dscp-to-cos-profile command to delete the related profile.
35-4
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To create a cos-to-cos profile, which represents the mapping relationship when the user
revises the cos priority according to the original packets cos
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
prf-name
Range: 1 32 characters
priority-value
Range: 0 7
Mode
ZXAN(config)#
Example
The following example displays how to create a cos-to-cos profile:
l
l
Related Commands
show qos cos-to-cos-profile
Related Information
The default cos value for cos0 7 is 0, 1, 2, 3, 4, 5, 6, 7 respectively.
You can use the no qos cos-to-cos-profile command to delete the related profile.
Purpose
To configure the service queue number, queue scheduling mode and queue depth
35-5
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
prf-name
Range: 1 32 characters
queue-number
queue number
Range: 2, 4, 8
Default: 8
Queue weight
weight
Range: 0 63
0: sp dispatch
Queue depth
depth
Range: 0-63
Mode
ZXAN(config)#
Example
The following example displays how to create a queue-block profile:
l
l
l
Related Commands
show qos queue-block-profile
Related Information
Queue management includes the following items:
l Queue number: the queue number is configured in global configuration mode.
When the queue number is two, it means that queue0 and queue1 are available.
When the queue number is four, it means that queue0, queue1, queue2, and queue3
are available.
When the queue number is eight, it means queue0 to queue7 are all available.
l
Queue weight and depth: the system supports three queue scheduling modes.
SP
WRR
SP+WRR
When the weight is 0, the scheduling mode is the default mode, SP, the priority of
which is higher than that of WRR.
You can use the no queue-block-profile command to delete the related profile.
35-6
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure the service enqueue mapping relationship, which can be cos-queue mapping
relationship or service-type mapping relationship
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
prf-name
Range: 1 32 characters
cos-queue-type
queue-number queue-num
Queue number
Range: 2, 4, 8
Default: 8
queue-value
Revised priority
Range: 0 7
service-type
Mode
ZXAN(config)#
Example
The following example displays how to create a queue-map profile:
l
l
Related Commands
show qos queue-map-profile
Related Information
By default, the service enqueues according to cos. Cos0-cos7 map to queue0-queue7
respectively.
35-7
SJ-20120615152640-010|2012-06-30 (R1.0)
If the queue number is two, cos0-cos1 map to queue0-queue1 respectively, and cos2-cos7
map to queue1.
If the queue number is four, cos0-cos3 map to queue0-queue3 respectively, and cos4-cos7
map to queue3.
You can use the no qos queue-map-profile command to delete the related profile.
Purpose
To configure the mapping relationship of cos priority to local priority for the Ethernet type
interface
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
local-value
Range: 0 7
Mode
ZXAN(config)#
Example
The following example displays how to configure the mapping relationship of cos priority
to local priority for the Ethernet type interface:
l
l
Related Commands
show qos eth-cos-local-map
Related Information
By default, cos0-cos7 map to queue0-queue7 respectively.
35-8
SJ-20120615152640-010|2012-06-30 (R1.0)
You can use the no qos eth-cos-local-map command to recover the default mapping
relationship from cos to the local priority.
35.8 traffic-profile
Syntax
traffic-profile prf-name ip cir cir-value cbs cbs-value pir pir-value pbs pbs-value[discard-mod
e{noDistinction | lowPriorityFirst }]
no traffic-profile prf-name
Purpose
To create a traffic profile and configure the speed limiting parameters
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
prf-name
Range: 1 32 characters
cir cir-value
Range: 0 10,000,000
Unit: kbps
Maximum speed: 10Gbps
cbs cbs-value
Range: 0 1023
Unit: Kbytes
Maximum: 1023 Kbytes
pir pir-value
Range: 0 10,000,000
Unit: kbps
Maximum: 10 Gbps
pbs pbs-value
Range: 0 1023
Size: Kbytes
Maximum: 1023 Kbytes
noDistinction
lowPriorityFirst
Mode
ZXAN(config)#
Example
The following example displays how to create a traffic profile named 10M:
ZXAN(config)#traffic-profile 10M ip cir 10240 cbs 256 pir 10240 pbs 256
35-9
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
show traffic-profile
Related Information
This command is valid under the gpon-olt ports and gpon-onu ports.
You can use the no traffic-profile command to delete the related profile.
Purpose
To configure the reference object for the priority marking under the current interface
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
cos
object to cos
dscp
object to dscp
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the reference object to dscp for the
interface gei_1/3/1:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#qos trust dscp
ZXAN(config-if)#
Related Commands
show qos interface
Related Information
By default, the reference object for the priority marking under the current interface is cos.
35-10
SJ-20120615152640-010|2012-06-30 (R1.0)
This command is valid under the eth ports and gpon-onu ports.
Purpose
To configure the cos-remark profile for a vport
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
prf-name
Range: 1 32 characters
vport vportid
Range: 1 32
interfaces
Mode
ZXAN(config-if)#
Example
The following example displays how to cofigure the cos-to-cos profile to TEST for vport 1
of the interface gpon-onu_1/1/1:1:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#qos cos cos-remark TEST vport 1
ZXAN(config-if)#
Related Commands
show qos interface
qos cos-to-cos-profile
Related Information
When the trusted reference object is cos and the parameter cos override is not configured,
this profile takes effect.
You can use the no qos cos cos-remark command to delete the configuration.
35-11
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure the dscp-to-cos profile for a vport
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
prf-name
Range: 1 32 characters
name
vport vportid
Range: 1 32
interfaces
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the dscp-to-cos profile to TEST for vport
1 of the interface gpon-onu_1/1/1:1:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#qos cos dscp-remark TEST vport 1
ZXAN(config-if)#
Related Commands
show qos interface
qos dscp-to-cos-profile
Related Information
This profile takes effect when the trusted reference object is dscp.
This command is valid under the eth ports and gpon-onu ports.
For the Ethernet interfaces, the user need to configure qos, cos, default-cos, and
cos-value, for adding the default priority to the received untag packets.
For gpon-onu interfaces, vport is another mandatory parameter besides the above
parameters.
35-12
SJ-20120615152640-010|2012-06-30 (R1.0)
You can use the no qos cos dscp-remark command to delete the configuration.
Purpose
To configure the egress-cos cos-remark profile for a vport
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
prf-name
Range: 1 32 characters
vport vportid
Range: 1 32
interfaces
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the egress-cos cos-remark profile to
TEST for vport 1 of the gpon-onu_1/1/1:1 interface:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#qos egress-cos cos-remark TEST vport 1
ZXAN(config-if)#
Related Commands
show qos interface
qos cos-to-cos-profile
Related Information
When the vport trust mode is cos, and the paramter egress-cos override is not
configurated, this profile takes effect.
You can use the no qos egress-cos cos-remark command to delete the related configuration.
35-13
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure the egress-cos dscp-remark profile of a Vport
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
prf-name
Range: 1 32 characters
name
vport vportid
Range: 1 32
interfaces
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the egress-cos dscp-remark profile of the
gpon-onu_1/1/1:1 interface to TEST:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#qos egress-cos dscp-remark TEST vport 1
ZXAN(config-if)#
Related Commands
show qos interface
qos dscp-to-cos-profile
Related Information
This profile takes effect when the vport trust mode is dscp.
no qos traffic-shape
Purpose
To configure the traffic shaping function of an interface
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
rate-limit rate-value
Limit rate
Range: 64 1000000
Unit: kbps
bucket-size bucket-value
Bucket size
Range: 4 16000
Unit: kbytes
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the traffic shaping rate of the interface
gei_1/3/1 to 10 Mbits:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#qos traffic-shape rate-limit 10240 buckte-size 100
ZXAN(config-if)#
Related Commands
show qos interface
Related Information
You can use the no qos traffic-shape command to delete the traffic shape configuration.
Purpose
To configure the queue-block-profile of an interface
35-15
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
prf-name
Created queue-block-profile
Range: 1 32 characters
name
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the queue-block profile of the gei_1/3/1
interface to TEST:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#qos queue-block-profile TEST
ZXAN(config-if)#
Related Commands
show qos interface
qos queue-block-profile
Related Information
This command is valid under the eth and gpon-olt interfaces.
Related Informaiton
You can use the no qos queue-block-profile command to delete the related configuration.
Purpose
To configure the queue-map-profile of an interface
Usage Guidelines
The following table provides parameter description:
35-16
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
prf-name
Created queue-map-profile
Range: 1 32 characters
name
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the queue-map profile of the
gpon-olt_1/1/1 interface to TEST:
ZXAN(config)#interface gpon-olt_1/1/1
ZXAN(config-if)#qos queue-map-profile TEST
ZXAN(config-if)#
Related Commands
show qos interface
qos queue-map-profile
Related Information
You can use the no qos queue-map-profile command to delete the related configuration.
Purpose
To configure the dscp-to-drop profile for an interface
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
prf-name
Range: 1 32 characters
name
Mode
ZXAN(config-if)#
35-17
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to configure the dscp-to-drop profile of the gei_1/3/1
interface to TEST:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#qos drop-procedence TEST
ZXAN(config-if)#
Related Commands
show qos interface
qos dscp-to-drop-profile
Related Information
You can use the no qos drop-procedence command to delete the configuration.
Purpose
To configure the dscp-to-dscp profile for an interface
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
prf-name
Range: 1 32 characters
name
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the dscp-remark profile to TEST:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#qos dscp dscp-remark TEST
ZXAN(config-if)#
35-18
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
show qos interface
qos dscp-to-dscp-profile
Related Information
This profile takes effect when the interface trust mode is dscp.
You can use the no qos dscp dscp-remark command to delete the related configuration.
35.19 traffic-mirror
Syntax
traffic-mirror in { aclno | aclname } rule-id ruleid { cpu | destination-ip dstip source-ip srcip {
[ dscp dscp ] [ priority prio ] [ tpid tpid ] [ ttl ttl ] } | interface interface }
no traffic-mirror in { aclno | aclname } rule-id ruleid
Purpose
To configure the traffic mirror
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
aclno
ACL number
Range: 1 699
aclname
ACL name
1 32 characters
rule-id ruleid
Rule ID
Range: 1 4094
destination-ip dstip
Destination IP address
A.B.C.D
source-ip dstip
Source IP address
A.B.C.D
dscp dscp
DSCP priority
Range: 0 63
priority prio
Priority
tpid tpid
TPID
0xHHHH
ttl ttl
TTL
Range: 1 255
interface interface
Interface name
1 32 characters
Mode
ZXAN(config)#
Example
The following example displays how to configure the traffic mirror:
35-19
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
show traffic-mirror
35.20 traffic-profile
Syntax
traffic-profile prf-name direction {ingress | egress }
no traffic-profile prf-name[vport vportid] direction {ingress | egress }
Purpose
To configure the traffic profile for an interface
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
prf-name
Range: 1 32 characters
ingress
profile
egress
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the egress traffic profile of the
gpon-olt_1/1/1 to TEST:
ZXAN(config)#interface gpon-olt_1/1/1
ZXAN(config-if)#qos traffic-profile test direction egress
ZXAN(config-if)#
Related Commands
show traffic-profile
traffic-profile
35-20
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Information
In gpon-olt interface configuration mode, the egress traffic profile can be configured.
In gpon-onu interface configuration mode, both the ingress and egress traffic profiles can
be configured.
You can use the no traffic-profile command to delete the profile configuration.
Purpose
To display the information of the dscp-to-dscp profile with the name of prf_name
When the profile name is empty, the system displays the name list of all the profiles.
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
prf-name
Profile name
Range: 1 32 characters
Mode
Any mode
Example
The following example displays the information of the dscp-to-dscp profile named test:
ZXAN(config)#show qos dscp-to-dscp-profile test
Related Commands
qos dscp-to-dscp-profile
Purpose
To display the information of the dscp-to-drop profile with the name of prf_name
35-21
SJ-20120615152640-010|2012-06-30 (R1.0)
When the profile name is not configured, the system displays the information of all the
dscp-to-drop profiles
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
prf-name
Profile name
Range: 1 32 characters
Mode
Any mode
Example
The following example displays the information of the dscp-to-drop profile with the name
of test:
ZXAN(config)#show qos dscp-to-drop-profile test
Related Commands
qos dscp-to-drop-profile
Purpose
To display the information of the cos-to-cos profile with the name of prf-name
When the profile name is not configured, the system displays the information of all the
cos-to-cos profiles
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
prf-name
Profile name
Range: 1 32 characters
Mode
Any mode
35-22
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays the information of the cos-to-cos profile with the name of
test:
ZXAN(config)#show qos cos-to-cos-profile test
Related Commands
qos cos-to-cos-profile
Purpose
To display the information of the queue-block profile with the name of prf_name
When the profile name is not configured, the system displays the information of all the
queue-block profiles
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
prf-name
Profile name
Range: 1 32 characters
Mode
Any mode
Example
The following example displays the information of the queue-block profile with the name
of test:
ZXAN(config)#show qos queue-block-profile test
Related Commands
qos queue-block-profile
Purpose
To display the information of the queue-map profile with the name of prf_name
When the profile name is not configured, the system displays the information of all the
queue-map profiles
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
prf-name
Profile name
Range: 1 32 characters
Mode
Any mode
Example
The following example displays the information of the queue-map profile with the name of
test:
ZXAN(config)#show qos queue-map-profile test
Related Commands
qos queue-map-profile
Purpose
To display the information of the eth-cos-local-map mapping table
Usage Guidelines
None
Mode
Any mode
Example
The following example displays the information of the eth-cos-local-map mapping table:
ZXAN(config)#show qos eth-cos-local-map
35-24
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
qos eth-cos-local-map
Purpose
To display the information of the traffic profile with the name of prf_name
When the profile name is not configured, the system displays the information of all the
traffic profiles
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
prf-name
Profile name
Range: 0 32 characters
interface
Interface name
Mode
Any mode
Example
The following example displays the information of the traffic profile with the name of test:
ZXAN(config)#show traffic-profile test
Related Commands
traffic-profile
Purpose
To display the traffic-mirror of ACL
35-25
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
None
Mode
Any mode except ZXAN>
Example
The following example displays the traffic-mirror of the ACL:
ZXAN(config)#show traffic-mirror
traffic-mirror in 300 rule-id 2 destination-ip 2.2.2.2
source-ip 1.1.1.1 priority 0 tpid 0x8100 ttl 128 DSCP 13
next hop
out interface
: gei_1/3/1
: 00d0.d011.3254
vlanid
: 200
: gei_1/3/1
: 00d0.d011.3254
vlanid
: 200
Related Commands
traffic-mirror
35-26
SJ-20120615152640-010|2012-06-30 (R1.0)
Chapter 36
MAC Configuration
Commands
Table of Contents
mac add ...................................................................................................................36-1
mac aging-time.........................................................................................................36-2
mac monitor-period ..................................................................................................36-3
mac pool ..................................................................................................................36-3
mac usage-threshold................................................................................................36-4
mac delete ...............................................................................................................36-5
security mac-anti-spoofing........................................................................................36-6
security uplink-protected-mac...................................................................................36-7
show security configuration ......................................................................................36-8
show security mac-spoofing-list ................................................................................36-8
show security mac-spoofing-log ...............................................................................36-9
show mac...............................................................................................................36-10
show mac aging-time ............................................................................................. 36-11
show mac monitor-info ...........................................................................................36-12
show mac pool .......................................................................................................36-13
show mac running ..................................................................................................36-14
Purpose
To add a MAC address entry
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
permanent mac-address
XXXX.XXXX.XXXX
36-1
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
ethernet port-name
Ethernet interface
smartgroup smartgroup-id
Smart group ID
Range: 1 - 8
vlan vlan-id
Vlan ID
Range: 1 - 4094
Mode
ZXAN(config)#
Example
The following example displays how to add a MAC address entry:
ZXAN(config)#mac add permanent 0009.6b08.bfd6 ethernet gei_1/3/1
ZXAN(config)#
Related Commands
mac delete
show mac
Purpose
To configure the MAC address aging time in the system
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
time
Mode
ZXAN(config)#
Example
The following example displays how to configure the MAC address aging time in the
system:
ZXAN(config)#mac aging-time 180
36-2
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
show mac aging-time
show mac-running
Purpose
To configure the MAC monitoring period
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
time
Mode
ZXAN(config)#
Example
The following example displays how to configure the MAC monitoring period:
ZXAN(config)#mac monitor-period 5
ZXAN(config)#
Related Commands
show mac monitor-info
Purpose
To configure the MAC pool
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
pool-index
Pool index
Range: 1 - 8
start-mac
mac-num
Range: 1 - 1024
Default: 256
Mode
ZXAN(config)#
Example
The following example displays how to configure the MAC pool:
ZXAN(config)#mac pool 2 000a.010c.e2c6 1024
ZXAN(config)#
Related Commands
show mac pool
Purpose
To configure the MAC usage threshold value
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
percent
Range: 1 - 100%
Default: 70%
36-4
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
ZXAN(config)#
Example
The following example displays how to configure the MAC usage threshold value:
ZXAN(config)#mac usage-threshold 10
ZXAN(config)#
Related Commands
None
Purpose
To delete a MAC address entry
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
mac-address
MAC address
XXXX.XXXX.XXXX
ethernet port-name
Ethernet interface
smartgroup smartgroup-id
Smart group ID
Range: 1 - 8
vlan-id
VLAN ID
Range: 1 - 4094
dynamic
permanent
Mode
ZXAN(config)#
Example
The following example displays how to delete a MAC address entry:
ZXAN(config)#mac delete 0009.6b08.bfd6
36-5
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
mac add
show mac
Purpose
To enable or disable MAC address anti-spoofing function
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
enable
anti-spoofing function
disable
anti-spoofing function
Mode
ZXAN(config)#
Example
The following example displays how to disable MAC address anti-spoofing function:
ZXAN(config)#security mac-anti-spoofing disable
ZXAN(config)#
Related Commands
show security configuration
Related Information
By default, MAC address anti-spoofing function is enabled.
36-6
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure an uplink-protected MAC address
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
mac-address
address
Clear all uplink-protected MAC
all
addresses
Mode
ZXAN(config)#
Example
l
l
l
The following example displays how to clear all uplink-protected MAC addresses:
ZXAN(config)#no security uplink-protected-mac all
ZXAN(config)#
Related Commands
show security configuration
Related Information
To configure uplink-protected MAC address, both the MAC address anti-spoofing function
and the uplink port protection need to be enabled.
36-7
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To show security configuration such as MAC address anti-spoofing configuration and
uplink-protected MAC configuration
Usage Guidelines
None
Mode
ZXAN#
ZXAN(config)#
Example
The following example displays the security configuration:
ZXAN(config)#show security configuration
mac-anti-spoofing :disable
uplink-protect
:enable
uplink-protect-mac
0000.0000.0001
ZXAN(config)#
Related Commands
security mac-anti-spoofing
security uplink-protected-mac
Purpose
To show security MAC address spoofing list
36-8
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
None
Mode
ZXAN#
ZXAN(config)#
Example
The following example displays the security MAC spoofing list:
ZXAN(config)#show security
mac-spoofing-list
vlan
0000.0000.0001 100
hit
gport
port
agetime
0x112233
unknown
210
ZXAN(config)#
Related Commands
security mac-anti-spoofing
Related Information
This command is for software anti-spoofing solution. The hardware anti-spoofing solution
does not have this command.
Purpose
To show security MAC address spoofing log
Usage Guidelines
None
Mode
ZXAN#
ZXAN(config)#
36-9
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays the security MAC spoofing log:
ZXAN(config)#show security mac-spoofing-log
the total mac-spoofing-log num:1
---------------------------------------------------------------mac-address
vlan
0000.0000.0001 100
gport
SSPFAIL HASHFAIL
ZXAN(config)#
Related Commands
security mac-anti-spoofing
Related Information
This command is for software anti-spoofing solution. The hardware anti-spoofing solution
does not have this command.
Purpose
To display the MAC address entries
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
dynamic
static
mac-address
MAC address
statistic
system
ethernet port-name
Ethernet interface
36-10
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
smartgroup smartgroup-id
Smart group ID
Range: 1 - 8
vlan-id
VLAN ID
Range: 1 - 4094
shelfno shelfno
Shelf number
Range: 1 - 5
slot slot
Slot number
Range: 2 - 9, 12 - 22
Mode
Any mode except user mode
Example
The following example displays the MAC address entries:
ZXAN#show mac
Total mac address: 1
mac_address
vid
Type
port
Time
------------------------------------------------------000a.010c.e2c6
Permanent
gei_1/3/1
ZXAN#
Description
mac_address
MAC address
port
vid
VLAN ID
stc
Related Commands
mac add
mac delete
Related Information
show mac command displays line card FPGA MAC address and control card ROS MAC
address.
Purpose
To display the MAC address aging time
Usage Guidelines
None
Mode
Any mode except user mode
Example
The following example displays the MAC address aging time:
ZXAN#show mac aging-time
The MAC Address aging time is 60 seconds
ZXAN#
Related Commands
mac aging-time
Purpose
To display the MAC monitoring information
Usage Guidelines
None
Mode
Any mode except user mode
Example
The following example displays the MAC monitoring information:
ZXAN#show mac monitor-info
MAC table usage monitoring period is 10 minutes.
Elapsed time in current monitoring period(mm:ss) is 01:28.
MAC table maximum size is 8192(8k).
36-12
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Purpose
To display the MAC pool information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
pool-index
Range: 1 - 8
Mode
Any mode except user mode
Example
The following example displays the MAC pool information:
ZXAN#show mac pool
Total mac: 1792
Index
startMac
Used mac: 0
num/free/used
-------------------------------------1
1a22.2222.2222
512/512/0
1a44.4444.4444
1024/1024/0
1a55.5555.5555
256/256/0
ZXAN#
Related Commands
mac pool
36-13
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To display the MAC running configuration
Usage Guidelines
None
Mode
Any mode except user mode
Example
The following example displays the MAC running configuration:
ZXAN#show mac running
MAC aging-time 300
MAC monitor-period 10
MAC usage-threshold 70
MAC pool 1 000a.010c.e2c6 256
ZXAN#
Related Commands
show mac
show mac aging-time
Related Information
If the configuration is implemented with default parameters, nothing is displayed after this
command is executed. This command is used to show the configuration information that
is written into the database.
36-14
SJ-20120615152640-010|2012-06-30 (R1.0)
Chapter 37
Purpose
To configure IP address pool statistics
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
pool-name
Pool name
Range: 1 - 16 characters
begin-ip-address
Beginning IP address
A.B.C.D
last-ip-address
Last IP address
A.B.C.D
net-mask
Subnet mask
A.B.C.D
Mode
ZXAN(config)#
Example
The following example displays how to configure IP address pool statistics:
ZXAN(config)#ip local pool test 10.1.1.1 10.1.1.255 255.255.0.0
ZXAN(config)#
37-1
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Purpose
To configure the local conflict IP pool address release time
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
timeout
Conflict IP timeout
Mode
ZXAN(config)#
Example
The following example displays how to configure the local conflict IP pool address release
time:
ZXAN(config)#ip local pool conflict-ip 60
ZXAN(config)#
Related Commands
show ip local pool conflict-ip
clear ip pool conflict-ip
Purpose
To clear the address conflict in the address pool
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
address conflict-addr
IP address
A.B.C.D
pool pool-name
Range: 1 - 16 characters
all
address pool
Mode
ZXAN#
Example
The following example displays how to clear the address conflict in the address pool:
ZXAN#clear ip pool conflict-ip address 100.1.1.10
ZXAN#
Related Commands
ip local pool conflict-ip
show ip local pool conflict-ip
Purpose
To configure the default IP address pool used by the interface
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
pool pool-name
Range: 1 - 16 characters
37-3
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the default IP address pool used by the
interface:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#peer default ip pool test
ZXAN(config-if)#
Related Commands
ip local pool
show ip local pool
Purpose
To display the local pool configuration information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
pool-name
Range: 1 - 16 characters
Mode
Any mode except the exec mode
Example
The following example displays the local pool configuration information:
ZXAN#show ip local pool ZXAN
Available addresses:
100.1.1.1
100.1.1.2
100.1.1.3
100.1.1.4
37-4
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
ip local pool
Purpose
To display the address conflict in the local address pool
Usage Guidelines
None
Mode
Any mode except the user mode
Example
The following example displays the address conflict in the local address pool:
ZXAN#show ip local pool conflict-ip
Conflict-ip
Pool
Timeout(min)
ZXAN#
Related Commands
clear ip pool conflict-ip
ip local pool conflict-ip
37-5
SJ-20120615152640-010|2012-06-30 (R1.0)
37-6
SJ-20120615152640-010|2012-06-30 (R1.0)
Chapter 38
System Log/Statistical
Management Commands
Table of Contents
clear logging alarm ...................................................................................................38-1
clear logging command ............................................................................................38-2
clear logging snmp ...................................................................................................38-2
clear processor.........................................................................................................38-3
logging buffer ...........................................................................................................38-4
logging console ........................................................................................................38-4
logging level .............................................................................................................38-5
logging mode ...........................................................................................................38-6
logging on ................................................................................................................38-7
logging snmplog-save ..............................................................................................38-7
show snmplogfile......................................................................................................38-8
show cmdlogfile........................................................................................................38-9
show logging alarm ................................................................................................38-10
show logging configure........................................................................................... 38-11
show processor ......................................................................................................38-12
unm server .............................................................................................................38-13
write alarmlog.........................................................................................................38-14
write cmdlog ...........................................................................................................38-15
write snmplog .........................................................................................................38-16
Purpose
To clear alarm log buffer
Usage Guidelines
None
38-1
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
ZXAN#
Example
The following example displays how to clear alarm log buffer:
ZXAN#clear logging alarm
ZXAN#
Related Commands
None
Purpose
To clear the command log buffer
Usage Guidelines
None
Mode
ZXAN#
Example
The following example displays how to clear the command log buffer:
ZXAN#clear logging command
ZXAN#
Related Commands
None
Purpose
To clear SNMP log buffer
Usage Guidelines
None
Mode
ZXAN#
Example
The following example displays how to clear SNMP log buffer:
ZXAN#clear logging snmp
ZXAN#
Related Commands
None
Purpose
To clear the processor information
Usage Guidelines
None
Mode
ZXAN#
Example
The following example displays how to clear the processor information:
ZXAN#clear processor
ZXAN#
38-3
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Purpose
To configure the alarm log buffer size
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
buffer-size
Mode
ZXAN(config)#
Example
The following example displays how to configure the alarm log buffer size:
ZXAN(config)#logging buffer 100
ZXAN(config)#
Related Commands
None
Purpose
To send the alarm messages to the console interface or Telnet terminal
38-4
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
level
Mode
ZXAN(config)#
Example
The following example displays how to send the alarm messages to the console interface
or Telnet terminal:
ZXAN(config)#logging console warnings
ZXAN(config)#
Related Commands
None
Purpose
To configure the alarm message level recorded in the alarm log file
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
level
Keywords: CLEARED,
INDETERMINATE, MAJOR,
MINOR, NOTIFICATIONS,
WARNINGS
Mode
ZXAN(config)#
38-5
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to configure the alarm message level recorded in the
alarm log file:
ZXAN(config)#logging level indeterminate
ZXAN(config)#
Related Commands
None
Purpose
To configure the clearing mode of the alarm log buffer
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
FULLCLEAR
full
FULLCYCLE
buffer is full
FULLEND
is full
Mode
ZXAN(config)#
Example
The following example displays how to configure the clearing mode of the alarm log buffer:
ZXAN(config)#logging mode FULLCLEAR
ZXAN(config)#
38-6
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
38.9 logging on
Syntax
logging on
no logging on
Purpose
To enable the system log function
Usage Guidelines
None
Mode
ZXAN(config)#
Example
The following example displays how to enable the system log function:
ZXAN(config)#logging on
ZXAN(config)#
Related Commands
None
Purpose
To enable or disable the SNMP log saving function
Usage Guidelines
The following table provides parameter description:
38-7
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
enable
disable
Mode
ZXAN(config)#
Example
The following example displays how to disable the SNMP log save function:
ZXAN(config)#logging save disable
ZXAN(config)#
Related Commands
None
Purpose
To display the SNMP log record history
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ipaddress ip-address
Login IP address
A.B.C.D
summary
Mode
Any mode except user mode
38-8
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays SNMP log record history:
ZXAN#show snmplogfile
02:37:31 01/01/2001 UTC 111.111.111.211 get
zxAnFtpServerFileName.0
02:37:31 01/01/2001 UTC 111.111.111.211 get
zxAnFtpServerUserPwd.0
02:37:31 01/01/2001 UTC 111.111.111.211 get
zxAnFtpServerUserName.0
02:37:31 01/01/2001 UTC 111.111.111.211 get
zxAnFtpServerIpAddress.0
02:37:31 01/01/2001 UTC 111.111.111.211 get
zxAnFtpClntOperType.0
02:37:31 01/01/2001 UTC 111.111.111.211 get
zxAnFtpManagedFileType.0
ZXAN#
Related Commands
None
Purpose
To display the records of the commands stored in the command log buffer
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
username string
Range: 1 - 16 characters
38-9
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
vtyno string
ipaddress ip-address
Login IP address
A.B.C.D
summary
Mode
Any mode except user mode
Example
The following example displays the records of the commands stored in the command log
buffer:
ZXAN#show cmdlogfile summary
Cmdlog buffer is 200KByte, used 14 percent
ZXAN#
Related Commands
None
Purpose
To display the alarm information records in the alarm log buffer
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
typeid type
Alarm type
Keywords: environment,
equipment, protocol, service,
system
alarm-code alarm-code
Alarm ID
Range: 1 - 65535
38-10
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
start-date date
Keywords: CLEARED,
displayed
CRITICAL, INDETERMINATE,
MAJOR, MINOR,
NOTIFICATIONS, WARNINGS
summary
Alarm summary
Output modifier
include line
Mode
Any mode except user mode
Example
The following example displays alarm information records in the alarm log buffer:
ZXAN#show logging alarm typeid service
An alarm 34817 level 6 occurred at 03:47:22 05/29/2010 beijing sent by MCP rs232
Serial Interface logout
ZXAN#
Related Commands
None
Related Information
Currently the alarms that can be displayed include ARP, BGP, card alarm, database alarm,
DRP, environment alarm, ICMP, IGMP, IP, IS-IS, OAM, OSPF, port alarm, RIP, RMON,
ROS, security alarm, SNMP, TCP-UDP, TELNET, URPF, NAT.
Purpose
To display the log about the configuration information
38-11
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
None
Mode
Any mode except user mode
Example
The following example displays the log about the configuration information:
ZXAN#show logging configure
logging on
logging buffer 200
logging mode fullcycle
logging console notifications
logging level notifications
logging cmdlog-interval 10
logging snmplog-interval 10
logging save disable
ZXAN#
Related Commands
logging on
logging buffer
logging mode
logging console
Purpose
To display the system processor information such as CPU and memory utilization
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
rackno rackno
Range: 1 - 3
38-12
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
shelfno shelfno
Range: 1 - 3
slotno slotno
Range: 2 - 22
Mode
Any mode except user mode
Example
The following example displays the system processor information:
ZXAN#show processor
Rack
Shelf
Slot
CPU(5s) CPU(1m)
CPU(5m)
PhyMem(MB) Memory
----------------------------------------------------------------1
6%
6%
6%
32
46%
10
24%
24%
24%
254
72%
21
11%
11%
11%
16
45%
ZXAN#
Description
Rack
Rack number
Shelf
Shelf number
Slot
Slot number
CPU(5s)
CPU(1m)
CPU(5m)
PhyMem (MB)
Memory
Related Commands
None
38-13
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure the integrated network management trap server address
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
mng
Management interface
unmserver
A.B.C.D
string
Range: 1 - 32 characters
Mode
ZXAN(config)#
Example
The following example displays how to configure the integrated network management trap
server address:
ZXAN(config)#unm server 10.40.88.201 public
ZXAN(config)#
Related Commands
None
Purpose
To save the alarm log from buffer to flash
Usage Guidelines
None
Mode
ZXAN#
38-14
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to save the alarm log from buffer to flash:
ZXAN#write alarmlog
Building logging file...
..
[ok]
ZXAN#
Related Commands
None
Related Information
flash:data/log.dat is the flash file path.
Purpose
To save the command log from buffer to flash
Usage Guidelines
None
Mode
ZXAN#
Example
The following example displays how to save the command log from buffer to flash:
ZXAN#write cmdlog
Building cmdlog file...
..
[ok]
ZXAN#
Related Commands
None
38-15
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Information
flash:data/log.dat is the flash file path.
Purpose
To save the SNMP log from buffer to flash
Usage Guidelines
None
Mode
ZXAN#
Example
The following example displays how to save the SNMP log from buffer to flash:
ZXAN#write snmplog
Building snmplog file...
..
[ok]
ZXAN#
Related Commands
None
Related Information
flash:data/log.dat is the file path in flash.
38-16
SJ-20120615152640-010|2012-06-30 (R1.0)
Chapter 39
NTP Configuration
Commands
Table of Contents
ntp alarm-threshold ..................................................................................................39-1
ntp poll-interval.........................................................................................................39-2
ntp enable ................................................................................................................39-3
ntp server .................................................................................................................39-3
ntp source ................................................................................................................39-4
show ntp status ........................................................................................................39-5
Purpose
To configure the NTP synchronize offset alarm threshold value
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
number
Range: 7 65535
Mode
ZXAN(config)#
Example
The following example displays how to configure the NTP synchronize offset alarm
threshold value:
ZXAN(config)#ntp alarm-threshold 10
ZXAN(config)#
39-1
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
ntp enable
show ntp status
Related Information
If the offset exceeds the threshold value, then the system reports the NTP alarm. Use no
ntp alarm-threshold command to configure the default value.
Purpose
To configure the poll interval of NTP
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
time
Poll interval
Mode
ZXAN(config)#
Example
The following example displays how to the poll interval of NTP:
ZXAN(config)#ntp poll-interval 50
Related Commands
ntp enable
show ntp status
Related Information
After the interval is configured, the poll starts immediately if the NTP is enable and NTP
server is configured.
39-2
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To enable the NTP function
Usage Guidelines
None
Mode
ZXAN(config)#
Example
The following example displays how to enable the NTP function:
ZXAN(config)#ntp enable
ZXAN(config)#
Related Commands
ntp server
show ntp status
Related Information
This command is the universal switch for all NTP functions. Other NTP commands are
effective only after configuring this command. Use no command to disable NTP function.
Purpose
To set the IP address of a NTP server which needs time and version synchronization
39-3
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table describes the relevant parameters:
Parameter
Description
Value
ip-address
priority priority
1255
version number
13
key-id key-id
Configure a key ID
1255
Mode
ZXAN(config)#
Example
The following example shows how to set the IP address of a NTP server which needs time
and version synchronization:
ZXAN(config)#ntp server 10.1.1.1 priority 1 version 1
Related Commands
ntp enable
show ntp status
Related Information
It only allows to configure time synchronization from a single time server. If multiple
configuration exist, the latter will replace the former one.
After this configuration, NTP enable shall be executed first, then time synchronization can
start.
Use command No to delete previous configuration.
Purpose
To configure the NTP packet source address
39-4
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ip-address
A.B.C.D
Mode
ZXAN(config)#
Example
The following example displays how to configure the NTP packet source address:
ZXAN(config)#ntp source 10.1.1.1
ZXAN(config)#
Related Commands
ntp enable
ntp server
show ntp status
Purpose
To display the running status of NTP
Usage Guidelines
None
Mode
Any mode except the user mode
Example
The following example displays the running status of NTP:
ZXAN#show ntp status
Clock is unsynchronized , stratum 16, no reference clock
nominal freq is 250.0000 Hz, actual freq is 250.0000 Hz,
39-5
SJ-20120615152640-010|2012-06-30 (R1.0)
msec
ZXAN#
Related Commands
ntp enable
ntp server
39-6
SJ-20120615152640-010|2012-06-30 (R1.0)
Chapter 40
Clock Management
Commands
Table of Contents
clock.........................................................................................................................40-1
card-clock.................................................................................................................40-2
source ......................................................................................................................40-3
external-input ...........................................................................................................40-4
external-output .........................................................................................................40-5
ptp............................................................................................................................40-6
ptp-source ................................................................................................................40-7
show clock config .....................................................................................................40-8
show clock interface .................................................................................................40-9
show clock source active..........................................................................................40-9
show clock source alarm ........................................................................................40-10
show source active................................................................................................. 40-11
show source alarm ................................................................................................. 40-11
40.1 clock
Syntax
clock [timezone name hours-offset min-offset]
Purpose
To configure the clock time
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
timezone name
Range: 1 - 10 characters
hours-offset
Hours offset
Range: -12 - 13
min-offset
Minutes offset
Range: 0 - 59
40-1
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
ZXAN(config)#
Example
The following example displays how to configure the clock time:
ZXAN(config)#clock timezone china -8 0
ZXAN(config)#
Related Commands
None
40.2 card-clock
Syntax
card-clock slotno slotno {auto | backplane | line1 | line2 | local}
no card-clock slotno slotno
Purpose
To configure the clock source for the card
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
slotno slotno
Slot number
1 22
auto
automatically.
backplane
clock source.
For SDH card, line1 is port 1.
line2
clock source.
local
40-2
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
ZXAN(config-clock)#
Example
The following example displays how to configure the clock source for the card in slot 2:
ZXAN(config-clock)#card-clock slotno 2 local
Related Commands
None
40.3 source
Syntax
source shelf/slot/port { force { cancel | set } | priority clock-priority | type { el | external | internal
| maintain | stm1 | stm4 priority } clock-priority
no source clock-priority
Purpose
To add a reference clock source
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
shelf/slot/port
Range: 1 - 31 characters
maintain
external
Range: 1 - 2
e1
E1 clock source
Range: 1 - 32
stm1
Range: 1 - 4
stm4
Range: 1 - 4
priority clock-priority
Source priority
Range: 1 255
Default: 1
Mode
ZXAN(config-clock)#
40-3
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to add a reference clock source:
ZXAN(config)#clock
ZZXAN(config-clock)#source 1/3/1 type syncE priority 1
ZXAN(config-clock)#
Related Commands
None
40.4 external-input
Syntax
external-input shelf/card/port quailty {enhanced2 | enhanced3 | primary | sec} mode { hz | bits}
Purpose
To configure the external input clock
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
shelf/card/port
Range: 1 - 31 characters
Quality of clock
primary
Datum clock
G.811
enhanced2
G.812
enhanced3
G.812
sec
SEC clock
G.813
mode
Mode
hz
Hertz mode
bits
Bits mode
Mode
ZXAN(config-clock)#
Example
The following example displays how to configure the external input clock:
ZXAN(config)#clock
40-4
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
40.5 external-output
Syntax
external-output [{ssmThreshold {enhanced2 | enhanced3 | primary | sec}} | {mode {hz | bits}}]
Purpose
To configure the external output clock
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ssmThreshold
SSM threshold
primary
Datum clock
G.811
enhanced2
G.812
enhanced3
G.812
sec
SEC clock
G.813
mode
Mode
hz
Hertz mode
bits
Bits mode
Mode
ZXAN(config-clock)#
Example
The following example displays how to configure the external output clock:
ZXAN(config)#clock
ZXAN(config-clock)#external-output ssmThreshold sec mode hz
ZXAN(config-clock)#
40-5
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
40.6 ptp
Syntax
ptp slave {ip ip-address | mac} [ sync-hybrid | async-hybrid | not-synce ] [ domain domain-nu
mber ] [ packet-type packet-type] [ interval interval-value] [ step-mode step-mode] [ slot/port]
no ptp [ slot/port ]
Purpose
To configure the PTP work mode
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
slave
ip ip-address
PTP IP address
mac
sync-hybrid | async-hybrid |
Default: sync-hybrid
not-synce
packet-type packet-type
interval interval-value
Range: -8 to 0
packets
Default: -4
Unit: second
l
0 indicates 1 second.
domain domain-number
Range: 0 255
Default: 0
slot/port
Mode
ZXAN(config-clock)#
40-6
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to configure the PTP work mode:
ZXAN(config-clock)# ptp slave ip 192.168.2.11 packet-type
unicast step-mode one-step interval -4
ZXAN(config-clock)# no ptp ip 192.168.2.11
Related Information
At present, one PTP module can be implemented only in one domain. One domain can
contain multiple PTP modules. One PTP chip can be configured with only one PTP
command.
40.7 ptp-source
Syntax
ptp-source {ip ip-address | mac mac-address} [adjust adjust-value]
no ptp-source {ip ip-address | mac mac-address}
Purpose
To configure the PTP source
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ip ip-address
source
mac mac-address
source
adjust adjust-value
Mode
ZXAN(config-clock)#
40-7
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to configure the PTP source:
ZXAN(config-clock)#ptp-source ip 192.168.1.12
ZXAN(config-clock)#no ptp-source ip 192.168.1.12
Purpose
To display the clock configuration
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
master
slave
Mode
Any mode except user mode
Example
The following example shows how to display the basic information of the reference clock
source:
ZXAN#show clock config
interface
type
priority
ssm
mode
status
remarks
......................................................................
1/3/1
syncE
qlsec
primary
source
Related Commands
source
40-8
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To show the clock interface information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
esmc
ssm-send
ssm
shelf
Shelf number
13
slot
Slot number
0 22
port
Port number
Mode
Any mode except the ZXAN> mode
Example
The following example shows the clock interface information:
ZXAN(config-clock)# show clock interface ssm-send
interface
port_type ssm-send
........................................
1/3/1
synce
qlsec
port_type
esmc
.............................................
1/3/1
synce
enable
40-9
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To display the active clock source
Mode
Any mode except ZXAN>
Example
The following example displays the active clock source:
ZXAN(config-clock)#show clock source active
interface:1/3/1
type :synce
ssm-ql :qlsec
status :locked
warning :none
Related Commands
None
Purpose
To show the source clock alarm
Usage Guidelines
None
Mode
Any mode except the ZXAN> mode
Example
The following example displays the source clock alarm:
ZXAN(config-clock)#show clock source alarm
interface
type
priority
ssm-received alarm
...........................................................
1/3/1
synce
qlsec
none
40-10
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Information
This command is used to show the alarms of all source clocks, one line for one clock
source.
Purpose
To display the current active clock source
Usage Guidelines
None
Mode
Any mode except user mode
Example
The following example displays the current active clock source:
ZXAN#show source active
ZXAN#
Related Commands
None
Purpose
To display the source clock alarm
Usage Guidelines
None
40-11
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
Any mode except user mode
Example
The following example displays the source clock alarm:
ZXAN#show clock source alarm
Interface
Type
Priority
READ-SSM
Alarm
........................................
Related Commands
None
40-12
SJ-20120615152640-010|2012-06-30 (R1.0)
Chapter 41
TACACS+ Commands
Table of Contents
tacacs enable ...........................................................................................................41-1
tacacs-client .............................................................................................................41-2
tacacs-server ...........................................................................................................41-2
Purpose
To enable or disable the TACACS+
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
enable
Enable TACACS+
disable
Disable TACACS+
Mode
ZXAN(config)#
Example
The following example displays how to enable the TACACS+:
ZXAN(config)#tacacs enable
ZXAN(config)#
Related Commands
None
41-1
SJ-20120615152640-010|2012-06-30 (R1.0)
41.2 tacacs-client
Syntax
tacacs-client address [port port]
Purpose
To configure the TACACS+ client parameters
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
address
A.B.C.D
port port
Mode
ZXAN(config)#
Example
The following example displays how to configure the TACACS+ client parameters:
ZXAN(config)#tacacs-client 168.1.1.1 port 1025
ZXAN(config)#
Related Commands
tacacs-server
41.3 tacacs-server
Syntax
tacacs-server {[host address port port] | [key name] | [timeout value]}
tacacs-server packet size
Purpose
To configure the TACACS+ server parameters
Usage Guidelines
The following table provides parameter description:
41-2
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
host address
A.B.C.D
key name
TACACS+ name
Range: 1 - 31 characters
port port
packet size
Packet size
timeout value
Mode
ZXAN(config)#
Example
The following example displays how to configure the TACACS+ server parameters:
ZXAN(config)#tacacs-server host 168.1.10.1 key test port 1025 timeout 100
ZXAN(config)#
Related Commands
tacacs-client
41-3
SJ-20120615152640-010|2012-06-30 (R1.0)
41-4
SJ-20120615152640-010|2012-06-30 (R1.0)
Chapter 42
RADIUS Commands
Table of Contents
algorithm ..................................................................................................................42-1
deadtime ..................................................................................................................42-2
max-retries ...............................................................................................................42-3
radius vendor-identify ...............................................................................................42-4
server.......................................................................................................................42-4
timeout .....................................................................................................................42-5
show radius vendor-identify ......................................................................................42-6
42.1 algorithm
Syntax
algorithm {first | round-robin}
Purpose
To configure the algorithm for RADIUS authentication group
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
first
Mode
ZXAN(config)#
Example
The following example displays how to configure the algorithm for RADIUS authentication
group:
42-1
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
42.2 deadtime
Syntax
deadtime time
Purpose
To configure RADIUS authentication server dead-time
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
time
Mode
ZXAN(config-authgrp-1)#
Example
The following example displays how to configure Radius authentication server dead-time:
ZXAN(config)#radius authentication-group 1
ZXAN(config-authgrp-1)#deadtime 10
ZXAN(config-authgrp-1)#
Related Commands
None
Related Information
To execute this command, first create a Radius server group.
The dead-time interval starts when the server does not respond to an authentication
request transmissions.
42-2
SJ-20120615152640-010|2012-06-30 (R1.0)
42.3 max-retries
Syntax
max-retries number
Purpose
To configure the maximum number of RADIUS retransmission attempts
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
number
Maximum number of
Range: 1 - 255
retransmission attempts
Default: 3
Mode
ZXAN(config-authgrp-1)#
Example
The following example displays how to configure the maximum number of RADIUS
retransmission attempts:
ZXAN(config)#radius authentication-group 1
ZXAN(config-authgrp-1)#max-retries 5
ZXAN(config-authgrp-1)#
Related Commands
None
Related Information
To execute this command, first create a Radius server group.
As RADIUS uses UDP packets to transmit data, the communication is not reliable. If
the device does not receive a response to its request from the RADIUS server within the
response time-out time, it retransmits the RADIUS request. If the number of retransmission
attempts exceeds the limit but the device still receives no response from the RADIUS
server, the device regards that the authentication fails.
42-3
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure the RADIUS vendor identify function
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
disable
enable
Mode
ZXAN(config)#
Example
The following example displays how to enable the RADIUS vendor identify function:
ZXAN(config)#radius vendor-identify enable
Related Commands
show radius vendor-identify
42.5 server
Syntax
server server-num ipaddress key keystr [port portnum]
Purpose
To configure the RADIUS server property
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
server-num
Server ID
Range: 1 - 4
ipaddress
Server IP address
A.B.C.D
42-4
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
key keystr
Range: 1 - 32 characters
system
port portnum
Mode
ZXAN(config-authgrp-1)#
Example
The following example displays how to configure the Radius server property:
ZXAN(config)#radius authentication-group 1
ZXAN(config-authgrp-1)#server 1 10.61.225.14 key zte
ZXAN(config-authgrp-1)#
Related Commands
None
Related Information
To execute this command, first create a Radius server group.
42.6 timeout
Syntax
timeout time
Purpose
To configure RADIUS authentication server timeout parameters
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
time
Timeout interval
Mode
ZXAN(config-authgrp-1)#
42-5
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to configure the RADIUS authentication server timeout
parameters:
ZXAN(config)#radius authentication-group 1
ZXAN(config-authgrp-1)#timeout 10
ZXAN(config-authgrp-1)#
Related Commands
None
Related Information
To execute this command, first create a Radius server group.
Purpose
To display the vendor identify configuration of RADIUS
Usage Guidelines
None
Mode
Any mode except ZXAN>
Example
The following example displays the vendor identify configuration of RADIUS:
ZXAN(config)#show radius vendor-identify
Radius vendor-identify is enable
Related Commands
radius vendor-identify
42-6
SJ-20120615152640-010|2012-06-30 (R1.0)
Chapter 43
SSH Commands
Table of Contents
ssh server authentication ispgroup ...........................................................................43-1
ssh server authentication mode ................................................................................43-2
ssh server authentication type ..................................................................................43-2
ssh server enable .....................................................................................................43-3
ssh server generate-key ...........................................................................................43-4
ssh server only .........................................................................................................43-4
ssh server version ....................................................................................................43-5
show ssh ..................................................................................................................43-6
Purpose
To configure the RADIUS authentication group when SSH server works in RADIUS
authentication mode
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ispgroup
Range: 1 - 10
ID
Mode
ZXAN(config)#
Example
The following example displays how to configure the RADIUS authentication group when
SSH server works in RADIUS authentication mode:
ZXAN(config)#ssh server authentication ispgroup 2
ZXAN(config)#
43-1
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Purpose
To configure the SSH server authentication mode
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
local
mode (default)
radius
tacacs+
Mode
ZXAN(config)#
Example
The following example displays how to configure the SSH server authentication mode:
ZXAN(config)#ssh server authentication mode local
ZXAN(config)#
Related Commands
None
Purpose
To configure the authentication access mode for SSH server
43-2
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
pap
chap
mode
Mode
ZXAN(config)#
Example
The following example displays how to configure the authentication access mode for SSH
server:
ZXAN(config)#ssh server authentication type pap
ZXAN(config)#
Related Commands
None
Purpose
To enable the SSH server
Usage Guidelines
None
Mode
ZXAN(config)#
Example
The following example displays how to enable the SSH server:
ZXAN(config)#ssh server enable
43-3
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Purpose
To generate RSA encryption key when SSH server works in protocol version 1
Usage Guidelines
None
Mode
ZXAN(config)#
Example
The following example displays how to generate RSA encryption key when SSH server
works in protocol version 1:
ZXAN(config)#ssh server generate-key
ZXAN(config)#
Related Commands
None
Purpose
To configure SSH server as the only safe configuration access mode, disabling Telnet
access
43-4
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
None
Mode
ZXAN(config)#
Example
The following example displays how to configure SSH server as the only safe configuration
access mode, disabling Telnet access:
ZXAN(config)#ssh server only
ZXAN(config)#
Related Commands
None
Purpose
To configure the SSH server protocol version
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
version
Range: 1 - 2
Mode
ZXAN(config)#
Example
The following example displays how to configure the SSH server protocol version:
ZXAN(config)#ssh server version 1
ZXAN(config)#
43-5
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Purpose
To display all the related configuration information of SSH server
Usage Guidelines
None
Mode
Any mode except the user mode
Example
The following example displays all the related configuration information of SSH server:
ZXAN#show ssh
SSH configuration:
SSH enable-flag configuration : enable
SSH version
: ver1.0
: enable
: enable
: 2
: local
: pap
ZXAN#
Related Commands
None
43-6
SJ-20120615152640-010|2012-06-30 (R1.0)
Chapter 44
Purpose
To enable PIM snooping
Usage Guidelines
None
Mode
ZXAN(config)#
Example
The following example displays how to enable PIM snooping:
ZXAN(config)#ip pim snooping
ZXAN(config)#
Related Commands
None
44-1
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure PIM snooping for VLAN
Usage Guidelines
None
Mode
ZXAN(config-vlan)#
Example
The following example displays how to configure PIM snooping for VLAN:
ZXAN(config)#ip pim snooping
ZXAN(config)#vlan 2
ZXAN(config-vlan)#pim snooping
ZXAN(config-vlan)#
Related Commands
ip pim snooping
Related Information
This command takes effect only when snooping is globally enabled.
Purpose
To display all (accumulated) statistics of PIM packets
Usage Guidelines
The following table provides parameter description:
44-2
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
clear
Clear mode
Mode
Any mode except user mode
Example
The following example displays all (accumulated) statistics of PIM packets:
ZXAN#show ip pim snooping all-statistic clear
RxHello
0;
RxJoinPrune
0;
TxHello
0;
TxJoinPrune
0;
DropRxTotal
0;
RxTotal
0;
TxTotal
0;
ZXAN#
Related Commands
show ip pim snooping all-statistic
show ip pim snooping port-statistic clear interface
show ip pim snooping port-statistic interface
Purpose
To display all VLAN entries for PIM snooping
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
vlan vid
VLAN ID
Range: 1 - 4094
Mode
Any mode except user mode
44-3
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays all VLAN entries for PIM snooping:
ZXAN#show ip pim snooping entry
group entry number = 0:
index vlan Source-ip Group-ip
---------------------------------------------ZXAN#
Related Commands
show ip pim snooping port-info
show ip pim snooping neighbor-info
Purpose
To display the information about neighboring routers
Usage Guidelines
None
Mode
Any mode except user mode
Example
The following example displays the information about neighboring routers:
ZXAN#show ip pim snooping neighbor-info
Port
vid
neighbor-ip-address
remain-time
------------------------------------------------------ZXAN#
Related Commands
show ip pim snooping port-info
show ip pim snooping entry
44-4
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To display the VLAN port information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
vid
VLAN ID
Range: 1 - 4094
Mode
Any mode except user mode
Example
The following example displays the VLAN port information:
ZXAN#show ip pim snooping port-info 2
Source-ip
Group-ip
Ports
Remain-time
--------------------------------------------------------------------
ZXAN#
Related Commands
show ip pim snooping port-info
show ip pim snooping entry
Purpose
To display statistics for all the received PIM packets
44-5
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
interfacename
Interface name
Mode
Any mode except user mode
Example
The following example displays the statistics for all the received PIM packets:
ZXAN#show ip pim snooping port-statistic clear interface gei_1/11/1
RxHello
0;
RxJoinPrune
0;
TxHello
0;
TxJoinPrune
0;
DropRxTotal
0;
RxTotal
0;
TxTotal
0;
ZXAN#
Related Commands
show ip pim snooping all-statistic clear
show ip pim snooping port-statistic interface
Purpose
To display the port statistics
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
interfacename
Interface name
Mode
Any mode except user mode
44-6
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays the port statistics:
ZXAN#show ip pim snooping port-statistic interface gei_1/11/1
RxHello
0;
RxJoinPrune
0;
TxHello
0;
TxJoinPrune
0;
DropRxTotal
0;
RxTotal
0;
TxTotal
0;
ZXAN#
Related Commands
show ip pim snooping all-statistic clear
44-7
SJ-20120615152640-010|2012-06-30 (R1.0)
44-8
SJ-20120615152640-010|2012-06-30 (R1.0)
Chapter 45
45-1
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To enter the RIP configuration mode
Usage Guidelines
None
Mode
ZXAN(config)#
Example
The following example displays how to enter the RIP configuration mode:
ZXAN(config)#router rip
ZXAN(config-router)#
Related Commands
None
45.2 auto-summary
Syntax
auto-summary
no auto-summary
Purpose
To send only the convergence routing information about the classical network and super
network
Usage Guidelines
None
Mode
ZXAN(config-router)#
45-2
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to send only the convergence routing information
about the classical network and super network:
ZXAN(config)#router rip
ZXAN(config-router)#auto-summary
ZXAN(config-router)#
Related Commands
None
Related Information
Super netwotk is the network which has multi-network segment IP addresses and is
allocated to subscriber by ISP.
45.3 default-metric
Syntax
default-metric metric-value
no default-metric
Purpose
To configure re-distribution of other protocol generated routes as the default metric for the
RIP route
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
metric-value
Range: 1 - 16
Mode
ZXAN(config-router)#
Example
The following example displays how to configure re-distribution of other protocol generated
routes as the default metric for the RIP route:
ZXAN(config)#router rip
ZXAN(config-router)#default-metric 2
ZXAN(config-router)#
45-3
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
redistribute
Related Information
This command works with the redistribute command to have the same metric value used
for the current routing protocol and all re-distributing route. The default metric helps solve
the route re-distributing problems that are caused by different metrics. When the metric is
not changed, the default metric provides a reasonable alternative method to facilitate the
re-distributing.
Purpose
To disable the RIP on an interface
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ip-address
IP address
A.B.C.D
Mode
ZXAN(config-router)#
Example
The following example displays how to disable the RIP on an interface:
ZXAN(config)#router rip
ZXAN(config-router)#disable interface 10.20.1.20
ZXAN(config-router)#
Related Commands
enable interface
45-4
SJ-20120615152640-010|2012-06-30 (R1.0)
45.5 distance
Syntax
distance distance
no distance
Purpose
To configure the RIP route management distance
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
distance
Range: 1 - 255
Default: 120
Mode
ZXAN(config-router)#
Example
The following example displays how to configure the RIP route management distance:
ZXAN(config)#router rip
ZXAN(config-router)#distance 122
ZXAN(config-router)#
Related Commands
None
Related Information
The RIP route management distance is defined to change the selection for the optimal
route by the global routing table.
Purpose
To enable the RIP on an interface
45-5
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ip-address
IP address
A.B.C.D
Mode
ZXAN(config-router)#
Example
The following example displays how to enable the RIP on an interface:
ZXAN(config)#router rip
ZXAN(config-router)#enable interface 10.20.1.20
ZXAN(config-router)#
Related Commands
disable interface
45.7 flash-update-threshold
Syntax
flash-update-threshold threshold
no flash-update-threshold
Purpose
To suppress regularly scheduled flash updates
Usage Guidelines
The following table provides parameter description:
Parameter
threshold
Description
Value
Range: 1 - 30 sec
Default: 5 sec
can be configured
Mode
ZXAN(config-router)#
45-6
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to suppress regularly scheduled flash updates:
ZXAN(config)#router rip
ZXAN(config-router)#flash-update-threshold 10
ZXAN(config-router)#
Related Commands
None
Related Information
By default, this command is disabled.
This command suppresses flash updates when the arrival of a regularly scheduled update
matches the number of seconds that is configured with the threshold parameter.
If the number of seconds matches the number of seconds or is less than the number
seconds that is configured with the threshold parameter, the flash update is suppressed. If
the number of seconds until the flash update arrives exceeds the number of seconds that
is configured with the threshold parameter, the flash update is not suppressed.
45.8 ip poison-reverse
Syntax
ip poison-reverse
no ip poison-reverse
Purpose
To enable the poison reverse mechanism
Usage Guidelines
None
Mode
ZXAN(config-if)#
Example
The following example displays how to enable the poison reverse mechanism:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip poison-reverse
ZXAN(config-if)#
45-7
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Related Information
When the poison reversion mechanism is enabled, the metric must be configured as infinite
(Metric = 16), so that the route information is returned to the router that originally advertises
the route and the loop is broken in time. However, this may cause increase in the traffic
on the network. When the network load is greater, the poison reverse should be disabled.
Purpose
To configure the key for the simple text authentication for the RIP interface
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
key
Authentication key
Range: 1 - 16 characters
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the key for the simple text authentication
for the RIP interface:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip rip authentication key zxan
ZXAN(config-if)#
Related Commands
ip rip authentication mode
45-8
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Information
If the key is not configured using the key command, the authentication is not performed on
the interface.
Purpose
To configure the key-chain for the MD5 authentication
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
key-id
Key ID
Range: 1 - 255
key-string
Key string
Range: 1 - 16 characters
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the key-chain for the MD5 authentication:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip rip authentication key-chain 1 abcd
ZXAN(config-if)#no ip rip authentication key-chain 1
ZXAN(config-if)#
Related Commands
ip rip authentication mode
Related Information
ip rip authentication mode md5 and ip rip authentication key-chain commands are
configured at the same time.
45-9
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure the authentication type for the RIP version 2 message packet
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
text
md5
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the authentication type for the RIP version
2 message packet:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip rip authentication mode md5
ZXAN(config-if)#
Related Commands
ip rip authentication key
ip rip authentication key-chain
Related Information
By default, there is no authentication mode.
Purpose
To configure the method to send/receive route information on an interface
Usage Guidelines
The following table provides parameter description:
Parameter
passive
Description
Value
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the method to send/receive route
information on an interface:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip rip interface passive
ZXAN(config-if)#
Related Commands
None
Related Information
This command can also be used to reduce the bandwidth occupation of the network.
The ip rip interface passive command often works with the neighbor command to have the
router only send route to the specified neighbor, so as to reduce the bandwidth occupation
of the network.
The ip rip interface active command is usually used when the LAN only needs to report the
route information inside its subnet to the upper-level server.
no ip rip neighbor-restrict
Purpose
To configure an interface to enter into the RIP neighbor restriction mode
Usage Guidelines
None
Mode
ZXAN(config-if)#
Example
The following example displays how to configure an interface to enter into the RIP neighbor
restriction mode:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip rip neighbor-restrict
ZXAN(config-if)#
Related Commands
neighbor
Related Information
In no ip rip neighbor-restrict mode, the neighbor can be found no matter whether a neighbor
is configured on the interface. For the configured neighbor, the unicast packet is sent; while
for the found neighbor, no unicast packet is sent. The packets can be received from either
the configured or the found neighbor.
Purpose
To configure an interface to advertise default router when the default route exists on this
router
Usage Guidelines
The following table provides parameter description:
45-12
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
only
this interface
Mode
ZXAN(config-if)#
Example
The following example displays how to configure an interface to advertise default router
when the default route exists on this router:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip rip notify default route
ZXAN(config-if)#
Related Commands
ip rip originate default route
Purpose
To configure an interface to advertise only the interface-related network subnet information
Usage Guidelines
None
Mode
ZXAN(config-if)#
Example
The following example displays how to configure an interface to advertise only the
interface-related network subnet information:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip rip only-send-subnet
ZXAN(config-if)#
45-13
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Related Information
When this command is used, the interface sends only the route information of the interface
in the same subnet, while the route information not in the same subnet is shielded. When
the lower-level router advertises route information to the upper-level router, only its subnet
information needs to be advertised. This command can be used to reduce the route
information volume.
Purpose
To configure a default route on the interface and force advertisement
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
only
this interface
Mode
ZXAN(config-if)#
Example
The following example displays how to configure a default route on the interface and force
advertisement:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip rip originate default route
ZXAN(config-if)#
45-14
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
ip rip notify default route
Purpose
To configure the RIP version to be received on the interface
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the RIP version to be received on the
interface:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip rip receive version 1
ZXAN(config-if)#
Related Commands
None
Related Information
This command can be used to ignore the RIP default status specified by the version
command, but this only applies for the configured interfaces.
45-15
SJ-20120615152640-010|2012-06-30 (R1.0)
45.18 ip split-horizon
Syntax
ip split-horizon
no ip split-horizon
Purpose
To enable the split horizon function
Usage Guidelines
None
Mode
ZXAN(config-if)#
Example
The following example displays how to enable the split horizon function:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#no ip split-horizon
ZXAN(config-if)#
Related Commands
None
Related Information
By default, split horizon is enabled.
This command enables split horizon, preventing the RIP router from advertising routes
from the interface originating the route, reducing the possibility of routing loops. The no
version disables split horizon.
It is generally not recommended to change the default status of the split horizon, unless
it is used for advertising routes. The default status must be changed in the application
system. If the split horizon is disabled on the serial interface (and the interface is
connected with the packet switching network), it must be disabled for all the routers and
access servers in the related multicast groups on the network.
45-16
SJ-20120615152640-010|2012-06-30 (R1.0)
45.19 maximum-paths
Syntax
maximum-paths number
no maximum-paths
Purpose
To configure the maximum routes supported in load balance
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
number
Range: 1 - 8
Default: 1
Mode
ZXAN(config-router)#
Example
The following example displays how to configure the maximum routes supported in load
balance:
ZXAN(config)#router rip
ZXAN(config-router)#maximum-paths 2
ZXAN(config-router)#
Related Commands
None
Related Information
The same effective routes received through the RIP are adjusted according to the
requirements of the load balance.
45.20 neighbor
Syntax
neighbor ip-address
no neighbor ip-address
45-17
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To define a neighboring router with which to exchange routing information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ip-address
A.B.C.D
Mode
ZXAN(config-router)#
Example
The following example displays how to define a neighboring router with which to exchange
routing information:
ZXAN(config)#router rip
ZXAN(config-router)#neighbor 10.10.10.2
ZXAN(config-router)#
Related Commands
ip rip interface
Related Information
This command allows exchanging the RIP route information in the point-to-point
(non-broadcast) mode. Once a neighbor is specified, the interface that is in the same
network of that interface exchanges the RIP route information in the broadcast (multicast)
mode. At most 255 neighbors can be found or configured at the same time.
45.21 network
Syntax
network ip-address net-mask
no network ip-address net-mask
Purpose
To specify the network table for RIP routing
45-18
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ip-address
A.B.C.D
directly connected
net-mask
A.B.C.D
of decimal value
Mode
ZXAN(config-router)#
Example
The following example displays how to specify the network table for RIP routing:
ZXAN(config)#router rip
ZXAN(config-router)#network 202.102.3.0 0.0.0.255
ZXAN(config-router)#
Related Commands
router rip
Related Information
The RIP route update information can be sent/received only through these network
interfaces. The RIP sends the update information to the specified network interface. If an
interface network is not specified, the RIP update advertisement cannot be obtained.
45.22 offset-list
Syntax
offset-list access-list-number {in | out} offset [interface interface-name]
Purpose
To configure the specified received/sent route metric offset
Usage Guidelines
The following table provides parameter description:
45-19
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
access-list-number
Range: 1 - 99
to apply offset
in
Inbound packets
out
Outbound packets
offset
Range: 0 - 16
interface interface-name
Interface name
Mode
ZXAN(config-router)#
Example
The following example displays how to configure the specified received/sent route metric
offset:
ZXAN(config)#router rip
ZXAN(config-router)#offset-list 3 in 2
ZXAN(config-router)#
Related Commands
None
Related Information
If an interface name is specified, the offset value is effective only for the specified interface.
45.23 output-delay
Syntax
output-delay packets delay
no output-delay
Purpose
To configure the delay between the RIP update messages
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
packets
Number of packets
Range: 1 - 4294967295
45-20
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
delay
Mode
ZXAN(config-router)#
Example
The following example displays how to configure the delay between the RIP update
messages:
ZXAN(config)#router rip
ZXAN(config-router)#output-delay 580 10
ZXAN(config-router)#
Related Commands
None
Related Information
If packets are sent from a high-speed router to a low-speed router in high speed, the
low-speed router cannot receive the packets in high speed. Here, this command can be
used to prevent the loss of information in the routing table.
45.24 redistribute
Syntax
redistribute protocol [metric metric-value] [route-map map-tag]
no redistribute protocol [metric] [route-map]
Purpose
To re-distribute routes from one route domain to the RIP route domain
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
protocol
redistribution
45-21
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
metric metric-value
Range: 0 - 16
routes
route-map map-tag
Range: 0 - 16 characters
Mode
ZXAN(config-router)#
Example
The following example displays how to re-distribute routes from one route domain to the
RIP route domain:
ZXAN(config)#router rip
ZXAN(config-router)#redistribute ospf-ext
ZXAN(config-router)#
Related Commands
default-metric
Purpose
To display the basic information of the RIP operation
Usage Guidelines
None
Mode
Any mode except user mode
Example
The following example displays the basic information of the RIP operation:
ZXAN#show ip rip
router rip
auto-summary
default-metric 1
45-22
SJ-20120615152640-010|2012-06-30 (R1.0)
0.0.0.255
ZXAN#
Related Commands
None
Related Information
According to the output information of this command, the user knows whether the
configuration is correct and conducts IP fault diagnosis.
Purpose
To display the route entries generated by the RIP protocol
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
network ip-address
A.B.C.D
mask net-mask
Network mask
A.B.C.D
Mode
Any mode except user mode
Example
The following example displays the route entries generated by the RIP protocol:
45-23
SJ-20120615152640-010|2012-06-30 (R1.0)
ZXAN#
Related Commands
None
Related Information
According to the output information of this command, the user can judge whether the
current RIP routing table is correct or not.
Purpose
To display the RIP interface information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
interface-name
Mode
Any mode except user mode
Example
The following example displays the RIP interface information:
ZXAN#show ip rip interface vlan100
ip address:
45-24
SJ-20120615152640-010|2012-06-30 (R1.0)
ZXAN#
Related Commands
None
Purpose
To display the RIP networks configured by the user
Usage Guidelines
None
Mode
Any mode except user mode
Example
The following example displays the RIP networks configured by the user:
ZXAN#show ip rip networks
networks
wildmask
202.102.3.0
0.0.0.255
ZXAN#
Related Commands
network
Purpose
To adjust the RIP network timer
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
update
Default: 1 sec
protocol
invalid
holddown
flush
route
Default: 1 sec
route clearing
Default: 1 sec
Mode
ZXAN(config-router)#
Example
The following example displays how to adjust the RIP network timer:
ZXAN(config)#router rip
ZXAN(config-router)#timers basic 5 15 15 30
ZXAN(config-router)#
Related Commands
None
Related Information
The RIP basic timer is adjustable. Since the RIP executes the asynchronous routing
algorithm, it is very important to keep consistent timers for all routers and access servers.
Note:
If the update period is too short, it may cause congestion in the low-speed serial line, while
it does not cause big problem in the high-speed serial line of the fast Ethernet. In addition,
if there are many routes to be updated, it may take much time for the router to handle the
update.
45-26
SJ-20120615152640-010|2012-06-30 (R1.0)
45.30 validate-update-source
Syntax
validate-update-source
no validate-update-source
Purpose
To enable or disable the source IP address that enters the route update
Usage Guidelines
None
Mode
ZXAN(config-router)#
Example
The following example displays how to disable the source IP address that enters the route
update:
ZXAN(config)#router rip
ZXAN(config-router)#no validate-update-source
ZXAN(config-router)#
Related Commands
None
Related Information
The software ensures that the source IP addresses that enter the route update are
defined as the addresses of the receiving interface. These addresses are in the same IP
network. When the split horizon is enabled for the entry interface, the system executes
the consistency check.
45.31 version
Syntax
version {1 | 2}
Purpose
To configure the RIP version used by a specified router
45-27
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
Version number 1
Version number 2
Mode
ZXAN(config-router)#
Example
The following example displays how to configure the RIP router version used by a specified
router:
ZXAN(config)#router rip
ZXAN(config-router)#version 2
ZXAN(config-router)#
Related Commands
ip rip receive version
45-28
SJ-20120615152640-010|2012-06-30 (R1.0)
Chapter 46
neighbor .................................................................................................................46-34
network ..................................................................................................................46-35
no area...................................................................................................................46-36
notify default route..................................................................................................46-37
nsf..........................................................................................................................46-38
passive-interface ....................................................................................................46-38
redistribute .............................................................................................................46-39
router-id .................................................................................................................46-40
show ip ospf ...........................................................................................................46-41
show ip ospf border-routers ....................................................................................46-45
show ip ospf database............................................................................................46-46
show ip ospf interface.............................................................................................46-55
show ip ospf neighbor ............................................................................................46-57
show ip ospf nsf .....................................................................................................46-58
show ip ospf request-list .........................................................................................46-60
show ip ospf retransmission-list ..............................................................................46-61
show ip ospf virtual-links.........................................................................................46-62
summary-address ..................................................................................................46-63
timers lsa-group-pacing ..........................................................................................46-64
timers spf ...............................................................................................................46-65
Purpose
To enable OSPF process for privilege mode
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
process-id
Process ID
Range: 1 65535
Mode
ZXAN(config)#
Example
The following example displays how to enable OSPF process for privilege mode:
ZXAN(config)#enable ip ospf 1
ZXAN(config)#
46-2
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
enable ip bgp
Purpose
To enter the OSPF protocol configuration mode
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
process-id
OSPF process ID
Range: 1 - 65535
Mode
ZXAN(config)#
Example
The following example displays how to enter the OSPF protocol configuration mode:
ZXAN(config)#router ospf 1
ZXAN(config-router)#
Related Commands
None
Related Information
If the OSPF protocol is started but is disabled, the system prompts Please enable
the OSPF instance first and returns to the global configuration mode. If the OSPF
protocol is started and it is enabled, it directly enters the OSPF protocol configuration mode.
The global OSPF and the OSPF under the VRFs use different process numbers.
46-3
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To enable the authentication for the OSPF area
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
area-id
Area ID
Range: 0 - 4294967295
Message-digest (type 2)
message-digest
authentication
Mode
ZXAN(config-router)#
Example
The following example displays how to enable the authentication for the OSPF area:
ZXAN(config)#router ospf 1
ZXAN(config-router)#area 1 authentication message-digest
ZXAN(config-router)#
Related Commands
None
Related Information
If no parameter is attached, it is the type 1 authentication, that is, the simple password
authentication. If the parameter is attached, it is the type 2 authentication, that is, the
message-digest authentication. If the area does not exist, it is created automatically.
Purpose
To filter network routing information between OSPF area
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
area-id
Area ID
Range: 0 - 4294967295
prefix prefix-list
Name of an IP prefix-list
Range: 1 - 16 characters
out
area
in
Mode
ZXAN(config-router)#
Example
The following example displays how to filter network routing information between OSPF
area:
ZXAN(config)#router ospf 1
ZXAN(config-router)#network 20.20.20.0 0.0.0.255 area 1
ZXAN(config-router)#exit
ZXAN(config)#ip prefix-list ZXAN deny 20.20.20.0 24
ZXAN(config)#router ospf 1
ZXAN(config-router)#area 0.0.0.1 filter-list prefix ZXAN out
ZXAN(config-router)#
Related Commands
None
Related Information
If the area does not exist, it is created automatically. By default, there is no OSPF area
network route filtering information.
46-5
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure an area as the NSSA area
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
area-id
Area ID
Range: 0 - 4294967295
no-redistribution
this area
metric metric-value
Range: 0 - 16777214
metric-type type
Metric type
no-summary
NSSA area
Mode
ZXAN(config-router)#
Example
The following example displays how to configure an area as the NSSA area:
ZXAN(config)#router ospf 1
ZXAN(config-router)#area 1 nssa default-information-originate
ZXAN(config-router)#
Related Commands
None
46-6
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Information
If the area does not exist, it is created automatically. By default, NSSA area network is not
defined. If default type-7 LSA for this area is defined, the cost of the default value 1 must
be type ext-2.
Purpose
To configure the address range of the summary route in an area
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
area-id
Area ID
Range: 0 - 4294967295
ip-address
A.B.C.D
address range
net-mask
A.B.C.D
advertise
not-advertise
Mode
ZXAN(config-router)#
Example
The following example displays how to configure the address range of the summary route
in an area:
ZXAN(config)#router ospf 1
ZXAN(config-router)#network 10.1.1.0 0.0.0.255 area 1
ZXAN(config-router)#network 10.1.2.0 0.0.0.255 area 1
ZXAN(config-router)#network 10.1.3.0 0.0.0.255 area 1
ZXAN(config-router)#area 0 range 10.1.0.0 255.255.0.0 advertise
ZXAN(config-router)#
46-7
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Purpose
To configure an area as a stub area
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
area-id
Area ID
Range: 0 - 4294967295
no-summary
Range: 0 - 65535
Mode
ZXAN(config-router)#
Example
The following example displays how to configure an area as a stub area:
ZXAN(config)#router ospf 1
ZXAN(config-router)#area 1 stub no-summary efault-cost 10
ZXAN(config)#router ospf 1
ZXAN(config-router)#no area 1 stub no-summary
ZXAN(config-router)#no area 1 stub default-cost
ZXAN(config-router)#
Related Commands
None
46-8
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Information
The area is created automatically if it does not exist. It can also be specified whether
to prohibit the ABR to send the summary network route information to the stub area and
whether to advertise the default route cost to the stub area.
The no area area-id stub no-summary command is used to allow the ABR to send the
summary route information to the stub area.
The no area area-id stub default-cost is used to restore the default route cost advertise to
the stub area as the default 1.
The no area area-id stub command is used to change the specified area from a stub area
to a non-stub area.
Purpose
To add the host route advertised by the router in an area
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
area-id
Area ID
Range: 0 - 4294967295
ip-address
A.B.C.D
advertisement
cost cost
Range: 1 - 65535
advertisement
Mode
ZXAN(config-router)#
Example
The following example displays how to add the host route advertised by the router in an
area:
ZXAN(config)#router ospf 1
ZXAN(config-router)#area 1 stub-host 10.1.1.1 cost 10
ZXAN(config-router)#
46-9
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Related Information
The no area area-id stub-host ip-address command deletes the host route advertised by the
router in an area.
If the area does not exist, it is created automatically.
Purpose
To configure an OSPF virtual link
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
area-id
Area ID
Range: 0 - 4294967295
router-id
A.B.C.D
hello-interval seconds
Default: 10
link
Default: 5
Default: 1
retransmit-interval seconds
transmit-delay seconds
virtual link
dead-interval seconds
authentication-key key
Default: 40
Range: 1 - 8 characters
link
46-10
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
message-digest-key keyid
Range: 1 - 255
Default: 10
Range: 1 - 24 characters
virtual link
Maximum: 16 bytes
delay time
authentication
md5 cryptkey
advertisement
message-digest
Mode
ZXAN(config-router)#
Example
The following example displays how to configure an OSPF virtual link:
ZXAN_01(config)#router ospf 1
ZXAN_01(config-router)#area 1 virtual-link 15.15.15.15
ZXAN_02(config)#router ospf 1
ZXAN_02(config-router)#area 1 virtual-link 16.16.16.16
ZXAN_02(config-router)#
Related Commands
None
Related Information
If the area does not exist, it is created automatically.
46.10 auto-cost
Syntax
auto-cost reference-bandwidth ref-bw
no auto-cost reference-bandwidth
46-11
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To modify the reference bandwidth of the OSPF process
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
reference-bandwidth ref-bw
OSPF cost
Mode
ZXAN(config-router)#
Example
The following example displays how to modify the reference bandwidth of the OSPF
process:
ZXAN(config)#router ospf 1
ZXAN(config-router)#auto-cost reference-bandwidth 10000
ZXAN(config-router)#
Related Commands
ip ospf cost
Related Information
If the OSPF process interface has not been configured using the ip ospf cost command,
the cost of the OSPF interface is the reference bandwidth divided by the interface
bandwidth. Otherwise, the cost of the OSPF interface is the value configured in the ip
ospf cost command for the interface. This command takes effect immediately after the
configuration.
Purpose
To enable or disable a route to support Opaque LSA
46-12
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
None
Mode
ZXAN(config-router)#
Example
The following example displays how to disable a route to support Opaque LSA:
ZXAN(config)#router ospf 1
ZXAN(config-router)#no capability opaque
ZXAN(config-router)#
Related Commands
show ip ospf database
Related Information
By default, opaque LSAs are allowed
During the exchange of link state database, opaque LSAs are included in the database
summary list and transmitted to the neighbor routers that also support opaque LSAs.
Before a router floods opaque LSAs to neighbor routers, it first checks whether the neighbor
routers support opaque LSAs. Opaque LSAs are transmitted only to the neighbor routers
that support the function, and they are added to the link state retransmit list of neighbor
routers. When LSU packets are multicasted, the neighbor routers that do not support the
function receive the LSAs passively and simply discard them.
Purpose
To restart the OSPF process
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
process-id
OSPF process ID
Range: 1 - 65535
46-13
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
ZXAN#
Example
The following example displays how to restart the OSPF process:
ZXAN(config)#router ospf 1
ZXAN(config-router)#end
ZXAN#clear ip ospf process 1
ZXAN#
Related Commands
None
Purpose
To clear OSPF route redistribution
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
process-id
OSPF process ID
Range: 1 65535
Mode
ZXAN#
Example
The following example displays how to clear OSPF route redistribution:
ZXAN#clear ip ospf redistribution 1
ZXAN#
Related Commands
None
46-14
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To restore the method used to calculate summary route costs per RFC 1583
Usage Guidelines
None
Mode
ZXAN(config-router)#
Example
The following example displays how to restore the method used to calculate summary
route costs per RFC 1583:
ZXAN(config)#router ospf 1
ZXAN(config-router)#compatible rfc1583
ZXAN(config-router)#
Related Commands
None
Related Information
To minimize the chance of routing loops, all OSPF routers in an OSPF routing domain
should have RFC compatibility set identically.
Use the no compatible rfc1583 command to enable the calculation method used per RFC
2328.
46.15 debug
Syntax
debug
no debug
46-15
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To enable the debug information for an OSPF process
Usage Guidelines
None
Mode
ZXAN(config-router)#
Example
The following example displays how to enable the debug information for an OSPF process:
ZXAN(config)#router ospf 1
ZXAN(config-router)#debug
ZXAN(config-router)#
Related Commands
None
Related Information
Since the OSPF may have many processes, to enable the debug information may cause
mutual interference, and this command can be used to solve the problem.
This configuration is not written into database and not displayed in the show running-config
command.
46.16 default-metric
Syntax
default-metric metric-value
no default-metric
Purpose
To configure the default metric after the redistribution
Usage Guidelines
The following table provides parameter description:
Parameter
metric-value
Description
Value
Range: 1 - 4294967295
external routes
46-16
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
ZXAN(config-router)#
Example
The following example displays how to configure the default metric after the redistribution:
ZXAN(config)#router ospf 1
ZXAN(config-router)#default-metric 10
ZXAN(config-router)#
Related Commands
None
Related Information
This command takes effect only when the user has not configured the cost value of the
external routes.
This command does not affect redistribution. The metric value for OSPF redistribution can
be changed by only the redistribute command.
Purpose
To disable the specified area if it exists
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
area-id
OSPF area ID
Range: 0 - 4294967295
Mode
ZXAN(config-router)#
Example
The following example displays how to disable the specified area if it exists:
ZXAN(config)#router ospf 1
ZXAN(config-router)#disable area 1
46-17
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
enable area
Purpose
To disable the OSPF interfaces in the specified range
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ip-address
Interface IP address
A.B.C.D
wildcard-mask
A.B.C.D
Mode
ZXAN(config-router)#
Example
The following example displays how to disable the interfaces in the specified range:
ZXAN(config)#router ospf 1
ZXAN(config-router)#disable interface 10.1.0.0 0.0.255.255
ZXAN(config-router)#
Related Commands
enable interface
Purpose
To disable the OSPF protocol
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
process-id
OSPF process ID
Range: 1 - 65535
Mode
ZXAN(config-router)#
Example
The following example displays how to disable the OSPF protocol
ZXAN(config)#disable ip ospf 1
ZXAN(config)#
Related Commands
enable ip ospf
Purpose
To configure the OSPF route administrative distances based on route type
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
internal
Range: 1 - 255
ext1
Range: 1 - 255
ext2
Range: 1 - 255
distance
Distance
Range: 1 - 255
Default: 110
46-19
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
ZXAN(config-router)#
Example
The following example displays how to configure the OSPF route administrative distances
based on route type:
ZXAN(config)#router ospf 1
ZXAN(config-router)#distance ospf internal 100
ZXAN(config-router)#
Related Commands
None
Related Information
When the routing priority is 255, this route in not valid.
This command performs the same function as the distance command used with an access
list. However, the distance ospf command allows the user to set a distance for an entire
group of routes, rather than a specific route that passes an access list.
Purpose
To enable the specified area
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
area-id
OSPF area ID
Range: 0 - 4294967295
Mode
ZXAN(config-router)#
Example
The following example displays how to disable the specified area:
ZXAN(config)#router ospf 1
ZXAN(config-router)#enable area 1
46-20
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
enable area
Purpose
To enable the OSPF interfaces in the specified range
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ip-address
Interface IP address
A.B.C.D
wildcard-mask
A.B.C.D
Mode
ZXAN(config-router)#
Example
The following example displays how to enable the interfaces in the specified range:
ZXAN(config)#router ospf 1
ZXAN(config-router)#enable interface 10.1.0.0 0.0.255.255
ZXAN(config-router)#
Related Commands
disable interface
Purpose
To enable the OSPF protocol
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
process-id
OSPF process ID
Range: 1 - 65535
Mode
ZXAN(config-router)#
Example
The following example displays how to enable the OSPF protocol:
ZXAN(config)#enable ip ospf 1
ZXAN(config)#
Related Commands
disable ip ospf
46.24 filter
Syntax
filter [exact] ip-address net-mask preference
no filter ip-address net-mask preference
Purpose
To control whether to introduce the routing table for the routes generated by external LSAs
and the introducing priority
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
exact
ip-address net-mask
A.B.C.D
preference
Range: 0 - 255
matched routes
46-22
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
ZXAN(config-router)#
Example
The following example displays how to control whether to introduce the routing table for
the routes generated by external LSAs and the introducing priority:
ZXAN(config)#router ospf 1
ZXAN(config-router)#filter exact 10.10.10.0 55.255.255.0 20
ZXAN(config-router)#
Related Commands
None
46.25 grace-period
Syntax
grace-period num
no grace-period
Purpose
To configure the NSF grace period
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
num
Mode
ZXAN(config-router)#
Example
The following example displays how to configure the NSF grace period:
ZXAN(config)#router ospf 1
ZXAN(config-router)#grace-period 300
ZXAN(config-router)#
46-23
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
capacity opaque
nsf
Purpose
To configure the authentication mode for the interface
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
null
message-digest
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the authentication mode for the interface:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip ospf authentication message-digest
ZXAN(config-if)#
Related Commands
None
Purpose
To configure the simple password authentication for the interface
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
password
Authentication password
Range: 1 - 8 characters
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the simple password authentication for
the interface:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip ospf authentication-key ZXAN
ZXAN(config-if)#
Related Commands
None
Related Information
0123456789abcdefghijklmnopqrstuvwxyz_ABCDEFGHIJKLMNOPQRSTUVWXYZ
`*- =~!@#$%^&()_+[]{}|;':,./<> \ are the characters allowed in a password.
Purpose
To configure the explicit interface cost
Usage Guidelines
The following table provides parameter description:
46-25
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
cost
Interface cost
Range: 1 - 65535
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the explicit interface cost:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip ospf cost 10
ZXAN(config-if)#
Related Commands
auto-cost
Related Information
If ip ospf cost command is configured on an interface, the auto-cost reference-bandwidth
command is not effective. To enable the auto-cost reference-bandwidth command to take
effect, first delete the cost value configured by the ip ospf cost command.
Purpose
To configure the dead time of the specified interface neighbor
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
seconds
the interface
Mode
ZXAN(config-if)#
46-26
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to configure the dead time of the specified interface
neighbor:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip ospf dead-interval 80
ZXAN(config-if)#
Related Commands
ip ospf hello-interval
Related Information
The dead-interval is generally configured to four times the hello-interval.
Purpose
To configure the time interval for the interface to send the Hello messages
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
seconds
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the time interval for the interface to send
the hello messages:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip ospf hello-interval 20
ZXAN(config-if)#
46-27
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
ip ospf dead-interval
Related Information
The Hello-interval is generally configured to be 1/4th of the dead-interval.
Purpose
To configure the password serial number pair for the interface with message digest
authentication
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
keyid
Range: 1 - 255
md5 password
Authentication password
Range: 1 - 24 characters
delay time
effect
encypt
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the password serial number pair for the
interface with message digest authentication:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip ospf message-digest-key 2 md5 ZXAN
ZXAN(config-if)#
Related Commands
None
46-28
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Information
If the delay time parameter is used, the protocol data packets are not sent temporarily for
the specified time, but the interface can receive messages.
0123456789abcdefghijklmnopqrstuvwxyz_ABCDEFGHIJKLMNOPQRSTUVWXYZ`*=~!@#$%^&_+[]{}|;:,./<>\ characters can be used for password.
Purpose
To disable OSPF MTU mismatch detection on receiving DBD packets
Usage Guidelines
None
Mode
ZXAN(config-if)#
Example
The following example displays how to disable OSPF MTU mismatch detection on
receiving DBD packets:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip ospf mtu-ignore
ZXAN(config-if)#
Related Commands
None
Related Information
OSPF checks whether neighbors are using the same MTU on a common interface. This
check is performed when neighbors exchange Database Descriptor (DBD) packets. If the
receiving MTU in the DBD packet is higher than the IP MTU configured on the incoming
interface, OSPF adjacency is not established.
46-29
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure the interface type
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
broadcast
network
non-broadcast
point-to-point
point-to-multipoint
OSPF point-to-multipoint
network
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the interface type:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip ospf network point-to-point
ZXAN(config-if)#
Related Commands
None
Related Information
The default interface type depends on network types. Point-to-multipoint type needs
configuration.
46-30
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure the interface priority
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
priority
Interface priority
Range: 0 - 255
Default: 1
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the interface priority:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip ospf priority 10
ZXAN(config-if)#
Related Commands
None
Related Information
Interface priority is configured to 0 when the router cannot be used as DR and BDR.
46-31
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure the interface LSA retransmission time interval
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
seconds
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the interface LSA retransmission time
interval:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip ospf retransmit-interval 10
ZXAN(config-if)#
Related Commands
None
Purpose
To configure the delay for the interface to transmit a link status update packet
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
seconds
Default: 1 sec
46-32
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the delay for the interface to transmit a
link status update packet:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip ospf transmit-delay 2
ZXAN(config-if)#
Related Commands
None
46.37 maximum-paths
Syntax
maximum-paths number
no maximum-paths [number]
Purpose
To configure the maximum routes supported in load balance
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
number
Range: 1 - 8
Default: 1
Mode
ZXAN(config-router)#
Example
The following example displays how to configure the maximum routes supported in load
balance:
ZXAN(config)#router ospf 1
ZXAN(config-router)#maximum-paths 4
ZXAN(config-router)#
46-33
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Related Information
When the router has a complete link state database, it is ready to create its routing table
for stream forwarding. The default overhead metric is the bandwidth based on network
medium. To calculate the minimum overhead to the destination, the routing table stores at
most eight entries with the same overhead for load balancing. This can be configured by
the maximum-paths command.
The router generally selects the path with the minimum metric value. If there are multiple
paths with the minimum and identical metric value, load balancing is enabled on these
paths. The maximum-paths command can be used to support up to eight paths with the
same metric value.
This command is valid immediately but it takes some time for system to process this
command.
46.38 neighbor
Syntax
neighbor ip-address [cost cost] [priority priority] [poll-interval seconds]
no neighbor ip-address [cost cost] [priority priority] [poll-interval seconds]
Purpose
To configure the neighbor router on the non-broadcast network
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ip-address
A.B.C.D
cost cost
Range: 1 - 65535
priority priority
Neighbor priority
Range: 0 - 255
poll-interval seconds
Mode
ZXAN(config-router)#
Example
The following example displays how to configure the neighbor router on the non-broadcast
network:
46-34
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Related Information
The no neighbor ip-address cost command restores default neighbor cost.
The no neighbor ip-address priority command restores default neighbor priority.
The no neighbor ip-address poll-interval command restores default neighbor polling
interval.
The no neighbor ip-address command is used to delete a specified neighbor. Similar to the
configuring a neighbor, this command also enables interface traversal to find the interface
neighbor and delete the neighbor.
46.39 network
Syntax
network ip-address wildcard-mask [area area-id]
no network ip-address wildcard-mask [area area-id]
Purpose
To configure the interfaces where the OSPF protocol runs, and define the area ID for these
interfaces
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ip-address
IP address
A.B.C.D
wildcard-mask
A.B.C.D
area-id
OSPF area ID
Range: 0 - 4294967295
Mode
ZXAN(config-router)#
46-35
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to configure the interfaces where the OSPF protocol
runs, and define the area ID for these interfaces:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip address 10.10.1.1 255.255.255.0
ZXAN(config-if)#exit
ZXAN(config)#router ospf 1
ZXAN(config-router)#network 10.10.1.0 0.0.0.255 area 0
ZXAN(config-router)#
Related Commands
None
46.40 no area
Syntax
no area area-id
Purpose
To delete the specified area
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
area-id
OSPF area ID
Range: 0 - 4294967295
Mode
ZXAN(config-router)#
Example
The following example displays how to delete the specified area:
ZXAN(config)#router ospf 1
ZXAN(config-router)#no area 1
ZXAN(config-router)#
Related Commands
disable area
46-36
SJ-20120615152640-010|2012-06-30 (R1.0)
enable area
Related Information
If there is any network command related to this area in the configuration database, the
configuration is simultaneously deleted. If the specified area does not exist, this command
becomes ineffective.
If the area is configured with virtual link, the command returns failure.
Purpose
To notify the default route
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
always
metric metric-value
Range: 0 - 16777214
Default: 1
metric-type type
Metric type
route-map map-tag
Range: 1 - 16 characters
Mode
ZXAN(config-router)#
Example
The following example displays how to notify the default route:
ZXAN(config)#router ospf 1
ZXAN(config-router)#notify default route always metric 20 metric-type
ext-1 route-map map
ZXAN(config-router)#
46-37
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
46.42 nsf
Syntax
nsf
no nsf
Purpose
To configure the forward uninterrupted (NSF) capacity
Usage Guidelines
None
Mode
ZXAN(config-router)#
Example
The following example displays how to configure the forward uninterrupted (NSF) capacity:
ZXAN(config)#router ospf 1
ZXAN(config-router)#nsf
ZXAN(config-router)#
Related Commands
capacity opaque
grace-period
46.43 passive-interface
Syntax
passive-interface {default | interface}
Purpose
To configure an interface as a passive interface so that the interface cannot send any Hello
packet, receive any packet and establish neighbor-ship and adjacency with other routers
46-38
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
default
interface
interface
Interface name
Mode
ZXAN(config-router)#
Example
The following example displays how to configure an interface as a passive interface so that
the interface cannot send any Hello packet, receive any packet and establish neighbor-ship
and adjacency with other routers:
ZXAN(config)#router ospf 1
ZXAN(config-router)#passive-interface vlan 2
ZXAN(config-router)#
Related Commands
None
46.44 redistribute
Syntax
redistribute protocol [as as-number] [peer peer-address] [tag tag-value] [metric metric-value]
[metric-type type] [route-map map-tag]
no redistribute protocol [as as-number] [peer peer-address] [tag] [metric] [metric-type] [routemap]
Purpose
To redistribute the other protocol routes into the OSPF autonomous system
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
protocol
46-39
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
as as-number
Range: 1 - 65535
peer peer-address
A.B.C.D
tag tag-value
Tag value
Range: 0 - 4294967295
metric metric-value
Metric value
Range: 0 - 16777214
metric-type type
Metric type
route-map map-tag
Range: 1 - 16 characters
Mode
ZXAN(config-router)#
Example
The following example displays how to redistribute the other protocol routes into the OSPF
autonomous system:
ZXAN(config)#router ospf 1
ZXAN(config-router)#redistribute bgp-int tag 1 route-map map
ZXAN(config-router)#no redistribute bgp-int route-map
ZXAN(config-router)#
Related Commands
None
Related Information
no redistribute protocol command is used to remove the redistribution of routes.
no redistribute protocol tag command is used to restore the protocol routing redistribution
Type 5 LSA value to default.
no redistribute protocol metric command is used to restore the Type 5 LSA's metric value
to default.
no redistribute protocol metric type command is used to restore routing redistribution Type
5 LSA's metric type to default.
If no redistribute protocol route-map command is used, no filtering occurs and all routes
are redistributed..
46.45 router-id
Syntax
router-id ip-address
46-40
SJ-20120615152640-010|2012-06-30 (R1.0)
no router-id
Purpose
To specify the router ID for an OSPF process
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ip-address
OSPF router ID
A.B.C.D
Mode
ZXAN(config-router)#
Example
The following example displays how to specify the router ID for an OSPF process:
ZXAN(config)#router ospf 1
ZXAN(config-router)#router-id 5.5.5.5
ZXAN(config-router)#
Related Commands
None
Related Information
This configuration takes effect after the router restarts or the OSPF process is restarted
manually. The OSPF is manually restarted with the clear ip ospf process command.
By default, OSPF process automatically selects the OSPF router ID.
Purpose
To display the OSPF protocol and OSPF areas summary information
Usage Guidelines
The following table provides parameter description:
46-41
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
process process-id
Process ID
Range: 1 - 65535
Mode
Any mode except user mode
Example
The following example displays the OSPF protocol and OSPF areas summary information:
l
ZXAN#
46-42
SJ-20120615152640-010|2012-06-30 (R1.0)
255.255.0.0
advertise
ZXAN#
Description
OSPF Router ID
enable/disable
Number of areas
Normal
Stub
46-43
SJ-20120615152640-010|2012-06-30 (R1.0)
Information
Description
Transit
Number of interfaces
Number of neighbors
Checksum Sum
Area
Enable/disable
It is a stub area
Number of interfaces
Up
Checksum Sum
100.1.1.0 255.255.255.0
46-44
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Purpose
To display the ABR and ASBR internal OSPF routing information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
process process-id
OSPF process ID
Range: 1 - 65535
display
Mode
Any mode except user mode
Example
The following example displays the ABR and ASBR internal OSPF routing information:
ZXAN#show ip ospf border-routers process 1
OSPF Router with ID (10.10.2.2) (Process ID 1)
OSPF internal Routing Table
Destination
Type
RteType
Area
160.89.97.53
144.144.1.53
Next Hop
Cost
10
ABR
INTRA
0.0.0.3
160.89.103.51
160.89.96.51
10
ABR
INTRA
0.0.0.3
160.89.103.52
160.89.96.51
20
ASBR
INTER
0.0.0.3
160.89.103.52
144.144.1.53
30
ASBR
INTER
0.0.0.3
ZXAN#
Description
Destination
Next Hop
SJ-20120615152640-010|2012-06-30 (R1.0)
Information
Description
Cost
Path cost
Type
RteType
Area
Path area ID
Related Commands
None
Purpose
To display the specified router OSPF database information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
database-summary
Database summary
46-46
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
adv-router router-id
A.B.C.D
router
network
summary
asbr-summary
nssa
external
opaque-link
Opaque-link status
opaque-area
link-state-id
Link status ID
A.B.C.D
self-originate
area area-id
OSPF area
process process-id
OSPF process ID
Range: 1 - 65535
Mode
Any mode except user mode
Example
The following example displays the specified router OSPF database information:
l
Seq#
Seq#
Seq#
0.0.0.0 5.5.5.5
0x80000009 0xdefc
636
Checksum
Tag
3489660928
46-47
SJ-20120615152640-010|2012-06-30 (R1.0)
Seq#
Checksum
Link count
0
ZXAN#
Description
Link ID
ADV Router
Advertisement router ID
Age
Seq#
Checksum
Link count
LS age: 98
Options: (No TOS-capability, No DC, Upward)
LS Type: Summary Links(Network)
Link State ID: 0.0.0.0 (Summary Network Number)
Advertising Router: 192.168.2.1
LS Seq Number: 0x80000002
Checksum: 0x717f
Length: 28
Network Mask: /0
TOS: 0
Metric: 1
ZXAN#
Description
Router ID
Process ID
SJ-20120615152640-010|2012-06-30 (R1.0)
Information
Description
LS age
Options
Seq#
LS Type
Link State ID
Advertising Router
Advertisement router ID
LS Seq Number
Checksum
Length
Network Mask
Network mask
TOS
Service type
Metric
ZXAN#
Description
Router ID
46-49
SJ-20120615152640-010|2012-06-30 (R1.0)
Information
Description
Process ID
LS age
Options
Seq#
LS Type
Link State ID
Advertising Router
Advertisement router ID
LS Seq Number
Checksum
Length
Network Mask
Network mask
Metric Type
External type
TOS
Service type
Metric
Forward Address
46-50
SJ-20120615152640-010|2012-06-30 (R1.0)
Description
Router ID
Process ID
LS age
Options
Seq#
LS Type
Link State ID
Advertising Router
Advertisement router ID
LS Seq Number
Checksum
Length
Network Mask
Network mask
Attached Router
46-51
SJ-20120615152640-010|2012-06-30 (R1.0)
ZXAN#
Description
Router ID
Process ID
LS age
Options
46-52
SJ-20120615152640-010|2012-06-30 (R1.0)
Information
Description
Seq#
LS Type
Link State ID
Advertising Router
Advertisement router ID
LS Seq Number
Checksum
Length
AS Boundary Router
Number of Links
Link quantity
link ID
Link ID
Link Data
Metric Type
External 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
46-53
SJ-20120615152640-010|2012-06-30 (R1.0)
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
ZXAN#
Description
Router ID
Process ID
LSA Type
Count
Quantity
Router
Network
Summary Net
Summary ASBR
46-54
SJ-20120615152640-010|2012-06-30 (R1.0)
Information
Description
Type-7 Ext
Opaque Link
Always 0
Opaque Area
Always 0
Subtotal
Type-5 Ext
Opaque AS
Always 0
Related Commands
None
Purpose
To display the OSPF interface information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
interface-name
Interface name
process process-id
OSPF process ID
Range: 1 - 65535
Mode
Any mode except user mode
Example
The following example displays the OSPF interface information:
ZXAN#show ip ospf interface vlan 2 process 1
vlan2 is down
Internet Address 10.10.1.1 255.255.255.0 disable
Up for 00:00:00
In the area 0.0.0.0
46-55
SJ-20120615152640-010|2012-06-30 (R1.0)
ZXAN#
Description
vlan2
up/down
Internet Address
enable/disable
Up for
In the area
Cost
Interface cost
Priority
Interface priority
Network Type
Authentication Type
Hello
Dead
Retransmit
Router ID of the DR
Interface address
Interface address
Number of Neighbors
46-56
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Purpose
To display the OSPF neighbor information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
interface interface-name
Interface number
Loopback Range: 1 - 64
Super VLAN Range: 1 - 32
VLAN Range: 1 - 4094
neighbor-id neighbor
Neighbor router ID
A.B.C.D
process process-id
Process ID
Range: 1 - 65535
Mode
Any mode except user mode
Example
The following example displays the OSPF neighbor information:
ZXAN#show ip ospf neighbor
OSPF Router with ID (10.10.10.10) (Process ID 200)
Neighbor 134.1.1.201
In the area 0.0.0.0
via interface gei_1/3 134.1.1.201
Neighbor is DROTHER
State FULL, priority 0, Cost 1
Queue count : Retransmit 0, DD 0, LS Req 0
Dead time : 00:00:38 Options : 0x42
In Full State for 00:03:52
ZXAN#
46-57
SJ-20120615152640-010|2012-06-30 (R1.0)
Information
Description
Neighbor
Neighbor ID
In the area
DR
Router ID of the DR
BDR
State
Neighbor status
Priority
Neighbor priority
Cost
Neighbor cost
Queue count
Retransmit
DD
LS Req
Dead Time
Options
Neighbor options
In Full State
Related Commands
None
Purpose
To display the OSPF NSF information
Usage Guidelines
None
Mode
Any mode except user mode
Example
The following example displays the OSPF NSF information:
l
SJ-20120615152640-010|2012-06-30 (R1.0)
ZXAN#
ZXAN#
Description
Restart reason
Grace period
Start time
Time to leave
Helper
Help router ID
In the area
State
Help state
46-59
SJ-20120615152640-010|2012-06-30 (R1.0)
ZXAN#
Description
Restarting router ID
Restarting router ID
In the area
Neighbor is BDR
Neighbor is BDR
State
Help state
Start time
Time to leave
Related Commands
None
Purpose
To display all the link status advertisement lists requested by the router
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
neighbor
Neighbor
46-60
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
interface-name
Interface name
interface-neighbor
Interface neighbor
process process-id
Process ID
Range: 1 - 65535
Mode
Any mode except user mode
Example
The following example displays all the link status advertisement lists requested by the
router:
ZXAN#show ip ospf request-list
OSPF Router with ID (200.1.1.11) (Process ID 1)
Neighbor 200.1.1.12, interface vlan2 address 144.1.1.12
Type
LS ID
200.1.1.12
ADV RTR
Seq NO
200.1.1.12
Age Checksum
0x8000020D
0x6572
ZXAN#
Related Commands
None
Purpose
To display the link status advertisement list resent by the router
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
neighbor
Neighbor
interface-name
Interface name
interface-neighbor
Interface neighbor
46-61
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
process process-id
Process ID
Range: 1 - 65535
Mode
Any mode except user mode
Example
The following example displays the link status advertisement list resent by the router:
ZXAN#show ip ospf retransmission-list
OSPF Router with ID (192.168.2.1) (Process ID 1)
ZXAN#
Related Commands
None
Purpose
To display the information about OSPF virtual links
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
process process-id
Process ID
Range: 1 - 65535
Mode
Any mode except user mode
Example
The following example displays the information about OSPF virtual links
l
46-62
SJ-20120615152640-010|2012-06-30 (R1.0)
ZXAN#
Description
Transit area
State
Cost
Hello
Dead
Retransmit
Related Commands
None
46.55 summary-address
Syntax
summary-address ip-address net-mask
no summary-address ip-address net-mask
Purpose
To create aggregate addresses for OSPF
Usage Guidelines
The following table provides parameter description:
46-63
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
ip-address
Summary IP address
A.B.C.D
A.B.C.D
summary route
Mode
ZXAN(config-router)#
Example
The following example displays how to create aggregate addresses for OSPF:
ZXAN(config)#router ospf 1
ZXAN(config-router)#summary-address 10.1.0.0 255.255.0.0
ZXAN(config-router)#
Related Commands
None
Related Information
By default, this command is disabled.
Multiple groups of addresses can be summarized for a given level. Routes learned from
other routing protocols can also be summarized. The metric used to advertise the summary
is the smallest metric of all the more specific routes. This command helps reduce the size
of the routing table.
Using this command for OSPF causes an OSPF ASBR to advertise one external route as
an aggregate for all redistributed routes that are covered by the address. For OSPF, this
command summarizes only routes from other routing protocols that are being redistributed
into OSPF.
OSPF does not support the summary-address 0.0.0.0 0.0.0.0 command.
46-64
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To change the interval at which OSPF LSAs are collected into a group and refreshed,
checksummed, or aged
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
seconds
Range: 1 - 2 sec
Default: 1 sec
checksummed, or aged
Mode
ZXAN(config-router)#
Example
The following example displays how to change the interval at which OSPF LSAs are
collected into a group and refreshed, checksummed, or aged:
ZXAN(config)#router ospf 1
ZXAN(config-router)#timers lsa-group-pacing 2
ZXAN(config-router)#
Related Commands
None
Related Information
By default, OSPF LSA group pacing is enabled.
Purpose
To configure the minimum time interval between two continuous SPF computations
Usage Guidelines
The following table provides parameter description:
46-65
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
spf-holdtime
SPF computations
Default: 1 sec
Mode
ZXAN(config-router)#
Example
The following example displays how to configure the minimum time interval between two
continuous SPF computations:
ZXAN(config)#router ospf 1
ZXAN(config-router)#timers spf 2
ZXAN(config-router)#
Related Commands
None
46-66
SJ-20120615152640-010|2012-06-30 (R1.0)
Chapter 47
neighbor next-hop-self............................................................................................47-36
neighbor passive ....................................................................................................47-37
neighbor password .................................................................................................47-38
neighbor prefix-list ..................................................................................................47-39
neighbor remote-as ................................................................................................47-40
neighbor remove-private-as....................................................................................47-41
neighbor route-map ................................................................................................47-42
neighbor route-reflector-client.................................................................................47-43
neighbor send-community ......................................................................................47-45
neighbor send-med ................................................................................................47-46
neighbor shut-down................................................................................................47-46
neighbor soft-reconfiguration ..................................................................................47-47
neighbor timers ......................................................................................................47-48
neighbor update-source..........................................................................................47-49
network ..................................................................................................................47-51
redistribute .............................................................................................................47-51
reset ip bgp ............................................................................................................47-52
synchronization ......................................................................................................47-53
show bgp all neighbor ............................................................................................47-54
show bgp all protocol..............................................................................................47-56
show bgp all summary............................................................................................47-56
show bgp ipv4 multicast .........................................................................................47-58
show bgp ipv4 multicast neighbor...........................................................................47-60
show bgp ipv4 unicast ............................................................................................47-62
show bgp ipv4 unicast dampening dampened-paths...............................................47-65
show bgp ipv4 unicast dampening flap-statistics.....................................................47-65
show bgp ipv4 unicast neighbor .............................................................................47-66
show bgp ipv4 unicast summary.............................................................................47-69
show ip as-path-access-list ....................................................................................47-70
show ip bgp dampened-paths.................................................................................47-71
show ip bgp flap-statistics.......................................................................................47-72
show ip bgp neighbor .............................................................................................47-72
show ip bgp protocol ..............................................................................................47-76
show ip bgp route ...................................................................................................47-76
show ip bgp summary ............................................................................................47-78
show ip community-list ...........................................................................................47-79
show ip prefix-list....................................................................................................47-80
timers bgp ..............................................................................................................47-81
47-2
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To restore the BGP session
Usage Guidelines
None
Mode
ZXAN(config)#
Example
The following example displays how to restore the BGP session:
ZXAN(config)#enable ip bgp
ZXAN(config)#
Related Commands
disable ip bgp
Related Information
This command takes effect only for the active BGP sessions.
Purpose
To configure the BGP router module
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
as-number
AS number
Range: 1 - 65535
Mode
ZXAN(config)#
47-3
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to configure the BGP router module:
ZXAN(config)#router bgp 1
ZXAN(config-router)#
Related Commands
None
Purpose
To enter the BGP IPv4 multicast address-family mode
Usage Guidelines
None
Mode
ZXAN(config-router)#
Example
The following example displays how to enter the BGP IPv4 multicast address-family mode:
ZXAN(config)#router bgp 1
ZXAN(config-router)#address-family ipv4 multicast
ZXAN(config-router-af)#
Related Commands
None
Related Information
Routing information for address family IPv4 is advertised by default when the user
configures a BGP routing session.
47-4
SJ-20120615152640-010|2012-06-30 (R1.0)
47.4 aggregate-adress
Syntax
aggregate-address ip-address net-mask [count count] [as-set] [summary-only] [strict]
no aggregate-address ip-address net-mask
aggregate-address ip-address net-mask subnet subnet-address subnet-mask
no aggregate-address ip-address net-mask subnet subnet-address subnet-mask
Purpose
To create an aggregate policy in the BGP routing table
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ip-address
Aggregate network to be
A.B.C.D
created
net-mask
A.B.C.D
network
count count
Range: 0 - 255
Default: 1
as-set
AS path information
summary-only
update
strict
A.B.C.D
subnet-mask
A.B.C.D
Mode
ZXAN(config-router)#
Example
The following example displays how to create an aggregate policy in the BGP routing table:
l
47-5
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Purpose
To allow the comparison of the MEDs for paths from neighbors in different ASs
Usage Guidelines
None
47-6
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
ZXAN(config-router)#
Example
The following example displays how to allow the comparison of the MEDs for paths from
neighbors in different autonomous systems:
ZXAN(config)#router bgp 1
ZXAN(config-router)#bgp always-compare-med
ZXAN(config-router)#
Related Commands
reset ip bgp
Related Information
The MED is one of the parameters that is considered when selecting the best path among
many alternative paths. The path with a lower MED is preferred over a path with a higher
MED.
By default, during the best-path selection process, MED comparison is done only among
paths from the same autonomous system. This command changes the default behavior
by allowing comparison of MEDs among paths regardless of the autonomous system from
which the paths are received.
47.6 bgp as
Syntax
bgp as as-number as-weight
no bgp as as-number
Purpose
To configure the AS route path weight policy
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
as-number
AS number
Range: 1 - 65535
as-weight
Range: 0 - 255
Default: 128
47-7
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
ZXAN(config-router)#
Example
The following example displays how to configure the AS route path weight policy:
ZXAN(config)#router bgp 1
ZXAN(config-router)#bgp as 2 200
ZXAN(config-router)#
Related Commands
None
Purpose
To restore the route reflection from a BGP route reflector to clients
Usage Guidelines
None
Mode
ZXAN(config-router)#
Example
The following example displays how to disable the client to client reflection:
ZXAN(config)#router bgp 1
ZXAN(config-router)#no bgp client-to-client reflection
ZXAN(config-router)3
Related Commands
neighbor route-reflector-client
47-8
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Information
By default, BGP reflects routes received from any route reflector client to all other route
reflector clients.
Purpose
To configure the reflector cluster routing ID
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
value
Cluster ID
Range: 1 - 4294967295
ip-address
IP address
A.B.C.D
Mode
ZXAN(config-router)#
Example
The following example displays how to configure the reflector cluster routing ID:
ZXAN(config)#router bgp 1
ZXAN(config-router)#bgp cluster-id 10.1.1.1
ZXAN(config-router)#
Related Commands
neighbor route-reflector-client
Related Information
By default, group ID is the router ID.
When an autonomous system has multiple routing reflectors, in order to prevent routing
loop, the messages are send with group ID.
47-9
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure the confederation ID
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
value
Confederation ID
Range: 1 - 65535
Mode
ZXAN(config-router)#
Example
The following example displays how to configure the confederation ID:
ZXAN(config)#router bgp 1
ZXAN(config-router)#bgp confederation identifier 3
ZXAN(config-router)#
Related Commands
bgp confederation peers
Purpose
To configure the autonomous systems that belong to the confederation
Usage Guidelines
The following table provides parameter description:
47-10
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
value
Range: 1 - 65535
Mode
ZXAN(config-router)#
Example
The following example displays how to configure the autonomous systems that belong to
the confederation:
ZXAN(config)#router bgp 1
ZXAN(config-router)#bgp confederation peers 65500
ZXAN(config-router)#
Related Commands
bgp confederation identifier
Related Information
The autonomous systems specified in this command are visible internally to a
confederation. Each autonomous system is fully meshed within itself. The bgp
confederation identifier command specifies the confederation to which the autonomous
systems belong.
Purpose
To enable the BGP route dampening or modify the BGP route dampening factors
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
half-life reuse
Range: 1 - 45 min
decreased
Default: 15 min
47-11
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
reuse
Range: 1 - 20000
accumulated penalties
Default: 750
Range: 1 - 20000
Default: 2000
suppressed
Default: 60 min
Range: 1 - 16 characters
suppress
max-suppress-time
route-map map-tag
Mode
ZXAN(config-router)#
Example
The following example displays how to enable the BGP route dampening:
ZXAN(config)#router bgp 1
ZXAN(config-router)#bgp dampening
ZXAN(config-router)#
Related Commands
None
Related Information
By default, BGP dampening is disabled.
The parameters half-life reuse, suppress and max-suppress-time are dependent on each other.
Therefore, if one is used, the other three must be specified and suppress must be greater
than reuse.
Once the route has been assigned a penalty, the penalty is decreased by half after the
half-life period.
47-12
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To enable all the neighbors subsequently created to be automatically activated in the IPv4
unicast address family
Usage Guidelines
None
Mode
ZXAN(config-router)#
Example
The following example displays how to disable the IPv4 unicast address family on all
neighbors:
ZXAN(config)#router bgp 1
ZXAN(config-router)#no bgp default ipv4-unicast
ZXAN(config-router)#
Related Commands
None
Related Information
The IPv4 capability is inherited from the original BGP configuration when the neighbor is
created. After the creation, the modification of the BGP configuration does not affect this
neighbor. The IPv4 capability is controlled with the neighbor activate command.
Purpose
To configure the local priority of the routes advertised by the BGP
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
value
Range: 0 - 4294967295
47-13
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
ZXAN(config-router)#
Example
The following example displays how to configure the local priority of the routes advertised
by the BGP:
ZXAN(config)#router bgp 1
ZXAN(config-router)#bgp default local-preference 500
ZXAN(config-router)#
Related Commands
None
Related Information
When the routes are advertised to the peers, this command is used to configure the
local-preference value of the route, to affect the route decision of the peers. If the other
peers obtain the advertised routes and the local-preference value exists, this value does
not overwrite the existing value.
Purpose
To enable the automatic BGP route-target community filtering
Usage Guidelines
None
Mode
ZXAN(config-router)#
Example
The following example displays how to disable the BGP route-target community filtering:
ZXAN(config)#router bgp 1
ZXAN(config-router)#no bgp default route-target filter
ZXAN(config-router)#
47-14
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Related Information
By default, the route-target filter is enabled.
Use the bgp default route-target filter command to control the distribution of VPN routing
information through the list of VPN route-target communities.
If the router for BGP route-target community filtering is configured, all received EBGP
VPN-IPv4 routes are discarded when those routes do not contain a route-target community
value that matches the import list of any configured VRFs.
Purpose
To enable or disable the re-establishment of the BGP session upon connection fault
Usage Guidelines
None
Mode
ZXAN(config-router)#
Example
The following example displays how to disable the re-establishment of the BGP session
upon connection fault:
ZXAN(config)#router bgp 1
ZXAN(config-router)#no bgp fast-external-fallover
ZXAN(config-router)#
Related Commands
None
47-15
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Information
By default, the BGP session is recreated automatically when the link fails. According to
RFC1771, when the BGP connection becomes idle due to error conversion, it needs the
Start event to access the Connect state. If this condition happens automatically, it may
cause interruption. To avoid this condition, double the reconnection attempt time.
When the router is in the Idle state, it tries to reconnect. If reconnection fails, the time for
next reconnection attempt is doubled. After using this command, the user does not have to
wait for the doubled reconnection time, but the doubled time is recorded. If the command
fails, the router tries to use the recorded doubled time for reconnection.
Purpose
To configure the BGP graceful restart time
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
stalepath-time seconds
Mode
ZXAN(config-router)#
Example
The following example displays how to configure the BGP graceful restart time:
ZXAN(config)#router bgp 1
ZXAN(config-router)#bgp graceful-restart
ZXAN(config-router)#
47-16
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Related Information
All stale paths are deleted after the expiration of stalepath-time seconds timer.
Purpose
To configure the BGP router ID
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ip-addr
Router ID
In decimal form
Mode
ZXAN(config-router)#
Example
The following example displays how to configure the BGP router ID:
ZXAN(config)#router bgp 1
ZXAN(config-router)#bgp router-id 1.2.1.3
ZXAN(config-router)
Related Commands
None
Purpose
To configure the BGP update delay time
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
seconds
Mode
ZXAN(config-router)#
Example
The following example displays how to configure the BGP update delay time:
ZXAN(config)#router bgp 1
ZXAN(config-router)#bgp update-delay 300
ZXAN(config-router)#
Related Commands
None
Purpose
To clear BGP route dampening information and unsuppress the suppressed routes
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ip-address
A.B.C.D
Network mask
A.B.C.D
Mode
ZXAN#
47-18
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to clear the BGP route dampening information and
and unsuppress the suppressed routes:
ZXAN#clear ip bgp dampening
ZXAN#
Related Commands
None
Purpose
To clear BGP flap statistics
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ip-address
IP address
A.B.C.D
net-mask
Network mask
A.B.C.D
Mode
ZXAN#
Example
The following example displays how to clear BGP flap statistics:
ZXAN#clear ip bgp 1.1.1.1 flap-statistics
ZXAN#clear ip bgp flap-statistics
ZXAN#
Related Commands
None
47-19
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Information
If no parameters are specified, the router clears BGP flap statistics for all routes. The
flap statistics for a route are also cleared when a BGP peer is reset. Although the
reset withdraws the route, no penalty is applied in this instance even though route flap
dampening is enabled.
Purpose
To control the redistribution of a protocol or network into the BGP
Usage Guidelines
None
Mode
ZXAN(config-router)#
Example
The following example displays how to control the redistribution of a protocol or network
into the BGP:
ZXAN(config)#router bgp 1
ZXAN(config-router)#default-information originate
ZXAN(config-router)#
Related Commands
redistribute
Related Information
By default, this command is disabled.
The default-information originate command should be used if the network operator needs
to control the redistribution of default routes. Using the default-information originate
command in BGP is similar to using the network command. However, to achieve the same
result as configuring the network command with the route 0.0.0.0, the default-information
originate command requires an explicit redistribution of the route 0.0.0.0. The network
command requires only that route 0.0.0.0 is specified in the IGP routing table. For this
47-20
SJ-20120615152640-010|2012-06-30 (R1.0)
reason, the network command is preferred for redistributing default routes and protocols
into BGP.
47.22 default-metric
Syntax
default-metric metric-value
no default-metric
Purpose
To configure a default metric for routes redistributed into BGP
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
metric-value
Range: 0 - 4294967295
Mode
ZXAN(config-router)#
ZXAN(config-router-af)#
Example
The following example displays how to configure a default metric for routes redistributed
into BGP:
ZXAN(config)#router bgp 1
ZXAN(config-router)#default-metric 500
ZXAN(config-router)#
Related Commands
None
Related Information
A default metric can be configured to solve the problem of redistributing routes with
incompatible metrics. Assigning the default metric allows redistribution to occur.
This value is the MED that is evaluated by BGP during the best path selection process. The
MED is a non-transitive value that is processed only within the local autonomous system
and adjacent autonomous systems. The default metric is not set if the received route has
a MED value.
47-21
SJ-20120615152640-010|2012-06-30 (R1.0)
Note:
When enabled, the default-metric command applies a metric value of 0 to redistributed
connected routes. The default-metric command does not override metric values that are
applied with the redistribute command.
Purpose
To disable the BGP session temporarily
Usage Guidelines
None
Mode
ZXAN(config)#
Example
The following example displays how to disable the BGP session temporarily:
ZXAN(config)#disable ip bgp
ZXAN(config)#
Related Commands
enable ip bgp
reset ip bgp
47-22
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To change the priority of the routes advertised by the internal/external neighbors
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
external
the AS
external-distance
Distance value
Range: 1 - 255
Default: 20
internal
the AS
internal-distance
Distance value
Range: 1 - 255
Default: 200
Mode
ZXAN(config-router)#
ZXAN(config-router-af)#
Example
The following example displays how to change the priority of the routes advertised by the
internal/external neighbors:
ZXAN(config)#router bgp 1
ZXAN(config-router)#distance bgp external 100
ZXAN(config-router)#
Related Commands
None
Related Information
Use this command if another protocol is known to be able to provide a better route to a
node than was actually learned via external BGP (eBGP), or if some internal routes should
be preferred by BGP.
Purpose
To enable the BGP session
Usage Guidelines
None
Mode
ZXAN(config)#
Example
The following example displays how to enable the BGP session:
ZXAN(config)#enable ip bgp
ZXAN(config)#
Related Commands
None
47.26 exit-address-family
Syntax
exit-address-family
Purpose
To exit the BGP address family mode
Usage Guidelines
None
Mode
ZXAN(config-router-af)#
Example
The following example displays how to exit the BGP address family mode:
ZXAN(config-router-af)#exit-address-family
ZXAN(config-router)#
47-24
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
address-family
Purpose
To configure an access list based on AS path information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
access-list-numbe
Range: 1 - 199
permit
conditions
deny
conditions
as-regular-expression
Mode
ZXAN(config)#
Example
The following example displays how to configure an access list based on autonomous
system path information:
ZXAN(config)#ip as-path access-list 10 deny test
ZXAN(config)#
Related Commands
show ip as-path-access-list
47-25
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Information
The access list filter can be defined on the incoming end or outgoing end BGP routes. In
addition, the weights can be allocated on the basis of a group of filters. Every filter is an
access list based on the regular expression.
If the regular expression matches the description of the route AS path and the route is
presented in ASCII format, the permit or deny condition can be used. AS path does not
include the local AS number.
47.28 ip community-list
Syntax
ip community-list community-list-number {permit | deny} [community-number] [ no-advertise ]
[ no-export ] [ no-export-subconfed ]
ip community-list community-list-number
Purpose
To create a numbered or named community list for BGP and to control access to it
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
community-list-number
Range: 1 - 99 (standard)
Range: 100 - 499 (expanded)
permit
condition
deny
condition
community-number
next AS
no-export-subconfed
47-26
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
ZXAN(config)#
Example
The following example displays how to create a numbered or named community list for
BGP and to control access to it:
ZXAN(config)#ip community-list 1 deny 5 10
ZXAN(config)#ip community-list 1 deny 10 5
ZXAN(config)#ip community-list 1 permit
ZXAN(config)#
Related Commands
show ip community-list
Related Information
Once a permit value has been configured to match a given set of communities, the
community list defaults to an implicit deny for all other community values.
47.29 ip prefix-list
Syntax
ip prefix-list prefix-list-name [seq seq] {permit | deny | description} {prefix length | descriptiontext} [ge value] [le value]
ip prefix-list prefix-list-name description description
no ip prefix-list prefix-list-name [seq seq] [ {permit | deny } {prefix length | description-text} [ge
value] [le value] ]
no ip prefix-list prefix-list-name description
Purpose
To configure the BGP prefix list and control the access to this list
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
prefix-list-name
Range: 1 - 16
permit
Permit
deny
Deny
47-27
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
seq seq
Range: 0 - 4294967294
Prefix length
Range: 0 - 32
ge
The greater-than-or-equal-to
The greater-than-or-equal-
Range: 0 - 32
to/less-than-or-equal-to value
description description-text
Description
Range: 1 - 80 characters
Mode
ZXAN(config)#
Example
The following example displays how to configure the BGP prefix list and to control the
access to this list:
ZXAN(config)#ip prefix-list test seq 0 permit 100.1.1.1 24 ge 25
ZXAN(config)#ip prefix-list test description test
ZXAN(config)#
Related Commands
neighbor prefix-list
show ip profix-list
47.30 maximum-paths
Syntax
maximum-paths number
no maximum-paths
Purpose
To configure the maximum number of routes supported by BGP in load balancing
Usage Guidelines
The following table provides parameter description:
47-28
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
number
Range: 1 - 8
Mode
ZXAN(config-router)#
Example
The following example displays how to configure the maximum number of routes supported
by BGP in load balancing:
ZXAN(config)#router bgp 1
ZXAN(config-router)#maximum-paths 5
ZXAN(config-router)#
Related Commands
None
Related Information
By default, BGP installs only one best path into the routing table.
Purpose
To enable the address capability of the neighbor
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ipv4-address
IPv4 address
A.B.C.D
ipv6-address
IPv6 address
X:X::X:X
peer-group-name
Range: 1 16 characters
Mode
ZXAN(config-router)#
47-29
SJ-20120615152640-010|2012-06-30 (R1.0)
ZXAN(config-router-af)#
Example
The following example displays how to enable the address capability of the neighbor:
ZXAN(config)#router bgp 1
ZXAN(config-router)#address-family ipv4 multicast
ZXAN(config-router-af)#neighbor 1.1.1.1 activate
ZXAN(config-router-af)#
Related Commands
None
Purpose
To configure the minimum interval between the sending of BGP routing updates
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ipv4-address
IPv4 address
A.B.C.D
ipv6-address
IPv6 address
X:X::X:X
peer-group-name
advertisement-interval
Mode
ZXAN(config-router)#
ZXAN(config-router-af)#
Example
The following example displays how to configure the minimum interval between the
sending of BGP routing updates:
ZXAN(config)#router bgp 1
47-30
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Related Information
If the user specifies a BGP peer group by using the peer-group-name parameter, all the
members of the peer group inherit the characteristic configured with this command.
Purpose
To configure the number of times that the AS path of a received route may contain the
recipient BGP speaker's AS number and still be accepted
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ipv4-address
IPv4 address
A.B.C.D
ipv6-address
IPv6 address
X:X::X:X
peer-group-name
value
Number of occurrences of AS
Range: 1 - 10
number
Mode
ZXAN(config-router)#
ZXAN(config-router-af)#
Example
The following example displays how to configure the number of times that the AS path of a
received route may contain the recipient BGP speaker's AS number and still be accepted:
ZXAN(config)#router bgp 1
47-31
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Related Information
In a hub and spoke configuration, a PE router readvertises all prefixes containing duplicate
autonomous system numbers. Use the neighbor allowas-in command to configure two
VRFs on each PE router to receive and readvertise prefixes:
l
l
One VRF receives prefixes with ASNs from all PE routers and then advertises them
to neighboring PE routers.
The other VRF receives prefixes with ASNs from the CE router and readvertises them
to all PE routers in the hub and spoke configuration.
Purpose
To allow a BGP speaker (the local router) to send the default route 0.0.0.0 to a neighbor
for use as a default route
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ipv4-address
IPv4 address
A.B.C.D
ipv6-address
IPv6 address
X:X::X:X
peer-group-name
Mode
ZXAN(config-router)#
ZXAN(config-router-af)#
47-32
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to allow a BGP speaker (the local router) to send the
default route 0.0.0.0 to a neighbor for use as a default route:
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 1.1.1.1 default-originate
ZXAN(config-router)#
Related Commands
None
Related Information
This command does not require the presence of 0.0.0.0 in the local router.
Purpose
To associate a description with a neighbor
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ipv4-address
IPv4 address
A.B.C.D
ipv6-address
IPv6 address
X:X::X:X
peer-group-name
line
Neighbor description
Range: 1 - 80 characters
Mode
ZXAN(config-router)#
ZXAN(config-router-af)#
Example
The following example displays how to associate a description with a neighbor:
ZXAN(config)#router bgp 1
47-33
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Related Information
By default, there is no description of the neighbor
Purpose
To accept and attempt BGP connections to external peers residing on networks that are
not directly connected
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ipv4-address
IPv4 address
A.B.C.D
ipv6-address
IPv6 address
X:X::X:X
peer-group-name
ttl value
Time to live
Mode
ZXAN(config-router)#
ZXAN(config-router-af)#
Example
The following example displays how to accept and attempt BGP connections to external
peers residing on networks that are not directly connected:
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 1.1.1.1 ebgp-multihop ttl 200
ZXAN(config-router)#
47-34
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Related Information
By default, only directly connected neighbors are allowed.
To prevent the creation of loops through oscillating routes, the multihop is not established
if the only route to the multihop peer is the default route (0.0.0.0).
Purpose
To configure the maximum number of the routes received from neighbors
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ipv4-address
IPv4 address
A.B.C.D
ipv6-address
IPv6 address
X:X::X:X
peer-group-name
value
Range: 1 - 4294967295
Mode
ZXAN(config-router)#
ZXAN(config-router-af)#
Example
The following example displays how to configure the maximum number of the routes
received from neighbors:
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 1.1.1.1 maximum-prefix 20000
ZXAN(config-router)#
47-35
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Related Information
By default, this command is disabled. Limitations on the number of prefixes that can be
configured are determined by the amount of available system resources that are configured
by the network operator. Peering sessions are disabled (by default) when the configured
maximum number of prefixes exceeds then the configured value.
Purpose
To configure the router as the next hop for a BGP-speaking neighbor or peer group
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ipv4-address
IPv4 address
A.B.C.D
ipv6-address
IPv6 address
X:X::X:X
peer-group-name
Mode
ZXAN(config-router)#
ZXAN(config-router-af)#
Example
The following example displays how to configure the router as the next hop for a
BGP-speaking neighbor or peer group:
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 1.1.1.1 next-hop-self
ZXAN(config-router)#
47-36
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Related Information
This command is useful in nonmeshed networks (such as Frame Relay or X.25) where
BGP neighbors may not have direct access to all other neighbors on the same IP subnet.
If the user specifes a BGP peer group by using the peer-group-name parameter, all the
members of the peer group inherit the characteristic configured with this command.
Specifying the command with an IP address overrides the value inherited from the peer
group.
Purpose
To configure the passive neighbor to whom not send open message
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ipv4-address
IPv4 address
A.B.C.D
ipv6-address
IPv6 address
X:X::X:X
peer-group-name
Range: 1 - 16 characters
Mode
ZXAN(config-router)#
Example
The following example displays how to enable Message Digest 5 (MD5) authentication on
a TCP connection between two BGP peers:
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 1.1.1.1 passive
ZXAN(config-router)#
47-37
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Purpose
To enable MD5 authentication on a TCP connection between two BGP peers
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ipv4-address
IPv4 address
A.B.C.D
ipv6-address
IPv6 address
X:X::X:X
peer-group-name
string
Password string
Range: 3 - 80 characters
Mode
ZXAN(config-router)#
ZXAN(config-router-af)#
Example
The following example displays how to enable Message Digest 5 (MD5) authentication on
a TCP connection between two BGP peers:
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 1.1.1.1 password 3FE&@1
ZXAN(config-router)#
Related Commands
None
Related Information
The first character of the password cannot be a number. The string can contain any
alphanumeric characters, including spaces.
47-38
SJ-20120615152640-010|2012-06-30 (R1.0)
The user can invoke authentication between two BGP peers, causing each segment sent
on the TCP connection between them to be verified. This feature must be configured
with the same password on both BGP peers; otherwise, the connection between them is
not made. The authentication feature uses the MD5 algorithm. Specifying this command
causes the generation and checking of the MD5 digest on every segment sent on the TCP
connection.
Configuring a password for a neighbor causes an existing session to be torn down and a
new one established.
Purpose
To prevent distribution of BGP neighbor information as specified in a prefix list
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ipv4-address
IPv4 address
A.B.C.D
ipv6-address
IPv6 address
X:X::X:X
peer-group-name
prefix-list-name
Range: 1 - 16 characters
in
Mode
ZXAN(config-router)#
ZXAN(config-router-af)#
Example
The following example displays how to prevent distribution of BGP neighbor information
as specified in a prefix list:
47-39
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Related Information
By default, all external and advertised address prefixes are distributed to BGP neighbors.
Purpose
To add an entry to the BGP neighbor
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ipv4-address
IPv4 address
A.B.C.D
ipv6-address
IPv6 address
X:X::X:X
peer-group-name
Range: 1 - 65535
number
belongs
Mode
ZXAN(config-router)#
ZXAN(config-router-af)#
Example
The following example displays how to add an entry to the BGP:
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 1.1.1.1 remote-as 8
ZXAN(config-router)#
47-40
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Related Information
By default, there are no BGP neighbor peers.
Specifying a neighbor with an autonomous system number that matches the autonomous
system number specified in the router BGP global configuration command identifies
the neighbor as internal to the local autonomous system. Otherwise, the neighbor is
considered external.
If the user specifies a BGP peer group by using the peer-group-name parameter, all the
members of the peer group inherit the characteristic configured with this command.
By default, neighbors that are defined using the neighbor remote-as command in router
configuration mode exchange only unicast address prefixes. To exchange other address
prefix types, such as multicast and VPN Version 4, neighbors must also be activated using
the neighbor activate command in address family configuration mode.
Purpose
To remove private AS numbers from the autonomous system path, a list of autonomous
system numbers that a route passes through to reach a BGP peer, in outbound routing
updates
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ipv4-address
IPv4 address
A.B.C.D
ipv6-address
IPv6 address
X:X::X:X
peer-group-name
Mode
ZXAN(config-router)#
ZXAN(config-router-af)#
47-41
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to remove private autonomous system numbers from
the autonomous system path, a list of autonomous system numbers that a route passes
through to reach a BGP peer, in outbound routing updates:
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 1.1.1.1 remove-private-as
ZXAN(config-router)#
Related Commands
None
Related Information
This command is available for external BGP (eBGP) neighbors only.
When an update is passed to the external neighbor, if the autonomous system path
includes private autonomous system numbers, the software drops the private autonomous
system numbers.
If the autonomous system path includes both private and public autonomous system
numbers, the software considers this to be a configuration error and does not remove the
private autonomous system numbers.
If the autonomous system path contains the autonomous system number of the eBGP
neighbor, the private autonomous system numbers are not removed.
If this command is used with confederation, it works as long as the private autonomous
system numbers follow the confederation portion of the autonomous path.
Purpose
To apply a route map to incoming or outgoing routes
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ipv4-address
IPv4 address
A.B.C.D
47-42
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
ipv6-address
IPv6 address
X:X::X:X
peer-group-name
map-tag
Range: 1 - 16 characters
in
out
Mode
ZXAN(config-router)#
ZXAN(config-router-af)#
Example
The following example displays how to apply a route map to incoming or outgoing routes:
ZXAN(config)#route-map setorigin
ZXAN(config-route-map)#set origin egp
ZXAN(config-route-map)#exit
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 1.1.1.1 route-map setorigin out
ZXAN(config-router)#
Related Commands
None
Related Information
When specified in address family configuration mode, this command applies a route map
to that particular address family only. When specified in router configuration mode, this
command applies a route map to IPv4 unicast routes only.
If an outbound route map is specified, it is proper behavior to only advertise routes that
match at least one section of the route map.
If the user specifes a BGP peer group by using the peer-group-name parameter, all the
members of the peer group inherit the characteristic configured with this command.
Specifying the command for a neighbor overrides the inbound policy that is inherited from
the peer group.
Purpose
To configure the router as a BGP route reflector and configure the specified neighbor as
its client
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ipv4-address
IPv4 address
A.B.C.D
ipv6-address
IPv6 address
X:X::X:X
peer-group-name
Mode
ZXAN(config-router)#
ZXAN(config-router-af)#
Example
The following example displays how to configure the router as a BGP route reflector and
configure the specified neighbor as its client:
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 1.1.1.1 router-reflector-client
ZXAN(config-router)#
Related Commands
bgp client-to-client reflection
bgp cluster-id
Related Information
By default, all internal BGP (iBGP) speakers in an autonomous system must be fully
meshed, and neighbors do not readvertise iBGP learned routes to neighbors, thus
preventing a routing information loop. When all the clients are disabled, the local router
is no longer a route reflector.
If route reflectors are configured, all iBGP speakers need not be fully meshed. In the route
reflector model, an Interior BGP peer is configured to be a route reflector responsible for
passing iBGP learned routes to iBGP neighbors. This scheme eliminates the need for
each router to talk to every other router.
47-44
SJ-20120615152640-010|2012-06-30 (R1.0)
Use the neighbor route-reflector-client command to configure the local router as the route
reflector and the specified neighbor as one of its clients. All the neighbors configured with
this command are the members of the client group and the remaining iBGP peers are the
members of the nonclient group for the local route reflector.
Purpose
To specify that a communities attribute should be sent to a BGP neighbor
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ipv4-address
A.B.C.D
ipv6-address
X:X::X:X
peer-group-name
Mode
ZXAN(config-router)#
ZXAN(config-router-af)#
Example
The following example displays how to send the community attributes when advertising
routes to the neighbor:
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 1.1.1.1 send-community
ZXAN(config-router)#
Related Commands
None
Related Information
By default, community attribute is not sent.
47-45
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To send the MED attribute when advertising routes to the neighbor
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ipv4-address
IPv4 address
A.B.C.D
ipv6-address
IPv6 address
X:X::X:X
peer-group-name
Mode
ZXAN(config-router)#
ZXAN(config-router-af)#
Example
The following example displays how to send the MED attribute when advertising routes to
the neighbor:
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 1.1.1.1 send-med
ZXAN(config-router)#
Related Commands
None
Related Information
By default, MED attribute is not sent.
Purpose
To disable a neighbor or peer group
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ipv4-address
IPv4 address
A.B.C.D
ipv6-address
IPv6 address
X:X::X:X
peer-group-name
Mode
ZXAN(config-router)#
ZXAN(config-router-af)#
Example
The following example displays how to disable a neighbor or peer group:
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 1.1.1.1 shut-down
ZXAN(config-router)#
Related Commands
None
Related Information
The neighbor shutdown command terminates any active session for the specified neighbor
or peer group and removes all associated routing information. In the case of a peer group,
a large number of peering sessions could be terminated suddenly.
47-47
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure the neighbor to support soft reset
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ipv4-address
IPv4 address
A.B.C.D
ipv6-address
IPv6 address
X:X::X:X
peer-group-name
Mode
ZXAN(config-router)#
ZXAN(config-router-af)#
Example
The following example displays how to configure the neighbor to support soft reset:
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 1.1.1.1 soft-reconfiguration
ZXAN(config-router)#
Related Commands
None
Related Information
When the local BGP policy is adjusted, the routes that are denied before may be enabled.
If this command is not configured, the neighbor must be reset to resend the routes. When
this command is used, the routes that are denied before can be enabled again without
resetting the neighbor.
However, this command may cause the router to restore many denied routes. As a result,
it is recommended to use the command under the guide of network expert.
If the neighbor supports route refreshing capability, this command is unnecessary.
Purpose
To configure the timers for a specific BGP peer or peer group
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ipv4-address
IPv4 address
A.B.C.D
ipv6-address
IPv6 address
X:X::X:X
peer-group-name
keepalive
Default: 60 sec
Mode
ZXAN(config-router)#
ZXAN(config-router-af)#
Example
The following example displays how to configure the timers for a specific BGP peer or peer
group:
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 1.1.1.1 timers 60 180
ZXAN(config-router)#
Related Commands
None
Related Information
The timers configured for a specific neighbor or peer group override the timers configured
for all BGP neighbors using the timers bgp command.
Purpose
To configure the BGP session to use any TCP connection interface
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ipv4-address
A.B.C.D
BGP-speaking neighbor
ipv6-address
X:X::X:X
BGP-speaking neighbor
peer-group-name
interface-name
Interface name
Mode
ZXAN(config-router)#
ZXAN(config-router-af)#
Example
The following example displays how to configure the BGP session to use any TCP
connection interface:
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 1.1.1.1 update-source loopback1
ZXAN(config-router)#
Related Commands
None
Related Information
If the user specifies a BGP peer group by using the peer-group-name argument, all the
members of the peer group inherit the characteristic configured with this command. The
neighbor update-source command must be used to enable IPv6 link-local peering for
internal or external BGP sessions.
47-50
SJ-20120615152640-010|2012-06-30 (R1.0)
47.52 network
Syntax
network ip-address net-mask [route-map name]
no network ip-address net-mask
Purpose
To configure the network table for the BGP routing process
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ip-address
A.B.C.D
BGP advertises
net-mask
X:X::X:X
route-map name
Range: 1 - 16 characters
Mode
ZXAN(config-router)#
ZXAN(config-router-af)#
Example
The following example displays how to configure the network table for the BGP routing
process:
ZXAN(config)#router bgp 1
ZXAN(config-router)#network 2.2.2.2 255.255.255.255
ZXAN(config-router)#
Related Commands
None
47.53 redistribute
Syntax
redistribute protocol [metric metric-value] [route-map map-tag]
no redistribute protocol [metric] [route-map]
47-51
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To redistribute the routes obtained from other routing protocols into the BGP routing table
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
protocol
redistribution
metric metric-value
Range: 0 - 4294967295
routes
route-map map-tag
Range: 1 - 16 characters
Mode
ZXAN(config-router)#
ZXAN(config-router-af)#
Example
The following example displays how to redistribute the routes obtained from other routing
protocols into the BGP routing table:
ZXAN(config)#router bgp 1
ZXAN(config-router)#redistribute rip
ZXAN(config-router)#
Related Commands
None
Related Information
By default, route redistribution is disabled.
Purpose
To reset BGP session
47-52
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ipv4-address
IPv4 address
A.B.C.D
peer-group-name
Range: 1 - 16 characters
Mode
ZXAN(config)#
Example
The following example displays how to reset BGP session:
ZXAN(config)#reset ip bgp 1.1.1.1
ZXAN(config)#
Related Commands
None
Related Information
This command functions as the enable for the neighbors in the non-BGP session
termination status. It first executes the disable operation and then the enable operation
for the BGP sessions in the active status.
47.55 synchronization
Syntax
synchronization
no synchronization
Purpose
To synchronize BGP with IGP
Mode
ZXAN(config-router)#
Example
The following example displays how to synchronize BGP with IGP:
ZXAN(config)#router bgp 1
ZXAN(config-router)#synchronization
47-53
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Related Information
Use no command to enable BGP to announce a network route without synchronizing with
IBP. By default, synchronization is enabled between BGP and IGP.
Purpose
To display information about the TCP and BGP connections to neighbors
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ip-address
Neighbor IP address
A.B.C.D
Mode
Any mode except user mode
Example
The following example displays the information about the TCP and BGP connections to
neighbors:
ZXAN#show bgp all neighbor 1.1.1.1
BGP neighbor is 1.1.1.1, remote AS 8, external link
BGP version 4, remote router ID 0.0.0.0
BGP state = Connect
hold time is 0 seconds, keepalive interval is 0 seconds
All received 0 messages
0 updates, 0 errs
0 opens, 0 errs
0 keepalives
0 vpnv4 refreshs, 0 ipv4 refreshs, 0 ipv4 multicast
refreshs, 0 errs
0 notifications, 0 other errs
47-54
SJ-20120615152640-010|2012-06-30 (R1.0)
Connections established 0
No tcp connection
ZXAN#
Related Commands
None
47-55
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To display the BGP protocol configuration information
Usage Guidelines
None
Mode
Any mode except user mode
Example
The following example displays the BGP protocol configuration information:
ZXAN#show bgp all protocol
BGP router ID is 172.168.0.1, Local as is 1
Hold time is 90 seconds, KeepAlive time is 30 seconds
Default local preference is 100
Default export metric is 0
IGP synchronization is enabled
Default information advertise is disabled
Always compare med is disabled
Fast fallover is enabled
Client-to-client reflection is enabled
Ipv4 unicast is activated
Router target is filtered
Route dampening is disabled
Distance : external 20 internal 200
ZXAN#
Related Commands
None
Purpose
To display the status of all BGP connections
Usage Guidelines
None
Mode
Any mode except user mode
Example
The following example displays the status of all BGP connections:
ZXAN#show bgp all summary
Neighbor
Ver
As
MsgRcvd
1.1.1.1
00:00:00
Connect
10.1.1.1
200
00:00:00
Connect
128.140.6.6
123
00:00:00
Connect
ZXAN#
Description
Neighbor
Neighbor IP address
Ver
AS
Neighbor AS number
MsgRcvd
MsgSend
Up/Down
State
Related Commands
None
47-57
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To display the IPv4 multicast database-related information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ip-address
Neighbor IP address
A.B.C.D
net-mask
Mask address
A.B.C.D
Mode
Any mode except user mode
Example
The following example displays the IPv4 multicast database-related information:
ZXAN#show bgp ipv4 multicast
Status codes: *valid, >best, i-internal
Origin codes: i-IGP, e-EGP, ?-incomplete
Network
Next Hop
Metric
LocPrf
Path
*>i
111.1.1.2/32
2.2.2.1
12345678
200 ?
*>i
111.1.1.3/32
2.2.2.1
12345678
200 ?
ZXAN#
47-58
SJ-20120615152640-010|2012-06-30 (R1.0)
Information
Description
Status codes
Origin codes
Network
Nexthop
Metric
LocPrf
RoutePrf
Path
Related Commands
None
47-59
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To display the BGP IPv4 multicast neighbor information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ip-address
Neighbor IP address
A.B.C.D
in
out
Mode
Any mode except user mode
Example
The following example displays the BGP IPv4 multicast neighbor information:
l
47-60
SJ-20120615152640-010|2012-06-30 (R1.0)
Connections established 0
No tcp connection
ZXAN#
47-61
SJ-20120615152640-010|2012-06-30 (R1.0)
NextHop
Metric
LocPrf
RoutePrf Path
111.1.1.2/32
2.2.2.1
12345678
200
100?
111.1.1.3/32
2.2.2.1
12345678
200
100?
ZXAN#
Description
Dest
Specific route
Nexthop
Mertic
LocPref
RoutePrf
Path
Related Commands
None
Purpose
To display the BGP IPv4 unicast address family modifier information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
network ip-address
IP address
A.B.C.D
mask net-mask
Mask address
A.B.C.D
47-62
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
Any mode except user mode
Example
The following example displays the BGP IPv4 unicast address family modifier information:
l
Routes of bgp:
status codes: *valid, >best,i-internal
Origin codes: i-IGP, e-EGP, ?-incomplete
Dest
NextHop
Metric
LocPrf
RtPrf
Path
*>i
111.1.1.2/32
2.2.2.1
12345678
150
200 ?
*>i
111.1.1.3/32
2.2.2.1
12345678
150
200 ?
ZXAN#
Description
Dest
Specific route
Nexthop
Metric
LocPrf
RoutePrf
Path
47-63
SJ-20120615152640-010|2012-06-30 (R1.0)
ZXAN#
Description
Dest
Specific route
Nexthop
Mertic
LocPref
RoutePrf
Path
Related Commands
None
47-64
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To display the BGP IPv4 unicast paths suppressed due to dampening
Usage Guidelines
None
Mode
Any mode except user mode
Example
The following example displays the BGP IPv4 unicast paths suppressed due to dampening:
ZXAN#show bgp ipv4 unicast dampening dampened-paths
ZXAN#
Related Commands
None
Purpose
To display the flap statistics of the BGP IPv4 unicast routes
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
network ip
IP address
A.B.C.D
network mask
Mask address
A.B.C.D
47-65
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
longer-prefixes
specific entries
Mode
Any mode except user mode
Example
The following example displays the flap statistics of the BGP IPv4 unicast routes:
ZXAN#show bgp ipv4 unicast dampening flap-statistics
ZXAN#
Related Commands
None
Purpose
To display the BGP IPv4 unicast neighbor information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ip-address
IP address
A.B.C.D
in
out
Mode
Any mode except user mode
Example
The following example displays the BGP IPv4 unicast neighbor information:
l
47-66
SJ-20120615152640-010|2012-06-30 (R1.0)
47-67
SJ-20120615152640-010|2012-06-30 (R1.0)
ZXAN#
NextHop
Metric
LocPrf
RoutePrf Path
*>i
111.1.1.2/32
2.2.2.1
12345678
200
100?
*>i
111.1.1.3/32
2.2.2.1
12345678
200
100?
ZXAN#
Description
Dest
Specific route
Nexthop
Metric
LocPrf
RoutePrf
Path
SJ-20120615152640-010|2012-06-30 (R1.0)
NextHop
Metric
LocPrf
RoutePrf Path
111.1.1.2/32
2.2.2.1
12345678
200
100?
111.1.1.3/32
2.2.2.1
12345678
200
100?
ZXAN#
Description
Dest
Specific route
Nexthop
Mertic
LocPref
RoutePrf
Path
Related Commands
None
Purpose
To display the BGP IPv4 unicast neighbor status
Usage Guidelines
None
Mode
Any mode except user mode
47-69
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays the BGP IPv4 unicast neighbor status:
ZXAN#show bgp ipv4 unicast summary
Neighbor
Ver
1.1.1.1
As
8
MsgRcvd
0
MsgSend
0
Up/Down(s)
00:00:00
State/PfxRcd
Connect
10.1.1.1
200
00:00:00
Connect
128.140.6.6
123
00:00:00
Connect
ZXAN#
Description
Neighbor
Neighbor IP address
Ver
AS
Neighbor AS number
MsgRcvd
MsgSend
Up/Down
State
Related Commands
None
Purpose
To display the contents of all or specified regular expression access list(s)
47-70
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
access-list-number
Range: 1 - 199
Mode
Any mode except user mode
Example
The following example displays the contents of all or specified regular expression access
list(s):
ZXAN#show ip as-path-access-list 1
ZXAN#
Related Commands
ip as-path access-list
Purpose
To display the BGP damped oscillation routes
Usage Guidelines
None
Mode
Any mode except user mode
Example
The following example displays the BGP damped oscillation routes:
ZXAN#show ip bgp dampened-paths
ZXAN#
47-71
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Purpose
To display the BGP flap statistics
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ip-address
IP address
A.B.C.D
net-mask
Mask address
A.B.C.D
longer-prefixes
specific entries
Mode
Any mode except user mode
Example
The following example displays the BGP flap statistics:
ZXAN#show ip bgp flap-statistics
ZXAN#
Related Commands
None
Related Information
If no parameters are specified, the router displays flap statistics for all routes.
Purpose
To display the BGP neighbor information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ip-address
IP address
A.B.C.D
in
out
Mode
Any mode except user mode
Example
The following example displays the BGP neighbor information:
l
47-73
SJ-20120615152640-010|2012-06-30 (R1.0)
Connections established 0
No tcp connection
ZXAN#
LocPrf
RoutePrf
Path
*>i
111.1.1.2/32
Dest
2.2.2.1
NextHop
Metric
0
12345678
200
100?
*>i
111.1.1.3/32
2.2.2.1
12345678
200
100?
ZXAN#
47-74
SJ-20120615152640-010|2012-06-30 (R1.0)
Information
Description
Dest
Specific route
Nexthop
Metric
LocPrf
RoutePrf
Path
Dest
NextHop
Metric
LocPrf
RoutePrf Path
111.1.1.2/32
2.2.2.1
12345678
200
100?
111.1.1.3/32
2.2.2.1
12345678
200
100?
ZXAN#
Description
Dest
Specific route
Nexthop
Metric
LocPref
RoutePrf
Path
Related Commands
None
47-75
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To display the BGP configuration information
Usage Guidelines
None
Mode
Any mode except user mode
Example
The following example displays the BGP configuration information:
ZXAN#show ip bgp protocol
BGP router ID is 192.168.2.1, Local as is 1
Hold time is 90 seconds, KeepAlive time is 30 seconds
Default local preference is 100
Default export metric is 0
IGP synchronization is enabled
Default information advertise is disabled
Always compare med is disabled
Fast fallover is enabled
Client-to-client reflection is enabled
Ipv4 unicast is activated
Router target is filtered
Route dampening is disabled
Distance : external 20 internal 200
ZXAN#
Related Commands
None
Purpose
To display the entries in the BGP routing table
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
network ip-address
IP address
A.B.C.D
mask net-mask
Network mask
A.B.C.D
Mode
Any mode except user mode
Example
The following example displays the entries in the BGP routing table:
ZXAN#show ip bgp route
Routes of bgp:
status codes: *valid, >best,i-internal
Origin codes: i-IGP, e-EGP, ?-incomplete
Dest
NextHop
Metric
LocPrf
RtPrf
Path
*>i
111.1.1.2/32
2.2.2.1
12345678
150
200 ?
*>i
111.1.1.3/32
2.2.2.1
12345678
150
200 ?
ZXAN#
Description
Dest
Specific route
Nexthop
Metric
LocPrf
RoutePrf
Path
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Purpose
To display the status of all BGP connections
Usage Guidelines
None
Mode
Any mode except user mode
Example
The following example displays the display the status of all BGP connections:
ZXAN#show ip bgp summary
Neighbor
Ver
As
MsgRcvd
MsgSend
Up/Down(s) State/PfxRcd
1.1.1.1
00:00:00
Connect
10.1.1.1
200
00:00:00
Connect
128.140.6.6
123
00:00:00
Connect
ZXAN#
Description
Neighbor
Neighbor IP address
Ver
AS
Neighbor AS number
MsgRcvd
47-78
SJ-20120615152640-010|2012-06-30 (R1.0)
Information
Description
MsgSend
Up/Down
State
Related Commands
None
Purpose
To display the configured community lists
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
community-list-number
Range: 1 - 99
Mode
Any mode except user mode
Example
The following example displays the configured community lists:
ZXAN#show ip community-list
Community standard list 1
deny 5 10
permit
ZXAN#
47-79
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
ip community-list
Related Information
This command can be used without any parameters. If no parameters are specified, this
command display all community lists.
Purpose
To display the IP prefix list
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
prefix-list-name
Range: 1 - 16 characters
summary
Summarized information
detail
Detailed information
Mode
Any mode except user mode
Example
The following example displays the IP prefix list:
ZXAN#show ip prefix-list
Prefix-list with the last deletion/insertion: test
ip prefix-list ZXAN
seq 5 deny
seq 10 deny
2 entries
20.0.0.0/8
20.20.20.0/24
ip prefix-list test
1 entries
ZXAN#
47-80
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
ip prefix-list
Purpose
To adjust the BGP network timers
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
keepalive
Default: 60 sec
Mode
ZXAN(config-router)#
Example
The following example displays how to adjust the BGP network timers:
ZXAN(config)#router bgp 1
ZXAN(config-router)#timers bgp 60 180
ZXAN(config-router)#
Related Commands
None
47-81
SJ-20120615152640-010|2012-06-30 (R1.0)
47-82
SJ-20120615152640-010|2012-06-30 (R1.0)
Chapter 48
no router isis
Purpose
To enable the IS-IS routing protocol
Usage Guidelines
None
Mode
ZXAN(config)#
Example
The following example displays how to enable the IS-IS routing protocol:
ZXAN(config)#router isis
ZXAN(config-router)#
Related Commands
None
48.2 address-family
Syntax
address-family ipv6
Purpose
To enter address family configuration mode for configuring IS-IS routing sessions to use
standard IPv6 address prefix
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ipv6
Mode
ZXAN(config-router)#
48-2
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to enter address family configuration mode for
configuring IS-IS routing sessions to use standard IP Version 6 (IPv6) address prefix:
ZXAN(config)#router isis
ZXAN(config-router)#address-family ipv6
ZXAN(config-router-af)#
Related Commands
None
48.3 area
Syntax
area area-address
no area area-address
Purpose
To configure IS-IS area address
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
area-address
Area address
Range: 1 - 13
16 byte hexadecimal string
Mode
ZXAN(config-router)#
Example
The following example displays how to configure the IS-IS area address:
ZXAN(config)#router isis
ZXAN(config-router)#area 11
ZXAN(config-router)#area 11.1111.1111
ZXAN(config-router)#
Related Commands
None
48-3
SJ-20120615152640-010|2012-06-30 (R1.0)
48.4 authentication
Syntax
authentication password [level-1 | level-2]
no authentication password [level-1 | level-2]
Purpose
To configure the IS-IS authentication
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
password
Password
level-1
Level-1 authentication
level-2
Level-2 authentication
Mode
ZXAN(config-router)#
Example
The following example displays how to configure the IS-IS authentication:
ZXAN(config)#router isis
ZXAN(config-router)#authentication zte
ZXAN(config-router)#authentication zte level-1
ZXAN(config-router)#authentication zte level-2
ZXAN(config-router)#
Related Commands
enable-snp-authentication
disable-snp-authentication
48.5 authentication-type
Syntax
authentication-type {MD5 | TEXT} [level-1 | level-2]
no authentication [level-1 | level-2]
48-4
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To specify the type of authentication used in IS-IS packets
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
MD5
TEXT
level-1
packets only
level-2
packets only
Mode
ZXAN(config-router)#
Example
The following example displays how to specify the type of authentication used in IS-IS
packets:
ZXAN(config)#router isis
ZXAN(config-router)#authentication-type MD5
ZXAN(config-router)#authentication-type MD5 level-1
ZXAN(config-router)#authentication-type MD5 level-2
ZXAN(config-router)#authentication-type TEXT
ZXAN(config-router)#authentication-type TEXT level-1
ZXAN(config-router)#authentication-type TEXT level-2
ZXAN(config-router)#
Related Commands
None
Related Information
No authentication is provided for IS-IS packets at the router level by use of this command.
48-5
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To generate a default route into an IS-IS routing domain
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
always
metric metric-value
Range: 0 - 4261412864
metric-type type
default route
level-1
level-1-2
route
level-2
Mode
ZXAN(config-router)#
Example
The following example displays how to generate a default route into an IS-IS routing
domain:
ZXAN(config)#router isis
ZXAN(config-router)#default-information originate always
ZXAN(config-router)#
Related Commands
None
48-6
SJ-20120615152640-010|2012-06-30 (R1.0)
48.7 disable
Syntax
disable
Purpose
To disable IS-IS protocol and clear all runtime data
Usage Guidelines
None
Mode
ZXAN(config-router)#
Example
The following example displays how to disable IS-IS protocol and clear all runtime data:
ZXAN(config)#router isis
ZXAN(config-router)#disable
ZXAN(config-router)#
Related Commands
enable
Related Information
If IS-IS instances are operating, this command disables IS-IS instances and clears the
current operation status. The user can re-enable IS-IS instances using the enable
command.
48.8 disable-snp-authentication
Syntax
disable-snp-authentication
Purpose
To disable the SNP authentication
Usage Guidelines
None
48-7
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
ZXAN(config-router)#
Example
The following example displays how to disable the SNP authentication:
ZXAN(config)#router isis
ZXAN(config-router)#disable-snp-authentication
ZXAN(config-router)#
Related Commands
enable-snp-authentication
48.9 distance
Syntax
distance distance
no distance
Purpose
To define the administrative distance assigned to routes discovered by the IS-IS
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
distance
Administrative distance
Range: 1 - 255
Default: 115
Mode
ZXAN(config-router)#
Example
The following example displays how to define the administrative distance assigned to
routes discovered by the IS-IS:
ZXAN(config)#router isis
ZXAN(config-router)#distance 120
ZXAN(config-router)#
48-8
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Related Information
This command is used to configure the administrative distances applied to IS-IS routes
when they are inserted into the Routing Information Base (RIB), and influences the
likelihood of these routes being preferred over routes to the same destination addresses
discovered by other protocols.
48.10 enable
Syntax
enable
Purpose
To enable IS-IS protocol
Usage Guidelines
None
Mode
ZXAN(config-router)#
Example
The following example displays how to enable IS-IS protocol:
ZXAN(config)#router isis
ZXAN(config-router)#enable
ZXAN(config-router)#
Related Commands
disable
48.11 enable-snp-authentication
Syntax
enable-snp-authentication
48-9
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To enable the SNP authentication
Usage Guidelines
None
Mode
ZXAN(config-router)#
Example
The following example displays how to enable the SNP authentication:
ZXAN(config)#router isis
ZXAN(config-router)#enable-snp-authentication
ZXAN(config-router)#
Related Commands
disable-snp-authentication
Purpose
To configure padding on IS-IS hello PDUs for all IS-IS interfaces on the networking device
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
multi-point
point-to-point
Mode
ZXAN(config-router)#
48-10
SJ-20120615152640-010|2012-06-30 (R1.0)
Example
The following example displays how to configure padding on IS-IS hello PDUs for all IS-IS
interfaces on the networking device:
ZXAN(config)#router isis
ZXAN(config-router)#hello padding point-to-point
ZXAN(config-router)#
Related Commands
None
Related Information
For point-to-point links, IS-IS sends only a single hello for Level 1 and Level 2.
48.13 ignore-lsp-errors
Syntax
ignore-lsp-errors
no ignore-lsp-errors
Purpose
To override the networking devices default setting to ignore IS-IS LSPs that are received
with internal checksum errors
Usage Guidelines
None
Mode
ZXAN(config-router)#
Example
The following example displays how to override the networking devices default setting to
ignore IS-IS LSPs that are received with internal checksum errors:
ZXAN(config)#router isis
ZXAN(config-router)#ignore-lsp-errors
ZXAN(config-router)#
Related Commands
None
48-11
SJ-20120615152640-010|2012-06-30 (R1.0)
48.14 is-type
Syntax
is-type {level-1 | level-1-2 | level-2-only}
Purpose
To configure the routing level for an IS-IS area
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
level-1
(intra-area) routing
level-1-2
Mode
ZXAN(config-router)#
Example
The following example displays how to configure the routing level for an IS-IS area:
ZXAN(config)#router isis
ZXAN(config-router)#is-type level-1
ZXAN(config-router)#is-type level-1-2
ZXAN(config-router)#
Related Commands
None
Related Information
When the router is configured with Level 1 routing only, this router learns about destinations
only inside its area. Level 2 (interarea) routing is performed by the closest Level 1-2 router.
When the router is configured with Level 2 routing only, this router is part of the backbone,
and does not communicate with Level 1 routers in its own area.
When the router is configured with both Level 1 and Level 2 routing, this router runs two
instances of the routing process. It has one LSDB for destinations inside the area (Level
48-12
SJ-20120615152640-010|2012-06-30 (R1.0)
1 routing) and runs a SPF calculation to discover the area topology. It also has another
link-state packet database (LSDB) with LSPs of all other backbone (Level 2) routers, and
runs another SPF calculation to discover the topology of the backbone, and the existence
of all other areas.
48.15 lsp-mtu
Syntax
lsp-mtu number
no lsp-mtu
Purpose
To configure the MTU size of IS-IS LSPs
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
number
Mode
ZXAN(config-router)#
Example
The following example displays how to configure the MTU size of IS-IS LSPs:
ZXAN(config)#router isis
ZXAN(config-router)#lsp-mtu 1000
ZXAN(config-router)#
Related Commands
None
48.16 lsp-refresh-time
Syntax
lsp-refresh-time time
no lsp-refresh-time
48-13
SJ-20120615152640-010|2012-06-30 (R1.0)
Purpose
To configure the LSP refresh interval
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
time
Mode
ZXAN(config-router)#
Example
The following example displays how to configure the LSP refresh interval:
ZXAN(config)#router isis
ZXAN(config-router)#lsp-refresh-time 300
ZXAN(config-router)#
Related Commands
None
48.17 max-lsp-lifetime
Syntax
max-lsp-lifetime time
no max-lsp-lifetime
Purpose
To configure the maximum LSP lifetime
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
time
48-14
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
ZXAN(config-router)#
Example
The following example displays how to configure the maximum LSP lifetime:
ZXAN(config)#router isis
ZXAN(config-router)#max-lsp-lifetime 500
ZXAN(config-router)#
Related Commands
None
Related Information
Invalid time should be longer than refresh time.
48.18 maximum-paths
Syntax
maximum-paths parallel-routes
no maximum-paths
Purpose
To configure the initial lifetime given to a LSP originated by the IS-IS process
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
parallel-routes
Range: 1 - 8
Mode
ZXAN(config-router)#
Example
The following example displays how to configure the initial lifetime given to a LSP originated
by the IS-IS process:
ZXAN(config)#router isis
48-15
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
48.19 metric-style
Syntax
metric-style {narrow | wide}
no metric-style
Purpose
To configure the IS-IS metric style
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
narrow
wide
metric
Mode
ZXAN(config-router)#
Example
The following example displays how to configure the IS-IS metric style:
ZXAN(config)#router isis
ZXAN(config-router)#metric-style narrow
ZXAN(config-router)#metric-style wide
ZXAN(config-router)#
Related Commands
None
48-16
SJ-20120615152640-010|2012-06-30 (R1.0)
48.20 redistribute
Syntax
redistribute protocol [level-1 | level-1-2 | level-2] [metric metric-value] [metric-type type] [rout
e-map map-tag]
no redistribute protocol
Purpose
To redistribute routes from one IS-IS instance into another instance
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
protocol
redistribution
rip, static
level-1
independently
level-1-2
or Level 2 independently
level-2
independently
metric metric-value
Range: 0 - 4261412864
route-map map-tag
Mode
ZXAN(config-router)#
Example
The following example displays how to configure the filtering policy for other protocol
advertising route to IS-IS:
ZXAN(config)#router isis
ZXAN(config-router)#redistribute bgp
ZXAN(config-router)#redistribute bgp level-1
ZXAN(config-router)#redistribute bgp level-2
ZXAN(config-router)#redistribute bgp level-1 metric 20
ZXAN(config-router)#redistribute bgp level-1 metric 20 metric-type internal
48-17
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Related Information
If no level is specified, the redistribution takes place according to both Level 1 and Level 2.
48.21 restart
Syntax
restart {enable | t2-timer interval [level-1 | level-2] | t3-timer {adjacency | manual interval}}
no restart {enable | t2-timer interval [level-1 | level-2] | t3-timer}
Purpose
To configure the IS-IS restart
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
enable
t2-timer interval
level-1
level-2
t3-timer adjacency
adjacency
t3-timer manual interval
manual
Mode
ZXAN(config-router)#
Example
The following example displays how to configure the IS-IS restart:
ZXAN(config)#router isis
ZXAN(config-router)#restart enable
48-18
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
48.22 set-overload-bit
Syntax
set-overload-bit [on-start-up {time | auto [time] | wait-for-bgp [time]}] [suppress {all | external
| interlevel}]
no set-overload-bit
Purpose
To configure the router to signal other routers not to use it as an intermediate hop in their
SPF calculations
Usage Guidelines
The following table provides parameter description:
Parameter
on-start-up
Description
Value
after reboot
auto time
synchronization
wait-for-bgp time
Suppress
all
external
protocols
interlevel
IS-IS level
48-19
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
ZXAN(config-router)#
Example
The following example displays how to configure the router to signal other routers not to
use it as an intermediate hop in their shortest path first (SPF) calculations:
ZXAN(config)#router isis
ZXAN(config-router)#set-overload-bit
ZXAN(config-router)#
Related Commands
None
Related Information
This command forces the router to set the overload bit in its nonpseudonode LSPs.
Normally the setting of the overload bit is allowed only when a router experiences
problems. For example, when a router is experiencing a memory shortage, the reason
might be that the LSDB is not complete, resulting in an incomplete or inaccurate routing
table. If the overload bit is set in the LSPs of the unreliable router, other routers can ignore
the router in their SPF calculations until it has recovered from its problems. The result is
that no paths through the unreliable router are seen by other routers in the IS-IS area.
However, IP prefixes directly connected to this router are still reachable.
Purpose
To display IS-IS adjacencies
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
level-1
Level-1 adjacencies
level-2
Level-2 adjacencies
48-20
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
Any mode except user mode
Example
The following example displays IS-IS adjacencies:
ZXAN#show isis adjacency
Interface System id
gei_1/3/1 0000.0a0a.0a0a UP
L1
Pri
802.2 00:e0:63:06:05:c0 64
ZXAN#
Description
Interface
System id
State
Lev
Holds
Hold time
SNPA(802.2)
Pri
Related Commands
None
Purpose
To display the current IS-IS port information
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
detail
48-21
SJ-20120615152640-010|2012-06-30 (R1.0)
Mode
Any mode except user mode
Example
The following example displays the current IS-IS port information:
ZXAN#show isis circuits
IS-IS interface database:
Interface
gei_1/3/1
State
Up
Lev
L1L2
CirId
1
Disabled
10/10
ZXAN#
Description
Interface
State
Lev
CirId
ID of this port
Level1-DR
Level2-DR
Pri(L1/L2)
Related Commands
None
Purpose
To display the IS-IS link-state databases
48-22
SJ-20120615152640-010|2012-06-30 (R1.0)
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
detail
information
IS-IS level-1 routing link state
level-1
database
IS-IS level-2 routing link state
level-2
database
Mode
Any mode except user mode
Example
The following example displays how to display the IS-IS link-state databases:
l
1921.6800.5080-00-00 0x00000025
0x34E3
1078
0/0/0
1921.6800.5081-00-00 0x00000020
0Xd301
1103
1/0/0
1921.6800.5080-00-00 0x00000022
0x34E3
1078
0/0/0
1921.6800.5081-00-00 0x00000022
0Xd2A1
1103
1/0/0
ZXAN#
Description
LSPID
LSP Checksum
48-23
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
LSP Holdtime
ATT/P/OL
1921.6800.5080-00-00 0x00000022
0x34E3
1078
0/0/0
1078
0/0/0
NLPID:0xcc
Area Address:00.0001
Metric 10
IS neighbor 1223.2232.1111-01
Metric 10
IS neighbor 1001.AC32.11D1-02
3421.68AC.0010-00-00 0x00000022
0x34E3
NLPID:0xcc
Area Address:00.0001
Metric 10
IS neighbor 1223.0755.1111-01
Metric 10
IS neighbor 1001.AC32.0063-02
1921.6800.5080-00-00 0x00000022
0x34E3
1078
0/0/0
NLPID:0xcc
Area Address:00.0001
Metric 10
IS neighbor 1223.2232.1111-01
Metric 10
IS neighbor 1001.AC32.11D1-02
3421.68AC.0010-00-00
0x00000022
0x34E3
1078
0/0/0
NLPID:0xcc
Area Address:00.0001
Metric 10
IS neighbor 1223.0755.111101
Metric 10
IS neighbor 1001.AC32.0063-02
ZXAN#
Description
IS neighbor
The neighbor IS
IP-Internal/IP-External
A reachable IP address
Area Address
48-24
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
NLPID
Protocols supported
Hostname
Host name
Ip address
Inter-Domain Info
Authentication type
Related Commands
None
Purpose
To display the NSF status information
Usage Guidelines
None
Mode
Any mode except user mode
Example
The following example displays the NSF status information:
ZXAN#show isis nsf
IS-IS NSF information:
NSF is ENABLE
NSF mode is Normal
NSF L1 active interface: 1
NSF L2 active interface: 1
NSF L1 T2 remaining: 20 seconds
NSF L2 T2 remaining: 20 seconds
NSF T3 using Adjacency
NSF T3 remaining: 10 seconds
Interface:gei_1/3/1
NSF L1 restart state: restart
48-25
SJ-20120615152640-010|2012-06-30 (R1.0)
Related Commands
None
Purpose
To display a list of connected IS-IS routers in all areas
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
level-1
level-2
Mode
Any mode except user mode
Example
The following example displays a list of connected IS-IS routers in all areas:
ZXAN#show isis topology
IS-IS paths to level-1 routers
System id
Metric
Next-Hop
0000.0000.0002
10
0000.0000.0002 gei_1/3/1
Interface
0000.0c03.6bc5
SNPA
0000.0000.0005
--
0000.0000.0053
10
0000.0000.0053 gei_1/3/1
0060.3e58.ccde
48-26
SJ-20120615152640-010|2012-06-30 (R1.0)
ZXAN#
Description
System id
Metric
Next-Hop
Interface
SNPA
Related Commands
None
Related Information
This command is used to verify the presence and connectivity between all routers in all
areas.
48.28 spf-interval
Syntax
spf-interval interval [level-1 | level-2]
no spf-interval [level-1 | level-2]
Purpose
To customize IS-IS throttling of SPF calculations
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
interval
SPFs
Default: 3 sec
level-1
Parameter
Description
Value
level-2
Mode
ZXAN(config-router)#
Example
The following example displays how to customize IS-IS throttling of shortest path first (SPF)
calculations:
ZXAN(config)#router isis
ZXAN(config-router)#spf-interval 10
ZXAN(config-router)#spf-interval 10 level-1
ZXAN(config-router)#spf-interval 10 level-2
ZXAN(config-router)#
Related Commands
None
Related Information
SPF calculations are performed only when the topology changes. They are not performed
when external routes change.
48.29 summary-address
Syntax
summary-address ip-address net-mask [metric metric-value] [level-1 | level-1-2 | level-2]
no summary-address ip-address net-mask
Purpose
To configure the IS-IS address summary
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
ip-address
Summary IP address
A.B.C.D
net-mask
Summary mask
A.B.C.D
48-28
SJ-20120615152640-010|2012-06-30 (R1.0)
Parameter
Description
Value
metric metric-value
Range: 0 - 4261412864
level-1
Mode
ZXAN(config-router)#
Example
The following example displays how to configure the IS-IS address summary:
ZXAN(config)#router isis
ZXAN(config-router)#summary-address 192.168.0.0 255.255.0.0
ZXAN(config-router)#summary-address 192.168.0.0 255.255.0.0 metric 10
ZXAN(config-router)#summary-address 192.168.0.0 255.255.0.0 metric 10
level-1
ZXAN(config-router)#summary-address 192.168.0.0 255.255.0.0 metric 10
level-2
ZXAN(config-router)#
Related Commands
None
Related Information
All routes are advertised individually.
Multiple groups of addresses can be summarized for a given level. Routes learned from
other routing protocols can also be summarized. The metric used to advertise the summary
48-29
SJ-20120615152640-010|2012-06-30 (R1.0)
is the smallest metric of all the more specific routes. This command helps reduce the size
of the routing table.
This command also reduces the size of the LSPs and thus the LSDB. It also helps network
stability because a summary advertisement is depending on many more specific routes.
A single route flap does not cause the summary advertisement to flap in most cases.
The drawback of summary addresses is that other routes might have less information to
calculate the most optimal routing table for all individual destinations.
48.30 system-id
Syntax
system-id system-id [range range-number]
no system-id
Purpose
To configure the IS-IS system ID
Usage Guidelines
The following table provides parameter description:
Parameter
Description
Value
system-id
System ID
xxxx.xxxx.xxxx
range range-number
System ID range
Range: 0 - 32
Mode
ZXAN(config-router)#
Example
The following example displays how to configure the IS-IS system ID:
ZXAN(config)#router isis
ZXAN(config-router)#system-id 1111.1111.1111
ZXAN(config-router)#system-id 1111.1111.1111 range 32
ZXAN(config-router)#
Related Commands
None
48-30
SJ-20120615152640-010|2012-06-30 (R1.0)
Glossary
ABR
- Area Border Router
ACL
- Access Control List
AES
- Advanced Encryption Standard
AG
- Access Gateway
ARP
- Address Resolution Protocol
AS
- Application Server
AS
- Autonomous System
ASBR
- Autonomous System Boundary Router
BDR
- Backup Designate Router
BER
- Bit Error Rate
BGP
- Border Gateway Protocol
BPDU
- Bridge Protocol Data Unit
BSR
- Bootstrap Router
CAC
- Channel Access Control
CAS
- Channel Associated Signaling
CCM
- Continuity Check Message
CDR
- Call Detail Record
I
SJ-20120615152640-010|2012-06-30 (R1.0)
CE
- Channel Element
CES
- Circuit Emulation Service
CES
- Channel Element Subsystem
CFM
- Connectivity Fault Management
CHAP
- Challenge Handshake Authentication Protocol
CPE
- Customer Premises Equipment
CPU
- Central Processing Unit
CRC
- Cyclic Redundancy Check
CTP
- Connection Termination Point
CVLAN
- Customer Virtual Local Area Network
CoS
- Class of Service
DBA
- Dynamic Bandwidth Allocation
DHCP
- Dynamic Host Configuration Protocol
DNS
- Domain Name Server
DNS
- Domain Name System
DR
- Designated Router
DSCP
- Differentiated Services Code Point
DSL
- Digital Subscriber Line
DTMF
- Dual-Tone Multi-Frequency
II
SJ-20120615152640-010|2012-06-30 (R1.0)
Glossary
DoS
- Denial of Service
EAP
- Extensible Authentication Protocol
EAPOL
- Extensible Authentication Protocol Over LAN
EBGP
- External Border Gateway Protocol
EPM
- Environment Power Monitoring
EPON
- Ethernet Passive Optical Network
ES
- Errored Second
FCS
- Frame CheckSequence
FE
- Fast Ethernet
FEC
- Forward Error Correction
FTP
- File Transfer Protocol
GE
- Gigabit Ethernet
GEI
- Giga Ethernet Interface Card
GEM
- GPON Encapsulation Method
GPON
- Gigabit Passive Optical Network
ICMP
- Internet Control Message Protocol
IEEE
- Institute of Electrical and Electronics Engineers
IGMP
- Internet Group Management Protocol
IGP
- Interior Gateway Protocol
III
SJ-20120615152640-010|2012-06-30 (R1.0)
IP
- Internet Protocol
IPTV
- Internet Protocol Television
IPoA
- IP over ATM
IPv4
- Internet Protocol version 4
IS-IS
- Intermediate System-to-Intermediate System
ISP
- Internet Service Provider
LACP
- Link Aggregation Control Protocol
LAN
- Local Area Network
LOF
- Loss Of Frame
LSA
- Link State Advertisement
LSDB
- Link-state Database
LSP
- Link State Packet
LTM
- Link Trace Message
MA
- Maintenance Association
MAC
- Medium Access Control
MD
- Maintenance Domain
MD5
- Message Digest 5 Algorithm
MED
- MULTI_EXIT_DISC
MEP
- Maintenance association End Point
IV
SJ-20120615152640-010|2012-06-30 (R1.0)
Glossary
MEP
- Maintenance End Point
MGC
- Media Gateway Controller
MGCP
- Media Gateway Control Protocol
MIB
- Management Information Base
MIP
- Maintenance domain Intermediate Point
MPCP
- Multi-Point Control Protocol
MSDP
- Multicast Source Discovery Protocol
MST
- Multiple Spanning Tree
MSTP
- Multiple Spanning Tree Protocol
MTU
- Maximum Transfer Unit
MVLAN
- Multicast Virtual Local Area Network
NAT
- Network Address Translation
NMS
- Network Management System
NNI
- Network Node Interface
NSR
- Nonstop Routing
NSSA
- Not-So-Stubby Area
NTP
- Network Time Protocol
OAM
- Operation, Administration and Maintenance
OLT
- Optical Line Terminal
V
SJ-20120615152640-010|2012-06-30 (R1.0)
OMCC
- ONU Management and Control Channel
ONU
- Optical Network Unit
OSPF
- Open Shortest Path First
PAP
- Password Authentication Protocol
PDU
- Protocol Data Unit
PIM
- PA Interface Module
PIM-DM
- Protocol Independent Multicast - Dense Mode
PIM-SM
- Protocol Independent Multicast - Sparse Mode
PIR
- Peak Information Rate
PLOAM
- Physical Layer Operations, Administration and Maintenance
PON
- Passive Optical Network
POTS
- Plain Old Telephone Service
PPPoE
- Point to Point Protocol over Ethernet
PVC
- Permanent Virtual Channel
PVC
- Permanent Virtual Circuit
PW
- Pseudo Wire
PnP
- Plug and Play
Q-in-Q
- VLAN Tag in VLAN Tag
Q-in-Q
- 802.1q Tunnel Tags
VI
SJ-20120615152640-010|2012-06-30 (R1.0)
Glossary
RADIUS
- Remote Authentication Dial In User Service
REI
- Remote Error Indication
RIP
- Routing Information Protocol
RMEP
- Remote Maintenance association End Point
RMON
- Remote Monitoring
ROS
- Router Operating System
RP
- Rendezvous Point
RPF
- Reverse Path Forwarding
RSSI
- Received Signal Strength Indicator
RTP
- Real-time Transport Protocol
RTT
- Round Trip Time
SCB
- Single Copy Broadcast
SES
- Severely Errored Second
SIP
- Session Initiation Protocol
SIR
- Signal-to-Interference Ratio
SMS
- Short Message Service
SNMP
- Simple Network Management Protocol
SNP
- Signaling Network Protocol
SNTP
- Simple Network Time Protocol
VII
SJ-20120615152640-010|2012-06-30 (R1.0)
SPF
- Shortest Path First
SR
- Service Router
SS
- Soft Switch
SSH
- Secure Shell
STP
- Spanning Tree Protocol
SVLAN
- Service Virtual Local Area Network
TACACS+
- Terminal Access Controller Access-Control System Plus
TCB
- Transmission Control Block
TCI
- Tag Control Information
TCP
- Transfer Control Protocol
TDM
- Time Division Multiplexing
TLS
- Transport Layer Security
TLV
- Type/Length/Value
TOS
- Termination Of Service
TPID
- Tag Protocol Identifier
TTL
- Time To Live
UAS
- Unavailable Second
UDP
- User Datagram Protocol
UNI
- User Network Interface
VIII
SJ-20120615152640-010|2012-06-30 (R1.0)
Glossary
UNM
- Unified Network Management
URL
- Uniform Resource Locator
URPF
- Unicast Reverse Path Forwarding
VLAN
- Virtual Local Area Network
VPN
- Virtual Private Network
VRF
- Virtual Route Forwarding
VRRP
- Virtual Router Redundancy Protocol
VTY
- Virtual Teletype
VoIP
- Voice over Internet Protocol
WAN
- Wide Area Network
WiFi
- Wireless Fidelity
IX
SJ-20120615152640-010|2012-06-30 (R1.0)