Professional Documents
Culture Documents
ZTE CORPORATION
ZTE Plaza, Keji Road South,
Hi-Tech Industrial Park,
Nanshan District, Shenzhen,
P. R. China
518057
Tel: (86) 755 26771900
Fax: (86) 755 26770801
URL: http://ensupport.zte.com.cn
E-mail: support@zte.com.cn
LEGAL INFORMATION
Copyright 2006 ZTE CORPORATION.
The contents of this document are protected by copyright laws and international treaties. Any reproduction or distribution of
this document or any portion of this document, in any form by any means, without the prior written consent of ZTE CORPORATION is prohibited. Additionally, the contents of this document are protected by contractual confidentiality obligations.
All company, brand and product names are trade or service marks, or registered trade or service marks, of ZTE CORPORATION
or of their respective owners.
This document is provided as is, and all express, implied, or statutory warranties, representations or conditions are disclaimed, including without limitation any implied warranty of merchantability, fitness for a particular purpose, title or non-infringement. ZTE CORPORATION and its licensors shall not be liable for damages resulting from the use of or reliance on the
information contained herein.
ZTE CORPORATION or its licensors may have current or pending intellectual property rights or applications covering the subject
matter of this document. Except as expressly provided in any written license between ZTE CORPORATION and its licensee,
the user of this document shall not acquire any license to the subject matter herein.
ZTE CORPORATION reserves the right to upgrade or make technical change to this product without further notice.
Users may visit ZTE technical support website http://ensupport.zte.com.cn to inquire related information.
The ultimate right to interpret this product resides in ZTE CORPORATION.
Revision History
Revision No.
Revision Date
Revision Reason
1.0
31/03/2009
First Edition
Contents
Preface............................................................... i
Overview ...........................................................1
Access Modes................................................................. 1
HyperTerminal............................................................ 1
NetNumen ................................................................. 4
Telnet ....................................................................... 8
Login Modes .................................................................. 9
General Command Syntax ..............................................11
time-range ...................................................................26
username .....................................................................27
version.........................................................................28
who .............................................................................28
show clock....................................................................29
show clock config ..........................................................29
show running-config ......................................................30
show system-group .......................................................31
show route-map ............................................................32
show time-range ...........................................................32
show username .............................................................33
show users ...................................................................33
show version ................................................................34
Version Management....................................... 47
activate version.............................................................47
download version ..........................................................48
erase version ................................................................48
main-backup version......................................................48
quit .............................................................................49
show compound-version .................................................49
show update-status .......................................................50
show version-running.....................................................51
show version-saved .......................................................52
show sync-status...........................................................53
update-boot..................................................................53
update-version..............................................................54
patch load ....................................................................55
patch unload.................................................................55
show patchstate ............................................................56
update-cpld ..................................................................56
telnet...........................................................................75
telnet mng....................................................................76
telnet onu ....................................................................76
SNMP Management.......................................... 83
show snmp ...................................................................83
show snmp config..........................................................84
show snmp engine-id .....................................................84
show snmp group ..........................................................85
show snmp user ............................................................85
snmp-server access-list ..................................................86
snmp-server community.................................................86
snmp-server contact ......................................................87
snmp-server context ......................................................87
snmp-server enable .......................................................88
snmp-server engine-id ...................................................88
snmp-server group ........................................................89
snmp-server host ..........................................................90
snmp-server location .....................................................91
snmp-server packetsize..................................................91
snmp-server trap-source ................................................92
snmp-server user ..........................................................92
snmp-server view ..........................................................93
Debugging..................................................... 131
debug all .................................................................... 132
debug alarm ............................................................... 133
debug arp................................................................... 133
debug dhcp-option82 ................................................... 133
debug group-management............................................ 134
debug igmp ................................................................ 135
debug ip..................................................................... 136
debug ip bgp all .......................................................... 136
debug ip bgp dampening .............................................. 137
debug ip bgp events .................................................... 137
debug ip bgp in ........................................................... 137
debug ip bgp keepalives ............................................... 138
debug ip bgp out ......................................................... 138
debug ip bgp updates................................................... 139
debug ip destination .................................................... 139
debug ip dhcp ............................................................. 140
debug ip icmp ............................................................. 140
debug ip icmp detail .................................................... 140
debug ip igmp............................................................. 141
debug ip igmp-snooping ............................................... 141
debug ip interface........................................................ 141
debug ip multicast ....................................................... 142
debug ip msdp ............................................................ 143
debug ip ospf adj......................................................... 143
debug ip ospf all.......................................................... 144
debug ip ospf cspf ....................................................... 144
debug ip ospf database-timer ........................................ 145
debug ip ospf events.................................................... 145
debug ip ospf flood ...................................................... 145
debug ip ospf lsa-generation ......................................... 146
debug ip ospf nsf......................................................... 146
debug ip ospf packet.................................................... 146
debug ip ospf retransmission......................................... 147
debug ip ospf spf......................................................... 147
debug ip ospf tree ....................................................... 148
debug ip pim-snooping ................................................. 148
Preface
Purpose
Intended
Audience
This document is intended for engineers, technicians and subscribers who perform operation activities on the ZXA10 C220.
Prerequisite Skill
and Knowledge
What Is in This
Manual
Networking basics
GPON technology
Summary
Chapter 1, Overview
Related
Documentation
Conventions
Chapter
Summary
ii
Typeface
Meaning
Italics
"Quotes"
Links on screens.
Bold
Preface
Typeface
Meaning
CAPS
Constant
width
[ ]
Optional parameters
{ }
Mandatory parameters
Note:
Checkpoint:
Tip:
How to Get in
Touch
Typeface
Meaning
Click
Doubleclick
Right-click
Drag
The following sections provide information on how to obtain support for the documentation and the software.
Customer Support
If you have problems, questions, comments, or suggestions
regarding your product, contact us by e-mail at support@zt
e.com.cn. You can also call our customer support center at
(86) 755 26771900 and (86) 800-9830-9830.
Documentation Support
ZTE welcomes your comments and suggestions on the qual
ity and usefulness of this document. For further questions,
comments, or suggestions on the documentation, you can
contact us by e-mail at doc@zte.com.cn; or you can fax
your comments and suggestions to (86) 755 26772236. You
can also browse our website at http://support.zte.com.cn,
iii
Lead (Pb)
Mercury (Hg)
Cadmium (Cd)
iv
Chapter
Overview
Table of Contents
Access Modes..................................................................... 1
Login Modes ...................................................................... 9
General Command Syntax ..................................................11
Access Modes
This topic includes the following:
HyperTerminal
NetNumen
Telnet
HyperTerminal
Short Description
Prerequisites
Context
Steps
2. HyperTerminal Setup:
i.
Chapter 1 Overview
OF STEPS
NetNumen
Short Description
Prerequisites
Make sure that NetNumen N31 NMS and SQL Server 2000 database are installed on the computer and working normally.
Context
Steps
Chapter 1 Overview
2. Start the client as: Start > NetNumen N31 > NetNumen
N31 Client as shown in Figure 7.
FIGURE 10 STARTING NETNUMEN N31 CLIENT
Chapter 1 Overview
OF STEPS
Telnet
The user can login to the system through Telnet from NMS or any
computer from where the user can ping system in-band or out-ofband IP address.
In Windows Operating System, select start > Run, and type telnet
X.X.X.X (where X.X.X.X is the in-band or out-of-band IP address
of ZXA10 C220) as shown in Figure 14.
Chapter 1 Overview
After the connection is successful, enter username and password as zte. The system information is displayed in the CLI format, as shown in Figure 15 .
FIGURE 15 TELNET WINDOW INTERFACE
After the login, the user can perform relevant configurations and
operations on the system.
Login Modes
The following table lists the login modes.
Mode
DOS Prompt
Entry Mode
(From)
Entry Command
User mode
ZXAN>
10
Mode
DOS Prompt
Entry Mode
(From)
Entry Command
Privilege
mode
ZXAN#
User mode
enable
Global
configuration
mode
ZXAN(config)#
Privilege mode
configure terminal
Clock
configuration
mode
ZXAN(configclock)#
Global
configuration
mode
clock
Interface
configuration
mode
ZXAN(configif)#
Global
configuration
mode
interface
Router
configuration
mode
ZXAN(configrouter)#
Global
configuration
mode
router
Router
address
mode
ZXAN(configrouter-af)#
Router
configuration
mode
address-family
Router map
mode
ZXAN(configroute-map)
Global
configuration
mode
route-map
Standard
ACL
configuration
mode
ZXAN(configstd-acl)#
Global
configuration
mode
acl standard
Extended
ACL
configuration
mode
ZXAN(configext-acl)#
Global
configuration
mode
acl extended
Hybrid ACL
configuration
mode
ZXAN(confighybd-acl)#
Global
configuration
mode
acl hybrid
Link
layer ACL
configuration
mode
ZXAN(configlink-acl)#
Global
configuration
mode
acl link
VLAN
database
configuration
mode
ZXAN(vlan)#
Privilege mode
vlan database
VLAN
configuration
mode
ZXAN(configvlan)#
Global
configuration
mode
vlan
MSTP
configuration
mode
ZXAN (configmstp)#
Global
configuration
mode
spanning-tree mst
configuration
Chapter 1 Overview
Mode
DOS Prompt
Entry Mode
(From)
Entry Command
CES
configuration
mode
ZXAN(configces)#
Global
configuration
mode
ces
ZXAN(configsg)#
aaa
group-server
tacacs+
AAA-tacacs
server group
mode
Example
[]: Square brackets enclose an optional parameter. Any parameter(s) contained within square brackets may or may not
be provided after the previous parameter in a command.
Note:
Use tab key to auto-complete a command. Recall a command
issued earlier by using up-arrow key.
11
12
Chapter
Basic System
Management
Table of Contents
banner incoming ...............................................................13
configure terminal .............................................................14
disable .............................................................................15
enable .............................................................................15
enable secret ....................................................................15
end .................................................................................16
exit .................................................................................17
hostname .........................................................................17
multi-user configure ..........................................................18
nvram boot-password ........................................................18
nvram boot-server.............................................................19
nvram boot-username........................................................20
nvram config-filename .......................................................20
nvram default-gateway ......................................................21
nvram imgfile-location........................................................22
nvram mng-ip-address .......................................................22
nvram inband-mac ............................................................23
nvram outband-mac ..........................................................24
show nvram......................................................................24
reboot..............................................................................25
reload ..............................................................................25
route-map ........................................................................26
time-range .......................................................................26
username .........................................................................27
version ............................................................................28
who .................................................................................28
show clock........................................................................29
show clock config ..............................................................29
show running-config ..........................................................30
show system-group ...........................................................31
show route-map ................................................................32
show time-range ...............................................................32
show username.................................................................33
show users .......................................................................33
show version ....................................................................34
banner incoming
Syntax
13
Purpose
Usage Guidelines
Mode
Example
Description
Value
end-char
End character
1 character
TEXT
1 255 characters,
including spaces and
carriage returns
ZXAN(config)#
The following example displays how to configure incoming terminal
line banner to welcome:
ZXAN(config)#banner incoming #
Enter TEXT message. End with the character #.
welcome
#
Related
Commands
Related
Information
None
Step 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.
Note:
The system considers question mark ? as a help sign. Therefore,
all the text parameters or passwords cannot include question mark
?.
configure terminal
Syntax
Purpose
Usage Guidelines
Mode
Example
configure terminal
To enter global configuration mode (from privileged mode)
None
ZXAN#
The following example displays how to enter global configuration
mode:
ZXAN#configure terminal
Enter configuration commands, one per line.
ZXAN(config)#
14
Related
Commands
end
disable
Syntax
Purpose
Usage Guidelines
Mode
Example
disable
To return from the privileged mode to the user mode
None
ZXAN#
The following example displays how to return from the privileged
mode to the user mode:
ZXAN#disable
ZXAN>
Related
Commands
enable
exit
enable
Syntax
Purpose
Usage Guidelines
Mode
Example
enable
To enter privileged mode from the user mode
None
ZXAN>
The following example displays how to enter privileged mode from
the user mode:
ZXAN>enable
Password:
ZXAN#
Related
Commands
Related
Information
disable
Privileged user password is required.
Note:
By default, password is ZXAN and is case sensitive. When the password is typed, it is not displayed on the interface.
enable secret
Syntax
Purpose
15
Usage Guidelines
Mode
Example
Description
Value
0 password
Privileged password
Range: 3 16
characters
5 password
Encrypted privileged
password
Range: 24 characters
password
Default privileged
password
Range: 3 16
characters
ZXAN(config)#
The following example displays how to configure the password for
privileged mode to ZXAN:
ZXAN(config)#enable secret
ZXAN
Related
Commands
Related
Information
enable
Running configuration output displays encrypted enable password
while the password used to enter the privileged mode is unencrypted.
Note:
The enable secret 0 password and enable secret password commands are used to specify an unencrypted password. To specify encrypted password, use the enable secret 5 password command. The configured password is not encrypted unless the password length is 24 characters.
end
Syntax
Purpose
Usage Guidelines
end
To return to the privileged mode
None
Mode
The command is available for all modes except the user and privileged modes.
Example
16
Related
Commands
None
exit
Syntax
Purpose
Usage Guidelines
Mode
Example
exit
To end current session or return to previous mode
None
All modes
The following example displays how to return to previous mode:
ZXAN(config)#exit
ZXAN#
Related
Commands
configure
terminal
login
logout
Related
Information
hostname
Syntax
hostname network-name
no hostname
Purpose
Usage Guidelines
Mode
Example
Description
Value
network-name
Network name
Range: 1 64
characters
ZXAN(config)#
The following example displays how to configure the network name
of the system to test:
ZXAN(config)#hostname test
Related
Commands
None
17
Related
Information
multi-user configure
Syntax
multi-user configure
no multi-user configure
Purpose
Usage Guidelines
Mode
Example
Related
Commands
Related
Information
configure terminal
By default, only one user can access the global configuration mode.
Only after multi-user configure is executed, other users can access the global configuration mode. Before executing no multi-u
ser configure, make sure that all the other users have exited the
configuration mode.
Note:
When executing multi-user configure command, avoid conflict
between different users.
nvram boot-password
Syntax
18
Purpose
Usage Guidelines
Mode
Example
To start FTP download setting for mapping file and specifying the
password of the FTP server for download
The following table provides parameter description:
Parameter
Description
Value
password
FTP password
Range: 3 16
characters
ZXAN(config)#
The following example displays how to start FTP download setting
for the mapping file and specifying the password of the FTP server
for download to pass:
ZXAN(config)#nvram boot-password pass
Related
Commands
nvram boot-server
nvram boot-username
nvram config-filename
nvram default-gateway
nvram imgfile-location
nvram mng-ip-address
Related
Information
nvram boot-server
Syntax
Purpose
Usage Guidelines
Mode
Example
Description
Value
ip-address
IP address
A.B.C.D
ZXAN(config)#
The following example displays how to enable the FTP download
settings for mapping files and specifying the IP address of the FTP
server for download to 168.1.1.1:
ZXAN(config)#nvram bootserver 168.1.1.1
Related
Commands
nvram boot-password
nvram boot-username
nvram config-filename
nvram default-gateway
19
nvram imgfile-location
nvram mng-ip-address
Related
Information
nvram boot-username
Syntax
Purpose
Usage Guidelines
Mode
Example
Description
Value
username
Range: 1 16
characters
ZXAN(config)#
The following example displays how to enable the FTP download
setting for mapping files and specify the user name of the FTP
server for download to test:
ZXAN(config)#nvram boot-username test
Related
Commands
nvram boot-password
nvram boot-server
nvram config-filename
nvram default-gateway
nvram imgfile-location
nvram mng-ip-address
Related
Information
The password can include letters, numbers, and underscore. Letters are case insensitive.
The command is used with nvram boot-password, nvram boot
-server, nvram imgfile-location and nvram default-gateway
commands.
nvram config-filename
Syntax
Purpose
Usage Guidelines
20
Mode
Example
Parameter
Description
Value
file-name
Startup configuration
file name
Range: 0 40
characters
ZXAN(config)#
The following example displays how to specify name for startup
configuration file to start:
ZXAN(config)#nvram config-filename start
Related
Commands
nvram boot-password
nvram boot-server
nvram boot-username
nvram default-gateway
nvram imgfile-location
nvram mng-ip-address
nvram default-gateway
Syntax
Purpose
Usage Guidelines
Mode
Example
Description
Value
ip-address
IP address of default
gateway
A.B.C.D
ZXAN(config)#
The following example displays how to configure the IP address of
the default gateway to 168.1.1.1:
ZXAN(config)#nvram default-gateway 168.1.1.1
Related
Commands
nvram boot-password
nvram boot-server
nvram boot-username
nvram config-filename
nvram imgfile-location
nvram mng-ip-address
Related
Information
21
nvram imgfile-location
Syntax
Purpose
Usage Guidelines
Mode
Example
Description
Value
local
network
filename
File name
Range: 1 80
characters
ZXAN(config)#
The following example displays how to configure image file boot-up
location:
1. To set local boot-up:
ZXAN(config)#nvram imgfile-location local
Related
Commands
nvram boot-password
nvram boot-server
nvram boot-username
nvram config-filename
nvram default-gateway
nvram mng-ip-address
Related
Information
nvram mng-ip-address
Syntax
Purpose
Usage Guidelines
22
Mode
Example
Parameter
Description
Value
ip-address
IP address of MNG
interface
A.B.C.D
net-mask
Subnet mask
A.B.C.D
ZXAN(config)#
The following example displays how to configure the IP address
of router MNG (management) interface to 168.1.1.1 and subnet
mask to 255.255.0.0:
ZXAN(config)#nvram mng-ip-address 168.1.1.1 255.255.0.0
Related
Commands
nvram boot-password
nvram boot-server
nvram boot-username
nvram config-filename
nvram default-gateway
nvram imgfile-location
Related
Information
nvram inband-mac
Syntax
Purpose
Usage Guidelines
Mode
Example
Parameter
Description
Value
mac-address
MAC address
00d0.d0xx.xxxx (x
is a hexadecimal
number)
ZXAN(config)#
The following example displays how to configure the in-band MAC
address to 00d0.d064.0000:
ZXAN(config)#nvram inband-mac 00d0.d064.0000
Related
Commands
Related
Information
show nvram
nvram outband-mac
mac address requirements are:
The in-band MAC address should be different from the out-ofband address.
23
nvram outband-mac
Syntax
Purpose
Usage Guidelines
Mode
Example
Description
Value
mac address
MAC address
00d0.d0xx.xxxx (x
is a hexadecimal
number)
ZXAN(config)#
The following example displays how to configure the out-of-band
MAC address to 00d0.d000.1111:
ZXAN(config)#nvram outband-mac 00d0.d000.1111
Related
Commands
Related
Information
show nvram
nvram inband-mac
mac address requirements are as follows:
The out-of-band MAC address should be different from the outof-band address.
show nvram
Syntax
Purpose
Usage Guidelines
24
Mode
Example
Parameter
Description
Value
running
Running information
saved
Saved information
ZXAN(config)#
The following example shows how to display the NVRAM running
configuration:
ZXAN(config)#show nvram running
Nvram configuration information:
mng-ip-address
: 10.63.196.234
mask
: 255.255.255.0
server-ip-address
: 10.63.196.236
Gateway-ip-address
: 10.63.196.254
boot-username
: c220
boot-password
: c220
ZXR10_SerialNo
: 2354
CfgFileName
: startrun.dat
Outband-mac-address
: 002d.0064.302d
Inband-mac-address
: 0031.0064.3024
Related
Commands
None
reboot
Syntax
Purpose
Usage Guidelines
Description
Value
rackno rackno
Rack number
Value: 0
Default: 0
shelfno shelfno
Shelf number
Value: 0
Default: 0
Mode
Example
ZXAN#
The following example displays how to reboot the system:
ZXAN#reboot
Please check whether data has saved
the unsaved data may lose if reboot active board
are you sure to reboot active board? [yes/no]:y
ZXAN#
Related
Commands
None
reload
Syntax
reload
25
Purpose
Usage Guidelines
Mode
Example
Related
Commands
None
route-map
Syntax
Purpose
Usage Guidelines
Mode
Example
Description
Value
name
Range: 1 16
characters
deny | permit
Deny/Permit
sequence
Sequence to insert
into/delete from route
map
Range: 0 65535
ZXAN(config)#
The following example displays how to access the route mapping
mode:
ZXAN(config)#route-map test permit 2
ZXAN(config-route-map)#
Related
Commands
show route-map
time-range
Syntax
Purpose
Usage Guidelines
26
Parameter
Description
Value
range-name
Range: 1 16
characters
starting-time
Start time
Format: hh:mm:ss
starting-date
Start date
Format: mm-dd-yyyy
Year range: 2001
2099
ending-time
End time
Format: hh:mm:ss
ending-date
End date
Format: mm-dd-yyyy
Year range: 2001
2099
daily | working-day
| off-day | sunday |
monday | tuesday
| wednesday |
thursday | friday
| saturday
Mode
Example
ZXAN(config)#
The following example displays how to configure the time range
test1, specifying the time range from 00:00:00, Jan 1, 2008 to
23:59:59, Dec 31, 2009:
ZXAN(config)#time-range test1 from 00:00:00 01-01-2008 to 23:59:59
12-31-2009
Related
Commands
Related
Information
show time-range
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.
username
Syntax
Purpose
Usage Guidelines
27
Parameter
Description
Value
username
User name
Range: 1 16
characters, excluding
spaces
password password
Password
Range: 3 16
characters, excluding
spaces
privilege privilege
Privilege level
Range: 0 15
Default: 1
Mode
Example
ZXAN(config)#
The following example displays how to configure the login user
name to abc and password to pass:
ZXAN(config)#username abc password pass
Related
Commands
Related
Information
show username
The user name can include numbers and lower case letters
The password can include numbers, letters, and special characters.
The no username command is used to cancel the configuration.
version
Syntax
Purpose
Usage Guidelines
Mode
Example
version
To access the version management mode
None
ZXAN#
The following example displays how to access the version management mode:
ZXAN#version
ZXAN(version)#
Related
Commands
exit
who
Syntax
Purpose
Usage Guidelines
Mode
28
who
To display the users currently logged on the system
None
ZXAN#
Example
Related
Commands
Parameter
Description
Value
Line
Number of virtual
terminal that the user
logs in to
User
Host
Host name
Idle
Idle time
Location
Client address
None
show clock
Syntax
Purpose
Usage Guidelines
Mode
Example
show clock
To display the system clock
None
All modes
The following example displays how to display the system clock:
ZXAN#show clock
13:39:24 Tue Jul 22
Related
Commands
Related
Information
2008
UTC
clock set
If the time zone is configured, this command displays the local
time of the time zone.
29
Mode
Example
Parameter
Description
Value
master
Primary clock
configuration
slave
Secondary clock
configuration
All modes
The following example displays the clock configuration:
ZXAN#show clock config
Shelf/card/slot
Type
Priority
CfgSSM
Mode
Species
...........................................................
0/7/0
holdover 252
Source
Related
Commands
clock set
show running-config
Syntax
Purpose
Usage Guidelines
Description
Value
big-packet
Big packet
interface interface-n
ame
Interface name
loopback1
loopback64
null1
smartgroup1
smartgroup8
supervlan1
supervlan255
tunnel1 tunnel64
vlan1 vlan4094
30
msan module-name
ces, dhcp-option82,
epon, gpon,
igmp, iptv, mac,
port-location,
pppoe-plus, vlan
begin
To display the
configuration that
begins with the line(s)
containing specified
character or character
string
Mode
Example
Parameter
Description
Value
exclude
To display the
configuration that
excludes the line(s)
containing specified
character or character
string
include
To display the
line(s) that contain
specified character or
character string in the
configuration
line
Specified character or
character string
Related
Commands
Related
Information
None
The system configuration is displayed in the command format.
show system-group
Syntax
Purpose
Usage Guidelines
Mode
Example
show system-group
To display the system information
None
All modes
The following example displays the system information:
ZXAN#show system-group
System Description: ZXR10 ROS Version V4.8.01
ZXPON C220 Software, Version V1.1.1
Copyright (c) 2000-2008 by ZTE Corporation
Compiled Jun 29 2008, 23:12:37
31
Related
Commands
None
show route-map
Syntax
Purpose
Usage Guidelines
Mode
Example
Description
Value
name
Range: 1 16
characters
Related
Commands
route-map
tag permit 10
test permit 2
route-map test
test permit 2
route-map
show time-range
Syntax
Purpose
Usage Guidelines
Mode
Example
Description
Value
range-name
Range: 1 16
characters
All modes
The following example displays the system time range:
ZXAN#show time-range
Current time is 07:04:44 01-01-2001 Monday
Time-range: test1
from 00:00:00 01-01-2008 to 23:59:59 12-31-2009
32
Time-range: test2
00:00:00 to 02:00:00 Saturday
ZXAN#
Related
Commands
time-range
show username
Syntax
Purpose
Usage Guidelines
Mode
Example
show username
To display the list of authorized user(s) and password(s)
None
All modes except the user mode
The following example displays the list of authorized user(s) and
password(s):
ZXAN#show username
Username
Password
zte
******
Related
Commands
Privilege
15
username
show users
Syntax
Purpose
Usage Guidelines
Mode
Example
show users
To display the terminal user information
None
All modes
The following example displays the terminal user information:
ZXAN#show users
Line
User
* 66 vty 0 zte
67 vty 1
zte
ZXAN#
Host(s)
idle
idle
Idle
00:00:00
00:46:13
Location
10.63.10.105
10.63.196.38
Description
Line
User
Host
Host name
Idle
Idle time
Location
Client address
33
Related
Commands
None
show version
Syntax
Purpose
Usage Guidelines
Mode
Example
show version
To display the software and hardware versions of the system
None
All modes
The following example displays how to display the software and
hardware versions of the system:
ZXAN#show version
IAP Operating System Software, ZTE Corporation
IAP Version V4.8.01
ZXPON C220 Software, Version V1.1.1, RELEASE SOFTWARE
Copyright (c) 2000-2008 by ZTE Corporation
Compiled Jun 29 2008, 23:12:37
System image files from net <ftp://10.62.31.32/GCSA.MVR>
System uptime is 0 days, 4 hours, 38 minutes
Related
Commands
34
None
Chapter
Hardware Management
Table of Contents
add-card ..........................................................................35
add-rack ..........................................................................36
add-shelf..........................................................................36
del-card ...........................................................................37
del-rack ...........................................................................37
del-shelf...........................................................................38
reset-card ........................................................................38
show card ........................................................................39
swap ...............................................................................39
confirm-card .....................................................................40
reset-at-suspend ...............................................................40
lock-card ..........................................................................41
unlock-card ......................................................................41
add-card
Syntax
Purpose
Usage Guidelines
Description
Value
rackno rackno
Rack number
Value: 0
Default: 0
shelfno shelfno
Shelf number
Value: 0
Default: 0
Mode
slotno slotno
Slot number
Range: 1 6 or 9
14
boardtype boardtype
ZXAN(config)#
35
Example
Related
Commands
del-card
add-rack
Syntax
Purpose
Usage Guidelines
Mode
Example
Description
Value
rackno rackno
Rack number
racktype racktype
Rack type
ZXPON
ZXAN(config)#
The following example displays how to add rack 0:
ZXAN(config)#add-rack rackno 0 racktype ZXPON
Related
Commands
del-rack
add-shelf
Syntax
Purpose
Usage Guidelines
Mode
Example
Description
Value
rackno rackno
Rack number
shelfno shelfno
Shelf number
shelftype shelftype
Shelf type
ZXA10C220-A,
ZXA10C220-B
ZXAN(config)#
The following example displays how to add shelf 0:
ZXAN(config)#add-shelf rackno 0 shelfno 0 shelftype ZXA10C220-B
36
Related
Commands
del-shelf
del-card
Syntax
Purpose
Usage Guidelines
Description
Value
rackno rackno
Rack number
Value: 0
Default: 0
shelfno shelfno
Shelf number
Value: 0
Default: 0
slotno slotno
Mode
Example
Slot number
Range: 1 6 or 9
14
ZXAN(config)#
The following example displays how to delete the card from slot 3:
ZXAN(config)#del-card rackno 0 shelfno 0 slotno 3
Confirm to delete card? [yes/no]:y
ZXAN(config)#
Related
Commands
Related
Information
add-card
Before deleting the main control and switching card, delete the
subscriber cards and other cards. Otherwise, the system prompts
%Code 30279:
del-rack
Syntax
Purpose
Usage Guidelines
Mode
Example
Description
Value
rackno rackno
Rack number
ZXAN(config)#
The following example displays how to delete a rack:
ZXAN(config)#del-rack rackno 0
Confirm to delete rack? [yes/no]:y
Related
Commands
add-rack
37
Related
Information
Before deleting the rack, delete the shelf first. Otherwise, the
system prompts %Code 30280: Have Main Shelf.
del-shelf
Syntax
Purpose
Usage Guidelines
Description
Value
rackno rackno
Rack number
Value: 0
Default: 0
shelfno shelfno
Mode
Example
Shelf number
ZXAN(config)#
The following example displays how to delete a shelf:
ZXAN(config)#del-shelf shelfno 0
Confirm to delete shelf? [yes/no]:y
Related
Commands
add-shelf
reset-card
Syntax
Purpose
Usage Guidelines
Description
Value
rackno rackno
Rack number
Value: 0
Default: 0
shelfno shelfno
Shelf number
Value: 0
Default: 0
Mode
Example
slotno slotno
Slot number
Range: 1 14
subcard subcardno
Sub-card number
Range: 0 3
ZXAN#
The following example displays how to reset the card in slot 3:
ZXAN#reset-card rackno 0 shelfno 0 slotno 3
Confirm to reset card? [yes/no]:y
38
Related
Commands
reboot
show card
Syntax
Purpose
Usage Guidelines
Description
Value
rackno rackno
Rack number
Value: 0
Default: 0
shelfno shelfno
Shelf number
Value: 0
Default: 0
slotno slotno
Mode
Example
Slot number
Range: 1 14
All modes
The following example display cards information:
ZXAN#show card
Rack Shelf Slot CfgType RealType Port HardVer SoftVer
Status
--------------------------------------------------------------0
0
2
EIGM
4
HWONLINE
0
0
3
EIGM
4
OFFLINE
0
0
4
GPTCB
GPTCB
2
V0
V1.1.2T4 INSERVICE
0
0
5
GPTCB
2
OFFLINE
0
0
6
GPTCB
2
OFFLINE
0
0
7
GCSD
GCSD
0
V0 V1.1.2T4
INSERVICE
0
0
8
GCSD
0
OFFLINE
Related
Commands
add-card
swap
Syntax
Purpose
Usage Guidelines
Description
Value
rackno rackno
Rack number
Value: 0
Default: 0
shelfno shelfno
Shelf number
Value: 0
Default: 0
slotno slotno
Slot number
Range: 1 14
Default: 7
39
Mode
Example
ZXAN#
The following example displays how to swap between active and
standby cards:
ZXAN#swap rackno 0 shelfno 0 slotno 7
Confirm to master swap? [yes/no]:y
Swap execute: RackNo: 0, ShelfNo: 0,SlotfNo: 7
Related
Commands
None
confirm-card
Syntax
Purpose
Usage Guidelines
Description
Value
rackno rackno
Rack number
Value: 0
Default: 0
shelfno shelfno
Shelf number
Range: 0 4
Default: 0
slotno slotno
Mode
Example
Slot number
Range: 1 6 or 9
14
ZXAN#
The following example displays how to confirm and enable the card
in slot 12:
ZXAN(config)#confirm-card rackno 0 shelfno 0 slotno 12
Confirm-card success! Rack : 0 Shelf : 0 Slot : 12 Type
Related
Commands
Related
Information
show card
add-card
To confirm all the cards that are online but not configured in the
shelf, execute confirm-card rackno 0 shelfno 0 command.
To confirm all the cards that are online but not configured in
the entire NE, execute confirm-card command.
reset-at-suspend
Syntax
reset-at-suspend
no reset-at-suspend
Purpose
40
: EIG
Usage Guidelines
Mode
Example
None
ZXAN#
The following example displays how to suspend the processes and
reset the NE:
ZXAN(config)# no reset-at-suspend
Related
Commands
None
lock-card
Syntax
Purpose
Usage Guidelines
Description
Value
rackno rackno
Rack number
Value: 0
Default: 0
shelfno shelfno
Shelf number
Range: 0 4
Default: 0
slotno slotno
Mode
Example
Slot number
Range: 1 17
ZXAN#
The following example displays how to lock the card in slot 12:
ZXAN(config)#lock-card rackno 0 shelfno 0 slotno 12
Confirm to lock card? [yes/no] Y
Related
Commands
unlock-card
unlock-card
Syntax
Purpose
Usage Guidelines
Description
Value
rackno rackno
Rack number
Value: 0
Default: 0
shelfno shelfno
Shelf number
Range: 0 4
Default: 0
slotno slotno
Mode
Slot number
Range: 1 17
ZXAN#
41
Example
The following example displays how to unlock the card in slot 12:
ZXAN(config)# unlock-card rackno 0 shelfno 0 slotno 12
Confirm to unlock card? [yes/no] Y
Related
Commands
42
lock-card
Chapter
Fan Management
Table of Contents
fan control........................................................................43
fan high-threshold .............................................................43
fan speed .........................................................................44
show fan ..........................................................................44
fan control
Syntax
Purpose
To set fan status (fixed speed status or auto-adjust status according to temperature)
Usage Guideline
Mode
Example
Description
Value
fixed-speed
temp_level tempx1
tempx2 tempx3
temp4
Auto-adjust status
according to
temperature from
level one to level four
tempx1 tempx4: 0
70
Level gap: 5
ZXAN(config)#
The following example displays how to set fan status:
ZXAN(config)#fan control temp-level 30 40 50 60
Related Command
show fan
fan high-threshold
Syntax
Purpose
Usage Guidelines
43
Mode
Example
Parameter
Description
Value
tempx
Temperature
threshold
Range: 60 80
Default: 70
ZXAN(config)#
The following example displays how to set temperature threshold
to 60 :
ZXAN(config)#fan high-threshold 60
Related Command
Related
Information
show fan
The high-temperature check interval is configured to five minutes.
If threshold is reached, the fan module sends alarm message to
main control card and the main control card transmits trap packets
to the SNMP server. As a result, all fans start working in full speed.
When temperature is detected lower than threshold, fans return
to normal working mode.
fan speed
Syntax
Purpose
Usage Guidelines
Mode
Example
Description
Value
speed
Fan speed
0, 1, 2, 3, 4
ZXAN(config)#
The following example displays how to set fan speed to 2:
ZXAN(config)#fan speed 2
Related Command
Related
Information
show fan
One of the four different speed can be assigned.
show fan
Syntax
Purpose
Usage Guidelines
Mode
Example
show fan
To show all fans configuration information
None
All modes but user mode
The following example displays all fans configuration information:
ZXAN(config)#show fan
FanControlType
TemperatureThreshold
44
: temp-control
: 10 20 30 40 (Celsiur scale)
HighTemperatureThreshold
: 63(Celsiur scale)
MP HighTemperatureThreshold
: 40 (Celsiur scale)
FanSpeed
: 2
Environment Temperature
: 29.
MP Temperature
: 26.
Filter Status
: normal
All fan actual status:
------------------------------------------fan online
Actual Status
------------------------------------------1
off-line
off
2
off-line
off
3
off-line
off
-------------------------------------------
Related
Commands
None
45
46
Chapter
Version Management
Table of Contents
activate version.................................................................47
download version ..............................................................48
erase version ....................................................................48
main-backup version..........................................................48
quit .................................................................................49
show compound-version .....................................................49
show update-status ...........................................................50
show version-running.........................................................51
show version-saved ...........................................................52
show sync-status...............................................................53
update-boot......................................................................53
update-version..................................................................54
patch load ........................................................................55
patch unload.....................................................................55
show patchstate ................................................................56
update-cpld ......................................................................56
activate version
Syntax
Purpose
Usage Guidelines
Mode
Example
Description
Value
filename
Range: 1 16
characters
ZXAN(version)#
The following example displays how to activate file version1:
ZXAN(version)#activate version version1
version1
Parse activate version ok!
Related
Commands
Related
Information
download version
erase version
Once the main control card main version file is activated, the previous version file is automatically deactivated.
47
download version
Syntax
Purpose
Usage Guidelines
Mode
Example
Description
Value
host-file-name
File name
Range: 0 12
characters
ZXAN(version)#
The following example displays how to download version file:
ZXAN(version)#download version gcsa.bt
Start loading file
.....................
file download successfully.
Related
Commands
activate version
erase version
erase version
Syntax
Purpose
Usage Guidelines
Mode
Example
Description
Value
file-name
Version file to be
erased
Range: 1 12
characters
ZXAN(version)#
The following example displays how to erase the version file:
ZXAN(version)#erase version version1
Erase Version Parse ok!
Filename: version1
Related
Commands
Related
Information
download version
activate version
User cannot erase the running version file of main control card.
main-backup version
Syntax
48
Purpose
Usage Guidelines
Mode
Example
Description
Value
host-file-name
Range: 1 16
characters
ZXAN(version)#
The following example displays how to perform main backup version synchronization:
ZXAN(version)#main-backup version synchronization
Related
Commands
show version-running
quit
Syntax
Purpose
Usage Guidelines
Mode
Example
quit
To return to privileged mode
None
ZXAN(version)#
The following example displays how to return back to privileged
mode:
ZXAN(version)#quit
ZXAN#
Related
Commands
version
show compound-version
Syntax
Purpose
Usage Guidelines
Mode
Example
Description
Value
file-name
Range: 0 16
characters
49
ZXAN#
Related
Commands
download version
show update-status
Syntax
Purpose
Usage Guidelines
Description
Value
rackno rackno
Range: 0 0
Default: 0
shelfno shelfno
Range: 0 0
Default: 0
slotno slotno
Mode
Example
Range: 1 14
50
Parameter
Description
Negotiating...
Downloading...
Update success
Update is successful
Download failed
No or same version
Related
Commands
Related
Information
Parameter
Description
Execute timeout
No version
Same version
Hard no match
Program wrong
Program is wrong
no version type
Failed in MToSlave
update line-card
This command is executed after update line-card command and
only displays card update information. If it is not updated, it displays cant update error message.
show version-running
Syntax
Purpose
Usage Guidelines
Description
Value
rackno number
Range: 0 0
Default: 0
Mode
shelfno number
Range: 0 0
slotno slotno
Range: 1 14
51
Example
The following example displays the file running version of all cards:
ZXAN#show version-running
PhyLoc VerType FileType
VerTag
VerLenth BuildTime
----------------------------------------------------------------------0/0/4
0/0/4
0/0/4
0/0/7
0/0/7
Related
Commands
GPTCB
GPTCB
GPTCB
GCSD
GCSD
MVR
FIRMWARE
BOOTROM
MVR
BOOTROM
V1.1.2T4
V1.1.2T4
V1.1.2GPTBT1
V1.1.2T4
V1.1.2T4
1454059
4958042
289216
12394720
524288
2008-11-21
2008-11-26
2009-01-19
2008-11-29
2008-11-29
20:17:53
12:21:18
09:33:47
05:18:37
10:26:23
download version
show version-saved
Syntax
Purpose
Usage Guidelines
Description
Value
rackno number
Range: 0 0
Default: 0
Mode
Example
shelfno number
Range: 0 0
slotno slotno
Range: 1 6 and 9
14
BuildTime
VerLenth Active
-------------------------------------------------------------------------
52
0/0/4
gptcb.fw
GPTCB
V1.1.2T4
0/0/4
gptcb.mvr
GPTCB
V1.1.2T4
0/0/7
eig.bt
EIG
V1.1.1EP1T4
0/0/7
eig.mvr
EIG
V1.1.1EP1T4
0/0/7
gcsd.bt
GCSD
V1.1.1EP1T4
0/0/7
gcsd.mvr
GCSD
V1.1.2T4
0/0/7
gcsd.mvr_14 GCSD
V1.1.1EP1T1
0/0/7
0
gpfab.bt
GPFAB
V0.99
0/0/7
gpfab.fw
GPFAB
V1.1.1EP1T1
0/0/7
gpfab.mvr
GPFAB
V1.1.1EP1T1
0/0/7
gptbb.fw
GPTBB
V1.1.1EP1T4
0/0/7
gptbb.mvr
GPTBB
V1.1.1EP1T4
0/0/7
gptcb.bt
GPTCB
V1.1.1EP1T4
0/0/7
gptcb.fw
GPTCB
V1.1.2T4
0/0/7
gptcb.fw_14 GPTCB
V1.1.1T2
0/0/7
0
gptcb.fw_fz GPTCB
V1.1.2T4
0/0/7
l
gptcb.mvr
V1.1.2T4
0/0/7
gptcb.mvr_1 GPTCB
V1.1.1EP1T4
GPTCB
40
Related
Commands
download version
show sync-status
Syntax
Purpose
Usage Guidelines
Mode
Example
Description
Value
rackno rackno
Rack number
Range: 0 0
shelfno shelfno
Shelf number
Range: 0 0
Related
Commands
None
update-boot
Syntax
Purpose
Usage Guidelines
53
Parameter
Description
Value
rackno racknumber
Range: 0 0
Default: 0
shelfno shelfnumber
Range: 0 0
Default: 0
Mode
Example
slotno number
Range: 1 14
local
Update from MP
ZXAN(version)#
The following example displays how to update boot version:
ZXAN(version)#update-boot slotno 7 local
Confirm to update boot? [yes/no]:y
Related
Commands
update-version
update-version
Syntax
Purpose
Usage Guidelines
Description
Value
rackno number
Range: 0 0
Default: 0
shelfno number
Range: 0 0
Default: 0
Mode
Example
slotno number
Range: 1 6 or 9
14
local
Update from MP
ZXAN(version)#
The following example displays how to update version of card in
slot 2:
ZXAN(version)#update-version slotno 2 local
54
Related
Commands
update-boot
patch load
Syntax
Purpose
Usage Guidelines
Mode
Example
Description
Value
all
master
slave
patchname
Range: 1 16
characters
ZXAN#
The following example displays how to upload patch for master
card:
ZXAN#patch load master versionoam.pat
Master patch reload patfile
Related
Commands
show patchstate
patch unload
patch unload
Syntax
Purpose
Usage Guidelines
Mode
Example
Description
Value
all
master
slave
patchname
Range: 1 16
characters
ZXAN#
The following example displays how to unload dynamic patch:
55
Related
Commands
show patchstate
patch load
show patchstate
Syntax
Purpose
Usage Guidelines
Mode
Example
show patchstate
To display uploaded dynamic patch state
None
ZXAN#
The following example displays uploaded dynamic patch state:
ZXAN#show patchstate
Rack
Shelf Slot
PatchName
PatchState
------------------------------------------------------0
0
9
versionoam.pat
patch load success
Related
Commands
patch unload
patch load
update-cpld
Syntax
Purpose
Usage Guidelines
Description
Value
rackno rackno
Rack number
Range: 0 0
Default: 0
shelfno shelfno
Shelf number
Range: 0 4
Default: 0
Mode
Example
slotno slotno
Slot number
Range: 1 17
swtval swtval
1: to update
0: not to update
ZXAN(version)#
The following example displays how to update CPLD in slot 3 online:
ZXAN(version)#update-cpld slotno 3 swtval 1
%Code 35681: Cpldupdate flag is set successfully.
56
Related
Commands
Reset-card
57
58
Chapter
cd
Syntax
Purpose
Usage Guidelines
Mode
Example
cd directory
To enter a specific file device or file directory of the current file
device
The following table provides parameter description:
Parameter
Description
Value
directory
Directory name or
device name
Range: 1 80
characters
ZXAN#
The following example displays how to enter a specific file device
or file directory of the current file device:
1. Enter the flash file device of the system:
ZXAN#cd flash:
59
Related
Commands
dir
mkdir
pwd
rmdir
Related
Information
Types of the device name fixed in the system include nvram: and
flash:
Note:
Mode
Example
Description
Value
source-device
source-file
Range: 1 80
characters
destination-device
Destination device
name
destination-file
Destination directory
and file name
Range: 1 80
characters
ZXAN#
The following example displays how to copy a specified file
from flash: cfg/startrun.dat to FTP host (FTP host IP address
10.63.10.105 and username/password test/pass):
ZXAN#copy
Related
Commands
60
ftp: //10.63.10.105/startrun1.dat@test:pass
delete
Related
Information
delete
Syntax
Purpose
Usage Guidelines
Mode
Example
delete filename
To delete file(s) in specified directory of current file device
The following table provides parameter description:
Parameter
Description
Value
filename
Filename or directory
and filename
Range: 1 80
characters
ZXAN#
The following example displays how to delete a file in current directory named sys.dat:
ZXAN#delete sys.dat
Related
Commands
Related
Information
copy
rename
The total length of directory and filename must be less than 80
characters.
Declarators such as . and .. are operational.
dir
Syntax
Purpose
Usage Guidelines
Mode
Example
dir [directory]
To display files in specified or current directory of current file device
The following table provides parameter description:
Parameter
Description
Value
directory
Directory name or
device name
Range: 1 80
characters
ZXAN#
The following example displays files in flash:/img directory:
ZXAN#cd flash:
ZXAN#cd img
ZXAN#dir
Directory of flash:/img
1
2
3
attribute
drwx
drwx
-rwx
size
2048
2048
276208
date
JAN-01-2001
JAN-01-2000
JAN-01-2001
time
00:14:20
00:00:13
00:13:44
name
.
..
eig.bt
61
4
5
6
7
8
9
10
11
-rwx
-rwx
-rwx
-rwx
-rwx
-rwx
-rwx
-rwx
524288
10394721
1945202
613546
300528
1808275
4553954
286976
JAN-01-2001
JAN-01-2001
JAN-01-2001
JAN-01-2001
JAN-01-2001
JAN-01-2001
JAN-01-2001
JAN-01-2001
00:14:22
00:10:48
00:12:42
00:11:18
06:00:12
00:53:56
05:59:56
00:13:26
gcsa.bt
gcsa.mvr
epfc.mvr
eig.mvr
gptbb.bt
gptbb.mvr
gptbb.fw
epfc.bt
Related
Commands
Information
Description
Attribute
Size
File size
Date
Time
Name
File name
cd
mkdir
pwd
rmdir
Related
Information
display
Syntax
Purpose
Usage Guidelines
Mode
Example
display filename
To display the specified file
The following table provides parameter description:
Parameter
Description
Value
filename
File name
Range: 1 128
characters
ZXAN#
The following example displays how to display the specified file:
ZXAN#display test
62
Related
Commands
None
format flash
Syntax
Purpose
Usage Guidelines
Mode
Example
format flash
To format the flash
None
ZXAN#
The following example displays how to format Flash:
ZXAN#format flash
All data will be cleared.Continue to format? [yes/no]:y
Related
Commands
Related
Information
None
This command can be executed only in the root directory of the
flash.
mkdir
Syntax
Purpose
Usage Guidelines
Mode
Example
mkdir directory
To create new subdirectory under current directory
The following table provides parameter description:
Parameter
Description
Value
directory
Directory name or
device name
Range: 1 32
characters
ZXAN#
The following example displays how to create new subdirectory
named test under current directory:
ZXAN#mkdir test
Related
Commands
cd
dir
pwd
rmdir
63
pwd
Syntax
Purpose
Usage Guidelines
Mode
Example
pwd
To display current directory path
None
ZXAN#
The following example displays current directory path:
ZXAN#pwd
root:/flash:/
ZXAN#
Related
Commands
cd
dir
mkdir
rmdir
rename
Syntax
Purpose
Usage Guidelines
Mode
Example
Description
Value
source-filename
Range: 1 80
characters
modified-filename
Range: 1 12
characters
ZXAN#
The following example displays how rename a file named sys.dat
in config directory as back.dat:
ZXAN#rename config/sys.dat back.dat
Related
Commands
copy
delete
rmdir
Related
Information
64
Source filename can include file path, but second parameter only
includes the modified name for filename.
rmdir
Syntax
Purpose
Usage Guidelines
Mode
Example
rmdir directory
To delete the specified file directory
The following table provides parameter description:
Parameter
Description
Value
directory
Range: 1 32
characters
ZXAN#
The following example displays how to delete the specified file directory:
ZXAN#rmdir test1
Related
Commands
cd
copy
dir
mkdir
pwd
write
Syntax
Purpose
Usage Guidelines
Mode
Example
write
To write (save) configuration information of router to flash, or write
current router system parameters to the NVRAM
None
ZXAN#
The following example displays how to write configuration information of current device to the NVRAM:
ZXAN#write
Building configuration...
[ok]
Related
Commands
Related
Information
write flash
write nvram
This command has same effect as of write flash and write nvram
commands.
65
write flash
Syntax
Purpose
Usage Guidelines
Mode
Example
write flash
To write current active device configuration to flash
None
ZXAN#
The following example displays how to write current active device
configuration to flash:
ZXAN#write flash
Building configuration FLASH: ...
[ok]
Related
Commands
Related
Information
write
write nvram
Configuration written to flash automatically comes into effect when
system restarts.
write nvram
Syntax
Purpose
Usage Guidelines
Mode
Example
write nvram
To write current configuration to NVRAM
None
ZXAN#
The following example displays how to write current configuration
to NVRAM:
ZXAN#write nvram
Building configuration...
[ok]
Related
Commands
66
write
write flash
Chapter
User Management
Table of Contents
line console absolute-timeout ..............................................67
line console idle-timeout.....................................................68
line telnet absolute-timeout ................................................68
line telnet access-class .......................................................69
line telnet idle-timeout .......................................................70
login ................................................................................70
logout ..............................................................................71
login-authentication-type....................................................71
login-authorization-type .....................................................71
quit .................................................................................72
rlogin...............................................................................72
script ...............................................................................73
show history .....................................................................73
show monitor....................................................................74
show msan .......................................................................74
show terminal ...................................................................75
telnet...............................................................................75
telnet mng .......................................................................76
telnet onu ........................................................................76
Purpose
Usage Guidelines
Mode
Description
Value
absolute-timeout
Set console
absolute-timeout
in minutes
Range: 1 10,000
minutes
Default: 1 day
ZXAN(config)#
67
Example
Related
Commands
Related
Information
Purpose
Usage Guidelines
Description
Value
idle-timeout
Range: 1 1000
minutes
Default: 2 hours
Mode
Example
ZXAN(config)#
The following example displays how to configure idle timeout of
console port session as 30 minutes:
ZXAN(config)#line console idle-timeout 30
Related
Commands
Related
Information
Purpose
Usage Guidelines
68
Mode
Example
Parameter
Description
Value
absolute-timeout
Configure Telnet
absolute timeout in
minutes
Range: 1 10,000
minutes
Default: 1 day
ZXAN(config)#
The following example displays how to configure absolute timeout
as 30 minutes for Telnet session:
ZXAN(config)#line telnet absolute-timeout 30
Related
Commands
Related
Information
Purpose
Usage Guidelines
Mode
Example
Description
Value
access-list-number
IP access list
Range: 1 99
ZXAN(config)#
The following example displays how to configure the login IP restriction of Telnet terminal:
ZXAN(config)#line telnet access-class 2
Related
Commands
acl extended
acl standard
acl link
acl hybrid
Related
Information
69
Purpose
Usage Guidelines
Mode
Example
Description
Value
idle-timeout
Set Telnet
idle-timeout in
minutes
Range: 1 1000
Default: 120 minutes
ZXAN(config)#
The following example displays how to configure the idle time of
the Telnet terminal to 30 minutes:
ZXAN(config)#line telnet idle-timeout 30
Related
Commands
Related
Information
login
Syntax
Purpose
Usage Guidelines
Mode
login
To log in to the equipment
None
ZXAN>
ZXAN#
Example
Related
Commands
70
logout
quit
logout
Syntax
Purpose
Usage Guidelines
Mode
logout
To logout from the router and end current session
None
ZXAN>
ZXAN#
Example
Related
Commands
ZXAN>logout
login
quit
login-authentication-type
Syntax
Purpose
Usage Guidelines
Mode
Example
Description
Value
local
Local authentication
radius group
Radius authentication
and group number
Range: 1 10
tacacs+
Tacacs+
authentication
ZXAN#
The following example displays how to configure user login authentication type as local:
ZXAN(config)#login-authentication-type local
Related
Commands
Related
Information
login-authorization-type
By default, the authentication type is local.
login-authorization-type
Syntax
Purpose
71
Usage Guidelines
Mode
Example
Description
Value
local
Local authorization
type
tacacs+
Tacacs+ authorization
type
ZXAN(config)#
The following example displays how to configure authorization type
as tacacs+:
ZXAN(config)#login-authorization-type tacacs+
Related
Commands
Related
Information
login-authentication-type
By default configuration, the authorization type is local.
quit
Syntax
Purpose
Usage Guidelines
Mode
quit
To return to privileged mode
None
ZXAN#
ZXAN>
Example
None
Related
Commands
login
Related
Information
logout
This command is also used to terminate current session.
rlogin
Syntax
Purpose
Usage Guidelines
72
Mode
Example
Parameter
Description
Value
commander
Open a Telnet
connection to
commander
member member-id
Range: 1 255
ZXAN#
The following example displays how to open a Telnet connection
to commander:
ZXAN#rlogin commander
Related
Commands
None
script
Syntax
Purpose
Usage Guidelines
Mode
Example
Description
Value
execute filename
Range: 1 128
characters
ZXAN#
The following example displays how to execute a script named
test:
ZXAN#script execute test
Related
Commands
None
show history
Syntax
Purpose
Usage Guidelines
Mode
Example
show history
To display executed commands history
None
All modes
The following example displays executed commands history:
ZXAN>show history
who
73
show ip route
en
Related
Commands
Related
Information
None
This command can be used to view last ten executed commands.
show monitor
Syntax
Purpose
Usage Guidelines
Mode
Example
Description
Value
session session-num
ber
Monitor session
number
Range: 1 1
Related
Commands
None
show msan
Syntax
Purpose
Usage Guidelines
Mode
Example
Description
Value
shelfno
Shelf number
cardno
Slot number
Range: 0 10
log
74
Related
Commands
None
show terminal
Syntax
Purpose
Usage Guidelines
Mode
Example
show terminal
To display the status of the current user terminal
None
All modes
The following example displays the status of the current user terminal:
ZXAN#show terminal
Line 66, Location: "", Type: "ANSI"
Length: 25 lines, Width: 80 columns
Telnet idle-timeout is: 16:40:00
Telnet absolute-timeout is: 1d00h00m
Baud rate (TX/RX) is 9600/9600
Capabilities: none
Time since activation: 00:20:37
Editing is enabled.
History is enabled, history size is 10.
Telnet access-class is: EMPTY!
Related
Commands
Related
Information
None
This command can be executed to display terminal information
such as terminal ID, type and logging limitation.
telnet
Syntax
Purpose
Usage Guideline
Mode
telnet ip-address
To establish connection through Telnet
The following table provides parameters description:
Parameter
Description
Value
ip-address
Destination IP address
A.B.C.D
ZXAN#
ZXAN>
Example
The following example displays how to log into server with IP address of 168.1.200.77:
ZXAN#telnet 168.1.200.77
Related
Commands
Related
Information
None
This command can be executed to log in other remote devices or
Telnet server.
75
telnet mng
Syntax
Purpose
Usage Guidelines
Mode
Description
Value
ip-address
Destination IP address
A.B.C.D
ZXAN>
ZXAN#
Example
The following example displays how to log into Telnet server with
IP address 168.1.200.77 from management interface:
ZXAN#telnet mng 168.1.200.77
Related
Commands
Related
Information
None
This command manages to log into remote devices or Telnet server
from management interface.
telnet onu
Syntax
Purpose
Usage Guidelines
Mode
Example
Description
Value
gpon-onu
shelf/slot/olt:onu
Interface
ZXAN#
The following example displays how to access an ONU through
Telnet:
ZXAN#telnet onu gpon-onu_0/12/2:1
Related
Commands
Related
Information
76
None
This command can be executed to log into ONU through management port.
Chapter
Clock Management
Table of Contents
clock................................................................................77
clock timezone ..................................................................77
clock set ..........................................................................78
source .............................................................................78
external-input ...................................................................79
external-output .................................................................80
show clock config ..............................................................81
show source active ............................................................81
clock
Syntax
Purpose
Usage Guidelines
Mode
Example
Description
Value
timezone name
Range: 1 9
characters
offset
Range: -23 23
hours
ZXAN(config)#
The following example displays how to enter the clock configuration mode:
ZXAN(config)#clock
ZXAN(config-clock)#
Related
Commands
None
clock timezone
Syntax
77
Purpose
Usage Guidelines
Mode
Example
Description
Value
timezone-name
Range: 1 9
characters
hours
Range: -12 13
mins
Range: 0 59
ZXAN(config)#
The following example displays how to configure the time zone:
ZXAN(config)#clock timezone test 0 30
Related
Commands
None
clock set
Syntax
Purpose
Usage Guidelines
Mode
Example
Description
Value
time
Current time
hh:mm:ss
month
Month
day
Range: 1 31
year
Year
ZXAN#
The following example displays how to configure the system clock
in standard time format:
ZXAN#clock set 23:12:01 feb 23 2001
ZXAN#
Related
Commands
None
source
Syntax
78
no source clock-priority
Purpose
Usage Guidelines
Description
Value
shelfslot /port
Shelf/slot/port
number
internal
Internal clock
maintain
Maintain clock
external
External clock
1/2
e1
E1 clock
Range: 1 32
stm1
Range: 1 4
stm4
Range: 1 4
priority clock-priority
Clock priority
Range: 1 255
1: top priority
Mode
Example
ZXAN(config-clock)#
The following example displays the current active clock source:
ZXAN(config-clock)#source example type e1 priority 44
Related
Commands
Related
Information
None
C220 contains 14 slots in total and main control card can only
configure external and internal clocks.
C220 provides 2-route external clock, online SDH optical clock and
online E1 clock for clock module and clock source priority for reference. For external clock, it provides BITS and HZ interface modes
to use.
Before adding clock source, check previous configuration first.
external-input
Syntax
Purpose
Usage Guidelines
Description
Value
shelf/card/port
79
Mode
Example
Parameter
Description
Value
quailty
Quality of clock
primary
Datum clock
G.811
enhanced2
Enhanced level-2
clock
G.812
enhanced3
Enhanced level-3
clock
G.812
sec
SEC clock
G.813
mode
BITS/HZ mode
Default mode: Hz
hz
Hz mode
unreadablessm
BITS mode,
unreadable SSM
readablessm
ZXAN(config-clock)#
The following example displays how to configure the external input
clock:
ZXAN(config-clock)#external-input 0/6/1 quality sec mode hz
Related
Commands
None
external-output
Syntax
Purpose
Usage Guidelines
80
Description
Value
ssmThreshold
primary
Datum clock
G.811
enhanced2
Enhanced level-2
clock
G.812
enhanced3
Enhanced level-3
clock
G.812
sec
SEC clock
G.813
mode
BITS/HZ mode
Mode
Example
Parameter
Description
Value
hz
HZ mode
Default: Hz mode
bits
BITS mode
ZXAN(config-clock)#
The following example displays how to configure the external output clock:
ZXAN(config-clock)#external-output ssmThreshold sec mode hz
Related
Commands
None
Example
Related
Commands
Related
Information
None
This command displays current optional SEC clock configuration
from high to low according to priority including both input SEC
clock and output clock configuration.
Example
81
Information
Description
Value
Interface
Interface number
Range: 1 32
Type
Clock type
Range: 0 5
InS1
Received S1
Range: 0 15
OutS2
Sending S1
Range: 0 15
Status
Clock status
Related
Commands
Related
Information
82
FREE_RUN1:
Normal phaselocked loop
FREE_RUN2:
Abnormal
phase-locked loop
PRE_LOCKED:
previous mode is
free run
PRE_LOCKED2:
previous mode is
locked, holdover
or lost phase
LOCKED
LOST_PHASE
HOLDOVER
None
It provides current clock source information including lock-in status.
Chapter
SNMP Management
Table of Contents
show snmp .......................................................................83
show snmp config..............................................................84
show snmp engine-id .........................................................84
show snmp group ..............................................................85
show snmp user ................................................................85
snmp-server access-list ......................................................86
snmp-server community.....................................................86
snmp-server contact ..........................................................87
snmp-server context ..........................................................87
snmp-server enable ...........................................................88
snmp-server engine-id .......................................................88
snmp-server group ............................................................89
snmp-server host ..............................................................90
snmp-server location .........................................................91
snmp-server packetsize......................................................91
snmp-server trap-source ....................................................92
snmp-server user ..............................................................92
snmp-server view ..............................................................93
show snmp
Syntax
Purpose
Usage Guidelines
Mode
Example
show snmp
To display SNMP information
None
All modes
The following example displays SNMP information:
ZXAN>show
Contact :
Location:
978
0
0
0
1262
226
647
90
241
1384
0
0
0
13
snmp
+86-021-68895000
No.889 BiBo Rd. PuDong District, ShangHai, China
SNMP packets input
Bad SNMP version errors
Unknown community name
Illegal operation for community name supplied
Number of requested variables
Number of altered variables
Get-request PDUs
Get-next PDUs
Set-request PDUs
SNMP packets output
Too big errors (Maximum packet size 3000)
No such name errors
Bad values errors
General errors
83
978
406
Related
Commands
Response PDUs
SNMP trap PDUs
None
Example
Related
Commands
Example
Related
Commands
84
snmp-server engine-id
Related
Information
SNMP engine is core of SNMP entity and implements SNMP message sending and receiving, filters PDU assenbling information and
communication with SNMP application programs.
Example
Related
Commands
snmp-server group
Example
85
Related
Commands
snmp-server user
snmp-server access-list
Syntax
Purpose
Usage Guidelines
Mode
Example
Description
Value
acl
Range: 1 31
characters
ZXAN(config)#
The following example displays how to apply ACL to manage SNMP
based access to system:
ZXAN(config)#snmp-server access-list 1
Related
Commands
None
snmp-server community
Syntax
Purpose
Usage Guidelines
Mode
Example
Description
value
community-name
Community string
Range: 1 32
characters
view view-name
SNMP view
Range: 1 32
characters
ro | rw
Read-only access or
read and write access
ZXAN(config)#
The following example displays how to configure an SNMP message
community string with read and write privilege:
ZXAN(config)#snmp-server community myCommunity view myview rw
86
Related
Commands
Related
Information
snmp-server view
community-name refers to a string of characters and view-name
refers to a MIB view name.
By default, the keyword view shows system configuration for community view of 1.3.6.1.2.1.1. Default privilege is read-only.
snmp-server contact
Syntax
Purpose
Usage Guidelines
Mode
Example
Description
Value
mib-syscontact-text
Range: 1 200
characters
ZXAN(config)#
The following example displays how to configure contact details
(such as phone number) for SNMP server:
ZXAN(config)#snmp-server contact this is C220,tel:(021)68895000
Related
Commands
None
snmp-server context
Syntax
Purpose
Usage Guidelines
Mode
Example
Description
Value
context-name
Range: 1 30
characters
ZXAN(config)#
The following example displays how to define the SNMP context
name as contextA:
ZXAN(config)#snmp-server context contextA
87
Related
Commands
None
snmp-server enable
Syntax
Purpose
Usage Guidelines
Mode
Example
Description
Value
inform | trap
notification-type
Notification type
ZXAN(config)#
The following example displays how to enable and configure SNMP
notification type sent by the agent:
ZXAN(config)#snmp-server enable inform
ZXAN(config)#snmp-server host 168.1.1.1 inform version 2c public
Related
Commands
Related
Information
snmp-server host
By default, all information including alarm and notification is reported.
snmp-server engine-id
Syntax
Purpose
Usage Guidelines
Mode
Example
Description
Value
engine-id
Range: 1 24
characters
ZXAN(config)#
The following example displays how to configure an SNMP local
engine ID as 12345667890:
ZXAN(config)#snmp-server engine-id 12345667890
88
Related
Commands
Related
Information
snmp-server group
Syntax
Purpose
Usage Guidelines
Mode
To configure a new SNMP group, i.e., map the SNMP user to the
SNMP view
The following table provides parameter description:
Parameter
Description
Value
group groupname
Group name
Range: 1 32
characters
v3
auth
Auth-no-priv security
level
noauth
No-auth-no-priv
security level
priv
SNMPv3 auth-private
security level
context contextname
Range: 1 30
characters
match-exact
match-prefix
notify notifyview
read readview
write writeview
ZXAN(config)#
89
Example
Related
Commands
snmp-server host
Syntax
Purpose
Usage Guidelines
90
Description
Value
ipaddress
Host IP address
A.B.C.D
inform
version
SNMP version to
use for notification
messages
Use SNMPv1
2c
Use SNMPv2c
Use SNMPv3
community-name
SNMPv1/v2c
community string
or SNMPv3 user name
Range: 1 32
characters
udp-port udp-port
trap
server-index
server-index
Range: 1 8
enable
disable
CRITICAL |
INDETERMINATE
| MAJOR | MINOR |
NOTIFICATIONS |
WARNINGS
Alarm level
Mode
Example
ZXAN(config)#
The following example displays how to configure the destination
to receive SNMP notification:
ZXAN(config)#snmp-server host 168.1.1.1 inform version 2c test enable
CRITICAL isnmsserver server-index 1
Related
Commands
Related
Information
snmp-server location
Syntax
Purpose
Usage Guidelines
Mode
Example
Description
Value
location-text
ZXAN(config)#
The following example displays how to specify the location of the
system:
ZXAN(config)#snmp-server location this is C220 in china
Related
Commands
None
snmp-server packetsize
Syntax
Purpose
Usage Guidelines
91
Mode
Example
Parameter
Description
Value
snmp-packet-max-s
ize
Maximum SNMP
packet size in bytes
ZXAN(config)#
The following example displays how to configure the maximum
length of the SNMP message to 1400 bytes:
ZXAN(config)#snmp-server packetsize 1400
Related
Commands
None
snmp-server trap-source
Syntax
Purpose
Usage Guidelines
Mode
Example
Description
Value
ip-address
IP address
A.B.C.D
ZXAN(config)#
The following example displays how to configure the source address as 10.1.1.1 for all traps:
ZXAN(config)#snmp-server trap-source 10.1.1.1
Related
Commands
None
snmp-server user
Syntax
Purpose
Usage Guidelines
92
Description
Value
username
User name
Range: 1 32
characters
Mode
Example
Parameter
Description
Value
groupname
Range: 1 32
characters
v3
encrypted
Passwords as MD5 or
SHA digests
auth
Authentication
parameters for the
user
md5
Range: 32 characters
sha
Range: 40 characters
auth-password
Authentication
password for user
Range: 1 32
characters
priv
Encryption
parameters for the
user
des56
priv-password
Range: 1 32
characters
ZXAN(config)#
The following example displays how to configure the SNMPv3 user1
MD5 authentication as 12345678 and CB-DES encrypted password
as 12345678:
ZXAN(config)#snmp-server user user1 group1 v3
auth md5 12345678 priv des56 12345678
Related
Commands
Related
Information
snmp-server view
Syntax
Purpose
93
Usage Guidelines
Mode
Example
Description
Value
view-name
View name
Range: 1 32
characters
subtree-id
View subtree ID
Range: 1 79
characters
included | exclu
ded
ZXAN(config)#
The following example displays how to define the SNMPv2 view as
myViewName:
ZXAN(config)#snmp-server view myViewName 1.3.6.1.2.1 included
Related
Commands
Related
Information
94
snmp-server community
In global configuration mode, execute this command to define the
SNMP view. In addition, view-name is a string of characters, subt
ree-id is similar to OID or MIB subtree node name. By attaching
keyword included or excluded, subtree can be configured.
Chapter
10
RMON Management
Table of Contents
rmon alarm ......................................................................95
rmon collection history .......................................................96
rmon collection statistics ....................................................97
rmon event.......................................................................98
show rmon .......................................................................99
rmon alarm
Syntax
Purpose
Usage Guidelines
Description
Value
index
Alarm index
Range: 1 65535
variable
Range: 1 64
characters
interval
Sample interval
Range: 1
2147483647 sec
delta
absolute
rising-threshold
value
Range: -2147483647
2147483647
event-index
Range: 1 65535
95
Parameter
Description
Value
falling-threshold
value
Range: -2147483647
2147483647
owner string
Range: 1 30
characters
Default: config
Mode
Example
ZXAN(config)#
The following example displays how to configure the configure the
RMON alarm and related parameters:
ZXAN(config)# rmon alarm 1 ip.2.0 10 absolute rising-threshold 200 1
falling-threshold 100 1 owner ZTE
Related
Commands
Related
Information
Purpose
Usage Guidelines
96
Description
Value
index
History index
Range: 1 100
buckets bucket-num
ber
Request bucket
number
Range: 1 100
Default: 50
Parameter
Description
Value
interval seconds
Interval
Range: 1 3600
seconds
Default: 1800
seconds
owner string
Owner
Range: 1 30
characters
Default: monitor
Mode
Example
ZXAN(config-if)#
The following example displays how to enable the history collection
function of an Ethernet interface to an interval of 300 seconds:
ZXAN(config-if)# rmon collection history 1
owner zte buckets 100 interval 300
Related
Commands
Related
Information
None
1. Configuration of several history statistics to one interface is
possible.
2. It is possible to delete other interface history statistics configuration in interface configuration mode.
3. Use no form of this command to cancel the previous configuration before configuring history statistics.
4. Unknown history Control number message is displayed if a
nonexistent index is deleted.
5. Due to buffer error or unavailable resource, system displays
Alloc buffer erroror Resource unavailable message.
Purpose
Usage Guidelines
To enable the statistics collection function of an interface (applicable to the Ethernet interface only)
The following table provides parameter description:
Parameter
Description
Value
index
Statistics index
Range: 1 65535
owner string
Owner
Range: 1 30
characters
Default: monitor
Mode
Example
ZXAN(config-if)#
The following example displays how to enable the statistics collection function of an interface:
ZXAN(config-if)# rmon collection statistics 1 owner zte
97
Related
Commands
Related
Information
None
1. Configuration of several history statistics on one interface is
possible.
2. It is possible to delete other interface history statistics configuration in interface configuration mode.
3. Use the no form of this command to cancel previous configuration before configuring history statistics.
4. Unknown etherStats number message is displayed if a
nonexistent index is deleted.
5. Due to buffer error or unavailable resource, system displays
Alloc buffer error or Resource unavailable message.
rmon event
Syntax
Purpose
Usage Guidelines
Description
Value
index
Event index
Range: 1 65535
description string
Event description
Range: 1 30
characters
Default: zte
log
owner string
Event owner
Range: 1 30
characters
Default: config
trap community
Mode
Example
SNMPv1/v2c
community string
or SNMPv3 user name
Range: 1 30
characters
ZXAN(config)#
The following example displays how to configure an RMON event:
ZXAN(config)# rmon event 1 log trap public description log_trap_event
Related
Commands
Related
Information
98
show rmon
Syntax
Purpose
Usage Guidelines
Mode
Example
Description
Value
alarms
events
history
statistics
Related
Commands
Related
Information
rmon alarm
rmon event
1. This command displays RMON version information when optional parameters are not used.
2. If the specified control list contains none of control enty, the
following information is displayed:
99
100
Chapter
11
FTP/TFTP Server
Table of Contents
copy .............................................................................. 101
copy .............................................................................. 102
ip ftp password ............................................................... 102
ip ftp username............................................................... 103
copy
Syntax
Purpose
Usage Guidelines
Mode
Example
To copy files from specified directory of source file system to specified directory of destination file system
The following table provides parameter description:
Parameter
Description
Value
mng
Management
interface
//HOST/filepath/filen
ame [@username[:p
assword]]
Range: 1 80
characters
filepath1/filename1
Range: 1 80
characters
ZXAN#
1. The following example displays how to copy files from directory
flash: /cfg/db.dat to ftp: //168.1.1.1/db.dat@zxc220:zxc220:
ZXAN#copy flash: /cfg/db.dat ftp: //168.1.1.1/db.dat@zxc220:zxc220
101
Related
Commands
None
copy
Syntax
Purpose
Usage Guidelines
Mode
Example
Description
Value
//HOST/filepath/filen
ame
Range: 1 80
characters
commander /filepath
Range: 1 80
characters
filepath1/filename1
Management
interface file path
and name
Range: 1 80
characters
ZXAN#
1. The following example displays how to copy the file db.dat from
flash: /cfg/ to host 168.1.1.1 in the TFTP server:
ZXAN#copy flash: /cfg/db.dat tftp: //168.1.1.1/db.dat
2. The following example displays how to copy the file db.dat from
the remote host 168.1.1.1 in the TFTP server to root directory
of Flash:
ZXAN#copy tftp: //168.1.1.1/db.dat flash: db.dat
Related
Commands
None
ip ftp password
Syntax
Purpose
Usage Guidelines
102
Mode
Example
Parameter
Description
Value
password
Range: 3 16
characters
ZXAN(config)#
The following example displays how to set FTP client-end default
password as zxc220:
ZXAN(config)#ip ftp password zxc220
ZXAN(config)#
Related
Commands
Related
Information
ip ftp username
Password is case sensitive.
ip ftp username
Syntax
Purpose
Usage Guidelines
Mode
Example
Description
Value
username
FTP username
Range: 1 16
characters
ZXAN(config)#
The following example displays how to configure FTP username as
C220:
ZXAN(config)#ip ftp username C220
ZXAN(config)#
Related
Commands
Related
Information
ip ftp password
Allowed characters include letters, numerals and underscore.
Usernames are not case sensitive.
103
104
Chapter
12
Example
105
Related
Commands
None
Example
Related
Commands
None
Example
Related
Commands
None
clear processor
Syntax
Purpose
Usage Guidelines
Mode
Example
clear processor
To clear processor information
None
ZXAN#
The following example displays how to clear processor information:
ZXAN#clear processor
Related
Commands
106
None
Related
Information
logging buffer
Syntax
Purpose
Usage Guidelines
Description
Value
buffer-size
Buffer size
Mode
Example
ZXAN(config)#
The following example displays how to configure the size of the
alarm log buffer to 100 Kbytes:
ZXAN(config)#logging buffer 100
Related
Commands
Related
Information
None
Execute logging on command before executing this command.
logging console
Syntax
Purpose
Usage Guidelines
Description
Value
MAJOR
Major conditions
MINOR
Minor conditions
WARNINGS
Warning conditions
INDETERMINATE
Indeterminate
conditions
CLEARED
Cleared conditions
NOTIFICATIONS
107
Mode
Example
ZXAN(config)#
The following example displays how to configure alarm messages
as cleared:
ZXAN(config)#logging console CLEARED
Related
Commands
Related
Information
None
System initialization alarm message sent to Console interface is of
notifications level.
Execute logging on command before this command execution.
Execute no form of this command to stop sending alarm messages.
logging filesavetime
Syntax
Purpose
Usage Guidelines
To configure time for writing alarm log to file and sending it to FTP
server
The following table provides parameter description:
Parameter
Description
Value
everyday time
hh:mm:ss
interval time
hh:mm:ss
month month-day
time
Range (month): 1
31 days
Range (weekday): 7
days (Mon Sat)
ftp-server
IP address of FTP
server
A.B.C.D
username
Range: 1 31
characters
password
Range: 1 31
characters
108
Range (time):
hh:mm:ss
Range (time):
hh:mm:ss
Mode
Example
Parameter
Description
Value
mng
Management
interface
filename
Range: 1 31
characters
ZXAN(config)#
The following example displays how to configure time as 0:00 for
writing alarm log to file everyday and sending it to FTP server with
IP address 168.1.70.100, username/password target/target, and
prefix of saved file as zxrt64log:
ZXAN(config)#logging filesavetime everyday
0:0:0 168.1.70.100 target target zxrt64log
Related
Commands
Related
Information
None
logging on command should be executed before configuring this
command.
logging ftp
Syntax
Purpose
Usage Guidelines
Description
Value
level
Alarm level
1: MAJOR
2: MINOR
3: WARNINGS
4: INDETERMINATE
5: CLEARED
6: NOTIFICATIONS
mng
Management
interface
ftp-server
A.B.C.D
username
Range: 1 31
characters
password
Range: 1 31
characters
filename
Range: 1 31
characters
Default: log.dat
109
Mode
Example
ZXAN(config)#
The following example displays how to configure sending of level 6
alarms (NOTIFICATIONS) to FTP server (168.1.70.100) with user
name (target) and password (target) in file zxralarm.log:
ZXAN(config)#logging ftp NOTIFICATIONS
168.1.70.100 target target zxralarm.log
Related
Commands
Related
Information
None
Execute logging on command before using this command.
File name used in this command must exist in FTP server directory.
By default, file name is log.dat.
logging level
Syntax
Purpose
Usage Guidelines
To configure the alarm message level recorded in the alarm log file
The following table provides parameter description:
Parameter
Description
Value
level
Alarm level
1: MAJOR
2: MINOR
3: WARNINGS
4: INDETERMINATE
5: CLEARED
6: NOTIFICATIONS
Mode
Example
ZXAN(config)#
The following example displays how to configure the alarm message level recorded in the alarm log file:
ZXAN(config)#logging level INDETERMINATE
Related
Commands
Related
Information
None
Execute logging on command before executing this command.
logging mode
Syntax
Purpose
110
Usage Guidelines
Mode
Example
Description
Value
FULLCLEAR
FULLCYCLE
FULLEND
No logging to buffer
when logging buffer is
full
interval
Range: 10 65535
min
ZXAN(config)#
The following example displays how to configure clearing mode of
alarm log as FULLCLEAR:
ZXAN(config)#logging mode FULLCLEAR
Related
Commands
Related
Information
None
Execute logging on command before executing this command.
logging snmplog-save
Syntax
Purpose
Usage Guidelines
Mode
Example
Description
Value
enable
disable
ZXAN(config)#
The following example displays how to enable SNMP log saving:
ZXAN(config)#logging snmplog-save enable
Related
Commands
None
111
Related
Information
logging on
Syntax
logging on
no logging on
Purpose
Usage Guidelines
Mode
Example
Related
Commands
Related
Information
None
logging on command is related to following commands configuration:
show snmplogfile
Syntax
Purpose
Usage Guidelines
Description
Value
Date: mm-dd-yyyy
Date: mm-dd-yyyy
Login IP address
A.B.C.D
ipaddress ip-address
Mode
Example
Time: hh:mm:ss
Time: hh:mm:ss
112
Related
Commands
None
Related
Commands
show cmdlogfile
Syntax
Purpose
Usage Guidelines
Description
Value
username string
Login username
Range: 1 16
characters
Start time of
configuration
command
Date: mm-dd-yyyy
End time of
configuration
command
Date: mm-dd-yyyy
vtyno string
ipaddress ip-address
IP address of host
A.B.C.D
Mode
Example
Time: hh:mm:ss
Time: hh:mm:ss
Related
Commands
None
113
Related
Information
Description
Value
typeid type
enviromente,
quipment, protocol,
service, system
start-date date
Alarm message to be
shown is created after
this date (including
this date)
Date: mm-dd-yyyy
end-date date
Alarm message to be
shown is created
before this date
(including this date)
Date: mm-dd-yyyy
level level
Level of alarm
messages to be
displayed
0: CRITICAL
1: MAJOR
2: MINOR
3: WARNINGS
4: INDETERMINATE
5: CLEARED
6: NOTIFICATIONS
Mode
Example
include text
summary
114
Related
Commands
None
Example
Related
Commands
logging on
logging buffer
logging mode
logging console
logging level
logging snmplog-save
show processor
Syntax
115
Purpose
Usage Guidelines
Mode
Example
Description
Value
rackno rackno
Rack number
Range: 0 0
shelfno shelfno
Shelf number
Range: 0 0
slotno slotno
Slot number
Range: 1 14
Related
Commands
Parameter
Description
Rack
Rack number
Shelf
Shelf number
Slot
Slot number
CPU(5s)
CPU(1m)
CPU(5m)
PhyMem
Physical memory
Memory
Memory utilization
None
syslog
Syntax
Purpose
Usage Guidelines
116
Mode
Example
Parameter
Description
Value
index
Index terms
Range: 1 10
subtree-id
SNMP operation
objects OID or SNMP
operation objects MIB
name
Range: 1 79
ZXAN(config)#
The following example displays how to shield SNMP
operation
log
sending
to
syslog
server
with
OID
1.3.6.1.4.1.3902.1015.1.1.101.4.8:
ZXAN(config)#syslog exclude-snmp 2 1.3.6.1.4.1.3902.1015.1.1.101.4.8
Related
Commands
None
syslog-server host
Syntax
Purpose
Usage Guidelines
To configure IP address and port number transmission alarm message to Syslog server
The following table provides parameter description:
Parameter
Description
Value
ip-address
Syslog server IP
address
A.B.C.D
fport fport
Range: 0 65535
Local port
transmitting Syslog
packets
Range: 0 65535
1: MAJOR
lport lport
Default: 514
Default: 514
2: MINOR
3: WARNINGS
4: INDETERMINATE
5: CLEARED
6: NOTIFICATIONS
cmdlog
Command log
transmitted to Syslog
server
117
Mode
Example
Parameter
Description
Value
debugmsg
Debug message
transmitted to Syslog
server
snmplog
SNMP message
transmitted to Syslog
server
get-pdu
set-pdu
ZXAN(config)#
The following example displays how to configure IP address transmission alarm message to Syslog server:
ZXAN(config)# syslog-server host 10.40.56.19
Related
Commands
None
syslog exclude-snmp
Syntax
Purpose
Usage Guidelines
Mode
Example
Parameter
Description
Value
subtree-id
MIB tree ID or
sub-tree ID
Range: 1 79
characters
items
Items supporting
shielding SNMP
messages
Range: 1 10
ZXAN(config)#
The following example displays how to exclude SNMP message
sending to syslog server:
ZXAN(config)# syslog exclude-snmp 1 1.3.6.1.2.1
118
Related
Commands
None
unm on
Syntax
unm on
no unm on
Purpose
Usage Guidelines
Mode
Example
Related
Commands
None
unm server
Syntax
Purpose
Usage Guidelines
Mode
Example
Description
Value
traphost
A.B.C.D
community
SNMPv1/v2c
community string
or SNMPv3 user name
Range: 1 32
characters
mng
Management
interface
ZXAN(config)#
The following example displays how to configure integrated network management trap server IP address as 10.40.88.201 and
community as public:
ZXAN(config)#unm server 10.40.88.201 public
119
Related
Commands
None
write alarmlog
Syntax
Purpose
Usage Guidelines
Mode
Example
write alarmlog
To save alarm log from buffer to flash:data/log.dat
None
ZXAN#
The following example displays how to save alarm log from buffer
to flash:data/log.dat:
ZXAN#write alarmlog
Building logging file...
..
[ok]
Related
Commands
Related
Information
None
This command writes alarm of following levels from buffer to file:
1: emergencies
2: alerts
3: critical
4: errors
write cmdlog
Syntax
Purpose
Usage Guidelines
Mode
Example
write cmdlog
To save command log from buffer to flash:data/log.dat
None
ZXAN#
The following example displays how to save command log from
buffer to flash:data/log.dat:
ZXAN#write cmdlog
Building cmdlog file...
[ok]
Related
Commands
None
write logging
Syntax
120
write logging
Purpose
Usage Guidelines
Mode
Example
Related
Commands
Related
Information
write
write nvram
If slot number is specified, this command only update card in this
slot. If only rack number is specified, all cards of the rack are
updated.
write snmplog
Syntax
Purpose
Usage Guidelines
Mode
Example
write snmplog
To write SNMP log from buffer to flash:data/snmplog.dat
None
ZXAN#
The following example displays how to write SNMP log from buffer
to flash:data/snmplog.dat:
ZXAN#write snmplog
Building snmplog file...
[ok]
Related
Commands
None
121
122
Chapter
13
Alarm Management
Table of Contents
alarm {enable | disable} .................................................. 123
alarm confirm ................................................................. 124
alarm trap-confirm .......................................................... 124
alarm trap-control ........................................................... 125
alarm level-change .......................................................... 125
show alarm..................................................................... 126
show alarm config ........................................................... 126
show alarm pool .............................................................. 126
show alarm counter ......................................................... 127
show alarm-level ............................................................. 128
clear alarm pool .............................................................. 128
clear alarm counter.......................................................... 129
Mode
Example
Description
Value
enable
Enable alarm
disable
Disable alarm
ZXAN(config)#
The following example displays how to enable alarm:
ZXAN(config)#alarm enable
Related
Commands
None
123
Related
Information
alarm confirm
Syntax
alarm confirm
no alarm confirm
Purpose
Usage Guidelines
Mode
Example
Related
Commands
Related
Information
None
By default, alarm confirmation is enabled.
alarm trap-confirm
Syntax
Purpose
Usage Guidelines
Description
Value
retry integer1
Retry interval
Range: 1 3
timeout integer2
Timeout interval
Range: 1 60
Unit: second
Mode
Example
ZXAN(config)#
The following example displays how to configure alarm retry as 3
and timeout interval as 20 seconds:
ZXAN(config)# trap-confirm retry 3 timeout 20
Related
Commands
124
None
Related
Information
alarm trap-control
Syntax
Purpose
Usage Guidelines
Mode
Example
Description
Value
CPU_LOAD_ALARM
MEM_OVERLOAD_A
LARM
Memory OVERLOAD
ALARM
enable
disable
ZXAN(config)#
The following example displays how to disable global alarm trap:
ZXAN(config)#alarm trap-control CPU_LOAD_ALARM disable
Related
Commands
None
alarm level-change
Syntax
Purpose
Usage Guidelines
Description
Value
alarmcode
Alarm ID
Range: 0 65534
level
Alarm level
0: CRITICAL
1: MAJOR
2: MINOR
3: WARNINGS
4: INDETERMINATE
Mode
Example
ZXAN(config)#
The following example displays how to modify CRITICAL alarm
level as 10:
ZXAN(config)# alarm level-change 10 CRITICAL
125
Related
Commands
None
show alarm
Syntax
Purpose
Usage Guidelines
Mode
Example
Parameter
Description
Value
number
Range: 1
4294967295
Related
Commands
None
Example
Related
Commands
None
126
Usage Guidelines
Mode
Example
Description
Value
number
Pool number
Range: 1 300
Related
Commands
None
Example
155
alarmConfirm:
58
alarmNullPointer:
alarmInvalidMsgType:
alarmInvalidReportType: 0
alarmInvalidLevel:
alarmInvaideMibOid:
alarmInvalidAlarmId:
alarmInvalidRecNum:
alarmLogFuncNull:
alarmIdNotExist:
alarmRecordExist:
18
alarmPoolFull:
alarmPoolOverflow:
alarmPoolInsOk:
37
alarmGetRegIndexFail :
alarmSendToRosSuc:
155
alarmSendTrapSuc:
107
alarmSendToRosFail:
alarmSendTrapFail:
alarmGetAlarmRegSuc:
220
alarmGetStrFuncSuc:
alarmGetAlarmRegFail:
alarmGetStrFuncFail:
1500
alarmAddToPoolSuc:
41
alarmInformSendTrapSuc:
84
alarmAddToPoolFail:
alarmInformSendTrapFail: 0
alarmGetLogFuncSuc:
463
alarmGetByAlarmIdOk:
124
127
Related
Commands
alarmGetLogFuncFail:
alarmGetByAlarmIdFail:
alarmRestoreDelSuc:
29
alarmBadTypeFromRos:
alarmRestoreDelFail:
29
alarmRecvFromRos:
41
alarmInformRecvFromRos: 84
alarmRestoreRecvFromRos: 29
alarmRecordUpdate:
84
alarmGetRegInfoFail:
29
alarmCreateReqFail:
alramBindValueFail:
alarmEncodeReqFail:
alarmAllocMemFail:
alarmUnsupportBindType: 0
alarmUnsupportMibVar:
alarmRecvDup:
alarmInformNotSendTrap:
None
show alarm-level
Syntax
Purpose
Usage Guidelines
Mode
Example
Description
Value
alarmcode
Alarm ID
Range: 65534
Related
Commands
None
Mode
128
Description
Value
integer
Range: 1 300
ZXAN#
Example
The following example displays how to clear the alarm pool information:
ZXAN#clear alarm pool 1
Related
Commands
None
Example
Related
Commands
None
129
130
Chapter
14
Debugging
Table
debug
debug
debug
debug
debug
debug
debug
debug
debug
debug
debug
debug
debug
debug
debug
debug
debug
debug
debug
debug
debug
debug
debug
debug
debug
debug
debug
debug
debug
debug
debug
debug
debug
debug
debug
debug
debug
debug
debug
debug
debug
debug
debug
debug
debug
debug
of Contents
all ........................................................................ 132
alarm ................................................................... 133
arp ...................................................................... 133
dhcp-option82 ....................................................... 133
group-management................................................ 134
igmp .................................................................... 135
ip......................................................................... 136
ip bgp all .............................................................. 136
ip bgp dampening .................................................. 137
ip bgp events ........................................................ 137
ip bgp in ............................................................... 137
ip bgp keepalives ................................................... 138
ip bgp out ............................................................. 138
ip bgp updates....................................................... 139
ip destination ........................................................ 139
ip dhcp ................................................................. 140
ip icmp ................................................................. 140
ip icmp detail ........................................................ 140
ip igmp................................................................. 141
ip igmp-snooping ................................................... 141
ip interface............................................................ 141
ip multicast ........................................................... 142
ip msdp ................................................................ 143
ip ospf adj............................................................. 143
ip ospf all.............................................................. 144
ip ospf cspf ........................................................... 144
ip ospf database-timer............................................ 145
ip ospf events........................................................ 145
ip ospf flood .......................................................... 145
ip ospf lsa-generation ............................................. 146
ip ospf nsf............................................................. 146
ip ospf packet........................................................ 146
ip ospf retransmission............................................. 147
ip ospf spf............................................................. 147
ip ospf tree ........................................................... 148
ip pim-snooping ..................................................... 148
ip pimsm .............................................................. 149
ip pimdm .............................................................. 150
ip protocol ............................................................ 150
ip rip .................................................................... 151
ip rip all ................................................................ 151
ip rip database ...................................................... 152
ip rip trigger.......................................................... 152
ip source............................................................... 152
ip tcp all ............................................................... 153
ip tcp driver .......................................................... 153
131
debug all
Syntax
debug all
no debug all
Purpose
Usage Guidelines
Mode
Example
132
Chapter 14 Debugging
Related
Commands
Related
Information
debug alarm
Syntax
Purpose
Usage Guidelines
Mode
Example
debug alarm
To clear alarm counter
None
ZXAN#
The following example displays how to clear alarm counter:
ZXAN#debug alarm
Related
Commands
None
debug arp
Syntax
debug arp
no debug arp
Purpose
Usage Guidelines
Mode
Example
Related
Commands
terminal monitor
debug dhcp-option82
Syntax
133
Mode
Example
Description
Value
all
data
error
event
type_shelf/slot/{port
-no | olt:onu}
Range: 1 127
characters
gport gportno
Port number
Range: 1 255
pvc pvcno
PVC number
Range: 1 8
ZXAN#
The following example displays how to enable DHCP-option82 debugging:
ZXAN#debug dhcp-option82 data gpon-onu_0/9/1:1 gport 1
dhcp-option82 data debugging is on
Related
Commands
None
debug group-management
Syntax
debug group-management
no debug group-management
Purpose
Usage Guidelines
Mode
Example
134
Chapter 14 Debugging
Related
Commands
terminal monitor
debug igmp
Syntax
Purpose
Usage Guidelines
Description
Value
all
data
error
event
rack-number
Rack number
Range: 0 65535
shelf-number
Shelf number
Range: 0 65535
slot-number
Slot number
Range: 0 65535
interface name
Interface name
Range: 1 32
characters
pvc pvcno
PVC number
Range: 1 8
mvlan mvlanid
VLAN ID
Range: 1 4094
group ipaddress
IP address
A.B.C.D
mux
Multiple interface
oam
Operation and
maintenance
proxy
Proxy device
recv
Received packets
135
Mode
Example
Parameter
Description
Value
send
Sending packets
timer
Timer
ZXAN#
The following example displays how to enable IGMP error debugging:
ZXAN# debug igmp error group 10.9.6.3 mux
IGMP error debugging is on
Related
Commands
terminal monitor
debug ip
Syntax
debug ip
no debug ip
Purpose
Usage Guidelines
Mode
Example
Related
Commands
terminal monitor
Purpose
Usage Guidelines
Mode
Example
136
Chapter 14 Debugging
Related
Commands
terminal monitor
Purpose
Usage Guidelines
Mode
Example
Related
Commands
terminal monitor
Purpose
Usage Guidelines
Mode
Example
Related
Commands
Related
Information
terminal monitor
Cause is shown if state of peer BGP router is abnormal (abnormal
transition mainly refers to transition of BGP state from high to low).
debug ip bgp in
Syntax
debug ip bgp in
no debug ip bgp in
Purpose
137
Usage Guidelines
Mode
Example
None
ZXAN#
The following example displays how to trace and display debug
messages received by BGP router:
ZXAN#debug ip bgp in
BGP in debugging is on
Related
Commands
terminal monitor
Purpose
Usage Guidelines
Mode
Example
Related
Commands
terminal monitor
Purpose
Usage Guidelines
Mode
Example
138
Chapter 14 Debugging
Related
Commands
terminal monitor
Purpose
Usage Guidelines
Mode
Example
To enable BGP updates debugging and display update packets routing information
The following table provides parameter description:
Parameter
Description
Value
ip-address
Neighboring IP
address
A.B.C.D
ZXAN#
The following example displays how to enable BGP updates debugging and display update packets routing information:
ZXAN#debug ip bgp updates
BGP updates debugging is on
Related
Commands
terminal monitor
debug ip destination
Syntax
Purpose
Usage Guidelines
Mode
Example
Description
Value
ip-address
Destination IP address
A.B.C.D
ZXAN#
The following example displays how to enable debugging function
of destination IP 192.168.36.3:
ZXAN#debug ip destination 192.168.36.3
IP destination debugging is on
139
Related
Commands
terminal monitor
debug ip dhcp
Syntax
debug ip dhcp
no debug ip dhcp
Purpose
Usage Guidelines
Mode
Example
Related
Commands
terminal monitor
debug ip icmp
Syntax
debug ip icmp
no debug ip icmp
Purpose
Usage Guidelines
Mode
Example
Related
Commands
terminal monitor
Purpose
Usage Guidelines
140
Chapter 14 Debugging
Mode
Example
ZXAN#
The following example displays ICMP debugging detailed information:
ZXAN#debug ip icmp detail
ICMP detail debugging is on
Related
Commands
terminal monitor
debug ip igmp
Syntax
debug ip igmp
no debug ip igmp
Purpose
Usage Guidelines
Mode
Example
Related
Commands
None
debug ip igmp-snooping
Syntax
debug ip igmp-snooping
no debug ip igmp-snooping
Purpose
Usage Guidelines
Mode
Example
Related
Commands
terminal monitor
debug ip interface
Syntax
141
Purpose
Usage Guidelines
Description
Value
interface-name
Interface name
loopback1
loopback64
supervlan1
supervlan255
vlan1 vlan4094
Mode
Example
ZXAN#
The following example displays how to enable interface debugging
on interface loopback1:
ZXAN#debug ip interface loopback1
IP interface debugging is on
Related
Commands
terminal monitor
debug ip multicast
Syntax
Purpose
Usage Guidelines
Mode
Example
Description
Value
data
Multicast packet
debugging
information
mrt
Multicast routing
table debugging
information
timer
Multicast timer
debugging
information
ZXAN#
The following example displays how to enable multicast debugging:
ZXAN#debug ip multicast data
Multicast data debugging is on
142
Chapter 14 Debugging
Related
Commands
terminal monitor
debug ip msdp
Syntax
Purpose
Usage Guidelines
Mode
Example
Description
Value
connect
Protocol connection
debugging
information
message-recv
Received massage
debugging
information
message-send
Sent massage
debugging
information
warning
Alarm massage
debugging
information
ZXAN#
The following example displays how to enable MSDP debugging:
ZXAN# debug ip msdp
All MSDP debugging is on
Related
Commands
terminal monitor
Purpose
Usage Guidelines
Mode
Example
143
Related
Commands
Related
Information
terminal monitor
Adjacency events mainly include information relating to link state
changes and hello packets.
Purpose
Usage Guidelines
Mode
Example
Related
Commands
terminal monitor
Purpose
Usage Guidelines
Mode
Example
Related
Commands
Related
Information
144
terminal monitor
This command is mainly used to calculate debugging information
related to project traffic routing.
Chapter 14 Debugging
Purpose
Usage Guidelines
Mode
Example
Related
Commands
terminal monitor
Purpose
Usage Guidelines
Mode
Example
Related
Commands
Related
Information
terminal monitor
OSPF events mainly include DR/BDR selection and link state
changes.
Purpose
Usage Guidelines
Mode
Example
145
Related
Commands
terminal monitor
Purpose
Usage Guidelines
Mode
Example
Related
Commands
Related
Information
terminal monitor
OSPF LSA generation debugging events mainly include link state
change notifications, self-rule system edge router link state
change notification etc.
Purpose
Usage Guidelines
Mode
Example
Related
Commands
terminal monitor
146
Chapter 14 Debugging
Example
Related
Commands
terminal monitor
Purpose
Usage Guidelines
Mode
Example
Related
Commands
terminal monitor
Purpose
Usage Guidelines
Mode
Parameter
Description
Value
external
OSPF SPF
external-route
inter
intra
ZXAN#
147
Example
The following example displays how to enable OSPF route computing events debugging:
ZXAN#debug ip ospf spf external
OSPF spf external events debugging is on
Related
Commands
Related
Information
terminal monitor
By default, this command is disabled.
Purpose
Usage Guidelines
Mode
Example
Related
Commands
terminal monitor
debug ip pim-snooping
Syntax
debug ip pim-snooping
no debug ip pim-snooping
Purpose
Usage Guidelines
Mode
Example
148
Chapter 14 Debugging
Related
Commands
terminal monitor
debug ip pimsm
Syntax
Purpose
Usage Guidelines
Mode
Example
Description
Value
assert
PIM-SM debugging
information related
with Assert
bsr-rp
PIM-SM debugging
information related
with BSR and RP
message-recv
Debug information
of PIM-SM received
messages
message-send
Debug information
of PIM-SM sent
messages
mrt
Debug information
of PIM-SM multicast
routing table
packet-recv
Debug information
of PIM-SM received
protocol messages
packet-send
Debug information of
PIM-SM sent protocol
messages
warning
PIM-SM alarm
debugging
information
msdp
PIM-SM MSDP
debugging
information
ZXAN#
The following example displays how to enable PIM-SM debugging:
ZXAN#debug ip pimsm assert
PIMSM assert debugging is on
149
Related
Commands
terminal monitor
debug ip pimdm
Syntax
Purpose
Usage Guidelines
Mode
Example
Description
Value
packet-recv
Debug information
of PIM-DM received
packets
packet-send
Debug information of
PIM-DM sent packets
mrt
Debug information
of PIM-DM multicast
routing table
timer
Debug information of
PIM-DM timer
assert
Debug information of
PIM-DM ASSERRT
warning
Debug information of
PIM-DM warning
data
Debug information of
PIM-DM data
ZXAN#
The following example displays how to enable PIM-DM debugging
of ASSERRT:
ZXAN#debug ip pimdm assert
PIMDM assert debugging is off
Related
Commands
terminal monitor
debug ip protocol
Syntax
Purpose
150
Chapter 14 Debugging
Usage Guidelines
Mode
Example
Description
Value
protocol-number
Protocol number
Range: 0 255
ZXAN#
The following example displays how to enable IP protocol number
debugging for number 0:
ZXAN#debug ip protocol 0
IP protocol number debugging is on
Related
Commands
terminal monitor
debug ip rip
Syntax
debug ip rip
no debug ip rip
Purpose
Usage Guidelines
Mode
Example
Related
Commands
terminal monitor
Purpose
Usage Guidelines
Mode
Example
151
Related
Commands
terminal monitor
Purpose
Usage Guidelines
Mode
Example
Related
Commands
terminal monitor
Purpose
Usage Guidelines
Mode
Example
Related
Commands
terminal monitor
debug ip source
Syntax
Purpose
Usage Guidelines
152
Chapter 14 Debugging
Mode
Example
Parameter
Description
Value
ip-address
Source IP address
A.B.C.D
ZXAN#
The following example displays how to enable source IP
192.168.6.6 debugging function:
ZXAN#debug ip source 192.168.6.6
IP source debugging is on
Related
Commands
terminal monitor
Purpose
Usage Guidelines
Mode
Example
Related
Commands
terminal monitor
Purpose
Usage Guidelines
Mode
Example
Related
Commands
terminal monitor
153
Related
Information
Purpose
Usage Guidelines
Mode
Example
Related
Commands
Related
Information
terminal monitor
When debugging is enabled, it displays output information including:
Information of deleting a packet when packet number surpassing permitted maximum number (25 by default) in case of disorder
When the user logs into the ZXAN, the supplementary information
of the TCP events of the BGP and FTP (not including Telnet) is
displayed.
Purpose
Usage Guidelines
Mode
Example
154
Chapter 14 Debugging
Related
Commands
Related
Information
terminal monitor
After debugging is enabled, when a packet is sent or received, information such as source/destination address of data packet, port
number, sequence number, acknowledgment number, size of receiving window and control bit information is output.
When a user logs into the ZXA10 C220, information of the TCP
special events of the BGP and FTP is displayed.
Purpose
Usage Guidelines
Mode
Example
Related
Commands
Related
Information
terminal monitor
After this debug command is enabled, the TCP special event information (including destination IP address, port number, MSS
advertisement of TCP connection establishment, resetting of retransmission timer, retransmission timeout, limited state-machine
transition and release of TCP control block information) is the output.
When the user logs in to the ZXAN, the information of TCP special
events of BGP and FTP is displayed.
debug ip udp
Syntax
debug ip udp
no debug ip udp
Purpose
Usage Guidelines
Mode
Example
155
Related
Commands
Related
Information
terminal monitor
By default, all debug commands are disabled.
Source/destination addresses, port and UDP packet length information is displayed when UDP sends/receives a packet.
Source/destination addresses, port and UDP packet length information is displayed when user logs in.
Purpose
Usage Guidelines
156
Description
Value
all
data
error
events
rack-number
Rack number
Range: 0 65535
shelf-number
Shelf number
Range: 0 65535
slot-number
Slot number
Range: 0 65535
interface
name
Interface name
Range: 1 32 characters
gport gportno
Range: 0 255
pvc pvcno
PVC number
Range: 0 7
mvlan mvlanid
MVLAN ID
Range: 0 4095
Chapter 14 Debugging
Mode
Example
Parameter
Description
Value
group groupip
A.B.C.D
mode {cdr |
joinleave
|
oam | timer}
Data mode
cdr,
joinleave,
timer
oam,
ZXAN#
The following example displays how to enable IPTV events debugging:
ZXAN#debug iptv events 0 0 7 mode timer
IPTV events debugging is on
Related
Commands
None
Purpose
Usage Guidelines
Mode
Example
Related
Commands
terminal monitor
Purpose
Usage Guidelines
Mode
Example
157
Related
Commands
terminal monitor
Purpose
Usage Guidelines
Mode
Example
Related
Commands
terminal monitor
Purpose
Usage Guidelines
Mode
Example
Related
Commands
terminal monitor
Purpose
Usage Guidelines
Mode
158
Chapter 14 Debugging
Example
The following example displays how to trace and show the IS-IS
SPF event debugging information:
ZXAN#debug isis spf-events
IS-IS SPF events debugging is on
Related
Commands
terminal monitor
Purpose
Usage Guidelines
Mode
Example
To trace and view IS-IS LSP packet handling event debugging information
None
ZXAN#
The following example displays how to trace and view IS-IS LSP
packet handling event debugging information:
ZXAN#debug isis update-packets
IS-IS Update related packet debugging is on
Related
Commands
terminal monitor
Purpose
Usage Guidelines
Mode
Example
Related
Commands
terminal monitor
159
Description
Value
interface port-num
ber
Port number
loopback1 64
null1
smartgroup1
smartgroup8
supervlan1
supervlan255
tunnel1 tunnel64
vlan1 vlan4094
Mode
Example
ZXAN#
The following example displays how to enable LACP state machine
debugging:
ZXAN#debug lacp fsm
Link Aggregation Control Protocol SM debugging is on
Related
Commands
None
Purpose
Usage Guidelines
Mode
Example
Description
Value
interface port-num
ber
Port number
ZXAN#
The following example displays how to enable LACP debugging:
ZXAN#debug lacp packet
Link Aggregation Control Protocol packets debugging is on
160
Chapter 14 Debugging
Related
Commands
terminal monitor
debug mpnat
Syntax
Syntax
Purpose
Usage Guidelines
Mode
Example
Description
Value
data
MPNAT data
debugging
information
event
Events related to
MPNAT status change
error
MPNAT error
information
dll
ZXAN#
The following example displays how to enable MPNAT debugging:
ZXAN#debug mpnat all
Related
Commands
terminal monitor
Purpose
Usage Guidelines
Description
Value
interface interface-n
ame
Interface name
Range: smartgroup1
smartgroup8
instance instance-nu
mber
Instance number
Range: 0 31
161
Mode
Example
ZXAN#
The following example displays how to enable MSTP debugging for
fast hand-off negotiation information:
ZXAN#debug mstp agreement
Multiple Spanning Tree agreement debugging is on
Related
Commands
terminal monitor
Purpose
Usage Guidelines
Mode
Example
Related
Commands
terminal monitor
Purpose
Usage Guidelines
Mode
Example
Description
Value
interface interface-n
ame
Interface name
Range: smartgroup1
smartgroup8
ZXAN#
The following example displays how to enable MSTP debugging to
receive packet information:
ZXAN#debug mstp bpdu-rx
Multiple Spanning Tree Received BPDUs debugging is on
162
Chapter 14 Debugging
Related
Commands
terminal monitor
Purpose
Usage Guidelines
Mode
Example
Description
Value
interface interface-n
ame
Interface name
Range: smartgroup1
smartgroup8
ZXAN#
The following example displays how to enable MSTP debugging for
sending packet information:
ZXAN#debug mstp bpdu-tx
Multiple Spanning Tree Transmitted BPDUs debugging is
Related
Commands
on
terminal monitor
Purpose
Usage Guidelines
Mode
Example
Related
Commands
terminal monitor
163
Mode
Example
Description
Value
interface interface-n
ame
Interface name
Range: smartgroup1
smartgroup8
instance instance-nu
mber
Instance number
Range: 0 31
ZXAN#
The following example displays how to enable MSTP port flush
mechanism debugging:
ZXAN#debug mstp flush
Multiple Spanning Tree port flush mechanism debugging is on
Related
Commands
terminal monitor
Purpose
Usage Guidelines
Mode
Example
Description
Value
interface interface-n
ame
Interface name
Range: smartgroup1
smartgroup8
instance instance-nu
mber
Instance number
Range: 0 31
ZXAN#
The following example displays how to enable MSTP information
state machine debugging:
ZXAN#debug mstp info
Multiple Spanning Tree port info state machine debugging on
164
Chapter 14 Debugging
Related
Commands
terminal monitor
Purpose
Usage Guidelines
Mode
Example
Parameter
Description
Value
interface interface-n
ame
Interface name
A.B.C.D
ZXAN#
The following example displays how to enable MSTP transition
state machine debugging:
ZXAN#debug mstp migration
Multiple Spanning Tree migration protocol state machine debugging is on
Related
Commands
terminal monitor
Purpose
Usage Guidelines
Mode
Example
Description
Value
interface interface-n
ame
Interface name
Range: smartgroup1
smartgroup8
instance instance-nu
mber
Instance number
Range: 0 31
ZXAN#
The following example displays how to enable the MSTP debugging
for information relating to fast hand-off negotiation request:
ZXAN#debug mstp proposals
Multiple Spanning Tree Proposal/Agree handshakes debugging is on
165
Related
Commands
terminal monitor
Purpose
Usage Guidelines
Mode
Example
Description
Value
instance instance-nu
mber
Number of instances
Range: 0 31
ZXAN#
The following example displays how to enable the MSTP instance
calculation state machine debugging:
ZXAN#debug mstp roles
MST Protocol roles debugging is
Related
Commands
on
terminal monitor
Purpose
Usage Guidelines
Mode
Example
Description
Value
interface interface-n
ame
Number of interfaces
Range: smartgroup1
smartgroup8
ZXAN#
The following example displays how to enable the MSTP instance
calculation state machine debugging:
ZXAN#debug mstp state
Multiple Spanning Tree state sync debugging is
166
on
Chapter 14 Debugging
Related
Commands
terminal monitor
debug mstp tc
Syntax
Purpose
Usage Guidelines
Mode
Example
Description
Value
interface interface-n
ame
Interface name
Range: smartgroup1
smartgroup8
instance instance-nu
mber
Instance number
Range: 0 31
ZXAN#
The following example displays how to enable the MSTP statechange debugging:
ZXAN#debug mstp tc Multiple Spanning Tree topology
change notifications debugging is on
Related
Commands
terminal monitor
debug nas
Syntax
debug nas
no debug nas
Purpose
Usage Guidelines
Mode
Example
167
Related
Commands
terminal monitor
debug port-location
Syntax
Purpose
Usage Guidelines
Mode
Example
Description
Value
all
data
Port-location data
debugging
error
event
type_shelf/sl
ot/{port-no |
olt:onu}
Interface
gport gportno
Range: 1 255
pvc pvcno
PVC number
Range: 1 8
ZXAN#
The following example displays how to enable all port location related debugging:
ZXAN#debug port-location data gpon-onu_0/0/9:1 gport 1
ZXAN#
Related
Commands
None
debug pppoe-plus
Syntax
168
Chapter 14 Debugging
Mode
Example
Description
Value
all
data
error
event
type_shelf/slot/
{port-no | olt:onu}
Interface
gport gportno
Range: 1 255
pvc pvcno
PVC number
Range: 1 8
ZXAN#
The following example displays how to enable PPPoE+ debugging:
ZXAN#debug pppoe-plus all
pppoe-plus all debugging is on
Related
Commands
terminal monitor
Purpose
Usage Guidelines
Parameter
Description
Value
data
error
event
169
Parameter
Description
Value
packet{group-n
umber | all}
Group range: 1 10
Mode
Example
packet: Radius
accounting of
sending/receiving
packets
packet groupnumber: Radius
accounting of packet
group-number
packet all: Radius
accounting of
all sent/received
packets
ZXAN#
The following example displays how to enable the radius debugging accounting:
ZXAN#debug radius accounting packet all
debug radius accounting packet turned on group all
Related
Commands
None
Purpose
Usage Guidelines
Mode
Example
Related
Commands
terminal monitor
Purpose
Usage Guidelines
170
Chapter 14 Debugging
Parameter
Description
Value
data
Radius authentication
data debugging
error
Radius authentication
error debugging
event
Radius authentication
events debugging
packet {group-num
ber | all}
Radius authentication
packets debugging
group-number: 1
10
Example
ZXAN#
The following example displays how to enable radius authentication packet debugging:
ZXAN#debug radius authentication packet 1
debug radius authenticaion packet turned on group 65536
Related
Commands
terminal monitor
Purpose
Usage Guidelines
Mode
Example
Related
Commands
terminal monitor
171
Purpose
Usage Guidelines
Mode
Example
Description
Value
subscriber-name
Subscriber name
Range: 1 32
characters
domain-name
Domain name
Range: 1 32
characters
ZXAN#
The following example displays how to enable radius user information debugging:
ZXAN#debug radius user user domain
debug radius user turned on user@doma
Related
Commands
terminal monitor
debug syscomm
Syntax
Purpose
Usage Guidelines
Mode
Example
172
Description
Value
data
Debugging
information related
with syscomm data
packet
Received and
transmitted packets
information related
with syscomm
event
Events to cause
syscomm status
change
error
Received error
packets related with
syscomm
all
All debugging
information related
with syscomm
ZXAN#
The following example displays all syscomm debugging information:
Chapter 14 Debugging
Related
Commands
terminal monitor
debug sysctrl
Syntax
Purpose
Usage Guidelines
Mode
Example
Description
Value
all
data
error
event
packet
ZXAN#
The following example displays how to debug the system control
information:
ZXAN#debug sysctrl all
Related
Commands
terminal monitor
debug version-mng
Syntax
Purpose
Usage Guidelines
173
Mode
Example
Parameter
Description
Value
all
data
Debug version
management
information
error
Debug version
management error
information
event
Debug version
management event
information
packet
Debug version
management packet
information
ZXAN#
The following example displays how to enable all debugging for
version management information:
ZXAN#debug version-mng all
Related
Commands
terminal monitor
debug vlan
Syntax
Purpose
Usage Guidelines
174
Description
Value
data
Debugging
information related
to VLAN data
event
Debugging
information related
to events changing
VLAN status
Chapter 14 Debugging
Mode
Example
Parameter
Description
Value
error
Debugging
information related to
error packets received
by VLAN
all
All debugging
information related
to VLAN
rack-number
Rack number
shelf-number
Shelf number
slot-number
Slot number
interface interface-n
ame
Interface name
Range: 1 32
characters
vport vportno
Range: 1 256
pvc pvcno
PVC number
Range: 1 8
vlan vlanid
VLAN ID
Range: 1 4094
ZXAN#
The following example displays how to enable all VLAN related debugging:
ZXAN#debug vlan all
Vlan all debugging is on
Related
Commands
terminal monitor
debug vrrp
Syntax
Purpose
Usage Guidelines
Description
Value
all
error
Error packet
information received
by VRRP
event
Information triggering
VRRP state change
175
Mode
Example
Parameter
Description
Value
packet
Packet information
received/sent by
VRRP
state
ZXAN#
The following example displays how to enable VRRP debugging:
ZXAN#debug vrrp state
VRRP state debugging is on
Related
Commands
terminal monitor
show debugging
Syntax
Purpose
Usage Guidelines
Mode
Example
show debugging
To display enabled debugging
None
ZXAN#
The following example displays enabled debugging:
ZXAN#show debugging
RSL:
Version-mng data debugging is on
Version-mng error debugging is on
Version-mng event debugging is on
Version-mng packet debugging is on
Related
Commands
terminal monitor
Syntax
terminal monitor
no terminal monitor
Purpose
Usage Guidelines
Mode
Example
Related
Commands
176
Chapter
15
MAC Configuration
Table of Contents
mac add......................................................................... 177
mac aging-time ............................................................... 178
mac delete ..................................................................... 178
mac monitor-period ......................................................... 179
mac usage-threshold ....................................................... 180
show mac....................................................................... 180
show mac aging-time....................................................... 181
show mac monitor-info..................................................... 182
show mac running ........................................................... 182
show mac system ............................................................ 183
mac add
Syntax
Purpose
Usage Guidelines
Mode
Description
Value
static
mac-address
MAC address
XXXX.XXXX.XXXX
ethernet port-name
Range: 1 127
characters
gpon port-name
Range: 1 127
characters
smartgroup
smartgroup-id
Smartgroup ID
Range: 1 8
epon
EPON
vlan vlan-id
VLAN ID
Range: 1 4094
vport vport
Range: 1 255
ZXAN(config)#
177
Example
Related
Commands
Related
Information
mac delete
show mac
If no VLAN ID is specified, port PVID is used as default port ID. Execute the show running-config command to display permanent
MAC address.
mac aging-time
Syntax
Purpose
Usage Guidelines
Description
Value
time
Range: 60 630
seconds
Default: 300 seconds
Mode
Example
ZXAN(config)#
The following example displays how to configure the MAC address
aging time as 180 seconds:
ZXAN(config)#mac aging-time 180
Related
Commands
Related
Information
mac delete
Syntax
Purpose
Usage Guidelines
178
Description
Value
static mac-address
XXXX.XXXX.XXXX
Mode
Example
Parameter
Description
Value
ethernet port-name
Range: 1 127
characters
gpon port-name
Range: 1 127
characters
smartgroup
smartgroup-id
Smartgroup ID
Range: 1 8
vlan-id
VLAN number
Range: 1 4094
vport vport
Range: 1 255
dsl dsl
DSL
ZXAN(config)#
The following example displays how to delete MAC address
000a.010c.e2c6 and Ethernet interface gei_0/1/1:
ZXAN(config)#mac delete 0009.6b08.bfd6
ZXAN(config)#mac delete ethernet gei_0/9/1
Related
Commands
Related
Information
mac add
show mac
If VLAN ID is not specified, all MAC address entries matching with
mac-address parameter are deleted.
mac monitor-period
Syntax
Purpose
Usage Guidelines
Mode
Example
Description
Value
time
Monitoring period in
minutes
Ragne: 5 - 1440
Default: 10
ZXAN(config)#
The following example displays how to configure MAC monitoring
period as five nimutes:
ZXAN(config)#mac monitor-period 5
Related
Commands
Related
Information
179
mac usage-threshold
Syntax
Purpose
Usage Guidelines
Description
Value
percent
Usage percent
Range: 1 100
Default: 70
Mode
Example
ZXAN(config)#
The following example displays how to configure MAC usage
threshold percent to 10%:
ZXAN(config)#mac usage-threshold 10
Related
Commands
None
show mac
Syntax
Purpose
Usage Guidelines
180
Description
Value
dynamic
Dynamic address
static
Static address
mac-address
MAC address
XXXX.XXXX.XXXX
statistic
system
In-band or
out-of-band MAC
address
XXXX.XXXX.XXXX
ethernet port-name
Range: 1 127
characters
smartgroup
smartgroup-id
Smartgroup ID
Range: 1 8
gpon port-name
GPON port
Range: 1 127
characters
Mode
Example
Parameter
Description
Value
vport vport
GEM port ID
Range: 1 255
vlan vlan-id
VLAN ID
Range: 1 4094
Related
Commands
Related
Information
Parameter
Description
mac_address
MAC address
port
vid
stc
mac add
mac delete
1. show mac command displays all MAC address entries including cards FPGA MAC address and MAC address learned by internal interface of main control card ROS.
2. show mac mac-addr command checks cards FPGA and ROS
MAC address entry and displays all matched entries.
3. show mac dynamic command displays all dynamic MAC addresses learned.
4. show mac static command displays all static MAC addresses
configured.
5. show mac interface port-name command displays all MAC
address entry in specified port.
6. show mac vlan vlanID command displays MAC address entry
in specified VLAN ID.
7. show mac system command displays in-band and out-ofband MAC address.
181
Example
The following example displays the aging time of the dynamic MAC
address of the switch:
ZXAN#show mac aging-time
The MAC Address aging time is 60 seconds.
Related
Commands
mac aging-time
Example
Related
Commands
Related
Information
mac monitor-period
This command is executed to collect monitoring information of current MAC capacity table and display main control card total MAC
entities and maximum occupation since device start.
Example
Related
Commands
182
show mac
show mac aging-time
Example
Related
Commands
None
183
184
Chapter
16
Port Location
Table of Contents
Port Location Configuration ............................................... 185
DHCP Option 82 Configuration........................................... 191
PPPoE+ Configuration ...................................................... 194
Mode
Example
Description
Value
enable
Enable port-location
access-loopencapsulation
disable
Disable port-location
access-loopencapsulation
ZXAN(config)#
The following example displays how to enable port-location access-loop-encapsulation:
ZXAN(config)#port-location access-loop-encapsulation enable
185
Related
Commands
port-location access-node-identifier
Syntax
Purpose
Usage Guidelines
Mode
Example
Description
Value
hostname
Hostname as identifier
inband-mac
Inband MAC as
identifier
ZXAN(config)#
The following example displays how to configure port location access-node-identifier type:
ZXAN(config)#port-location access-node-identifier inband-mac
Related
Commands
port-location flexible-syntax
Syntax
Purpose
Usage Guidelines
Mode
Example
Related
Commands
186
Mode
Example
Parameter
Description
Value
string
Delimiter
Range: 1 1
character
index num
Index term to be
added
Range: 1 30
ZXAN(config)#
The following example displays how to add delimiter to port-location flexible-syntax:
ZXAN(config)#port-location flexible-syntax add delimiter , index 2
Related
Commands
Related
Information
None
Log into ONU through management port by executing this command.
Purpose
Usage Guidelines
Description
Value
variable
Variable field
Range: 1 1
character
width widthvalue
Range: 1 5
index indexno
Index number
Range: 1 30
Variable field
collection
chassis: cabinet
rack
frame
slot
sub-slot
port
q-vlan vlan
ethernet-priority
onu-id-onu
Mode
Example
ZXAN(config)#
The following example displays how to add variable field chassis
to port-location flexible-syntax:
ZXAN(config)#port-location flexible-syntax add variable chassis width 5 index 2
187
Related Command
None
port-location hostname
Syntax
Purpose
Usage Guidelines
Mode
Example
Description
Value
string
Hostname
Range: 1 64
characters
ZXAN(config)#
The following example displays how to configure port location host
name:
ZXAN(config)#port-location hostname ZTE
Related
Commands
Mode
Example
Description
Value
rackno racknumber
Range: 0 63
frameno framenum
ber
Range: 0 31
ZXAN(config)#
The following example displays how to configure port location rack
number and frame number:
ZXAN(config)#port-location rackno 3 frameno 8
188
Related
Commands
port-location format
Syntax
Purpose
Usage Guidelines
Mode
Example
Description
Value
china-telecom
China telecom as
format
dsl-forum
china-netcom
China Netcom as
format
vport portid
GEM port ID
Range: 1 255
ZXAN(config-if)#
The following example displays how to configure the port location
format:
ZXAN(config)#interface gpon-onu_0/13/1:1
ZXAN(config-if)# port-location format china-telecom vport 1
Related
Commands
Mode
Example
Description
Value
enable
disable
vport portid
Range: 1 255
ZXAN(config-if)#
The following example displays how to enable the remote ID for
port location:
ZXAN(config-if)#port-location sub-option remote-id enable vport 1
189
Related
Commands
Mode
Example
Description
Value
string
Remote ID
Range: 1 64
characters
vport portid
VPORT ID
Range: 1 255
ZXAN(config-if)#
The following example displays how to configure local port DHCP
remote ID name:
ZXAN(config-if)#port-location sub-option remote-id name name1 vport 1
Related
Commands
Purpose
Usage Guidelines
Mode
Example
None
All modes except exec mode
The following example displays port-location flexible syntax:
ZXAN#show port-location flexible-syntaxl
Related
Commands
port-location flexible-syntax
Example
190
ZXAN#show
identifer
rackno
frameno
hostname
Related
Commands
port-location global
: inband-mac
: 3
: 8
: ZTE
port-location access-node-identifier
port-location hostname
port-location rackno frameno
Mode
Example
Description
Value
port interface
Range: 1 127
characters
vport portid
Range: 1 255
pvc pvcid
PVC number
Range: 1 8
Related
Commands
port-location format
port-location sub-option remote-id
port-location sub-option remote-id name
DHCP Option 82
Configuration
dhcp-option82
Syntax
Purpose
Usage Guidelines
191
Mode
Example
Parameter
Description
Value
enable
Enable DHCP
Option82
disable
Disable DHCP
Option82
ZXAN#
The following example displays how to enable DHCP Option82:
ZXAN(config)# dhcp-option82 enable
Related
Commands
Mode
Example
Description
Value
enable
disable
portid
ZXAN(config-if)#
The following example displays how to enable port 1 DHCP Option82:
ZXAN(config-if)# dhcp-option82 enable vport 1
Related
Commands
dhcp-option82 trust
Syntax
Purpose
Usage Guidelines
192
Description
Value
keep
Mode
Example
Parameter
Description
Value
replace
add
discard
vport port-index
Range: 1 255
ZXAN(config-if)#
The following example displays how to configure a particular port
as a trustworthy port:
ZXAN(config-if)#dhcp-option82 trust true keep vport 1
Related
Commands
Example
Related
Commands
Purpose
Usage Guidelines
193
Parameter
Description
Value
interface
Interface
Range: 1 127
characters
Format: type_shelf/sl
ot/{port-no | olt:onu}
Mode
Example
pvc pvcid
PVC number
Range: 1 8
vport portid
Range: 1 255
Related
Commands
Option128
true
Related
Information
When port type is configured as trust and true, policy can only
be configured as keep or replace. When port type is configured
as trust and false, policy can only be configured as discard or
add.
PPPoE+ Configuration
pppoe-plus
Syntax
Purpose
Usage Guidelines
Mode
Example
Description
Value
disable
enable
ZXAN(config)#
The following example displays how to enable PPPoE+ globally:
ZXAN(config)# pppoe-plus enable
194
Related
Commands
pppoe-plus vport
Syntax
Purpose
Usage Guidelines
Mode
Example
Description
Value
enable
disable
Disable virtual
PPPoE+
vport portid
Range: 0 255
characters
ZXAN(config-if)#
The following example displays how to enable virtual PPPoE+ port:
ZXAN(config-if)#pppoe-plus enable vport 1
Related
Commands
pppoe-plus trust
Syntax
Purpose
Usage Guideline
Description
Value
keep
replace
discard
add
Add another
option105 after
PPPoE uplink packet
option105
vport portid
Range: 1 255
195
Mode
Example
ZXAN(config-if)#
The following example displays how to configure PPPoE+ trustworthy port policy:
ZXAN(config-if)# pppoe-plus trust true replace vport 1
Related
Commands
None
Example
Related
Commands
pppoe-plus
Usage Guidelines
Parameter
Description
Value
interface
Interface number.
Range: 1 127
characters
Format: type_shelf/sl
ot/{port-no | olt:onu}
Mode
Example
pvc pvcid
PVC number
Range: 1 8
vport portid
GEM number
Range: 1 255
Related
Commands
196
pppoe-plus vport
Figures
197
198
Tables
199
200
Index
A
Access Modes......................1
activate............................ 47
add-card .......................... 35
add-rack .......................... 36
add-shelf.......................... 36
alarm {enable |
disable}........................ 123
alarm confirm ................. 124
alarm level-change .......... 125
alarm trap-confirm .......... 124
alarm trap-control ........... 125
B
banner incoming ............... 14
C
cd ................................... 59
clear alarm counter.......... 129
clear alarm pool .............. 128
clear logging alarm .......... 105
clear logging command .... 106
clear logging snmp .......... 106
clear processor................ 106
clock................................ 77
clock set .......................... 78
clock timezone .................. 78
configure terminal ............. 14
confirm-card ..................... 40
copy .............................. 101
copy (FTP Client) ........60, 102
D
debug alarm ................... 133
debug all ........................ 132
debug arp ...................... 133
debug dhcp-option82 ....... 134
debug group-management ............................ 134
debug igmp all ................ 135
debug ip......................... 136
debug ip bgp all .............. 136
debug ip bgp
dampening .................... 137
debug ip bgp events ........ 137
debug ip bgp in ............... 137
debug ip bgp
keepalives..................... 138
debug ip bgp out ............. 138
201
E
enable ............................. 15
enable secret .................... 15
end ................................. 16
erase version .................... 48
exit ................................. 17
external-input ................... 79
external-output ................. 80
F
fan control........................ 43
fan speed ......................... 44
format flash ...................... 63
G
General Command
Syntax............................ 11
202
H
hostname ......................... 17
HyperTerminal.....................1
I
ip ftp password ............... 102
ip ftp username............... 103
L
line console absolute-timeout .................... 67
line console idle-timeout..... 68
line telnet absolute-timeout................................. 68
line telnet access-class ....... 69
line telnet idle-timeout ....... 70
logging buffer ................. 107
logging console ............... 107
logging filesavetime ......... 108
logging ftp...................... 109
logging level ................... 110
logging mode .................. 110
logging on ...................... 112
logging snmplog-save ...... 111
login ................................ 70
Login Modes .......................9
login-authentication-type......................... 71
login-authorization-type ..... 71
logout .............................. 71
M
mac add......................... 177
mac aging-time ............... 178
mac delete ..................... 178
mac monitor-period ......... 179
mac usage-threshold ....... 180
main-backup version.......... 49
mkdir............................... 63
multi-user configure .......... 18
N
NetNumen ..........................4
nvram boot-password ........ 19
nvram boot-server............. 19
nvram boot-username........ 20
nvram config-filename ....... 20
nvram default-gateway ...... 21
nvram imgfile-location........ 22
nvram inband-mac ............ 23
nvram mng-ip-address ....... 22
nvram outband-mac .......... 24
Index
P
patch load ........................ 55
patch unload..................... 55
port-location access-loop-encapsulation .............................. 185
port-location access-node-identifier........ 186
port-location flexible-syntax............................... 186
port-location flexible-syntax add delimiter............ 186
port-location flexible-syntax add variable ............. 187
port-location format......... 189
port-location hostname .... 188
port-location rackno
frameno........................ 188
port-location sub-option
remote-id...................... 189
port-location sub-option
remote-id name ............. 190
pppoe-plus ..................... 194
pppoe-plus trust.............. 195
pppoe-plus vport ............. 195
pwd ................................. 64
Q
quit ........................... 49, 72
R
reboot.............................. 25
reload .............................. 26
rename ............................ 64
reset-at-suspend ............... 40
reset-card ........................ 38
rlogin............................... 72
rmdir ............................... 65
rmon alarm ...................... 95
rmon collection history ....... 96
rmon collection statistics..... 97
rmon event....................... 98
route-map ........................ 26
S
script ............................... 73
show alarm..................... 126
show alarm configure....... 126
show alarm counter ......... 127
show alarm pool .............. 126
show alarm-level ............. 128
show card ........................ 39
show clock........................ 29
show clock config ........ 29, 81
show cmdlogfile .............. 113
show compound-version ..... 49
show debugging .............. 176
show dhcp-option82
global ........................... 193
show dhcp-option82
port ............................. 193
show fan .......................... 44
show history ..................... 73
show logging
alarm ......................56, 114
show logging configure..... 115
show mac....................... 180
show mac aging-time....... 181
show mac monitor-info..... 182
show mac running ........... 182
show mac system ............ 183
show monitor.................... 74
show msan ....................... 74
show nvram...................... 24
show port-location
flexible-syntax ............... 190
show port-location
global ........................... 190
show port-location port .... 191
show pppoe-plus global .... 196
show pppoe-plus port....... 196
show processor ............... 116
show rmon ....................... 99
show route-map ................ 32
show running-config .......... 30
show snmp ....................... 83
show snmp config.............. 84
show snmp engine-id ......... 84
show snmp group .............. 85
show snmp user ................ 85
show snmplogfile............. 112
show source active ...... 79, 81
show sync-status............... 53
show system-group ........... 31
show terminal ................... 75
show time-range ............... 32
show update-status ........... 50
show username................. 33
show users ....................... 33
show version .................... 34
show version-running......... 51
show version-saved ........... 52
snmp-server access-list ...... 86
snmp-server community..... 86
snmp-server contact .......... 87
snmp-server context .......... 87
snmp-server enable
inform ............................ 88
snmp-server engine-id ....... 88
snmp-server host .............. 90
snmp-server location ......... 91
snmp-server packetsize...... 91
snmp-server
trap-source ..................... 92
snmp-server user .............. 92
snmp-server view .............. 93
swap ............................... 39
203
T
telnet............................... 75
Telnet ................................8
telnet mng ....................... 76
telnet onu ........................ 76
terminal monitor ............. 176
time-range ....................... 26
U
unm on .......................... 119
unm server..................... 119
update-boot...................... 53
update-cpld ...................... 56
update-version.................. 54
username ......................... 27
V
version ............................ 28
W
who ................................. 28
write................................ 65
write alarmlog................. 120
write cmdlog................... 120
write flash ........................ 66
write logging................... 121
write nvram ...................... 66
write snmplog ................. 121
204
List of Glossary
ACL - Access Control List
ARP - Address Resolution Protocol
BGP - Border Gateway Protocol
BSR - Bootstrap Router
CLI - Command Line Interface
DES - Data Encryption Standard
DHCP - Dynamic Host Control Protocol
DSL - Digital Subscriber Line
EPON - Ethernet Passive Optical Network
FTP - File Transfer Protocol
GEM - GPON Encapsulation Method
GPON - Gigabit Passive Optical Network
ICMP - Internet Control Message Protocol
IGMP - Internet Group Management Protocol
IP - Internet Protocol
IPTV - Internet Protocol Television
IS-IS - Intermediate System-to-Intermediate System (ISIS)
LACP - Link Aggregation Control Protocol
LSP - Link State Protocol
MAC - Media Access Control
MD5 - Message Digest 5 Algorithm - 5
MIB - Management Information Base
MSAN - Multi-Service Access Network
MSTP - Multiple Spanning Tree Protocol
MVLAN - Multicast Virtual Local Area Network
NE - Network Element
NMS - Network Management System
ONU - Optical Network Unit
OSPF - Open Shortest Path First Protocol
PDU - Protocol Data Unit
PIM - Protocol Independent Multicast
PIM-DM - Protocol Independent Multicast - Dense Mode
PIM-SM - Protocol Independent Multicast - Sparse Mode
PPPoE - Point-to-Point Protocol over Ethernet PPP
205
206