command manual (volume i) - donbassmedia.net.ua technical documents... · netnumen shortdescription...
TRANSCRIPT
ZXA10 C220GPON Optical Access Convergence
EquipmentCommand Manual (Volume I)
Version 1.1.2
ZTE CORPORATIONZTE Plaza, Keji Road South,Hi-Tech Industrial Park,Nanshan District, Shenzhen,P. R. China518057Tel: (86) 755 26771900Fax: (86) 755 26770801URL: http://ensupport.zte.com.cnE-mail: [email protected]
LEGAL INFORMATION
Copyright © 2006 ZTE CORPORATION.
The contents of this document are protected by copyright laws and international treaties. Any reproduction or distribution ofthis document or any portion of this document, in any form by any means, without the prior written consent of ZTE CORPO-RATION 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 CORPORATIONor of their respective owners.
This document is provided “as is”, and all express, implied, or statutory warranties, representations or conditions are dis-claimed, including without limitation any implied warranty of merchantability, fitness for a particular purpose, title or non-in-fringement. ZTE CORPORATION and its licensors shall not be liable for damages resulting from the use of or reliance on theinformation contained herein.
ZTE CORPORATION or its licensors may have current or pending intellectual property rights or applications covering the subjectmatter 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
Serial Number: sjzl20093769
Contents
Preface...............................................................i
Overview...........................................................1Access Modes................................................................. 1
HyperTerminal............................................................ 1
NetNumen ................................................................. 4
Telnet ....................................................................... 8
Login Modes .................................................................. 9
General Command Syntax ..............................................11
Basic System Management ..............................13banner 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
Hardware Management ...................................35add-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
Fan Management.............................................43fan control....................................................................43
fan high-threshold .........................................................43
fan speed .....................................................................44
show fan ......................................................................44
Version Management.......................................47activate 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
File System Management.................................59cd ...............................................................................59
copy (FTP Client)...........................................................60
delete ..........................................................................61
dir ...............................................................................61
display .........................................................................62
format flash..................................................................63
mkdir...........................................................................63
pwd.............................................................................64
rename ........................................................................64
rmdir ...........................................................................65
write............................................................................65
write flash ....................................................................66
write nvram..................................................................66
User Management ...........................................67line 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
Clock Management ..........................................77clock............................................................................77
clock timezone ..............................................................77
clock set.......................................................................78
source .........................................................................78
external-input ...............................................................79
external-output .............................................................80
show clock config ..........................................................81
show source active ........................................................81
SNMP Management..........................................83show 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
RMON Management .........................................95rmon alarm ..................................................................95
rmon collection history ...................................................96
rmon collection statistics ................................................97
rmon event...................................................................98
show rmon ...................................................................99
FTP/TFTP Server ...........................................101copy .......................................................................... 101
copy .......................................................................... 102
ip ftp password ........................................................... 102
ip ftp username........................................................... 103
System Log and Statistics Management ........105clear logging alarm ...................................................... 105
clear logging command ................................................ 106
clear logging snmp ...................................................... 106
clear processor............................................................ 106
logging buffer ............................................................. 107
logging console ........................................................... 107
logging filesavetime ..................................................... 108
logging ftp.................................................................. 109
logging level ............................................................... 110
logging mode.............................................................. 110
logging snmplog-save .................................................. 111
logging on .................................................................. 112
show snmplogfile......................................................... 112
show cmdlogfile .......................................................... 113
show logging alarm...................................................... 114
show logging configure................................................. 115
show processor ........................................................... 115
syslog ........................................................................ 116
syslog-server host ....................................................... 117
syslog exclude-snmp.................................................... 118
unm on ...................................................................... 119
unm server................................................................. 119
write alarmlog............................................................. 120
write cmdlog............................................................... 120
write logging............................................................... 120
write snmplog ............................................................. 121
Alarm Management .......................................123alarm {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
Debugging.....................................................131debug 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
debug ip pimsm .......................................................... 149
debug ip pimdm .......................................................... 150
debug ip protocol ........................................................ 150
debug ip rip ................................................................ 151
debug ip rip all ............................................................ 151
debug ip rip database .................................................. 152
debug ip rip trigger...................................................... 152
debug ip source........................................................... 152
debug ip tcp all ........................................................... 153
debug ip tcp driver ...................................................... 153
debug ip tcp driver-pak ................................................ 154
debug ip tcp packet ..................................................... 154
debug ip tcp transactions.............................................. 155
debug ip udp .............................................................. 155
debug iptv all.............................................................. 156
debug isis adj-packets.................................................. 157
debug isis all............................................................... 157
debug isis nsf-event..................................................... 158
debug isis snp-packets ................................................. 158
debug isis spf-events ................................................... 158
debug isis update-packets ............................................ 159
debug lacp all ............................................................. 159
debug lacp fsm ........................................................... 159
debug lacp packet ....................................................... 160
debug mpnat .............................................................. 161
debug mstp agreement ................................................ 161
debug mstp all ............................................................ 162
debug mstp bpdu-rx .................................................... 162
debug mstp bpdu-tx .................................................... 163
debug mstp errors ....................................................... 163
debug mstp flush......................................................... 163
debug mstp info .......................................................... 164
debug mstp migration .................................................. 165
debug mstp proposals .................................................. 165
debug mstp roles......................................................... 166
debug mstp state ........................................................ 166
debug mstp tc............................................................. 167
debug nas .................................................................. 167
debug port-location ..................................................... 168
debug pppoe-plus........................................................ 168
debug radius accounting............................................... 169
debug radius all........................................................... 170
debug radius authentication .......................................... 170
debug radius exception ................................................ 171
debug radius user........................................................ 171
debug syscomm .......................................................... 172
debug sysctrl .............................................................. 173
debug version-mng...................................................... 173
debug vlan ................................................................. 174
debug vrrp ................................................................. 175
show debugging .......................................................... 176
terminal monitor ......................................................... 176
MAC Configuration.........................................177mac 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
Port Location.................................................185Port Location Configuration ........................................... 185
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 hostname ............................................ 188
port-location rackno frameno .................................... 188
port-location format................................................. 189
port-location sub-option remote-id............................. 189
port-location sub-option remote-id name .................... 190
show port-location flexible-syntax.............................. 190
show port-location global.......................................... 190
show port-location port ............................................ 191
DHCP Option 82 Configuration....................................... 191
dhcp-option82......................................................... 191
dhcp option82 vport................................................. 192
dhcp-option82 trust ................................................. 192
show dhcp-option82 global ....................................... 193
show dhcp-option82 port .......................................... 193
PPPoE+ Configuration .................................................. 194
pppoe-plus ............................................................. 194
pppoe-plus vport ..................................................... 195
pppoe-plus trust...................................................... 195
show pppoe-plus global ............................................ 196
show pppoe-plus port............................................... 196
Figures ..........................................................197
Tables ...........................................................199
Index ............................................................201
List of Glossary..............................................205
Preface
Purpose This manual provides procedures and guidelines that support theoperation of the ZXA10 C220 (V1.1.2).
IntendedAudience
This document is intended for engineers, technicians and sub-scribers who perform operation activities on the ZXA10 C220.
Prerequisite Skilland Knowledge
To use this manual effectively, subscribers should have a generalunderstanding of network technology. Familiarity with the follow-ing is helpful:
� Networking basics
� Access Network (AN) technologies
� GPON technology
� ZXA10 C220 system and its various components
What Is in ThisManual
This manual contains the following chapters:
TABLE 1 CHAPTER SUMMARY
Chapter Summary
Chapter 1, Overview Describes the device accessmodes, login modes, and generalcommand syntax.
Chapter 2, Basic SystemManagement
Describes the commands relatedto basic system management.
Chapter 3, Hardware Management Describes the commands relatedto hardware management.
Chapter 4, Fan Management Describes the commands relatedto fan management.
Chapter 5, Version Management Describes the commands relatedto version management.
Chapter 6, File SystemManagement
Describes the commands relatedto file system management.
Chapter 7, User Management Describes the commands relatedto user management.
Chapter 8, Clock Management Describes the commands relatedto clock management.
Chapter 9, SNMP Management Describes the commands relatedto SNMP management.
Chapter 10, RMON Management Describes the commands relatedto RMON management.
Chapter 11, FTP/TFTP Server Describes the commands relatedto FTP/TFTP server.
Confidential and Proprietary Information of ZTE CORPORATION i
ZXA10 C220 Command Manual (Volume I)
Chapter Summary
Chapter 12, System Log andStatistics Management
Describes the commands relatedto system log and statisticsmanagement.
Chapter 13, Alarm Management Describes the commands relatedto alarm management.
Chapter 14, Debugging Describes the commands relatedto debugging.
Chapter 15, MAC Configuration Describes the commands relatedto MAC configuration.
Chapter 16, Port Location Describes the commands relatedto port location.
RelatedDocumentation
The following documentation is related to this manual:
� ZXA10 C220 (V1.1.2) GPON Optical Access ConvergenceEquipment Documentation Guide
� ZXA10 C220 (V1.1.2) GPON Optical Access ConvergenceEquipment Technical Manual
� ZXA10 C220 (V1.1.2) GPON Optical Access ConvergenceEquipment Hardware Manual
� ZXA10 C220 (V1.1.2) GPON Optical Access ConvergenceEquipment Hardware Installation Manual
� ZXA10 C220 (V1.1.2) GPON Optical Access ConvergenceEquipment Command Manual (Volume II)
� ZXA10 C220 (V1.1.2) GPON Optical Access ConvergenceEquipment Command Manual (Volume III)
� ZXA10 C220 (V1.1.2) GPON Optical Access ConvergenceEquipment Command Manual (Volume IV)
� ZXA10 C220 (V1.1.2) GPON Optical Access ConvergenceEquipment Operation Manual (CLI)
� ZXA10 C220 (V1.1.2) GPON Optical Access ConvergenceEquipment Operation Manual (NetNumen)
� ZXA10 C220 (V1.1.2) GPON Optical Access ConvergenceEquipment Maintenance Manual
Conventions ZTE documents employ the following typographical conventions.
TABLE 2 TYPOGRAPHICAL CONVENTIONS
Typeface Meaning
Italics References to other Manuals and documents.
"Quotes" Links on screens.
Bold Menus, menu options, function names, input fields,radio button names, check boxes, drop-down lists,dialog box names, window names.
ii Confidential and Proprietary Information of ZTE CORPORATION
Preface
Typeface Meaning
CAPS Keys on the keyboard and buttons on screens andcompany name.
Constantwidth
Text that you type, program code, files and directorynames, and function names.
[ ] Optional parameters
{ } Mandatory parameters
I Select one of the parameters that are delimited by it.
Note:
Note: Provides additional information about a certaintopic.
Check-point:
Checkpoint: Indicates that a particular step needs tobe checked before proceeding further.
Tip:
Tip: Indicates a suggestion or hint to make thingseasier or more productive for the reader.
Mouse Operation Conventions are as follows:
TABLE 3 MOUSE OPERATION CONVENTIONS
Typeface Meaning
Click Refers to clicking the primary mouse button (usually theleft mouse button) once.
Double-click
Refers to quickly clicking the primary mouse button(usually the left mouse button) twice.
Right-click Refers to clicking the secondary mouse button (usuallythe right mouse button) once.
Drag Refers to pressing and holding a mouse button andmoving the mouse.
How to Get inTouch
The following sections provide information on how to obtain sup-port for the documentation and the software.
Customer SupportIf you have problems, questions, comments, or suggestionsregarding your product, contact us by e-mail at [email protected]. You can also call our customer support center at(86) 755 26771900 and (86) 800-9830-9830.
Documentation SupportZTE welcomes your comments and suggestions on the quality and usefulness of this document. For further questions,comments, or suggestions on the documentation, you cancontact us by e-mail at [email protected]; or you can faxyour comments and suggestions to (86) 755 26772236. Youcan also browse our website at http://support.zte.com.cn,
Confidential and Proprietary Information of ZTE CORPORATION iii
ZXA10 C220 Command Manual (Volume I)
which contains various interesting subjects like documentation, knowledge base, forum and service request.
Declaration ofRoHS Compliance
Tominimize the environmental impact and take more responsibilityto the earth we live, this document shall serve as formal declara-tion that ZXA10 C220 manufactured by ZTE CORPORATION is incompliance with the Directive 2002/95/EC of the European Parlia-ment - RoHS (Restriction of Hazardous Substances) with respectto the following substances:
� Lead (Pb)
� Mercury (Hg)
� Cadmium (Cd)
� Hexavalent Chromium (Cr (VI))
� PolyBrominated Biphenyls (PBB’s)
� PolyBrominated Diphenyl Ethers (PBDE’s)
This declaration is issued based on our current level of knowledge.Since conditions of use are outside our control, ZTE CORPORATIONmakes no warranties, express or implied, and assumes no liability inconnection with the use of this information.
iv Confidential and Proprietary Information of ZTE CORPORATION
C h a p t e r 1
Overview
Table of ContentsAccess Modes..................................................................... 1Login Modes ...................................................................... 9General Command Syntax ..................................................11
Access ModesThis topic includes the following:
� HyperTerminal
� NetNumen
� Telnet
HyperTerminal
Short Description Perform this procedure to configure HyperTerminal.
Prerequisites Make sure that HyperTerminal is installed in computer and workingnormally. ZXA10 C220should be able to ping the computer.
Context To configure HyperTerminal, perform the following steps:
Steps 1. Port Connection Setup: Use a serial cable to connect Com-puter Serial Port with Control and Switching Card (GCSA)console port as shown in Figure 1.
FIGURE 1 CONSOLE PORT SETUP
Confidential and Proprietary Information of ZTE CORPORATION 1
ZXA10 C220 Command Manual (Volume I)
2. HyperTerminal Setup:
i. In Windows, click start > Programs > Accessories >Communications > HyperTerminal. Connection inter-face appears as shown in Figure 2.
FIGURE 2 HYPERTERMINAL CONNECTION INTERFACE
ii. In Connection Description interface, input connectionname as shown in Figure 2.
iii. Click OK to enter Connect To interface as shown in Figure3
FIGURE 3 CONNECT TO INTERFACE
2 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 1 Overview
iv. In Connect To interface, select COM1 from the Connectusing drop-down list.
v. Click OK to enter COM1 Properties interface as shown inFigure 4.
FIGURE 4 COM1 PROPERTIES INTERFACE
vi. Click Restore Defaults to change the port configurationto default value as shown in Figure 4.
vii. Click OK to finish the configuration and a HyperTerminalapplication interface appears as shown in Figure 5.
FIGURE 5 HYPERTERMINAL APPLICATION INTERFACE
Confidential and Proprietary Information of ZTE CORPORATION 3
ZXA10 C220 Command Manual (Volume I)
viii.Input username and password. By default, usernameand password is zte. The final interface appears as shownin Figure 6.
FIGURE 6 HYPERTERMINAL INTERFACE
If login fails, click Disconnect and then click Call . Iflogin still fails, check parameter configuration or physicalconnections. Do not login until configuration is correct.
END OF STEPS
Result HyperTerminal is configured successfully.
NetNumen
Short Description Perform this procedure to access NE via NetNumen N31 (for man-agement).
Prerequisites Make sure that NetNumen N31 NMS and SQL Server 2000 data-base are installed on the computer and working normally.
Context To access NE via NetNumen N31 System, perform the followingsteps:
Steps 1. Select Start > Programs > NetNumen N31 > NetNumenN31 Server to start UMS Server as shown in Figure 7.
4 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 1 Overview
FIGURE 7 STARTING NETNUMEN N31 SERVER
The interface appears as shown in Figure 8.
FIGURE 8 UMS SERVER INTERFACE
The final interface appears as shown in Figure 9.
Confidential and Proprietary Information of ZTE CORPORATION 5
ZXA10 C220 Command Manual (Volume I)
FIGURE 9 FINAL UMS SERVER INTERFACE
2. Start the client as: Start > NetNumen N31 > NetNumenN31 Client as shown in Figure 7.
FIGURE 10 STARTING NETNUMEN N31 CLIENT
The interface appears as shown in Figure 11.
6 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 1 Overview
FIGURE 11 UMS CLIENT INTERFACE
The final interface appears as shown in .
FIGURE 12 NETNUMEN N31 CLIENT LOGIN INTERFACE
3. In the client login interface, input User Name and click OK toenter the main interface as shown in Figure 13.
Confidential and Proprietary Information of ZTE CORPORATION 7
ZXA10 C220 Command Manual (Volume I)
FIGURE 13 NETNUMEN N31 MAIN INTERFACE
The above interface shows management pane on the left andNE pane on the right side. Right-click NE to access NE foroperation.
END OF STEPS
Result NE access (after NetNumen N31 system startup) is complete.
Telnet
The user can login to the system through Telnet from NMS or anycomputer from where the user can ping system in-band or out-of-band IP address.
In Windows Operating System, select start > Run, and type telnetX.X.X.X (where X.X.X.X is the in-band or out-of-band IP addressof ZXA10 C220) as shown in Figure 14.
8 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 1 Overview
FIGURE 14 RUN INTERFACE
After the connection is successful, enter username and pass-word as zte. The system information is displayed in the CLI for-mat, as shown in Figure 15 .
FIGURE 15 TELNET WINDOW INTERFACE
After the login, the user can perform relevant configurations andoperations on the system.
Login ModesThe following table lists the login modes.
Mode DOS Prompt Entry Mode(From)
Entry Command
User mode ZXAN> - Enter user modedirectly after loginthe system
Confidential and Proprietary Information of ZTE CORPORATION 9
ZXA10 C220 Command Manual (Volume I)
Mode DOS Prompt Entry Mode(From)
Entry Command
Privilegemode
ZXAN# User mode enable
Globalconfigurationmode
ZXAN(con-fig)#
Privilege mode configure terminal
Clockconfigurationmode
ZXAN(config-clock)#
Globalconfigurationmode
clock
Interfaceconfigurationmode
ZXAN(config-if)#
Globalconfigurationmode
interface
Routerconfigurationmode
ZXAN(config-router)#
Globalconfigurationmode
router
Routeraddressmode
ZXAN(config-router-af)#
Routerconfigurationmode
address-family
Router mapmode
ZXAN(config-route-map)
Globalconfigurationmode
route-map
StandardACLconfigurationmode
ZXAN(config-std-acl)#
Globalconfigurationmode
acl standard
ExtendedACLconfigurationmode
ZXAN(config-ext-acl)#
Globalconfigurationmode
acl extended
Hybrid ACLconfigurationmode
ZXAN(config-hybd-acl)#
Globalconfigurationmode
acl hybrid
Linklayer ACLconfigurationmode
ZXAN(config-link-acl)#
Globalconfigurationmode
acl link
VLANdatabaseconfigurationmode
ZXAN(vlan)# Privilege mode vlan database
VLANconfigurationmode
ZXAN(config-vlan)#
Globalconfigurationmode
vlan
MSTPconfigurationmode
ZXAN (config-mstp)#
Globalconfigurationmode
spanning-tree mstconfiguration
10 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 1 Overview
Mode DOS Prompt Entry Mode(From)
Entry Command
CESconfigurationmode
ZXAN(config-ces)#
Globalconfigurationmode
ces
AAA-tacacsserver groupmode
ZXAN(config-sg)#
Global configura-tion mode
aaa group-servertacacs+
General Command SyntaxAll commands issued under ZXA10 C220 follow a general com-mand syntax. The general command syntax is as follows:
command parameter
where,
command is main command. A command is a mandatory part ofcommand syntax.
parameter (mandatory or optional) can be sub-command (key-word), value or a combination of both. When used as a value, pa-rameters are shown in italics. When used as a sub-command (key-word), parameters are shown in bold-face. There may be none,single or multiple parameters after ‘command’. Commands usu-ally require a value (such as a VLAN identifier), therefore, choosean appropriate value wherever needed. Parameters are executedas a part of a main command.
The following symbols are used in command syntax.
� { }: Braces enclose a mandatory parameter. Any parameter(s)contained within braces must be provided after the previousparameter in a command.
� []: Square brackets enclose an optional parameter. Any pa-rameter(s) contained within square brackets may or may notbe provided after the previous parameter in a command.
� n1 | n2 |.. nn: Where ‘n’ is a parameter included withinbraces or square brackets and is separated by vertical bars ‘|’.The symbol implies an exclusive-OR logic operation on n1 uptonn. Choose a single ‘n’ only (from n1 upto nn).
Example The following examples clarify the general command syntax anduse of symbols.
� port-location access-node-identify {hostname | inband-mac}
� igmp mvlan mvlan-id group static-port if-name [ pvc port-number | vport port-number]
Note:
Use tab key to auto-complete a command. Recall a commandissued earlier by using up-arrow key.
Confidential and Proprietary Information of ZTE CORPORATION 11
ZXA10 C220 Command Manual (Volume I)
This page is intentionally blank.
12 Confidential and Proprietary Information of ZTE CORPORATION
C h a p t e r 2
Basic SystemManagement
Table of Contentsbanner incoming ...............................................................13configure terminal .............................................................14disable.............................................................................15enable .............................................................................15enable secret ....................................................................15end .................................................................................16exit .................................................................................17hostname.........................................................................17multi-user configure ..........................................................18nvram boot-password ........................................................18nvram boot-server.............................................................19nvram boot-username........................................................20nvram config-filename .......................................................20nvram default-gateway ......................................................21nvram imgfile-location........................................................22nvram mng-ip-address .......................................................22nvram inband-mac ............................................................23nvram outband-mac ..........................................................24show nvram......................................................................24reboot..............................................................................25reload ..............................................................................25route-map ........................................................................26time-range .......................................................................26username.........................................................................27version ............................................................................28who.................................................................................28show clock........................................................................29show clock config ..............................................................29show running-config ..........................................................30show system-group ...........................................................31show route-map................................................................32show time-range ...............................................................32show username.................................................................33show users .......................................................................33show version ....................................................................34
banner incomingSyntax banner incoming end-char TEXT end-char
Confidential and Proprietary Information of ZTE CORPORATION 13
ZXA10 C220 Command Manual (Volume I)
Purpose To configure incoming terminal line banner
Usage Guidelines The following table provides parameter description:
Parameter Description Value
end-char End character 1 character
TEXT Greeting, ending withan end character
1 – 255 characters,including spaces andcarriage returns
Mode ZXAN(config)#
Example The following example displays how to configure incoming terminalline banner to ’welcome’:ZXAN(config)#banner incoming #Enter TEXT message. End with the character ’#’.welcome#
RelatedCommands
None
RelatedInformation
Step 1: Set an end character, which is one character, such as ’#’:
banner incoming #
Press the Enter key. Then the system displays the following infor-mation:
Enter TEXT message. End with the character ‘#’
Step 2: Type the greeting text. It can include special characterssuch as spaces and carriage return (except question mark ’?’), andends with ’#’
Note:
The system considers question mark ’?’ as a help sign. Therefore,all the text parameters or passwords cannot include question mark’?’.
configure terminalSyntax configure terminal
Purpose To enter global configuration mode (from privileged mode)
Usage Guidelines None
Mode ZXAN#
Example The following example displays how to enter global configurationmode:ZXAN#configure terminalEnter configuration commands, one per line. End with CNTL/Z.ZXAN(config)#
14 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 2 Basic System Management
RelatedCommands
end
disableSyntax disable
Purpose To return from the privileged mode to the user mode
Usage Guidelines None
Mode ZXAN#
Example The following example displays how to return from the privilegedmode to the user mode:ZXAN#disableZXAN>
RelatedCommands
enable
exit
enableSyntax enable
Purpose To enter privileged mode from the user mode
Usage Guidelines None
Mode ZXAN>
Example The following example displays how to enter privileged mode fromthe user mode:ZXAN>enablePassword:ZXAN#
RelatedCommands
disable
RelatedInformation
Privileged user password is required.
Note:
By default, password is ZXAN and is case sensitive. When the pass-word is typed, it is not displayed on the interface.
enable secretSyntax enable secret {0 password | 5 password | password}
Purpose To configure the password for privileged mode
Confidential and Proprietary Information of ZTE CORPORATION 15
ZXA10 C220 Command Manual (Volume I)
Usage Guidelines The following table provides parameter description:
Parameter Description Value
0 password Privileged password Range: 3 – 16characters
5 password Encrypted privilegedpassword
Range: 24 characters
password Default privilegedpassword
Range: 3 – 16characters
Mode ZXAN(config)#
Example The following example displays how to configure the password forprivileged mode to ’ZXAN’:ZXAN(config)#enable secretZXAN
RelatedCommands
enable
RelatedInformation
Running configuration output displays encrypted enable passwordwhile the password used to enter the privileged mode is unen-crypted.
Note:
The enable secret 0 password and enable secret password com-mands are used to specify an unencrypted password. To spec-ify encrypted password, use the enable secret 5 password com-mand. The configured password is not encrypted unless the pass-word length is 24 characters.
endSyntax end
Purpose To return to the privileged mode
Usage Guidelines None
Mode The command is available for all modes except the user and priv-ileged modes.
Example The following example displays how to return to the privilegedmode:ZXAN(config)#endZXAN#
16 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 2 Basic System Management
RelatedCommands
None
exitSyntax exit
Purpose To end current session or return to previous mode
Usage Guidelines None
Mode All modes
Example The following example displays how to return to previous mode:ZXAN(config)#exitZXAN#
RelatedCommands
configure
terminal
login
logout
RelatedInformation
When this command is executed under the user mode or privilegedmode, it ends current session; while in other modes, it returns toprevious mode.
hostnameSyntax hostname network-name
no hostname
Purpose To configure the network name of the system
Usage Guidelines The following table provides parameter description:
Parameter Description Value
network-name Network name Range: 1 – 64characters
Mode ZXAN(config)#
Example The following example displays how to configure the network nameof the system to ’test’:ZXAN(config)#hostname test
RelatedCommands
None
Confidential and Proprietary Information of ZTE CORPORATION 17
ZXA10 C220 Command Manual (Volume I)
RelatedInformation
This command takes effect immediately after it is executed.
multi-user configureSyntax multi-user configure
no multi-user configure
Purpose To configure multiple users to access the configuration mode
Usage Guidelines None
Mode ZXAN(config)#
Example The following example displays how to permit multiple users anda single user to access the configuration mode.
� To permit multiple users to access the configuration mode whenno user is in the configuration mode:ZXAN#configure terminalZXAN(config)#multi-user configure%Warning: allow others configure, must avoid conflict.ZXAN(config)#
� If multiple users try to enter global configuration mode, thesystem prompts with an error message:ZXAN#configure terminal%Simultaneous configs not allowed. Locked from 168.1.168.168ZXAN#
� This command cannot be disabled if a user is already in con-figuration mode:ZXAN(config)#no multi-user conf%Someone has entered the configure mode, cannot set single-userconfigure!ZXAN(config)#
RelatedCommands
configure terminal
RelatedInformation
By default, only one user can access the global configuration mode.Only aftermulti-user configure is executed, other users can ac-cess the global configuration mode. Before executing no multi-user configure, make sure that all the other users have exited theconfiguration mode.
Note:
When executing multi-user configure command, avoid conflictbetween different users.
nvram boot-passwordSyntax nvram boot-password password
18 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 2 Basic System Management
Purpose To start FTP download setting for mapping file and specifying thepassword of the FTP server for download
Usage Guidelines The following table provides parameter description:
Parameter Description Value
password FTP password Range: 3 – 16characters
Mode ZXAN(config)#
Example The following example displays how to start FTP download settingfor the mapping file and specifying the password of the FTP serverfor download to ’pass’:ZXAN(config)#nvram boot-password pass
RelatedCommands
nvram boot-server
nvram boot-username
nvram config-filename
nvram default-gateway
nvram imgfile-location
nvram mng-ip-address
RelatedInformation
The password can include numbers, letters, and special charac-ters.
This command can be used with nvram boot-server, nvramboot-username, nvram imgfile-location and nvram default-gateway commands.
nvram boot-serverSyntax nvram boot-server ip-address
Purpose To enable the FTP download settings for mapping files and speci-fying the IP address of the FTP server for download
Usage Guidelines The following table provides parameter description:
Parameter Description Value
ip-address IP address A.B.C.D
Mode ZXAN(config)#
Example The following example displays how to enable the FTP downloadsettings for mapping files and specifying the IP address of the FTPserver for download to 168.1.1.1:ZXAN(config)#nvram bootserver 168.1.1.1
RelatedCommands
nvram boot-password
nvram boot-username
nvram config-filename
nvram default-gateway
Confidential and Proprietary Information of ZTE CORPORATION 19
ZXA10 C220 Command Manual (Volume I)
nvram imgfile-location
nvram mng-ip-address
RelatedInformation
This command is used with the nvram boot-password,nvramboot-username,nvram imgfile-location and nvram default-gateway commands.
nvram boot-usernameSyntax nvram boot-username username
Purpose To enable the FTP download setting for mapping files and to specifythe user name of the FTP server for download
Usage Guidelines The following table provides parameter description:
Parameter Description Value
username FTP user name Range: 1 – 16characters
Mode ZXAN(config)#
Example The following example displays how to enable the FTP downloadsetting for mapping files and specify the user name of the FTPserver for download to ’test’:ZXAN(config)#nvram boot-username test
RelatedCommands
nvram boot-password
nvram boot-server
nvram config-filename
nvram default-gateway
nvram imgfile-location
nvram mng-ip-address
RelatedInformation
The password can include letters, numbers, and underscore. Let-ters are case insensitive.
The command is used with nvram boot-password, nvram boot-server, nvram imgfile-location and nvram default-gatewaycommands.
nvram config-filenameSyntax nvram config-filename file-name
Purpose To specify name for startup configuration file
Usage Guidelines The following table provides parameter description:
20 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 2 Basic System Management
Parameter Description Value
file-name Startup configurationfile name
Range: 0 – 40characters
Mode ZXAN(config)#
Example The following example displays how to specify name for startupconfiguration file to ’start’:ZXAN(config)#nvram config-filename start
RelatedCommands
nvram boot-password
nvram boot-server
nvram boot-username
nvram default-gateway
nvram imgfile-location
nvram mng-ip-address
nvram default-gatewaySyntax nvram default-gateway ip-address
Purpose To configure IP address of default gateway
Usage Guidelines The following table provides parameter description:
Description Description Value
ip-address IP address of defaultgateway
A.B.C.D
Mode ZXAN(config)#
Example The following example displays how to configure the IP address ofthe default gateway to 168.1.1.1:ZXAN(config)#nvram default-gateway 168.1.1.1
RelatedCommands
nvram boot-password
nvram boot-server
nvram boot-username
nvram config-filename
nvram imgfile-location
nvram mng-ip-address
RelatedInformation
This command is used with the nvram boot-password, nvramboot-server, nvram imgfile-location, and nvram boot-username commands.
Confidential and Proprietary Information of ZTE CORPORATION 21
ZXA10 C220 Command Manual (Volume I)
nvram imgfile-locationSyntax nvram imgfile-location {local | network filename}
Purpose To configure image file boot-up location
Usage Guidelines The following table provides parameter description:
Parameter Description Value
local The image file islocated locally
-
network The image file islocated on thenetwork
-
filename File name Range: 1 – 80characters
Mode ZXAN(config)#
Example The following example displays how to configure image file boot-uplocation:
1. To set local boot-up:ZXAN(config)#nvram imgfile-location local
2. To set network boot-up:ZXAN(config)#nvram imgfile-location network sys.img
RelatedCommands
nvram boot-password
nvram boot-server
nvram boot-username
nvram config-filename
nvram default-gateway
nvram mng-ip-address
RelatedInformation
Filename can include letters, numbers, and special characters.
When network boot-up is set, filename can contain the path inthe specified FTP directory. For example, if the FTP directory issysm, and the current path is sysm/nets, filename can contain thesub-path under this path.
This command is used with nvram boot-password, nvram boot-server, nvram boot-username and nvram default-gatewaycommands.
nvram mng-ip-addressSyntax nvram mng-ip-address ip-address net-mask
Purpose To configure the IP address of the device MNG (management) in-terface
Usage Guidelines The following table provides parameter description:
22 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 2 Basic System Management
Parameter Description Value
ip-address IP address of MNGinterface
A.B.C.D
net-mask Subnet mask A.B.C.D
Mode ZXAN(config)#
Example The following example displays how to configure the IP addressof router MNG (management) interface to 168.1.1.1 and subnetmask to 255.255.0.0:ZXAN(config)#nvram mng-ip-address 168.1.1.1 255.255.0.0
RelatedCommands
nvram boot-password
nvram boot-server
nvram boot-username
nvram config-filename
nvram default-gateway
nvram imgfile-location
RelatedInformation
The configured interface IP address should be in different networksegment from the local address.
nvram inband-macSyntax nvram inband-mac mac-address
Purpose To configure the in-band MAC address of the device
Usage Guidelines The following table provides parameter description:
Parameter Description Value
mac-address MAC address 00d0.d0xx.xxxx (xis a hexadecimalnumber)
Mode ZXAN(config)#
Example The following example displays how to configure the in-band MACaddress to 00d0.d064.0000:ZXAN(config)#nvram inband-mac 00d0.d064.0000
RelatedCommands
show nvram
nvram outband-mac
RelatedInformation
mac address requirements are:
� Format: 00d0.d0xx.xxxx (x is a hexadecimal number)
� The in-band MAC address should be different from the out-of-band address.
After the command is executed:
Confidential and Proprietary Information of ZTE CORPORATION 23
ZXA10 C220 Command Manual (Volume I)
� If the MAC address is successfully configured, the system doesnot display any information.
� If the MAC address fails to be configured, the system displaysthe following information:Invalid MAC address
nvram outband-macSyntax nvram outband-mac mac address
Purpose To configure the out-of-band MAC address of the device.
Usage Guidelines The following table provides parameter description:
Parameter Description Value
mac address MAC address 00d0.d0xx.xxxx (xis a hexadecimalnumber)
Mode ZXAN(config)#
Example The following example displays how to configure the out-of-bandMAC address to 00d0.d000.1111:ZXAN(config)#nvram outband-mac 00d0.d000.1111
RelatedCommands
show nvram
nvram inband-mac
RelatedInformation
mac address requirements are as follows:
� Format: 00d0.d0xx.xxxx (x is a hexadecimal number)
� The out-of-band MAC address should be different from the out-of-band address.
After the command is executed:
� If the MAC address is successfully configured, the system doesnot display any information.
� If the MAC address fails to be configured, the system displaysthe following information:Invalid MAC address
show nvramSyntax show nvram {running | saved}
Purpose To display the NVRAM configuration
Usage Guidelines The following table provides parameter description:
24 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 2 Basic System Management
Parameter Description Value
running Running information -
saved Saved information -
Mode ZXAN(config)#
Example The following example shows how to display the NVRAM runningconfiguration:ZXAN(config)#show nvram runningNvram configuration information:mng-ip-address : 10.63.196.234mask : 255.255.255.0server-ip-address : 10.63.196.236Gateway-ip-address : 10.63.196.254boot-username : c220boot-password : c220ZXR10_SerialNo : 2354CfgFileName : startrun.datOutband-mac-address : 002d.0064.302dInband-mac-address : 0031.0064.3024
RelatedCommands
None
rebootSyntax reboot [rackno rackno] [shelfno shelfno]
Purpose To reboot the system
Usage Guidelines The following table provides parameter description:
Parameter Description Value
rackno rackno Rack number Value: 0
Default: 0
shelfno shelfno Shelf number Value: 0
Default: 0
Mode ZXAN#
Example The following example displays how to reboot the system:ZXAN#rebootPlease check whether data has savedthe unsaved data may lose if reboot active boardare you sure to reboot active board? [yes/no]:yZXAN#
RelatedCommands
None
reloadSyntax reload
Confidential and Proprietary Information of ZTE CORPORATION 25
ZXA10 C220 Command Manual (Volume I)
Purpose To reload the system
Usage Guidelines None
Mode ZXAN#
Example The following example displays how to reload the system:ZXAN#reloadProceed with reload? [yes/no]:y
RelatedCommands
None
route-mapSyntax route-map name [deny | permit] [sequence]
no route-map name [sequence]
Purpose To access the route mapping configuration mode or configure theroute mapping of the system
Usage Guidelines The following table provides parameter description:
Parameter Description Value
name Route mapping name Range: 1 – 16characters
deny | permit Deny/Permit -
sequence Sequence to insertinto/delete from routemap
Range: 0 – 65535
Mode ZXAN(config)#
Example The following example displays how to access the route mappingmode:ZXAN(config)#route-map test permit 2ZXAN(config-route-map)#
RelatedCommands
show route-map
time-rangeSyntax time-range range-name from starting-time starting-date [to
ending-time ending-date]
time-range range-name starting-time to ending-time {daily |working-day | off-day | sunday | monday | tuesday | wednesday | thursday | friday | saturday}
no time-range range-name
Purpose To configure the time range
Usage Guidelines The following table provides parameter description:
26 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 2 Basic System Management
Parameter Description Value
range-name Time range name Range: 1 – 16characters
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
Time limit conditions -
Mode ZXAN(config)#
Example The following example displays how to configure the time range’test1’, specifying the time range from 00:00:00, Jan 1, 2008 to23:59:59, Dec 31, 2009:ZXAN(config)#time-range test1 from 00:00:00 01-01-2008 to 23:59:5912-31-2009
The following example displays how to configure the time range’test2’, specifying the time range from 00:00:00 to 06:00:00 everySaturday:ZXAN(config)#time-range test2 00:00:00 to 02:00:00 saturday
RelatedCommands
show time-range
RelatedInformation
This command can be used to specify a continuous time range ora time range that meet certain conditions.
The no time-range command is used to delete the configuration.
usernameSyntax username username password password [privilege privilege]
no username username
Purpose To configure the login user name and password
Usage Guidelines The following table provides parameter description:
Confidential and Proprietary Information of ZTE CORPORATION 27
ZXA10 C220 Command Manual (Volume I)
Parameter Description Value
username User name Range: 1 – 16characters, excludingspaces
password password Password Range: 3 – 16characters, excludingspaces
privilege privilege Privilege level Range: 0 – 15
Default: 1
Mode ZXAN(config)#
Example The following example displays how to configure the login username to abc and password to pass:ZXAN(config)#username abc password pass
RelatedCommands
show username
RelatedInformation
The user name can include numbers and lower case letters
The password can include numbers, letters, and special charac-ters.
The no username command is used to cancel the configuration.
versionSyntax version
Purpose To access the version management mode
Usage Guidelines None
Mode ZXAN#
Example The following example displays how to access the version man-agement mode:ZXAN#versionZXAN(version)#
RelatedCommands
exit
whoSyntax who
Purpose To display the users currently logged on the system
Usage Guidelines None
Mode ZXAN#
28 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 2 Basic System Management
Example The following example displays the users currently logged on thesystem:ZXAN#whoLine User Host(s) Idle Location* 66 vty 0 zte idle 00:00:00 168.1.200.5767 vty 1 abc idle 00:00:00 168.1.200.58
The output parameters are as follows:
Parameter Description Value
Line Number of virtualterminal that the userlogs in to
-
User Login user name -
Host Host name -
Idle Idle time -
Location Client address -
RelatedCommands
None
show clockSyntax show clock
Purpose To display the system clock
Usage Guidelines None
Mode All modes
Example The following example displays how to display the system clock:ZXAN#show clock13:39:24 Tue Jul 22 2008 UTC
RelatedCommands
clock set
RelatedInformation
If the time zone is configured, this command displays the localtime of the time zone.
show clock configSyntax show clock config [master | slave]
Purpose To display the clock configuration
Usage Guidelines The following table provides parameter description:
Confidential and Proprietary Information of ZTE CORPORATION 29
ZXA10 C220 Command Manual (Volume I)
Parameter Description Value
master Primary clockconfiguration
-
slave Secondary clockconfiguration
-
Mode All modes
Example The following example displays the clock configuration:ZXAN#show clock configShelf/card/slot Type Priority CfgSSM Mode Species
...........................................................0/7/0 holdover 252 - - Source
RelatedCommands
clock set
show running-configSyntax show running-config [big-packet | interface interface-name |
msan module-name]
show running-config [{begin | exclude | include} line]
Purpose To show the system configuration or specified interface configura-tion
Usage Guidelines The following table provides parameter description:
Parameter Description Value
big-packet Big packet -
interface interface-name
Interface name loopback1 –loopback64
null1
smartgroup1 –smartgroup8
supervlan1–supervlan255
tunnel1– tunnel64
vlan1– vlan4094
msan module-name MSAN module name ces, dhcp-option82,epon, gpon,igmp, iptv, mac,port-location,pppoe-plus, vlan
begin To display theconfiguration thatbegins with the line(s)containing specifiedcharacter or characterstring
-
30 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 2 Basic System Management
Parameter Description Value
exclude To display theconfiguration thatexcludes the line(s)containing specifiedcharacter or characterstring
-
include To display theline(s) that containspecified character orcharacter string in theconfiguration
-
line Specified character orcharacter string
-
Mode All modes except exec mode
Example The following example displays how to display the system SNMPconfiguration:ZXAN#show running-config | include snmpsnmp-server location No.889 BiBo Rd. PuDong District, ShangHai, Chinasnmp-server contact +86-021-68895000snmp-server packetSize 3000snmp-server engine-id 830900020300010289d64401snmp-server community public view allview rwsnmp-server view allview internet includedsnmp-server view DefaultView system includedsnmp-server host 10.62.31.123 trap version 2c pulic enable NOTIFICATIONSserver-index 1 udp-port 162snmp-server enable trap SNMPsnmp-server enable trap VPNsnmp-server enable trap BGPsnmp-server enable trap OSPFsnmp-server enable trap RMONsnmp-server enable trap STALARMlogging snmplog-save disableZXAN#
RelatedCommands
None
RelatedInformation
The system configuration is displayed in the command format.
show system-groupSyntax show system-group
Purpose To display the system information
Usage Guidelines None
Mode All modes
Example The following example displays the system information:ZXAN#show system-groupSystem Description: ZXR10 ROS Version V4.8.01ZXPON C220 Software, Version V1.1.1Copyright (c) 2000-2008 by ZTE CorporationCompiled Jun 29 2008, 23:12:37
Confidential and Proprietary Information of ZTE CORPORATION 31
ZXA10 C220 Command Manual (Volume I)
System ObjectId: .iso.org.dod.internet.private.enterprises.zte.1015.3.1.220.1.0
Started before: 15553 SecondsContact with: +86-021-68895000System name: ZXANLocation: No.889 BiBo Rd. PuDong District, ShangHai, ChinaThis system primarily offers a set of 78 services
RelatedCommands
None
show route-mapSyntax show route-map [name]
Purpose To show the route mapping
Usage Guidelines The following table provides parameter description:
Parameter Description Value
name Route address name Range: 1 – 16characters
Mode All modes except the user mode
Example The following example displays how to display the configured routemapping:ZXAN#show route-maproute-map tag permit 10route-map test permit 2ZXAN#ZXAN#show route-map testroute-map test permit 2ZXAN#
RelatedCommands
route-map
show time-rangeSyntax show time-range [range-name]
Purpose To display the system time range
Usage Guidelines The following table provides parameter description:
Parameter Description Value
range-name Time range name Range: 1 – 16characters
Mode All modes
Example The following example displays the system time range:ZXAN#show time-rangeCurrent time is 07:04:44 01-01-2001 MondayTime-range: test1from 00:00:00 01-01-2008 to 23:59:59 12-31-2009
32 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 2 Basic System Management
Time-range: test200:00:00 to 02:00:00 SaturdayZXAN#
RelatedCommands
time-range
show usernameSyntax show username
Purpose To display the list of authorized user(s) and password(s)
Usage Guidelines None
Mode All modes except the user mode
Example The following example displays the list of authorized user(s) andpassword(s):ZXAN#show usernameUsername Password Privilegezte ****** 15
RelatedCommands
username
show usersSyntax show users
Purpose To display the terminal user information
Usage Guidelines None
Mode All modes
Example The following example displays the terminal user information:ZXAN#show usersLine User Host(s) Idle Location* 66 vty 0 zte idle 00:00:00 10.63.10.10567 vty 1 zte idle 00:46:13 10.63.196.38ZXAN#
The following table describes the parameters displayed in the ex-ample: :
Parameter Description
Line Number of the virtual terminalwith the user login
User Login user name
Host Host name
Idle Idle time
Location Client address
Confidential and Proprietary Information of ZTE CORPORATION 33
ZXA10 C220 Command Manual (Volume I)
RelatedCommands
None
show versionSyntax show version
Purpose To display the software and hardware versions of the system
Usage Guidelines None
Mode All modes
Example The following example displays how to display the software andhardware versions of the system:ZXAN#show versionIAP Operating System Software, ZTE CorporationIAP Version V4.8.01ZXPON C220 Software, Version V1.1.1, RELEASE SOFTWARECopyright (c) 2000-2008 by ZTE CorporationCompiled Jun 29 2008, 23:12:37System image files from net <ftp://10.62.31.32/GCSA.MVR>System uptime is 0 days, 4 hours, 38 minutes
RelatedCommands
None
34 Confidential and Proprietary Information of ZTE CORPORATION
C h a p t e r 3
Hardware Management
Table of Contentsadd-card ..........................................................................35add-rack ..........................................................................36add-shelf..........................................................................36del-card ...........................................................................37del-rack ...........................................................................37del-shelf...........................................................................38reset-card ........................................................................38show card ........................................................................39swap ...............................................................................39confirm-card .....................................................................40reset-at-suspend ...............................................................40lock-card..........................................................................41unlock-card ......................................................................41
add-cardSyntax add-card [rackno rackno] [shelfno shelfno] {slotno slotno}
boardtype boardtype
Purpose To add a card
Usage Guidelines The following table provides parameter description:
Parameter Description Value
rackno rackno Rack number Value: 0
Default: 0
shelfno shelfno Shelf number Value: 0
Default: 0
slotno slotno Slot number Range: 1 – 6 or 9 –14
boardtype boardtype Type of the card CE1B, CE1BB, CT1BB,CL1A, EIG, EIGM,EIGMF, EIGF, EIT1F, EIT2F, EPEB, EPFB,EPFC, GPFAB, GPFAC,GPTAB, GPTBB,GPTCB, PFR, PFF
Mode ZXAN(config)#
Confidential and Proprietary Information of ZTE CORPORATION 35
ZXA10 C220 Command Manual (Volume I)
Example The following example displays how to add a card:ZXAN(config)#add-card rackno 0 shelfno 0 slotno 3 EPFC
RelatedCommands
del-card
add-rackSyntax add-rack rackno rackno racktype racktype
Purpose To add a rack
Usage Guidelines The following table provides parameter description:
Parameter Description Value
rackno rackno Rack number 0
racktype racktype Rack type ZXPON
Mode ZXAN(config)#
Example The following example displays how to add rack 0:ZXAN(config)#add-rack rackno 0 racktype ZXPON
RelatedCommands
del-rack
add-shelfSyntax add-shelf [rackno rackno] {shelfno shelfno shelftype shelfty
pe}
Purpose To add a shelf
Usage Guidelines The following table provides parameter description:
Parameter Description Value
rackno rackno Rack number 0
shelfno shelfno Shelf number 0
shelftype shelftype Shelf type ZXA10C220-A,ZXA10C220-B
Mode ZXAN(config)#
Example The following example displays how to add shelf 0:ZXAN(config)#add-shelf rackno 0 shelfno 0 shelftype ZXA10C220-B
36 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 3 Hardware Management
RelatedCommands
del-shelf
del-cardSyntax del-card [rackno rackno] [shelfno shelfno] {slotno slotno}
Purpose To delete a card
Usage Guidelines The following table provides parameter description:
Parameter Description Value
rackno rackno Rack number Value: 0
Default: 0
shelfno shelfno Shelf number Value: 0
Default: 0
slotno slotno Slot number Range: 1 – 6 or 9 –14
Mode ZXAN(config)#
Example The following example displays how to delete the card from slot 3:ZXAN(config)#del-card rackno 0 shelfno 0 slotno 3Confirm to delete card? [yes/no]:yZXAN(config)#
RelatedCommands
add-card
RelatedInformation
Before deleting the main control and switching card, delete thesubscriber cards and other cards. Otherwise, the system prompts%Code 30279: Have Other LC.
del-rackSyntax del-rack rackno rackno
Purpose To delete a rack
Usage Guidelines The following table provides parameter description:
Parameter Description Value
rackno rackno Rack number 0
Mode ZXAN(config)#
Example The following example displays how to delete a rack:ZXAN(config)#del-rack rackno 0Confirm to delete rack? [yes/no]:y
RelatedCommands
add-rack
Confidential and Proprietary Information of ZTE CORPORATION 37
ZXA10 C220 Command Manual (Volume I)
RelatedInformation
Before deleting the rack, delete the shelf first. Otherwise, thesystem prompts %Code 30280: Have Main Shelf.
del-shelfSyntax del-shelf [rackno rackno] {shelfno shelfno}
Purpose To delete a shelf
Usage Guidelines The following table provides parameter description:
Parameter Description Value
rackno rackno Rack number Value: 0
Default: 0
shelfno shelfno Shelf number 0
Mode ZXAN(config)#
Example The following example displays how to delete a shelf:ZXAN(config)#del-shelf shelfno 0Confirm to delete shelf? [yes/no]:y
RelatedCommands
add-shelf
reset-cardSyntax reset-card [rackno rackno] [shelfno shelfno] {slotno slotno}
[subcard subcardno]
Purpose To reset the card
Usage Guidelines The following table provides parameter description:
Parameter 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
subcard subcardno Sub-card number Range: 0 – 3
Mode ZXAN#
Example The following example displays how to reset the card in slot 3:ZXAN#reset-card rackno 0 shelfno 0 slotno 3Confirm to reset card? [yes/no]:y
38 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 3 Hardware Management
RelatedCommands
reboot
show cardSyntax show card [rackno rackno] [shelfno shelfno] [slotno slotno]
Purpose To display cards information
Usage Guidelines The following table provides parameter description:
Parameter 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
Mode All modes
Example The following example display cards information:ZXAN#show cardRack Shelf Slot CfgType RealType Port HardVer SoftVer Status---------------------------------------------------------------0 0 2 EIGM 4 HWONLINE0 0 3 EIGM 4 OFFLINE0 0 4 GPTCB GPTCB 2 V0 V1.1.2T4 INSERVICE0 0 5 GPTCB 2 OFFLINE0 0 6 GPTCB 2 OFFLINE0 0 7 GCSD GCSD 0 V0 V1.1.2T4 INSERVICE0 0 8 GCSD 0 OFFLINE
RelatedCommands
add-card
swapSyntax swap [rackno rackno] [shelfno shelfno] [slotno slotno]
Purpose To swap between active and standby cards
Usage Guidelines The following table provides parameter description:
Parameter 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
Confidential and Proprietary Information of ZTE CORPORATION 39
ZXA10 C220 Command Manual (Volume I)
Mode ZXAN#
Example The following example displays how to swap between active andstandby cards:ZXAN#swap rackno 0 shelfno 0 slotno 7Confirm to master swap? [yes/no]:ySwap execute: RackNo: 0, ShelfNo: 0,SlotfNo: 7
RelatedCommands
None
confirm-cardSyntax confirm-card [rackno rackno] [shelfno shelfno] {slotno slot
no}
Purpose To confirm a card that is online (but not configured) and enable it
Usage Guidelines The following table provides parameter description:
Parameter Description Value
rackno rackno Rack number Value: 0
Default: 0
shelfno shelfno Shelf number Range: 0 – 4
Default: 0
slotno slotno Slot number Range: 1 – 6 or 9 –14
Mode ZXAN#
Example The following example displays how to confirm and enable the cardin slot 12:ZXAN(config)#confirm-card rackno 0 shelfno 0 slotno 12Confirm-card success! Rack : 0 Shelf : 0 Slot : 12 Type : EIG
RelatedCommands
show card
add-card
RelatedInformation
� The confirm-card command cannot be used to confirm themain control and switching card.
� To confirm all the cards that are online but not configured in theshelf, execute confirm-card rackno 0 shelfno 0 command.
� To confirm all the cards that are online but not configured inthe entire NE, execute confirm-card command.
reset-at-suspendSyntax reset-at-suspend
no reset-at-suspend
Purpose To suspend the processes and reset the NE
40 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 3 Hardware Management
Usage Guidelines None
Mode ZXAN#
Example The following example displays how to suspend the processes andreset the NE:ZXAN(config)# no reset-at-suspend
RelatedCommands
None
lock-cardSyntax lock-card [rackno rackno] [shelfno shelfno] {slotno slotno}
Purpose To lock a card
Usage Guidelines The following table provides the parameter description:
Parameter Description Value
rackno rackno Rack number Value: 0
Default: 0
shelfno shelfno Shelf number Range: 0 – 4
Default: 0
slotno slotno Slot number Range: 1 – 17
Mode ZXAN#
Example The following example displays how to lock the card in slot 12:ZXAN(config)#lock-card rackno 0 shelfno 0 slotno 12Confirm to lock card? [yes/no] Y
RelatedCommands
unlock-card
unlock-cardSyntax unlock-card [rackno rackno] [shelfno shelfno] {slotno slotno}
Purpose To unlock a card
Usage Guidelines The following table provides the parameter description:
Parameter Description Value
rackno rackno Rack number Value: 0
Default: 0
shelfno shelfno Shelf number Range: 0 – 4
Default: 0
slotno slotno Slot number Range: 1 – 17
Mode ZXAN#
Confidential and Proprietary Information of ZTE CORPORATION 41
ZXA10 C220 Command Manual (Volume I)
Example The following example displays how to unlock the card in slot 12:ZXAN(config)# unlock-card rackno 0 shelfno 0 slotno 12Confirm to unlock card? [yes/no] Y
RelatedCommands
lock-card
42 Confidential and Proprietary Information of ZTE CORPORATION
C h a p t e r 4
Fan Management
Table of Contentsfan control........................................................................43fan high-threshold .............................................................43fan speed .........................................................................44show fan ..........................................................................44
fan controlSyntax fan control {fixed-speed | temp_level tempx1 tempx2 tempx3
temp4}
Purpose To set fan status (fixed speed status or auto-adjust status accord-ing to temperature)
Usage Guideline The following table provides parameter description:
Parameter Description Value
fixed-speed Fixed speed status -
temp_level tempx1tempx2 tempx3temp4
Auto-adjust statusaccording totemperature fromlevel one to level four
tempx1 – tempx4: 0℃ – 70 ℃Level gap: ≥ 5 ℃
Mode ZXAN(config)#
Example 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-thresholdSyntax fan high-threshold tempx
Purpose To configure temperature high threshold
Usage Guidelines The following table provides parameter description:
Confidential and Proprietary Information of ZTE CORPORATION 43
ZXA10 C220 Command Manual (Volume I)
Parameter Description Value
tempx Temperaturethreshold
Range: 60 ℃ – 80 ℃Default: 70 ℃
Mode ZXAN(config)#
Example The following example displays how to set temperature thresholdto 60 ℃:ZXAN(config)#fan high-threshold 60
Related Command show fan
RelatedInformation
The high-temperature check interval is configured to five minutes.If threshold is reached, the fan module sends alarm message tomain control card and the main control card transmits trap packetsto the SNMP server. As a result, all fans start working in full speed.When temperature is detected lower than threshold, fans returnto normal working mode.
fan speedSyntax fan speed speed
Purpose To set fan speed
Usage Guidelines The following table provides parameter description:
Parameter Description Value
speed Fan speed 0, 1, 2, 3, 4
Mode ZXAN(config)#
Example The following example displays how to set fan speed to 2:ZXAN(config)#fan speed 2
Related Command show fan
RelatedInformation
One of the four different speed can be assigned.
show fanSyntax show fan
Purpose To show all fans configuration information
Usage Guidelines None
Mode All modes but user mode
Example The following example displays all fans configuration information:ZXAN(config)#show fanFanControlType : temp-controlTemperatureThreshold : 10 20 30 40 (Celsiur scale)
44 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 4 Fan Management
HighTemperatureThreshold : 63(Celsiur scale)MP HighTemperatureThreshold : 40 (Celsiur scale)FanSpeed : 2Environment Temperature : 29.MP Temperature : 26.Filter Status : normalAll fan actual status:-------------------------------------------fan online Actual Status
-------------------------------------------1 off-line off2 off-line off3 off-line off
-------------------------------------------
RelatedCommands
None
Confidential and Proprietary Information of ZTE CORPORATION 45
ZXA10 C220 Command Manual (Volume I)
This page is intentionally blank.
46 Confidential and Proprietary Information of ZTE CORPORATION
C h a p t e r 5
Version Management
Table of Contentsactivate version.................................................................47download version ..............................................................48erase version ....................................................................48main-backup version..........................................................48quit .................................................................................49show compound-version.....................................................49show update-status ...........................................................50show version-running.........................................................51show version-saved ...........................................................52show sync-status...............................................................53update-boot......................................................................53update-version..................................................................54patch load ........................................................................55patch unload.....................................................................55show patchstate ................................................................56update-cpld ......................................................................56
activate versionSyntax activate version file-name
Purpose To activate main version file on main control card
Usage Guidelines The following table provides parameter description:
Parameter Description Value
filename Version file name Range: 1 – 16characters
Mode ZXAN(version)#
Example The following example displays how to activate file ’version1’:ZXAN(version)#activate version version1version1Parse activate version ok!
RelatedCommands
download version
erase version
RelatedInformation
Once the main control card main version file is activated, the pre-vious version file is automatically deactivated.
Confidential and Proprietary Information of ZTE CORPORATION 47
ZXA10 C220 Command Manual (Volume I)
download versionSyntax download version host-file-name
Purpose To download version file
Usage Guidelines The following table provides parameter description:
Parameter Description Value
host-file-name File name Range: 0 – 12characters
Mode ZXAN(version)#
Example The following example displays how to download version file:ZXAN(version)#download version gcsa.btStart loading file.....................file download successfully.
RelatedCommands
activate version
erase version
erase versionSyntax erase version file-name
Purpose To erase the version file
Usage Guidelines The following table provides parameter description:
Parameter Description Value
file-name Version file to beerased
Range: 1 – 12characters
Mode ZXAN(version)#
Example The following example displays how to erase the version file:ZXAN(version)#erase version version1Erase Version Parse ok!Filename: version1
RelatedCommands
download version
activate version
RelatedInformation
User cannot erase the running version file of main control card.
main-backup versionSyntax main-backup version synchronization [host-file-name]
48 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 5 Version Management
Purpose To perform main backup version synchronization
Usage Guidelines The following table provides parameter description:
Parameter Description Value
host-file-name Version file name Range: 1 – 16characters
Mode ZXAN(version)#
Example The following example displays how to perform main backup ver-sion synchronization:ZXAN(version)#main-backup version synchronization
RelatedCommands
show version-running
quitSyntax quit
Purpose To return to privileged mode
Usage Guidelines None
Mode ZXAN(version)#
Example The following example displays how to return back to privilegedmode:ZXAN(version)#quitZXAN#
RelatedCommands
version
show compound-versionSyntax show compound-version file-name
Purpose To display compound version information
Usage Guidelines The following table provides parameter description:
Parameter Description Value
file-name Compound version filename
Range: 0 – 16characters
Mode All modes except exec mode
Example The following example displays compound version information:ZXAN#show compound-version eig.mvrFileName Format CompoundFlag BuildTime FileLength------------------------------------------------------------EIG.MVR BIN SINGLE 2008-06-30 03:56:03 613242
Confidential and Proprietary Information of ZTE CORPORATION 49
ZXA10 C220 Command Manual (Volume I)
ZXAN#
RelatedCommands
download version
show update-statusSyntax show update-status [rackno rackno] [shelfno shelfno] [slotno
slotno]
Purpose To view file update status
Usage Guidelines The following table provides parameter description:
Parameter Description Value
rackno rackno Specify rack number Range: 0 – 0
Default: 0
shelfno shelfno Specify shelf number Range: 0 – 0
Default: 0
slotno slotno Specify slot number Range: 1 – 14
Mode All modes except exec mode
Example The following example displays file update status:ZXAN(version)#show update-statusShelf Slot MVR FIRMWARE BOOTROM--------------------------------------------------------------0 4 Same version not start update Not need autoupdate0 5 Same version Same version Not cfg board0 11 Same version not start update Not need autoupdate
The following table provides parameters description:
Parameter Description
not start update Version update is not started
Negotiating... Update is in process of negotiating (It mightfail to update for overtime wait)
Downloading... The card is downloading version file from maincontrol card
Update success Update is successful
Download failed Download failed (It might be wrong with FTPor card verification failure)
No or same version Main control card version is or is not the sameto card version
Board not match Card type configured is not matching
50 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 5 Version Management
Parameter Description
Send msg failed MSG sending failed (It might be wrong withamong cards connection)
Execute timeout Execution time is out
No version There is no main control card version and notto update
Same version Main control card is of the same version to linecard
cfg board wrong Card configuration is wrong
Ver check failed Version check failed
Hard no match Hardware card type is not matching with maincontrol card configuration
Program wrong Program is wrong
Not cfg board System control did not configure card to theslot
no version type There cannot configure this type of version tothe card. For example, some line cards cannotconfigure fw version)
Failed in MToSlave Failure in updating version due to master andslave switching
RelatedCommands
update line-card
RelatedInformation
This command is executed after update line-card command andonly displays card update information. If it is not updated, it dis-plays “can’t update” error message.
show version-runningSyntax show version [rackno rackno] [shelfno shelfno] [slotno slotno]
Purpose To show the file running version
Usage Guidelines The following table provides parameter description:
Parameter Description Value
rackno number Specify rack number Range: 0 – 0
Default: 0
shelfno number Specify shelf number Range: 0 – 0
slotno slotno Specify slot number Range: 1 – 14
Mode All modes except exec mode
Confidential and Proprietary Information of ZTE CORPORATION 51
ZXA10 C220 Command Manual (Volume I)
Example The following example displays the file running version of all cards:ZXAN#show version-runningPhyLoc VerType FileType VerTag VerLenth BuildTime-----------------------------------------------------------------------
0/0/4 GPTCB MVR V1.1.2T4 1454059 2008-11-21 20:17:530/0/4 GPTCB FIRMWARE V1.1.2T4 4958042 2008-11-26 12:21:180/0/4 GPTCB BOOTROM V1.1.2GPTBT1 289216 2009-01-19 09:33:470/0/7 GCSD MVR V1.1.2T4 12394720 2008-11-29 05:18:370/0/7 GCSD BOOTROM V1.1.2T4 524288 2008-11-29 10:26:23
RelatedCommands
download version
show version-savedSyntax show version-saved [rackno rackno] [shelfno shelfno] [slotno
slotno]
Purpose To view saved version file(s)
Usage Guidelines The following table provides parameter description:
Parameter Description Value
rackno number Specify rack number Range: 0 – 0
Default: 0
shelfno number Specify shelf number Range: 0 – 0
slotno slotno Specify slot number Range: 1 – 6 and 9 –14
Mode All modes except exec mode
Example The following example displays the file version saved on MP:ZXAN#show version-savedPhyLoc FileName VerType VerTag BuildTime VerLenth Active
-------------------------------------------------------------------------
0/0/4 gptcb.fw GPTCB V1.1.2T4 2008-11-26 12:21:18 4958042 0
0/0/4 gptcb.mvr GPTCB V1.1.2T4 2008-11-21 20:17:53 1454059 0
0/0/7 eig.bt EIG V1.1.1EP1T4 2008-10-20 08:48:58 279792 0
0/0/7 eig.mvr EIG V1.1.1EP1T4 2008-10-20 06:48:47 624608 0
0/0/7 gcsd.bt GCSD V1.1.1EP1T4 2008-10-20 08:52:14 524288 0
0/0/7 gcsd.mvr GCSD V1.1.2T4 2008-11-29 05:18:37 12394720 1
0/0/7 gcsd.mvr_14 GCSD V1.1.1EP1T1 2008-07-28 01:46:42 11872908 1
00/0/7 gpfab.bt GPFAB V0.99 2008-07-21 09:55:29 288320 0
0/0/7 gpfab.fw GPFAB V1.1.1EP1T1 2008-07-21 09:50:14 3011095 0
0/0/7 gpfab.mvr GPFAB V1.1.1EP1T1 2008-07-21 09:50:02 1439799 0
0/0/7 gptbb.fw GPTBB V1.1.1EP1T4 2008-08-20 06:01:54 4584226 0
52 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 5 Version Management
0/0/7 gptbb.mvr GPTBB V1.1.1EP1T4 2008-08-20 04:47:04 1740764 0
0/0/7 gptcb.bt GPTCB V1.1.1EP1T4 2008-10-20 08:51:27 288128 0
0/0/7 gptcb.fw GPTCB V1.1.2T4 2008-11-26 12:21:18 4958042 0
0/0/7 gptcb.fw_14 GPTCB V1.1.1T2 2008-08-30 13:13:11 4472053 0
00/0/7 gptcb.fw_fz GPTCB V1.1.2T4 2008-10-29 17:10:02 4921741 0
l0/0/7 gptcb.mvr GPTCB V1.1.2T4 2008-11-21 20:17:53 1454059 0
0/0/7 gptcb.mvr_1 GPTCB V1.1.1EP1T4 2008-08-20 05:38:52 1423313 0
40
RelatedCommands
download version
show sync-statusSyntax show sync-status [rackno rackno] [shelfno shelfno]
Purpose To display master and slave version synchronization information
Usage Guidelines The following table provides parameter description:
Parameter Description Value
rackno rackno Rack number Range: 0 – 0
shelfno shelfno Shelf number Range: 0 – 0
Mode All modes except the exec mode
Example The following example displays master and slave version synchro-nization information:ZXAN(config)#show sync-statusRack Shelf Filename Active Status----------------------------------------0 0 gcsa.bt 0 success0 0 gcsa.mvr 1 success0 0 epfc.bt 0 success0 0 epfc.mvr 0 success
RelatedCommands
None
update-bootSyntax update-boot [rackno rackno] [shelfno shelfno] slotno slotno
local
Purpose To update boot version and write to card
Usage Guidelines The following table provides parameter description:
Confidential and Proprietary Information of ZTE CORPORATION 53
ZXA10 C220 Command Manual (Volume I)
Parameter Description Value
rackno racknumber Specify rack number Range: 0 – 0
Default: 0
shelfno shelfnumber Specify shelf number Range: 0 – 0
Default: 0
slotno number Specify slot number Range: 1 – 14
local Update from MP -
Mode ZXAN(version)#
Example The following example displays how to update boot version:ZXAN(version)#update-boot slotno 7 localConfirm to update boot? [yes/no]:y
RelatedCommands
update-version
update-versionSyntax update-version [rackno rackno] [shelfno shelfno] slotno
slotno local
Purpose To update card version
Usage Guidelines The following table provides parameter description:
Parameter Description Value
rackno number Specify rack number Range: 0 – 0
Default: 0
shelfno number Specify shelf number Range: 0 – 0
Default: 0
slotno number Specify slot number Range: 1 – 6 or 9 –14
local Update from MP -
Mode ZXAN(version)#
Example The following example displays how to update version of card inslot 2:ZXAN(version)#update-version slotno 2 local
54 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 5 Version Management
RelatedCommands
update-boot
patch loadSyntax patch load {all | master | slave} patchname
Purpose To upload dynamic patch
Usage Guidelines The following table provides parameter description:
Parameter Description Value
all Upload both masterand slave cards
-
master Upload master card -
slave Upload slave card -
patchname Patch file name Range: 1 – 16characters
Mode ZXAN#
Example The following example displays how to upload patch for mastercard:ZXAN#patch load master versionoam.patMaster patch reload patfile
RelatedCommands
show patchstate
patch unload
patch unloadSyntax patch unload {all | master | slave} patchname
Purpose To unload dynamic patch
Usage Guidelines The following table provides parameter description:
Parameter Description Value
all Unload all patches -
master Unload master patch -
slave Unload slave patch -
patchname Patch file name Range: 1 – 16characters
Mode ZXAN#
Example The following example displays how to unload dynamic patch:
Confidential and Proprietary Information of ZTE CORPORATION 55
ZXA10 C220 Command Manual (Volume I)
ZXAN#patch unload master versionoam.patMaster patch unload success
RelatedCommands
show patchstate
patch load
show patchstateSyntax show patchstate
Purpose To display uploaded dynamic patch state
Usage Guidelines None
Mode ZXAN#
Example The following example displays uploaded dynamic patch state:ZXAN#show patchstateRack Shelf Slot PatchName PatchState-------------------------------------------------------0 0 9 versionoam.pat patch load success
RelatedCommands
patch unload
patch load
update-cpldSyntax update-cpld [rackno rackno] [shelfno shelfno] {slotno slotno}
[swtval swtval]
Purpose To update CPLD online
Usage Guidelines The following table provides parameters description:
Parameter Description Value
rackno rackno Rack number Range: 0 – 0
Default: 0
shelfno shelfno Shelf number Range: 0 – 4
Default: 0
slotno slotno Slot number Range: 1 – 17
swtval swtval CPLD updating switchvalue
1: to update
0: not to update
Mode ZXAN(version)#
Example The following example displays how to update CPLD in slot 3 on-line:ZXAN(version)#update-cpld slotno 3 swtval 1%Code 35681: Cpldupdate flag is set successfully.
56 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 5 Version Management
RelatedCommands
Reset-card
Confidential and Proprietary Information of ZTE CORPORATION 57
ZXA10 C220 Command Manual (Volume I)
This page is intentionally blank.
58 Confidential and Proprietary Information of ZTE CORPORATION
C h a p t e r 6
File SystemManagement
Table of Contentscd ...................................................................................59copy (FTP Client)...............................................................60delete ..............................................................................61dir ...................................................................................61display .............................................................................62format flash......................................................................63mkdir...............................................................................63pwd.................................................................................64rename ............................................................................64rmdir ...............................................................................65write................................................................................65write flash ........................................................................66write nvram......................................................................66
cdSyntax cd directory
Purpose To enter a specific file device or file directory of the current filedevice
Usage Guidelines The following table provides parameter description:
Parameter Description Value
directory Directory name ordevice name
Range: 1 – 80characters
Mode ZXAN#
Example The following example displays how to enter a specific file deviceor file directory of the current file device:
1. Enter the flash file device of the system:ZXAN#cd flash:
2. Enter the cfg directory of the current file device:ZXAN#cd /cfg
3. Enter the upper-level directory:ZXAN#cd..
Confidential and Proprietary Information of ZTE CORPORATION 59
ZXA10 C220 Command Manual (Volume I)
RelatedCommands
dir
mkdir
pwd
rmdir
RelatedInformation
Types of the device name fixed in the system include ‘nvram:’ and‘flash:’
Note:
� The file device name must be entered completely to enter aspecified file device.
� To enter the upper-level directory, the ‘.’ and ‘..’ directorydeclarators are supported.
copy (FTP Client)Syntax copy source-device source-file destination-device destination-file
Purpose To copy a specified file from/to FTP host
Usage Guidelines The following table provides parameter description:
Parameter Description Value
source-device Source device name -
source-file Source directory andfile name
Range: 1 – 80characters
destination-device Destination devicename
-
destination-file Destination directoryand file name
Range: 1 – 80characters
Mode ZXAN#
Example The following example displays how to copy a specified filefrom flash: cfg/startrun.dat to FTP host (FTP host IP address10.63.10.105 and username/password ’test/pass’):ZXAN#copy ftp: //10.63.10.105/startrun1.dat@test:pass
RelatedCommands
delete
60 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 6 File System Management
RelatedInformation
Device name can only be fixed names as flash:, tftp:, ftp:.
deleteSyntax delete filename
Purpose To delete file(s) in specified directory of current file device
Usage Guidelines The following table provides parameter description:
Parameter Description Value
filename Filename or directoryand filename
Range: 1 – 80characters
Mode ZXAN#
Example The following example displays how to delete a file in current di-rectory named sys.dat:ZXAN#delete sys.dat
RelatedCommands
copy
rename
RelatedInformation
The total length of directory and filename must be less than 80characters.
Declarators such as . and .. are operational.
dirSyntax dir [directory]
Purpose To display files in specified or current directory of current file device
Usage Guidelines The following table provides parameter description:
Parameter Description Value
directory Directory name ordevice name
Range: 1 – 80characters
Mode ZXAN#
Example The following example displays files in flash:/img directory:ZXAN#cd flash:ZXAN#cd imgZXAN#dirDirectory of flash:/img
attribute size date time name1 drwx 2048 JAN-01-2001 00:14:20 .2 drwx 2048 JAN-01-2000 00:00:13 ..3 -rwx 276208 JAN-01-2001 00:13:44 eig.bt
Confidential and Proprietary Information of ZTE CORPORATION 61
ZXA10 C220 Command Manual (Volume I)
4 -rwx 524288 JAN-01-2001 00:14:22 gcsa.bt5 -rwx 10394721 JAN-01-2001 00:10:48 gcsa.mvr6 -rwx 1945202 JAN-01-2001 00:12:42 epfc.mvr7 -rwx 613546 JAN-01-2001 00:11:18 eig.mvr8 -rwx 300528 JAN-01-2001 06:00:12 gptbb.bt9 -rwx 1808275 JAN-01-2001 00:53:56 gptbb.mvr10 -rwx 4553954 JAN-01-2001 05:59:56 gptbb.fw11 -rwx 286976 JAN-01-2001 00:13:26 epfc.bt
The table below describes the displayed information:
Information Description
Attribute File attributes: d: directory,r: readable, w: writeable, x:executable
Size File size
Date File created date
Time File created time
Name File name
RelatedCommands
cd
mkdir
pwd
rmdir
RelatedInformation
Device name input should be of fixed type in the system: nvram:,flash:.
displaySyntax display filename
Purpose To display the specified file
Usage Guidelines The following table provides parameter description:
Parameter Description Value
filename File name Range: 1 – 128characters
Mode ZXAN#
Example The following example displays how to display the specified file:ZXAN#display test
62 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 6 File System Management
RelatedCommands
None
format flashSyntax format flash
Purpose To format the flash
Usage Guidelines None
Mode ZXAN#
Example The following example displays how to format Flash:ZXAN#format flashAll data will be cleared.Continue to format? [yes/no]:y
RelatedCommands
None
RelatedInformation
This command can be executed only in the root directory of theflash.
mkdirSyntax mkdir directory
Purpose To create new subdirectory under current directory
Usage Guidelines The following table provides parameter description:
Parameter Description Value
directory Directory name ordevice name
Range: 1 – 32characters
Mode ZXAN#
Example The following example displays how to create new subdirectorynamed ’test’ under current directory:ZXAN#mkdir test
RelatedCommands
cd
dir
pwd
rmdir
Confidential and Proprietary Information of ZTE CORPORATION 63
ZXA10 C220 Command Manual (Volume I)
pwdSyntax pwd
Purpose To display current directory path
Usage Guidelines None
Mode ZXAN#
Example The following example displays current directory path:ZXAN#pwdroot:/flash:/ZXAN#
RelatedCommands
cd
dir
mkdir
rmdir
renameSyntax rename source-filename destination-filename
Purpose To rename a file
Usage Guidelines The following table provides parameter description:
Parameter Description Value
source-filename Source file name ordirectory
Range: 1 – 80characters
modified-filename Modified file name Range: 1 – 12characters
Mode ZXAN#
Example The following example displays how rename a file named sys.datin config directory as back.dat:ZXAN#rename config/sys.dat back.dat
RelatedCommands
copy
delete
rmdir
RelatedInformation
Source filename can include file path, but second parameter onlyincludes the modified name for filename.
64 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 6 File System Management
rmdirSyntax rmdir directory
Purpose To delete the specified file directory
Usage Guidelines The following table provides parameter description:
Parameter Description Value
directory Specify the directoryname
Range: 1 – 32characters
Mode ZXAN#
Example The following example displays how to delete the specified file di-rectory:ZXAN#rmdir test1
RelatedCommands
cd
copy
dir
mkdir
pwd
writeSyntax write
Purpose To write (save) configuration information of router to flash, or writecurrent router system parameters to the NVRAM
Usage Guidelines None
Mode ZXAN#
Example The following example displays how to write configuration infor-mation of current device to the NVRAM:ZXAN#writeBuilding configuration...[ok]
RelatedCommands
write flash
write nvram
RelatedInformation
This command has same effect as ofwrite flash andwrite nvramcommands.
Confidential and Proprietary Information of ZTE CORPORATION 65
ZXA10 C220 Command Manual (Volume I)
write flashSyntax write flash
Purpose To write current active device configuration to flash
Usage Guidelines None
Mode ZXAN#
Example The following example displays how to write current active deviceconfiguration to flash:ZXAN#write flashBuilding configuration FLASH: ...[ok]
RelatedCommands
write
write nvram
RelatedInformation
Configuration written to flash automatically comes into effect whensystem restarts.
write nvramSyntax write nvram
Purpose To write current configuration to NVRAM
Usage Guidelines None
Mode ZXAN#
Example The following example displays how to write current configurationto NVRAM:ZXAN#write nvramBuilding configuration...[ok]
RelatedCommands
write
write flash
66 Confidential and Proprietary Information of ZTE CORPORATION
C h a p t e r 7
User Management
Table of Contentsline console absolute-timeout..............................................67line console idle-timeout.....................................................68line telnet absolute-timeout ................................................68line telnet access-class.......................................................69line telnet idle-timeout .......................................................70login ................................................................................70logout ..............................................................................71login-authentication-type....................................................71login-authorization-type .....................................................71quit .................................................................................72rlogin...............................................................................72script ...............................................................................73show history .....................................................................73show monitor....................................................................74show msan .......................................................................74show terminal ...................................................................75telnet...............................................................................75telnet mng .......................................................................76telnet onu ........................................................................76
line console absolute-timeout
Syntax line console absolute-timeout absolute-timeout
no line console absolute-timeout
Purpose To configure absolute timeout (total session time) of console portsession
Usage Guidelines The following table provides parameter description:
Parameter Description Value
absolute-timeout Set consoleabsolute-timeoutin minutes
Range: 1 – 10,000minutes
Default: 1 day
Mode ZXAN(config)#
Confidential and Proprietary Information of ZTE CORPORATION 67
ZXA10 C220 Command Manual (Volume I)
Example The following example displays how to configure absolute timeoutof console port session as 30 minutes:ZXAN(config)#line console absolute-timeout 30
RelatedCommands
line console idle-timeout
RelatedInformation
Console session is terminated and user is logged out after absolutetime expiry.
line console idle-timeoutSyntax line console idle-timeout idle-timeout
no line console idle-timeout
Purpose To configure idle timeout of console port session
Usage Guidelines The following table provides parameter description:
Parameter Description Value
idle-timeout Set console port idletimeout in minutes
Range: 1 – 1000minutes
Default: 2 hours
Mode ZXAN(config)#
Example The following example displays how to configure idle timeout ofconsole port session as 30 minutes:ZXAN(config)#line console idle-timeout 30
RelatedCommands
line console absolute-timeout
RelatedInformation
Idle timeout refers to the allowed idle time (i.e. there is no CLIinput) after which the session is terminated.
line telnet absolute-timeoutSyntax line telnet absolute-timeout absolute-timeout
no line telnet absolute-timeout
Purpose To configure absolute (total session time) timeout for Telnet ses-sion
Usage Guidelines The following table provides parameter description:
68 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 7 User Management
Parameter Description Value
absolute-timeout Configure Telnetabsolute timeout inminutes
Range: 1 – 10,000minutes
Default: 1 day
Mode ZXAN(config)#
Example The following example displays how to configure absolute timeoutas 30 minutes for Telnet session:ZXAN(config)#line telnet absolute-timeout 30
RelatedCommands
line telnet idle-timeout
RelatedInformation
Absolute time specifies the time (without taking into account theterminal idle time) after which current Telnet session is terminatedand user is logged out.
Execute this command along with the line telnet idle-timeoutcommand.
line telnet access-classSyntax line telnet access-class access-list-number
no line telnet access-class
Purpose To configure the login IP restriction of Telnet terminal
Usage Guidelines The following table provides parameter description:
Parameter Description Value
access-list-number IP access list Range: 1 – 99
Mode ZXAN(config)#
Example The following example displays how to configure the login IP re-striction of Telnet terminal:ZXAN(config)#line telnet access-class 2
RelatedCommands
acl extended
acl standard
acl link
acl hybrid
RelatedInformation
This command is used in combination with the acl command toallow or refuse access from specific IP address(es).
Confidential and Proprietary Information of ZTE CORPORATION 69
ZXA10 C220 Command Manual (Volume I)
line telnet idle-timeoutSyntax line telnet idle-timeout idle-timeout
no line telnet idle-timeout
Purpose To configure the idle time of the Telnet terminal
Usage Guidelines The following table provides parameter description:
Parameter Description Value
idle-timeout Set Telnetidle-timeout inminutes
Range: 1 – 1000
Default: 120 minutes
Mode ZXAN(config)#
Example The following example displays how to configure the idle time ofthe Telnet terminal to 30 minutes:ZXAN(config)#line telnet idle-timeout 30
RelatedCommands
line telnet absolute-timeout
RelatedInformation
Telnet terminal session is terminated after the specified time. Thiscommand works with the line telnet absolute-timeout com-mand.
loginSyntax login
Purpose To log in to the equipment
Usage Guidelines None
Mode ZXAN>
ZXAN#
Example The following example displays how to log in to equipment by username zxan:ZXAN>loginUsername:zxanPassword:ZXAN>
RelatedCommands
logout
quit
70 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 7 User Management
logoutSyntax logout
Purpose To logout from the router and end current session
Usage Guidelines None
Mode ZXAN>
ZXAN#
Example ZXAN>logout
RelatedCommands
login
quit
login-authentication-typeSyntax login-authentication-type {local | radius group | tacacs+}
Purpose To configure user login authentication type
Usage Guidelines The following table provides parameter description:
Parameter Description Value
local Local authentication -
radius group Radius authenticationand group number
Range: 1 – 10
tacacs+ Tacacs+authentication
-
Mode ZXAN#
Example The following example displays how to configure user login au-thentication type as local:ZXAN(config)#login-authentication-type local
RelatedCommands
login-authorization-type
RelatedInformation
By default, the authentication type is local.
login-authorization-typeSyntax login-authorization-type {local | tacacs+}
Purpose To configure authorization type for specific user login through Tel-net
Confidential and Proprietary Information of ZTE CORPORATION 71
ZXA10 C220 Command Manual (Volume I)
Usage Guidelines The following table provides parameter description:
Parameter Description Value
local Local authorizationtype
-
tacacs+ Tacacs+ authorizationtype
-
Mode ZXAN(config)#
Example The following example displays how to configure authorization typeas tacacs+:ZXAN(config)#login-authorization-type tacacs+
RelatedCommands
login-authentication-type
RelatedInformation
By default configuration, the authorization type is local.
quitSyntax quit
Purpose To return to privileged mode
Usage Guidelines None
Mode ZXAN#
ZXAN>
Example None
RelatedCommands
login
logout
RelatedInformation
This command is also used to terminate current session.
rloginSyntax rlogin {commander | member member-id}
Purpose To open a group Telnet connection
Usage Guidelines The following table provides parameter description:
72 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 7 User Management
Parameter Description Value
commander Open a Telnetconnection tocommander
-
member member-id Open a group Telnetconnection withmember ID
Range: 1 – 255
Mode ZXAN#
Example The following example displays how to open a Telnet connectionto commander:ZXAN#rlogin commander
RelatedCommands
None
scriptSyntax script execute filename
Purpose To execute a script
Usage Guidelines The following table provides parameter description:
Parameter Description Value
execute filename Execute script filename
Range: 1 – 128characters
Mode ZXAN#
Example The following example displays how to execute a script namedtest:ZXAN#script execute test
RelatedCommands
None
show historySyntax show history
Purpose To display executed commands history
Usage Guidelines None
Mode All modes
Example The following example displays executed commands history:ZXAN>show historywho
Confidential and Proprietary Information of ZTE CORPORATION 73
ZXA10 C220 Command Manual (Volume I)
show ip routeen
RelatedCommands
None
RelatedInformation
This command can be used to view last ten executed commands.
show monitorSyntax show monitor session session-number
Purpose To display detailed information of user-defined sessions
Usage Guidelines The following table provides parameter description:
Parameter Description Value
session session-number
Monitor sessionnumber
Range: 1 – 1
Mode All modes except exec mode
Example The following example displays detailed information of user-de-fined sessions:ZXAN#show monitor session 1
RelatedCommands
None
show msanSyntax show msan {counter [shelfno cardno] | log}
Purpose To display MSAN information
Usage Guidelines The following table provides parameter description:
Parameter Description Value
shelfno Shelf number 0
cardno Slot number Range: 0 – 10
log MSAN log information -
Mode All modes except exec mode
Example The following example displays MSAN information:ZXAN#show msan counter
214 : MutualPromptPutsLinkStateErr96 : SnmpKtpToMsCfgCheckMsanMibFail1 : HotbackupMasterInit
74 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 7 User Management
RelatedCommands
None
show terminalSyntax show terminal
Purpose To display the status of the current user terminal
Usage Guidelines None
Mode All modes
Example The following example displays the status of the current user ter-minal:ZXAN#show terminalLine 66, Location: "", Type: "ANSI"Length: 25 lines, Width: 80 columnsTelnet idle-timeout is: 16:40:00Telnet absolute-timeout is: 1d00h00mBaud rate (TX/RX) is 9600/9600Capabilities: noneTime since activation: 00:20:37Editing is enabled.History is enabled, history size is 10.Telnet access-class is: EMPTY!
RelatedCommands
None
RelatedInformation
This command can be executed to display terminal informationsuch as terminal ID, type and logging limitation.
telnetSyntax telnet ip-address
Purpose To establish connection through Telnet
Usage Guideline The following table provides parameters description:
Parameter Description Value
ip-address Destination IP address A.B.C.D
Mode ZXAN#
ZXAN>
Example The following example displays how to log into server with IP ad-dress of 168.1.200.77:ZXAN#telnet 168.1.200.77
RelatedCommands
None
RelatedInformation
This command can be executed to log in other remote devices orTelnet server.
Confidential and Proprietary Information of ZTE CORPORATION 75
ZXA10 C220 Command Manual (Volume I)
telnet mngSyntax telnet mng ip-address
Purpose To open a Telnet connection from management interface
Usage Guidelines The following table provides parameter description:
Parameter Description Value
ip-address Destination IP address A.B.C.D
Mode ZXAN>
ZXAN#
Example The following example displays how to log into Telnet server withIP address 168.1.200.77 from management interface:ZXAN#telnet mng 168.1.200.77
RelatedCommands
None
RelatedInformation
This command manages to log into remote devices or Telnet serverfrom management interface.
telnet onuSyntax telnet onu gpon-onu shelf/slot/olt:onu
Purpose To access an ONU through Telnet
Usage Guidelines The following table provides parameters description:
Parameter Description Value
gpon-onushelf/slot/olt:onu
Interface -
Mode ZXAN#
Example The following example displays how to access an ONU throughTelnet:ZXAN#telnet onu gpon-onu_0/12/2:1
RelatedCommands
None
RelatedInformation
This command can be executed to log into ONU through manage-ment port.
76 Confidential and Proprietary Information of ZTE CORPORATION
C h a p t e r 8
Clock Management
Table of Contentsclock................................................................................77clock timezone ..................................................................77clock set ..........................................................................78source .............................................................................78external-input ...................................................................79external-output .................................................................80show clock config ..............................................................81show source active ............................................................81
clockSyntax clock [timezone name offset]
Purpose To enter the clock configuration mode
Usage Guidelines The following table provides parameter description:
Parameter Description Value
timezone name Time zone name Range: 1 – 9characters
offset Offset from UTC Range: -23 – 23hours
Mode ZXAN(config)#
Example The following example displays how to enter the clock configura-tion mode:ZXAN(config)#clockZXAN(config-clock)#
RelatedCommands
None
clock timezoneSyntax clock timezone timezone-name hours minutes
no clock timezone
Confidential and Proprietary Information of ZTE CORPORATION 77
ZXA10 C220 Command Manual (Volume I)
Purpose To configure the time zone
Usage Guidelines The following table provides parameter description:
Parameter Description Value
timezone-name Name of the timezone
Range: 1 – 9characters
hours Hours offset from UTC Range: -12 – 13
mins Minutes offset fromUTC
Range: 0 – 59
Mode ZXAN(config)#
Example The following example displays how to configure the time zone:ZXAN(config)#clock timezone test 0 30
RelatedCommands
None
clock setSyntax clock set time month day year
Purpose To configure the system clock in standard time format
Usage Guidelines The following table provides parameter description:
Parameter Description Value
time Current time hh:mm:ss
month Month Range: Jan – Dec
day Day of the month Range: 1 – 31
year Year Range: 2001 – 2098
Mode ZXAN#
Example The following example displays how to configure the system clockin standard time format:ZXAN#clock set 23:12:01 feb 23 2001ZXAN#
RelatedCommands
None
sourceSyntax source shelfslot/port type {e1 | external | internal |maintain
| stm1 | stm4} priority clock-priority
78 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 8 Clock Management
no source clock-priority
Purpose To display the current active clock source
Usage Guidelines The following table provides parameters description:
Parameter Description Value
shelfslot /port Shelf/slot/portnumber
-
internal Internal clock -
maintain Maintain clock -
external External clock 1/2
e1 E1 clock Range: 1 – 32
stm1 STM-1 optical clock Range: 1– 4
stm4 STM-4 optical clock Range: 1 – 4
priority clock-priority Clock priority Range: 1 – 255
1: top priority
Mode ZXAN(config-clock)#
Example The following example displays the current active clock source:ZXAN(config-clock)#source example type e1 priority 44
RelatedCommands
None
RelatedInformation
C220 contains 14 slots in total and main control card can onlyconfigure external and internal clocks.
C220 provides 2-route external clock, online SDH optical clock andonline E1 clock for clock module and clock source priority for refer-ence. For external clock, it provides BITS and HZ interface modesto use.
Before adding clock source, check previous configuration first.
external-inputSyntax external-input shelf/card/port quailty {enhanced2 | enhanc
ed3 | primary | sec} mode {hz | unreadablessm | readablessm}
Purpose To configure the external input clock
Usage Guidelines The following table provides parameter description:
Parameter Description Value
shelf/card/port Shelf number, slotnumber and portnumber
-
Confidential and Proprietary Information of ZTE CORPORATION 79
ZXA10 C220 Command Manual (Volume I)
Parameter Description Value
quailty Quality of clock Defult: SEC clock
primary Datum clock G.811
enhanced2 Enhanced level-2clock
G.812
enhanced3 Enhanced level-3clock
G.812
sec SEC clock G.813
mode BITS/HZ mode Default mode: Hz
hz Hz mode -
unreadablessm BITS mode,unreadable SSM
-
readablessm BITS mode, readableSSM
-
Mode ZXAN(config-clock)#
Example The following example displays how to configure the external inputclock:ZXAN(config-clock)#external-input 0/6/1 quality sec mode hz
RelatedCommands
None
external-outputSyntax external-output {{ssmThreshold {enhanced2 | enhanced3
| primary | sec}} | {mode {hz | bits}}}
Purpose To configure external output clock
Usage Guidelines The following table provides parameter description:
Parameter Description Value
ssmThreshold Output SSM threshold Default: SEC clock
primary Datum clock G.811
enhanced2 Enhanced level-2clock
G.812
enhanced3 Enhanced level-3clock
G.812
sec SEC clock G.813
mode BITS/HZ mode -
80 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 8 Clock Management
Parameter Description Value
hz HZ mode Default: Hz mode
bits BITS mode -
Mode ZXAN(config-clock)#
Example The following example displays how to configure the external out-put clock:ZXAN(config-clock)#external-output ssmThreshold sec mode hz
RelatedCommands
None
show clock configSyntax show clock config
Purpose To display the SEC clock configuration
Usage Guidelines None
Mode All modes except exec mode
Example The following example displays the SEC clock configuration:ZXAN(config-clock)#show clock configInterface Type Priority CfgSSM Mode Class.....................................................0/8/0 internal 252 INVALID INVALID0/8/1 external 253 sec hz EXTOUT
RelatedCommands
None
RelatedInformation
This command displays current optional SEC clock configurationfrom high to low according to priority including both input SECclock and output clock configuration.
show source activeSyntax show source active
Purpose To display the current active clock source
Usage Guidelines None
Mode All modes except exec mode
Example The following example displays the current active clock source:ZXAN(config-clock)#show source activeInterface Type InS1 OutS1 Status0/8/0 internal 11 11 FREE_RUN2
The table below describes the displayed information:
Confidential and Proprietary Information of ZTE CORPORATION 81
ZXA10 C220 Command Manual (Volume I)
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 � FREE_RUN1:Normal phase-locked loop
� FREE_RUN2:Abnormalphase-locked loop
� PRE_LOCKED:previous mode isfree run
� PRE_LOCKED2:previous mode islocked, holdoveror lost phase
� LOCKED� LOST_PHASE� HOLDOVER
RelatedCommands
None
RelatedInformation
It provides current clock source information including lock-in sta-tus.
82 Confidential and Proprietary Information of ZTE CORPORATION
C h a p t e r 9
SNMP Management
Table of Contentsshow snmp.......................................................................83show snmp config..............................................................84show snmp engine-id .........................................................84show snmp group ..............................................................85show snmp user ................................................................85snmp-server access-list......................................................86snmp-server community.....................................................86snmp-server contact ..........................................................87snmp-server context..........................................................87snmp-server enable ...........................................................88snmp-server engine-id .......................................................88snmp-server group ............................................................89snmp-server host ..............................................................90snmp-server location .........................................................91snmp-server packetsize......................................................91snmp-server trap-source ....................................................92snmp-server user ..............................................................92snmp-server view..............................................................93
show snmpSyntax show snmp
Purpose To display SNMP information
Usage Guidelines None
Mode All modes
Example The following example displays SNMP information:ZXAN>show snmpContact : +86-021-68895000Location: No.889 BiBo Rd. PuDong District, ShangHai, China978 SNMP packets input0 Bad SNMP version errors0 Unknown community name0 Illegal operation for community name supplied1262 Number of requested variables226 Number of altered variables647 Get-request PDUs90 Get-next PDUs241 Set-request PDUs1384 SNMP packets output0 Too big errors (Maximum packet size 3000)0 No such name errors0 Bad values errors13 General errors
Confidential and Proprietary Information of ZTE CORPORATION 83
ZXA10 C220 Command Manual (Volume I)
978 Response PDUs406 SNMP trap PDUs
RelatedCommands
None
show snmp configSyntax show snmp config
Purpose To display Simple SNMP configuration
Usage Guidelines None
Mode All modes
Example The following example displays SNMP configuration:ZXAN>show snmp configsnmp-server location No.889 BiBo Rd. PuDong District, ShangHai, Chinasnmp-server contact +86-021-68895000snmp-server packetSize 3000snmp-server engine-id 830900020300010289d64401snmp-server community public view allview rwsnmp-server view allview internet includedsnmp-server view DefaultView system includedsnmp-server host 10.62.31.123 trap version 2c pulic enable NOTIFICATIONS server-index 1 udp-port 162snmp-server enable trap SNMPsnmp-server enable trap VPNsnmp-server enable trap BGPsnmp-server enable trap OSPFsnmp-server enable trap RMONsnmp-server enable trap STALARM
RelatedCommands
show snmp group
show snmp user
show snmp engine-id
show snmp
show snmp engine-idSyntax show snmp engine-id
Purpose To display an SNMP local engine ID
Usage Guidelines None
Mode All modes
Example The following example displays how to display an SNMP local en-gine ID:ZXAN>show snmp engine-idthe engine-id:830900020300010289d64401
RelatedCommands
snmp-server engine-id
84 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 9 SNMP Management
RelatedInformation
SNMP engine is core of SNMP entity and implements SNMP mes-sage sending and receiving, filters PDU assenbling information andcommunication with SNMP application programs.
show snmp groupSyntax show snmp group
Purpose To display SNMP group(s) information
Usage Guidelines None
Mode All modes
Example The following example displays SNMP group information:ZXAN#show snmp groupgroupName :testsec_Model :v3sec_Level :AUTHreadView :testwriteView :testnotifyView:tesrrowStatus :ACTIVEcontextName :testcontextMatch :match-exact
groupName :group1sec_Model :v3sec_Level :PRIVreadView :view1writeView :view1notifyView:view1rowStatus :ACTIVE
RelatedCommands
snmp-server group
show snmp userSyntax show snmp user
Purpose To display SNMP users and related information
Usage Guidelines None
Mode All modes
Example The following example displays SNMP users and related informa-tion:ZXAN#show snmp userusername :testengine-id : 830900020300010289d64401auth_type :SHAgroup_name :test(v3)encryptType:DES_CBCstorageType:NONVOLATILErow_status :ACTIVE
Confidential and Proprietary Information of ZTE CORPORATION 85
ZXA10 C220 Command Manual (Volume I)
RelatedCommands
snmp-server user
snmp-server access-listSyntax snmp-server access-list acl
no snmp-server access-list
Purpose To apply ACL to manage SNMP based access to system
Usage Guidelines The following table provides parameter description:
Parameter Description Value
acl Access list number orname
Range: 1 – 31characters
Mode ZXAN(config)#
Example The following example displays how to apply ACL to manage SNMPbased access to system:ZXAN(config)#snmp-server access-list 1
RelatedCommands
None
snmp-server communitySyntax snmp-server community community-name [view view-name]
[ro | rw]
no snmp-sever community community-name
Purpose To configure an SNMP message community string
Usage Guidelines The following table provides parameter description:
Parameter Description value
community-name Community string Range: 1 – 32characters
view view-name SNMP view Range: 1 – 32characters
ro | rw Read-only access orread and write access
-
Mode ZXAN(config)#
Example The following example displays how to configure an SNMPmessagecommunity string with read and write privilege:ZXAN(config)#snmp-server community myCommunity view myview rw
86 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 9 SNMP Management
RelatedCommands
snmp-server view
RelatedInformation
community-name refers to a string of characters and view-namerefers to a MIB view name.
By default, the keyword view shows system configuration for com-munity view of 1.3.6.1.2.1.1. Default privilege is read-only.
snmp-server contactSyntax snmp-server contact mib-syscontact-text
no snmp-server contact
Purpose To configure contact details for SNMP server
Usage Guidelines The following table provides parameter description:
Parameter Description Value
mib-syscontact-text MIB system contactinformation
Range: 1 – 200characters
Mode ZXAN(config)#
Example 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
RelatedCommands
None
snmp-server contextSyntax snmp-server context context-name
no snmp-server context context-name
Purpose To define SNMP context name
Usage Guidelines The following table provides parameter description:
Parameter Description Value
context-name Specify SNMP contextname
Range: 1 – 30characters
Mode ZXAN(config)#
Example The following example displays how to define the SNMP contextname as contextA:ZXAN(config)#snmp-server context contextA
Confidential and Proprietary Information of ZTE CORPORATION 87
ZXA10 C220 Command Manual (Volume I)
RelatedCommands
None
snmp-server enableSyntax snmp-server enable {inform | trap} [notification-type]
no snmp-server enable {inform | trap} [notification-type]
Purpose To enable configure SNMP notification type sent by the agent
Usage Guidelines The following table provides parameter description:
Parameter Description Value
inform | trap Alarm report switchtype
-
notification-type Notification type bgp, ospf, rmon,snmp, stalarm, vpn
Mode ZXAN(config)#
Example The following example displays how to enable and configure SNMPnotification type sent by the agent:ZXAN(config)#snmp-server enable informZXAN(config)#snmp-server host 168.1.1.1 inform version 2c public
RelatedCommands
snmp-server host
RelatedInformation
By default, all information including alarm and notification is re-ported.
snmp-server engine-idSyntax snmp-server engine-id engine-id
no snmp-server engine-id
Purpose To configure an SNMP local engine ID
Usage Guidelines The following table provides parameter description:
Parameter Description Value
engine-id Engine ID string (hex) Range: 1 – 24characters
Mode ZXAN(config)#
Example The following example displays how to configure an SNMP localengine ID as 12345667890:ZXAN(config)#snmp-server engine-id 12345667890
88 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 9 SNMP Management
RelatedCommands
show snmp engine-id
RelatedInformation
SNMP is the core of SNMP entity implementing SNMP messagesending/receiving/verification, filtering PDUs, assembling mes-sages and communicating with SNMP application programs.
snmp-server groupSyntax snmp-server group groupname v3 {auth | noauth | priv} [con
text context-name {match-prefix | match-exact}] [read readview] [write writeview] [notify notifyview]
snmp-server group groupname v3 {auth | noauth | priv} [context context-name {match-prefix | match-exact}]
Purpose To configure a new SNMP group, i.e., map the SNMP user to theSNMP view
Usage Guidelines The following table provides parameter description:
Parameter Description Value
group groupname Group name Range: 1 – 32characters
v3 User security model(SNMPv3)
-
auth Auth-no-priv securitylevel
-
noauth No-auth-no-privsecurity level
-
priv SNMPv3 auth-privatesecurity level
-
context contextname SNMPv3 context name Range: 1 – 30characters
match-exact Exactly match contextname
-
match-prefix Match context nameprefix
-
notify notifyview Notify view for thegroup
-
read readview Read view for thegroup
-
write writeview Write view for thegroup
-
Mode ZXAN(config)#
Confidential and Proprietary Information of ZTE CORPORATION 89
ZXA10 C220 Command Manual (Volume I)
Example The following example displays how to configure a new SNMPgroup, i.e., map the SNMP user to the SNMP view:ZXAN(config)#snmp-server group group1 v3 priv read view1 write view1 notify view1
RelatedCommands
show snmp group
snmp-server user
snmp-server hostSyntax snmp-server host ip-address {trap | inform} version {1 | 2c |
3} community-name {enable | disable} {CRITICAL | INDETERMINATE | MAJOR | MINOR | NOTIFICATIONS |WARNINGS}[isnmsserver] server-index server-index [udp-port udp-port]
no snmp-server host server-index server-index
Purpose To configure the destination to receive SNMP notification
Usage Guidelines The following table provides parameter description:
Parameter Description Value
ipaddress Host IP address A.B.C.D
inform Enable SNMP informs -
version SNMP version touse for notificationmessages
-
1 Use SNMPv1 -
2c Use SNMPv2c -
3 Use SNMPv3 -
community-name SNMPv1/v2ccommunity stringor SNMPv3 user name
Range: 1 – 32characters
udp-port udp-port The notification host’sUDP port number
-
trap Enable SNMP traps -
server-indexserver-index
NMS server Index Range: 1 – 8
enable Enable the trap server -
disable Disable the trapserver
-
CRITICAL |INDETERMINATE| MAJOR | MINOR |NOTIFICATIONS |WARNINGS
Alarm level -
90 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 9 SNMP Management
Mode ZXAN(config)#
Example The following example displays how to configure the destinationto receive SNMP notification:ZXAN(config)#snmp-server host 168.1.1.1 inform version 2c test enableCRITICAL isnmsserver server-index 1
RelatedCommands
snmp-server enable inform
snmp-server enable trap
RelatedInformation
Command snmp-server host should be used along with the nmp-server enable command.
Default sending type is trap.
Default version is 1.
Default port number is 162.
snmp-server locationSyntax snmp-server location location-text
no snmp-server location
Purpose To specify the location of the system
Usage Guidelines The following table provides parameter description:
Parameter Description Value
location-text The physical locationof this node
-
Mode ZXAN(config)#
Example The following example displays how to specify the location of thesystem:ZXAN(config)#snmp-server location this is C220 in china
RelatedCommands
None
snmp-server packetsizeSyntax snmp-server packetsize snmp-packet-max-size
no snmp-server packetsize
Purpose To configure the maximum length of the SNMP message
Usage Guidelines The following table provides parameter description:
Confidential and Proprietary Information of ZTE CORPORATION 91
ZXA10 C220 Command Manual (Volume I)
Parameter Description Value
snmp-packet-max-size
Maximum SNMPpacket size in bytes
Range: 484 – 5000
Mode ZXAN(config)#
Example The following example displays how to configure the maximumlength of the SNMP message to 1400 bytes:ZXAN(config)#snmp-server packetsize 1400
RelatedCommands
None
snmp-server trap-sourceSyntax snmp-server trap-source ip-address
no snmp-server trap-source
Purpose To configure the source address for all traps
Usage Guidelines The following table provides parameter description:
Parameter Description Value
ip-address IP address A.B.C.D
Mode ZXAN(config)#
Example The following example displays how to configure the source ad-dress as 10.1.1.1 for all traps:ZXAN(config)#snmp-server trap-source 10.1.1.1
RelatedCommands
None
snmp-server userSyntax snmp-server user username groupname v3 [[encrypted] auth
{md5 | sha} auth-password [priv des56 priv-password]]
no snmp-server user username
Purpose To configure the SNMPv3 user
Usage Guidelines The following table provides parameter description:
Parameter Description Value
username User name Range: 1 – 32characters
92 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 9 SNMP Management
Parameter Description Value
groupname Group to which theuser belongs
Range: 1 – 32characters
v3 User using the v3security model
-
encrypted Passwords as MD5 orSHA digests
-
auth Authenticationparameters for theuser
-
md5 Use HMAC MD5algorithm forauthentication
Range: 32 characters
sha Use HMAC SHAalgorithm forauthentication
Range: 40 characters
auth-password Authenticationpassword for user
Range: 1 – 32characters
priv Encryptionparameters for theuser
-
des56 Use 56 bit DESalgorithm forencryption
-
priv-password Privacy password foruser
Range: 1 – 32characters
Mode ZXAN(config)#
Example The following example displays how to configure the SNMPv3 user1MD5 authentication as 12345678 and CB-DES encrypted passwordas 12345678:ZXAN(config)#snmp-server user user1 group1 v3auth md5 12345678 priv des56 12345678
RelatedCommands
show snmp user
snmp-server group
RelatedInformation
By default, parameter encrypted is not used.
snmp-server viewSyntax snmp-server view view-name subtree-id {included | exclud
ed}
no snmp-server view view-name [subtree-id]
Purpose To define the SNMPv2 view
Confidential and Proprietary Information of ZTE CORPORATION 93
ZXA10 C220 Command Manual (Volume I)
Usage Guidelines The following table provides parameter description:
Parameter Description Value
view-name View name Range: 1 – 32characters
subtree-id View subtree ID Range: 1 – 79characters
included | excluded
MIB family is includedor excluded in the view
-
Mode ZXAN(config)#
Example The following example displays how to define the SNMPv2 view asmyViewName:ZXAN(config)#snmp-server view myViewName 1.3.6.1.2.1 included
RelatedCommands
snmp-server community
RelatedInformation
In global configuration mode, execute this command to define theSNMP view. In addition, view-name is a string of characters, subtree-id is similar to OID or MIB subtree node name. By attachingkeyword included or excluded, subtree can be configured.
94 Confidential and Proprietary Information of ZTE CORPORATION
C h a p t e r 10
RMON Management
Table of Contentsrmon alarm ......................................................................95rmon collection history .......................................................96rmon collection statistics ....................................................97rmon event.......................................................................98show rmon .......................................................................99
rmon alarmSyntax rmon alarm index variable interval {delta | absolute} rising-t
hreshold value [event-index] falling-threshold value [event-index] [owner string]
no rmon alarm index
Purpose To configure the RMON alarm and MIB object
Usage Guidelines The following table provides parameter description:
Parameter Description Value
index Alarm index Range: 1 – 65535
variable MIB object to monitor Range: 1 – 64characters
interval Sample interval Range: 1 –2147483647 sec
delta Test delta betweensamples
-
absolute Test each sampledirectly
-
rising-thresholdvalue
Rising threshold value Range: -2147483647– 2147483647
event-index Rising event index Range: 1 – 65535
Confidential and Proprietary Information of ZTE CORPORATION 95
ZXA10 C220 Command Manual (Volume I)
Parameter Description Value
falling-thresholdvalue
Falling threshold value Range: -2147483647– 2147483647
owner string Specify an owner forthe alarm
Range: 1 – 30characters
Default: config
Mode ZXAN(config)#
Example The following example displays how to configure the configure theRMON alarm and related parameters:ZXAN(config)# rmon alarm 1 ip.2.0 10 absolute rising-threshold 200 1falling-threshold 100 1 owner ZTE
RelatedCommands
show rmon alarms
RelatedInformation
1. Sample collection interval can be different or same for one in-stance.
2. To reuse the same index number for another alarm, executethe no command to delete previous index configuration first.
3. If a non-existing index is specified for deletion, the systemprompts with “Unknown alarm number” message.
4. If memory is insufficient or resource unavailable, the systemprompts with “Resource unavailable” message.
5. The alarm should be used with related parameters for optimalresults.
rmon collection historySyntax rmon collection history index [owner string] [buckets bucket
-number] [interval seconds]
no rmon collection history index
Purpose To enable the history collection function of an interface (applicableto the Ethernet interface only)
Usage Guidelines The following table provides parameter description:
Parameter Description Value
index History index Range: 1 – 100
buckets bucket-number
Request bucketnumber
Range: 1 – 100
Default: 50
96 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 10 RMON Management
Parameter Description Value
interval seconds Interval Range: 1 – 3600seconds
Default: 1800seconds
owner string Owner Range: 1 – 30characters
Default: monitor
Mode ZXAN(config-if)#
Example The following example displays how to enable the history collectionfunction of an Ethernet interface to an interval of 300 seconds:ZXAN(config-if)# rmon collection history 1owner zte buckets 100 interval 300
RelatedCommands
None
RelatedInformation
1. Configuration of several history statistics to one interface ispossible.
2. It is possible to delete other interface history statistics config-uration in interface configuration mode.
3. Use no form of this command to cancel the previous configu-ration before configuring history statistics.
4. “Unknown history Control number” message is displayed if anonexistent index is deleted.
5. Due to buffer error or unavailable resource, system displays“Alloc buffer error”or “Resource unavailable” message.
rmon collection statisticsSyntax rmon collection statistics index [owner string]
no rmon collection statistics index
Purpose To enable the statistics collection function of an interface (applica-ble to the Ethernet interface only)
Usage Guidelines The following table provides parameter description:
Parameter Description Value
index Statistics index Range: 1 – 65535
owner string Owner Range: 1 – 30characters
Default: monitor
Mode ZXAN(config-if)#
Example The following example displays how to enable the statistics collec-tion function of an interface:ZXAN(config-if)# rmon collection statistics 1 owner zte
Confidential and Proprietary Information of ZTE CORPORATION 97
ZXA10 C220 Command Manual (Volume I)
RelatedCommands
None
RelatedInformation
1. Configuration of several history statistics on one interface ispossible.
2. It is possible to delete other interface history statistics config-uration in interface configuration mode.
3. Use the no form of this command to cancel previous configu-ration before configuring history statistics.
4. “Unknown etherStats number” message is displayed if anonexistent index is deleted.
5. Due to buffer error or unavailable resource, system displays“Alloc buffer error” or “Resource unavailable” message.
rmon eventSyntax rmon event index [log] [trap community] [description string]
[owner string]
no rmon event index
Purpose To configure an RMON event
Usage Guidelines The following table provides parameter description:
Parameter Description Value
index Event index Range: 1 – 65535
description string Event description Range: 1 – 30characters
Default: zte
log Generate RMON logwhen the event occurs
-
owner string Event owner Range: 1 – 30characters
Default: config
trap community SNMPv1/v2ccommunity stringor SNMPv3 user name
Range: 1 – 30characters
Mode ZXAN(config)#
Example The following example displays how to configure an RMON event:ZXAN(config)# rmon event 1 log trap public description log_trap_event
RelatedCommands
show rmon events
RelatedInformation
1. An index number cannot be used to create multiple events andwill result in error message by the system.
2. If the user tries to delete a non existing index number, thesystem prompts with a ’Unknown event number’ message.
98 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 10 RMON Management
3. If buffer allocation fails, the system prompts with ’Alloc buffererror’ message.
4. If resource is not available, the system prompts with ’Resourceunavailable’ message.
show rmonSyntax show rmon [alarms] [events] [history] [statistics]
Purpose To display the RMON configuration and the relevant information
Usage Guidelines The following table provides parameter description:
Parameter Description Value
alarms RMON alarm table -
events RMON event table -
history RMON history table -
statistics RMON statistics table -
Mode Any mode except exec mode
Example The following example displays RMON alarm configuration infor-mation:ZXAN(config)#show rmonsupports Statistics History Alarm Event etc. group(s) of RFC1757.Config entries:etherStats 0historyControl 0alarm 0event 1
RelatedCommands
rmon alarm
rmon event
RelatedInformation
1. This command displays RMON version information when op-tional parameters are not used.
2. If the specified control list contains none of control enty, thefollowing information is displayed:
� “Statistics table is empty”
� “History table is empty”
� “Alarm table is empty”
� “Event table is empty”
Confidential and Proprietary Information of ZTE CORPORATION 99
ZXA10 C220 Command Manual (Volume I)
This page is intentionally blank.
100 Confidential and Proprietary Information of ZTE CORPORATION
C h a p t e r 11
FTP/TFTP Server
Table of Contentscopy .............................................................................. 101copy .............................................................................. 102ip ftp password ............................................................... 102ip ftp username............................................................... 103
copySyntax copy ftp: [mng] //HOST/filepath/filename [@username[:passw
ord]] flash: filepath1/filename1
copy flash: filepath1/filename1 ftp: [mng] //HOST/filepath/filename[@username[:password]]
Purpose To copy files from specified directory of source file system to spec-ified directory of destination file system
Usage Guidelines The following table provides parameter description:
Parameter Description Value
mng Managementinterface
-
//HOST/filepath/filename [@username[:password]]
Remote host devicename/file path/filename
Range: 1 – 80characters
filepath1/filename1 File path and filename
Range: 1 – 80characters
Mode ZXAN#
Example 1. The following example displays how to copy files from directoryflash: /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
2. The following example displays how to copy files from directoryftp: //168.1.1.1/db.dat@zxan:zxan to flash: db.dat:ZXAN#copy ftp: //168.1.1.1/db.dat@zxan:zxan flash: db.dat
Confidential and Proprietary Information of ZTE CORPORATION 101
ZXA10 C220 Command Manual (Volume I)
RelatedCommands
None
copySyntax copy tftp: {[mng] //HOST/filepath/filename | commander /file
path} flash: filepath1/filename1
copy flash: filepath1/filename1 tftp: {[mng] //HOST/filepath/filename | commander /filepath}
Purpose To copy the specified file to or from the specified remote host inTFTP server
Usage Guidelines The following table provides parameter description:
Parameter Description Value
//HOST/filepath/filename
Host file path andname
Range: 1 – 80characters
commander /filepath Commander TFTP filepath
Range: 1 – 80characters
filepath1/filename1 Managementinterface file pathand name
Range: 1 – 80characters
Mode ZXAN#
Example 1. The following example displays how to copy the file db.dat fromflash: /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 fromthe remote host 168.1.1.1 in the TFTP server to root directoryof Flash:ZXAN#copy tftp: //168.1.1.1/db.dat flash: db.dat
RelatedCommands
None
ip ftp passwordSyntax ip ftp password password
no ip ftp password
Purpose To set FTP client-end default password
Usage Guidelines The following table provides parameter description:
102 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 11 FTP/TFTP Server
Parameter Description Value
password FTP client end defaultpassword
Range: 3 – 16characters
Mode ZXAN(config)#
Example The following example displays how to set FTP client-end defaultpassword as zxc220:ZXAN(config)#ip ftp password zxc220ZXAN(config)#
RelatedCommands
ip ftp username
RelatedInformation
Password is case sensitive.
ip ftp usernameSyntax ip ftp usrname username
no ip ftp usrname
Purpose To configure default FTP username
Usage Guidelines The following table provides parameter description:
Parameter Description Value
username FTP username Range: 1 – 16characters
Mode ZXAN(config)#
Example The following example displays how to configure FTP username asC220:ZXAN(config)#ip ftp username C220ZXAN(config)#
RelatedCommands
ip ftp password
RelatedInformation
Allowed characters include letters, numerals and underscore.Usernames are not case sensitive.
Confidential and Proprietary Information of ZTE CORPORATION 103
ZXA10 C220 Command Manual (Volume I)
This page is intentionally blank.
104 Confidential and Proprietary Information of ZTE CORPORATION
C h a p t e r 12
System Log andStatistics Management
Table of Contentsclear logging alarm .......................................................... 105clear logging command .................................................... 106clear logging snmp .......................................................... 106clear processor................................................................ 106logging buffer ................................................................. 107logging console ............................................................... 107logging filesavetime ......................................................... 108logging ftp...................................................................... 109logging level ................................................................... 110logging mode.................................................................. 110logging snmplog-save ...................................................... 111logging on ...................................................................... 112show snmplogfile............................................................. 112show cmdlogfile .............................................................. 113show logging alarm.......................................................... 114show logging configure..................................................... 115show processor ............................................................... 115syslog............................................................................ 116syslog-server host ........................................................... 117syslog exclude-snmp........................................................ 118unm on .......................................................................... 119unm server..................................................................... 119write alarmlog................................................................. 120write cmdlog................................................................... 120write logging................................................................... 120write snmplog ................................................................. 121
clear logging alarmSyntax clear logging alarm
Purpose To clear alarm logging buffer
Usage Guidelines None
Mode ZXAN#
Example The following example displays how to clear alarm logging buffer:ZXAN#clear logging alarm
Confidential and Proprietary Information of ZTE CORPORATION 105
ZXA10 C220 Command Manual (Volume I)
RelatedCommands
None
clear logging commandSyntax clear logging command
Purpose To clear command logging buffer
Usage Guidelines None
Mode ZXAN#
Example The following example displays how to clear command loggingbuffer:ZXAN#clear logging command
RelatedCommands
None
clear logging snmpSyntax clear logging snmp
Purpose To clear SNMP logging buffer
Usage Guidelines None
Mode ZXAN#
Example The following example displays how to clear SNMP logging buffer:ZXAN#clear logging snmp
RelatedCommands
None
clear processorSyntax clear processor
Purpose To clear processor information
Usage Guidelines None
Mode ZXAN#
Example The following example displays how to clear processor informa-tion:ZXAN#clear processor
RelatedCommands
None
106 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 12 System Log and Statistics Management
RelatedInformation
CPU resource statistics can be cleared by executing this command.
logging bufferSyntax logging buffer buffer-size
no logging buffer
Purpose To configure the size of the alarm log buffer
Usage Guidelines The following table provides parameter description:
Parameter Description Value
buffer-size Buffer size Range: 100 – 1000Kbytes
Default: 200 Kbytes
Mode ZXAN(config)#
Example The following example displays how to configure the size of thealarm log buffer to 100 Kbytes:ZXAN(config)#logging buffer 100
RelatedCommands
None
RelatedInformation
Execute logging on command before executing this command.
logging consoleSyntax logging console level
Purpose To send alarm messages to console COM interface or Telnet termi-nal
Usage Guidelines The following table provides parameter description:
Parameter Description Value
MAJOR Major conditions -
MINOR Minor conditions -
WARNINGS Warning conditions -
INDETERMINATE Indeterminateconditions
-
CLEARED Cleared conditions -
NOTIFICATIONS Normal but significantconditions
-
Confidential and Proprietary Information of ZTE CORPORATION 107
ZXA10 C220 Command Manual (Volume I)
Mode ZXAN(config)#
Example The following example displays how to configure alarm messagesas cleared:ZXAN(config)#logging console CLEARED
RelatedCommands
None
RelatedInformation
System initialization alarm message sent to Console interface is ofnotifications level.
Execute logging on command before this command execution.Execute no form of this command to stop sending alarm mes-sages.
logging filesavetimeSyntax logging filesavetime {interval time | everyday time | week
weekday time | month month-day time} [mng] ftp-server username password [filename]
no logging filesavetime
Purpose To configure time for writing alarm log to file and sending it to FTPserver
Usage Guidelines The following table provides parameter description:
Parameter Description Value
everyday time Time when alarm logfile is saved everyday
hh:mm:ss
interval time Time interval forsaving alarm log file,no less than one hourwith accuracy of oneminute
hh:mm:ss
month month-daytime
Date and time forsaving alarm log fileevery month
Range (month): 1 –31 days
Range (time):hh:mm:ss
week weekday time Date and time forsaving alarm log fileevery week
Range (weekday): 7days (Mon – Sat)
Range (time):hh:mm:ss
ftp-server IP address of FTPserver
A.B.C.D
username FTP server username Range: 1 – 31characters
password FTP server password Range: 1 – 31characters
108 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 12 System Log and Statistics Management
Parameter Description Value
mng Managementinterface
-
filename The alarm log filename prefix
Range: 1 – 31characters
Mode ZXAN(config)#
Example The following example displays how to configure time as 0:00 forwriting alarm log to file everyday and sending it to FTP server withIP address 168.1.70.100, username/password ’target/target’, andprefix of saved file as zxrt64log:ZXAN(config)#logging filesavetime everyday0:0:0 168.1.70.100 target target zxrt64log
RelatedCommands
None
RelatedInformation
logging on command should be executed before configuring thiscommand.
logging ftpSyntax logging ftp level [mng] ftp-server username password [filename]
no logging ftp
Purpose To configure alarm level for alarm messages sent to FTP server
Usage Guidelines The following table provides parameter description:
Parameter Description Value
level Alarm level 1: MAJOR
2: MINOR
3: WARNINGS
4: INDETERMINATE
5: CLEARED
6: NOTIFICATIONS
mng Managementinterface
-
ftp-server FTP server IP address A.B.C.D
username FTP server user name Range: 1 – 31characters
password FTP server loggingpassword
Range: 1 – 31characters
filename Alarm message filename
Range: 1 – 31characters
Default: log.dat
Confidential and Proprietary Information of ZTE CORPORATION 109
ZXA10 C220 Command Manual (Volume I)
Mode ZXAN(config)#
Example The following example displays how to configure sending of level 6alarms (NOTIFICATIONS) to FTP server (168.1.70.100) with username (target) and password (target) in file zxralarm.log:ZXAN(config)#logging ftp NOTIFICATIONS168.1.70.100 target target zxralarm.log
RelatedCommands
None
RelatedInformation
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 levelSyntax logging level level
no logging level
Purpose To configure the alarm message level recorded in the alarm log file
Usage Guidelines The following table provides parameter description:
Parameter Description Value
level Alarm level 1: MAJOR
2: MINOR
3: WARNINGS
4: INDETERMINATE
5: CLEARED
6: NOTIFICATIONS
Mode ZXAN(config)#
Example The following example displays how to configure the alarm mes-sage level recorded in the alarm log file:ZXAN(config)#logging level INDETERMINATE
RelatedCommands
None
RelatedInformation
Execute logging on command before executing this command.
logging modeSyntax logging mode FULLCLEAR | FULLCYCLE | FULLEND | interval
no logging mode
Purpose To configure clearing mode of alarm log
110 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 12 System Log and Statistics Management
Usage Guidelines The following table provides parameter description:
Parameter Description Value
FULLCLEAR Clear logging bufferwhen logging buffer isfull
-
FULLCYCLE Clear 1/3 loggingbuffer when loggingbuffer is full
-
FULLEND No logging to bufferwhen logging buffer isfull
-
interval Interval for savingalarm log file
Range: 10 – 65535min
Mode ZXAN(config)#
Example The following example displays how to configure clearing mode ofalarm log as FULLCLEAR:ZXAN(config)#logging mode FULLCLEAR
RelatedCommands
None
RelatedInformation
Execute logging on command before executing this command.
logging snmplog-saveSyntax logging snmplog-save {disable | enable}
Purpose To enable or disable auto-save feature of command and SNMP logs
Usage Guidelines The following table provides parameter description:
Parameter Description Value
enable Enable command logand SNMP log
-
disable Disable command logand SNMP log
-
Mode ZXAN(config)#
Example The following example displays how to enable SNMP log saving:ZXAN(config)#logging snmplog-save enable
RelatedCommands
None
Confidential and Proprietary Information of ZTE CORPORATION 111
ZXA10 C220 Command Manual (Volume I)
RelatedInformation
Execute logging on command before this command configuration.
logging onSyntax logging on
no logging on
Purpose To enable system logging
Usage Guidelines None
Mode ZXAN(config)#
Example The following example displays how to enable system logging:ZXAN(config)#logging on
RelatedCommands
None
RelatedInformation
logging on command is related to following commands configu-ration:
� logging mode, logging console, logging buffer, logginglevel, logging ftp, logging filesavetime, and loggingsnmplog-save.
� no logging on command is used to disable logging globally.
show snmplogfileSyntax show snmplogfile [start-time date-time] [end-time date-ti
me] [ipaddress ip-address]
Purpose To display history record of SNMP log
Usage Guidelines The following table provides parameter description:
Parameter Description Value
start-time date time Login start date andtime
Date: mm-dd-yyyy
Time: hh:mm:ss
end-time date time Login end date andtime
Date: mm-dd-yyyy
Time: hh:mm:ss
ipaddress ip-address Login IP address A.B.C.D
Mode All modes except exec mode
Example The following example displays display history record of SNMP log:ZXAN(config)#show snmplogfile02:37:31 01/01/2001 UTC 111.111.111.211 get zxAnFtpServerFileName.002:37:31 01/01/2001 UTC 111.111.111.211 get zxAnFtpServerUserPwd.002:37:31 01/01/2001 UTC 111.111.111.211 get zxAnFtpServerUserName.0
112 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 12 System Log and Statistics Management
02:37:31 01/01/2001 UTC 111.111.111.211 get zxAnFtpServerIpAddress.002:37:31 01/01/2001 UTC 111.111.111.211 get zxAnFtpClntOperType.002:37:31 01/01/2001 UTC 111.111.111.211 get zxAnFtpManagedFileType.0
RelatedCommands
None
RelatedCommands
By default, this command displays all records in SNMP log buffer.
show cmdlogfileSyntax show cmdlogfile [username string] [start-time date time]
[end-time date time] [vtyno string] [ipaddress ip-address]
Purpose To display system command log (history)
Usage Guidelines The following table provides parameter description:
Parameter Description Value
username string Login username Range: 1 – 16characters
start-time date time Start time ofconfigurationcommand
Date: mm-dd-yyyy
Time: hh:mm:ss
end-time date time End time ofconfigurationcommand
Date: mm-dd-yyyy
Time: hh:mm:ss
vtyno string Login vty terminalnumber
con0, vty0, vty1,vty2, vty3
ipaddress ip-address IP address of host A.B.C.D
Mode All modes except the exec mode
Example The following example displays system command log (history):ZXAN(config)#show cmdlogfile username zte vtyno vty1vty1 [email protected] 01:01:15 01/01/2001 UTC /--- user log out ---/vty1 [email protected] 00:26:55 01/01/2001 UTC exvty1 [email protected] 00:26:33 01/01/2001 UTC interface epon-olt_0/4/3vty1 [email protected] 00:26:22 01/01/2001 UTC exvty1 [email protected] 00:17:19 01/01/2001 UTC ip proxy-arpvty1 [email protected] 00:14:22 01/01/2001 UTC arp learnvty1 [email protected] 00:14:14 01/01/2001 UTC interface vlan100vty1 [email protected] 00:14:06 01/01/2001 UTC config tervty1 [email protected] 00:14:02 01/01/2001 UTC /*** user log in ***/
RelatedCommands
None
Confidential and Proprietary Information of ZTE CORPORATION 113
ZXA10 C220 Command Manual (Volume I)
RelatedInformation
By default, all records in command log are displayed.
show logging alarmSyntax show logging alarm [typeid type] [start-date date end-date
date] [level level] [include text] [summary]
Purpose To display alarm records information in alarm log buffer
Usage Guidelines The following table provides parameter description:
Parameter Description Value
typeid type Alarm type of alarmmessage to be shown
enviromente,quipment, protocol,service, system
start-date date Alarm message to beshown is created afterthis date (includingthis date)
Date: mm-dd-yyyy
end-date date Alarm message to beshown is createdbefore this date(including this date)
Date: mm-dd-yyyy
level level Level of alarmmessages to bedisplayed
0: CRITICAL
1: MAJOR
2: MINOR
3: WARNINGS
4: INDETERMINATE
5: CLEARED
6: NOTIFICATIONS
include text Alarm including text -
summary Alarm log bufferusage
-
Mode All modes except the exec mode
Example The following example displays alarm records information in alarmlog buffer:ZXAN#show logging alarm typeid equipmentAn alarm 33037 level 5 occurredat 00:02:09 01/01/2001 UTC sent by MCP Sysctlalarm restore when card up in shelf 0 slot 4An alarm 33037 level 5 occurredat 00:02:06 01/01/2001 UTC sent by MCP Sysctlalarm restore when card up in shelf 0 slot 9An alarm 33037 level 5 occurredat 00:01:46 01/01/2001 UTC sent by MCP Sysctlalarm restore when card up in shelf 0 slot 11An alarm 33037 level 0 occurredat 00:00:43 01/01/2001 UTC sent by MCP Sysctlalarm : card out of use in shelf 0 slot 11An alarm 33037 level 0 occurredat 00:00:43 01/01/2001 UTC sent by MCP Sysctlalarm : card out of use in shelf 0 slot 9
114 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 12 System Log and Statistics Management
An alarm 33037 level 0 occurredat 00:00:43 01/01/2001 UTC sent by MCP Sysctlalarm : card out of use in shelf 0 slot 4An alarm 33037 level 0 occurredat 00:00:36 01/01/2001 UTC sent by MCP Sysctlalarm : card no config in shelf 0 slot 5An alarm 33037 level 0 occurredat 00:00:33 01/01/2001 UTC sent by MCP Sysctlalarm : board offline in shelf 0 slot 13An alarm 33037 level 0 occurredat 00:00:33 01/01/2001 UTC sent by MCP Sysctlalarm : board offline in shelf 0 slot 12An alarm 33037 level 0 occurredat 00:00:33 01/01/2001 UTC sent by MCP Sysctlalarm : board offline in shelf 0 slot 8An alarm 33037 level 0 occurredat 00:00:33 01/01/2001 UTC sent by MCP Sysctlalarm : board offline in shelf 0 slot 3An alarm 33025 level 6 occurredat 00:00:32 01/01/2001 UTC sent by MCP Sysctlinform msg when master core cardstart in shelf 0 slot 7
RelatedCommands
None
show logging configureSyntax show logging configure
Purpose To display logging information records
Usage Guidelines None
Mode All modes except exec mode
Example The following example displays logging information records:ZXAN(config)#show logging configurelogging onlogging buffer 1000logging mode fullcyclelogging console notificationslogging level notificationslogging snmplog-save disable
RelatedCommands
logging on
logging buffer
logging mode
logging console
logging level
logging snmplog-save
show processorSyntax show processor [rackno rackno] [shelfno shelfno] [slotno slot
no]
Confidential and Proprietary Information of ZTE CORPORATION 115
ZXA10 C220 Command Manual (Volume I)
Purpose To display system resource usage statistics (such as CPU andmemory utilization)
Usage Guidelines The following table provides parameter description:
Parameter Description Value
rackno rackno Rack number Range: 0 – 0
shelfno shelfno Shelf number Range: 0 – 0
slotno slotno Slot number Range: 1 – 14
Mode All modes except the exec mode
Example The following example displays system resource usage statistics:ZXAN(config)#show processorRack Shelf Slot CPU(5s) CPU(1m) CPU(5m) PhyMem(MB) Memory-------------------------------------------------------------------------0 0 4 12% 13% 13% 32 80%0 0 7 5% 4% 4% 256 70%0 0 9 90% 90% 90% 2080 99%0 0 11 4% 4% 4% 16 38%
The following table describes the information displayed:
Parameter Description
Rack Rack number
Shelf Shelf number
Slot Slot number
CPU(5s) CPU utilization statistics in an in-terval of five seconds
CPU(1m) CPU utilization statistics in an in-terval of one minute
CPU(5m) CPU utilization statistics in an in-terval of five minutes
PhyMem Physical memory
Memory Memory utilization
RelatedCommands
None
syslogSyntax syslog exclude-snmp index subtree-id
Purpose To configure Syslog server address and port number (to send alarmmessages)
Usage Guidelines The following table provides parameter description:
116 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 12 System Log and Statistics Management
Parameter Description Value
index Index terms Range: 1 – 10
subtree-id SNMP operationobjects OID or SNMPoperation objects MIBname
Range: 1 – 79
Mode ZXAN(config)#
Example The following example displays how to shield SNMPoperation log sending to syslog server with OID1.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
RelatedCommands
None
syslog-server hostSyntax syslog-server host ip-address [fport fport] [lport lport] [alar
mlog level level] [cmdlog] [debugmsg] [snmplog {get-pdu |set-pdu}]
no syslog-server host ip-address [alarmlog level level] [cmdlog] [debugmsg] [snmplog]
Purpose To configure IP address and port number transmission alarm mes-sage to Syslog server
Usage Guidelines The following table provides parameter description:
Parameter Description Value
ip-address Syslog server IPaddress
A.B.C.D
fport fport Syslog server frameport nubmer
Range: 0 – 65535
Default: 514
lport lport Local porttransmitting Syslogpackets
Range: 0 – 65535
Default: 514
alarmlog level level Alarm log level 1: MAJOR
2: MINOR
3: WARNINGS
4: INDETERMINATE
5: CLEARED
6: NOTIFICATIONS
cmdlog Command logtransmitted to Syslogserver
-
Confidential and Proprietary Information of ZTE CORPORATION 117
ZXA10 C220 Command Manual (Volume I)
Parameter Description Value
debugmsg Debug messagetransmitted to Syslogserver
-
snmplog SNMP messagetransmitted to Syslogserver
-
get-pdu To get PDU fromSyslog server
-
set-pdu To permit SNMP to setPDU from Syslog
-
Mode ZXAN(config)#
Example The following example displays how to configure IP address trans-mission alarm message to Syslog server:ZXAN(config)# syslog-server host 10.40.56.19
RelatedCommands
None
syslog exclude-snmpSyntax syslog exclude-snmp items subtree-id
no syslog exclude-snmp items
Purpose To exclude SNMP message sending to Syslog server
Usage Guidelines The following table provides parameter description:
Parameter Description Value
subtree-id MIB tree ID orsub-tree ID
Range: 1 – 79characters
items Items supportingshielding SNMPmessages
Range: 1 – 10
Mode ZXAN(config)#
Example The following example displays how to exclude SNMP messagesending to syslog server:ZXAN(config)# syslog exclude-snmp 1 1.3.6.1.2.1
118 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 12 System Log and Statistics Management
RelatedCommands
None
unm onSyntax unm on
no unm on
Purpose To enable the integrated network management function
Usage Guidelines None
Mode ZXAN(config)#
Example The following example displays how to enable the integrated net-work management function:ZXAN(config)#no unm on
RelatedCommands
None
unm serverSyntax unm server [mng] traphost community
no unm server
Purpose To configure integrated network management trap server addressand community
Usage Guidelines The following table provides parameter description:
Parameter Description Value
traphost UNM server IP address A.B.C.D
community SNMPv1/v2ccommunity stringor SNMPv3 user name
Range: 1 – 32characters
mng Managementinterface
-
Mode ZXAN(config)#
Example The following example displays how to configure integrated net-work management trap server IP address as 10.40.88.201 andcommunity as public:ZXAN(config)#unm server 10.40.88.201 public
Confidential and Proprietary Information of ZTE CORPORATION 119
ZXA10 C220 Command Manual (Volume I)
RelatedCommands
None
write alarmlogSyntax write alarmlog
Purpose To save alarm log from buffer to flash:data/log.dat
Usage Guidelines None
Mode ZXAN#
Example The following example displays how to save alarm log from bufferto flash:data/log.dat:ZXAN#write alarmlogBuilding logging file.....[ok]
RelatedCommands
None
RelatedInformation
This command writes alarm of following levels from buffer to file:
� 1: emergencies
� 2: alerts
� 3: critical
� 4: errors
write cmdlogSyntax write cmdlog
Purpose To save command log from buffer to flash:data/log.dat
Usage Guidelines None
Mode ZXAN#
Example The following example displays how to save command log frombuffer to flash:data/log.dat:ZXAN#write cmdlogBuilding cmdlog file...[ok]
RelatedCommands
None
write loggingSyntax write logging
120 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 12 System Log and Statistics Management
Purpose To write alarm logging information in file
Usage Guidelines None
Mode ZXAN#
Example The following example displays how to write alarm logging infor-mation in file:ZXAN#write loggingBuilding logging file.....[ok]
RelatedCommands
write
write nvram
RelatedInformation
If slot number is specified, this command only update card in thisslot. If only rack number is specified, all cards of the rack areupdated.
write snmplogSyntax write snmplog
Purpose To write SNMP log from buffer to flash:data/snmplog.dat
Usage Guidelines None
Mode ZXAN#
Example The following example displays how to write SNMP log from bufferto flash:data/snmplog.dat:ZXAN#write snmplogBuilding snmplog file...[ok]
RelatedCommands
None
Confidential and Proprietary Information of ZTE CORPORATION 121
ZXA10 C220 Command Manual (Volume I)
This page is intentionally blank.
122 Confidential and Proprietary Information of ZTE CORPORATION
C h a p t e r 13
Alarm Management
Table of Contentsalarm {enable | disable} .................................................. 123alarm confirm ................................................................. 124alarm trap-confirm .......................................................... 124alarm trap-control ........................................................... 125alarm level-change .......................................................... 125show alarm..................................................................... 126show alarm config ........................................................... 126show alarm pool.............................................................. 126show alarm counter ......................................................... 127show alarm-level ............................................................. 128clear alarm pool .............................................................. 128clear alarm counter.......................................................... 129
alarm {enable | disable}Syntax alarm {enable | disable}
Purpose To enable or disable alarm switch
Usage Guidelines The following table provides parameters description:
Parameter Description Value
enable Enable alarm -
disable Disable alarm -
Mode ZXAN(config)#
Example The following example displays how to enable alarm:ZXAN(config)#alarm enable
RelatedCommands
None
Confidential and Proprietary Information of ZTE CORPORATION 123
ZXA10 C220 Command Manual (Volume I)
RelatedInformation
By default, this command is disabled.
alarm confirmSyntax alarm confirm
no alarm confirm
Purpose To configure alarm confirmation
Usage Guidelines None
Mode ZXAN(config)#
Example The following example displays how to configure alarm confirma-tion:ZXAN(config)#alarm confirm
RelatedCommands
None
RelatedInformation
By default, alarm confirmation is enabled.
alarm trap-confirmSyntax alarm trap-confirm retry integer1 timeout integer2
no alarm trap-confirm
Purpose To configure alarm retry tries and timeout interval
Usage Guidelines The following table provides parameter description:
Parameter Description Value
retry integer1 Retry interval Range: 1 – 3
timeout integer2 Timeout interval Range: 1 – 60
Unit: second
Mode ZXAN(config)#
Example The following example displays how to configure alarm retry as 3and timeout interval as 20 seconds:ZXAN(config)# trap-confirm retry 3 timeout 20
RelatedCommands
None
124 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 13 Alarm Management
RelatedInformation
By default, alarm timeout is not configured.
alarm trap-controlSyntax alarm trap-control {CPU_LOAD_ALARM | MEM_OVERLOAD
_ALARM} {disable | enable}
Purpose To enable or disable global alarm trap
Usage Guidelines The following table provides parameter description:
Parameter Description Value
CPU_LOAD_ALARM CPU LOAD ALARM -
MEM_OVERLOAD_ALARM
Memory OVERLOADALARM
-
enable Enable trap control -
disable Disable trap control -
Mode ZXAN(config)#
Example The following example displays how to disable global alarm trap:ZXAN(config)#alarm trap-control CPU_LOAD_ALARM disable
RelatedCommands
None
alarm level-changeSyntax alarm level-change alarmcode level
Purpose To modify alarm level ID
Usage Guidelines The following table provides parameter description:
Parameter Description Value
alarmcode Alarm ID Range: 0 – 65534
level Alarm level 0: CRITICAL
1: MAJOR
2: MINOR
3: WARNINGS
4: INDETERMINATE
Mode ZXAN(config)#
Example The following example displays how to modify CRITICAL alarmlevel as 10:ZXAN(config)# alarm level-change 10 CRITICAL
Confidential and Proprietary Information of ZTE CORPORATION 125
ZXA10 C220 Command Manual (Volume I)
RelatedCommands
None
show alarmSyntax show alarm number
Purpose To display pool array number according to alarm ID
Usage Guidelines The following table provides parameter description:
Parameter Description Value
number Pool array number Range: 1 –4294967295
Mode All modes except exec mode
Example The following example displays pool array number according toalarm ID:ZXAN(config)#show alarm 1The pool array NO. is :2
RelatedCommands
None
show alarm configSyntax show alarm config
Purpose To display the alarm configuration information
Usage Guidelines None
Mode All modes except exec mode
Example The following example displays the alarm configuration informa-tion:ZXAN(config)#show alarm configalarm enablealarm confirmnms-hello-trap disablenms-hello-trap interval 120
RelatedCommands
None
show alarm poolSyntax show alarm pool number
Purpose To display alarm pool information
126 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 13 Alarm Management
Usage Guidelines The following table provides parameter description:
Parameter Description Value
number Pool number Range: 1 – 300
Mode All modes except exec mode
Example The following example displays alarm pool information:ZXAN(config)#show alarm pool 1Alarm ID : 1Alarm Code : 53504Alarm Level : 3Alarm Time : 00:00:32 01/01/2001 UTCAlarmDesInfo: Power 2 is abnormal
RelatedCommands
None
show alarm counterSyntax show alarm counter
Purpose To display the alarm counter information
Usage Guidelines None
Mode All modes except exec mode
Example The following example displays the alarm counter information:ZXAN(config)# show alarm counter
alarmReport: 155 alarmConfirm: 58
alarmNullPointer: 0 alarmInvalidMsgType: 0
alarmInvalidReportType: 0 alarmInvalidLevel: 0
alarmInvaideMibOid: 0 alarmInvalidAlarmId: 0
alarmInvalidRecNum: 0 alarmLogFuncNull: 0
alarmIdNotExist: 0 alarmRecordExist: 18
alarmPoolFull: 0 alarmPoolOverflow: 0
alarmPoolInsOk: 37 alarmGetRegIndexFail : 0
alarmSendToRosSuc: 155 alarmSendTrapSuc: 107
alarmSendToRosFail: 0 alarmSendTrapFail: 0
alarmGetAlarmRegSuc: 220 alarmGetStrFuncSuc: 0
alarmGetAlarmRegFail: 0 alarmGetStrFuncFail: 1500
alarmAddToPoolSuc: 41 alarmInformSendTrapSuc: 84
alarmAddToPoolFail: 0 alarmInformSendTrapFail: 0
alarmGetLogFuncSuc: 463 alarmGetByAlarmIdOk: 124
Confidential and Proprietary Information of ZTE CORPORATION 127
ZXA10 C220 Command Manual (Volume I)
alarmGetLogFuncFail: 0 alarmGetByAlarmIdFail: 0
alarmRestoreDelSuc: 29 alarmBadTypeFromRos: 6
alarmRestoreDelFail: 29 alarmRecvFromRos: 41
alarmInformRecvFromRos: 84 alarmRestoreRecvFromRos: 29
alarmRecordUpdate: 84 alarmGetRegInfoFail: 29
alarmCreateReqFail: 4 alramBindValueFail: 0
alarmEncodeReqFail: 0 alarmAllocMemFail: 0
alarmUnsupportBindType: 0 alarmUnsupportMibVar: 0
alarmRecvDup: 0 alarmInformNotSendTrap: 0
RelatedCommands
None
show alarm-levelSyntax show alarm-level alarmcode
Purpose To display alarm level corresponding to specified alarm ID
Usage Guidelines The following table provides parameter description:
Parameter Description Value
alarmcode Alarm ID Range:– 65534
Mode All mode except exec mode
Example The following example displays alarm level corresponding to alarm3:ZXAN(config)#show alarm-level 3AlarmCode default-level current-level3 cleared cleared
RelatedCommands
None
clear alarm poolSyntax clear alarm pool integer
Purpose To clear the alarm pool information
Usage Guidelines The following table provides parameter description:
Parameter Description Value
integer Pool array number Range: 1 – 300
Mode ZXAN#
128 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 13 Alarm Management
Example The following example displays how to clear the alarm pool infor-mation:ZXAN#clear alarm pool 1
RelatedCommands
None
clear alarm counterSyntax clear alarm counter
Purpose To clear the alarm counter information
Usage Guidelines None
Mode ZXAN#
Example The following example displays how to clear the alarm counterinformation:ZXAN#clear alarm counter
RelatedCommands
None
Confidential and Proprietary Information of ZTE CORPORATION 129
ZXA10 C220 Command Manual (Volume I)
This page is intentionally blank.
130 Confidential and Proprietary Information of ZTE CORPORATION
C h a p t e r 14
Debugging
Table of Contentsdebug all ........................................................................ 132debug alarm ................................................................... 133debug arp ...................................................................... 133debug dhcp-option82 ....................................................... 133debug group-management................................................ 134debug igmp .................................................................... 135debug ip......................................................................... 136debug ip bgp all .............................................................. 136debug ip bgp dampening .................................................. 137debug ip bgp events ........................................................ 137debug ip bgp in ............................................................... 137debug ip bgp keepalives ................................................... 138debug ip bgp out ............................................................. 138debug ip bgp updates....................................................... 139debug ip destination ........................................................ 139debug ip dhcp ................................................................. 140debug ip icmp ................................................................. 140debug ip icmp detail ........................................................ 140debug ip igmp................................................................. 141debug ip igmp-snooping ................................................... 141debug ip interface............................................................ 141debug ip multicast ........................................................... 142debug ip msdp ................................................................ 143debug ip ospf adj............................................................. 143debug ip ospf all.............................................................. 144debug ip ospf cspf ........................................................... 144debug ip ospf database-timer............................................ 145debug ip ospf events........................................................ 145debug ip ospf flood .......................................................... 145debug ip ospf lsa-generation ............................................. 146debug ip ospf nsf............................................................. 146debug ip ospf packet........................................................ 146debug ip ospf retransmission............................................. 147debug ip ospf spf............................................................. 147debug ip ospf tree ........................................................... 148debug ip pim-snooping..................................................... 148debug ip pimsm .............................................................. 149debug ip pimdm .............................................................. 150debug ip protocol ............................................................ 150debug ip rip .................................................................... 151debug ip rip all ................................................................ 151debug ip rip database ...................................................... 152debug ip rip trigger.......................................................... 152debug ip source............................................................... 152debug ip tcp all ............................................................... 153debug ip tcp driver .......................................................... 153
Confidential and Proprietary Information of ZTE CORPORATION 131
ZXA10 C220 Command Manual (Volume I)
debug ip tcp driver-pak .................................................... 154debug ip tcp packet ......................................................... 154debug ip tcp transactions.................................................. 155debug ip udp .................................................................. 155debug iptv all.................................................................. 156debug isis adj-packets...................................................... 157debug isis all................................................................... 157debug isis nsf-event......................................................... 158debug isis snp-packets ..................................................... 158debug isis spf-events ....................................................... 158debug isis update-packets ................................................ 159debug lacp all ................................................................. 159debug lacp fsm ............................................................... 159debug lacp packet ........................................................... 160debug mpnat .................................................................. 161debug mstp agreement .................................................... 161debug mstp all ................................................................ 162debug mstp bpdu-rx ........................................................ 162debug mstp bpdu-tx ........................................................ 163debug mstp errors ........................................................... 163debug mstp flush............................................................. 163debug mstp info .............................................................. 164debug mstp migration ...................................................... 165debug mstp proposals ...................................................... 165debug mstp roles ............................................................ 166debug mstp state ............................................................ 166debug mstp tc................................................................. 167debug nas ...................................................................... 167debug port-location ......................................................... 168debug pppoe-plus............................................................ 168debug radius accounting................................................... 169debug radius all .............................................................. 170debug radius authentication .............................................. 170debug radius exception .................................................... 171debug radius user............................................................ 171debug syscomm .............................................................. 172debug sysctrl .................................................................. 173debug version-mng.......................................................... 173debug vlan ..................................................................... 174debug vrrp ..................................................................... 175show debugging .............................................................. 176terminal monitor ............................................................. 176
debug allSyntax debug all
no debug all
Purpose To enable all debugging
Usage Guidelines None
Mode ZXAN#
Example The following example displays how to enable all debugging:ZXAN#debug allAll possible debugging has been turned on
132 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 14 Debugging
RelatedCommands
All debug commands
terminal monitor
RelatedInformation
The debug all command may severely affect system and networkperformance, therefore, it not recommended to use this commandfor a long time and in cases when system usage is high.
By default, all debug commands are disabled.
debug alarmSyntax debug alarm
Purpose To clear alarm counter
Usage Guidelines None
Mode ZXAN#
Example The following example displays how to clear alarm counter:ZXAN#debug alarm
RelatedCommands
None
debug arpSyntax debug arp
no debug arp
Purpose To enable ARP debugging to display debug information processedby ARP and display whether the router is sending/receiving ARPmessages
Usage Guidelines None
Mode ZXAN#
Example The following example displays how to enable ARP debugging:ZXAN#debug arpARP debugging is on
RelatedCommands
terminal monitor
debug dhcp-option82Syntax debug dhcp-option82 all
Confidential and Proprietary Information of ZTE CORPORATION 133
ZXA10 C220 Command Manual (Volume I)
debug dhcp-option82 {data | error | event} type_shelf/slot/{port-no | olt:onu} [gport gportno | pvc pvcno]
no debug dhcp-option82 all
no debug dhcp-option82 {data | error | event} type_shelf/slot/{port-no | olt:onu} [gport gportno | pvc pvcno]
Purpose To enable DHCP-option82 debugging
Usage Guidelines The following table provides parameter description:
Parameter Description Value
all DHCP Option82 alldebugging
-
data DHCP Option82 datadebugging
-
error DHCP Option82 errordebugging
-
event DHCP Option82 eventdebugging
-
type_shelf/slot/{port-no | olt:onu}
Shelf, slot and portnumber
Range: 1 – 127characters
gport gportno Port number Range: 1 – 255
pvc pvcno PVC number Range: 1 – 8
Mode ZXAN#
Example The following example displays how to enable DHCP-option82 de-bugging:ZXAN#debug dhcp-option82 data gpon-onu_0/9/1:1 gport 1dhcp-option82 data debugging is on
RelatedCommands
None
debug group-managementSyntax debug group-management
no debug group-management
Purpose To enable debugging for cluster management protocol (to displaydebugging information of cluster management protocol)
Usage Guidelines None
Mode ZXAN#
Example The following example displays how to debugging for cluster man-agement protocol:ZXAN#debug group-managementgroup-management debugging is on
134 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 14 Debugging
RelatedCommands
terminal monitor
debug igmpSyntax debug igmp all
debug igmp {data | error | event} [rack-number shelf-number slot-number] [interface name [pvc pvcno]] [mvlanmvlanid][group ipaddress] [mux | oam | proxy | recv | send | timer]
no debug igmp all
no debug igmp {data | error | event} [rack-number shelf-number slot-number] [interface name [pvc pvcno]] [mvlanmvlanid][group ipaddress] [mux | oam | proxy | recv | send | timer]
Purpose To enable IGMP related debugging
Usage Guidelines The following table provides parameter description:
Parameter Description Value
all All IGMP relateddebug information
-
data IGMP data relateddebug information
-
error IGMP received errormessages
-
event Event changing IGMPinformation
-
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 – 32characters
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 andmaintenance
-
proxy Proxy device -
recv Received packets -
Confidential and Proprietary Information of ZTE CORPORATION 135
ZXA10 C220 Command Manual (Volume I)
Parameter Description Value
send Sending packets -
timer Timer -
Mode ZXAN#
Example The following example displays how to enable IGMP error debug-ging:ZXAN# debug igmp error group 10.9.6.3 muxIGMP error debugging is on
RelatedCommands
terminal monitor
debug ipSyntax debug ip
no debug ip
Purpose To enable IP debugging to display debugging informationprocessed by the IP and display whether the router is sending/re-ceiving IP packet
Usage Guidelines None
Mode ZXAN#
Example The following example displays how to enable IP debugging:ZXAN#debug ipIP debugging is on
RelatedCommands
terminal monitor
debug ip bgp allSyntax debug ip bgp all
no debug ip bgp all
Purpose To enable all BGP related debugging
Usage Guidelines None
Mode ZXAN#
Example The following example displays how to enable BGP debugging:ZXAN#debug ip bgp allAll BGP debugging has been turned on
136 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 14 Debugging
RelatedCommands
terminal monitor
debug ip bgp dampeningSyntax debug ip bgp dampening
no debug ip bgp dampening
Purpose To trace and view debugging information and processing of BGProute oscillation
Usage Guidelines None
Mode ZXAN#
Example The following example displays how to trace and view informationand processing of BGP route oscillation:ZXAN#debug ip bgp dampeningBGP dampening debugging is on
RelatedCommands
terminal monitor
debug ip bgp eventsSyntax debug ip bgp events
no debug ip bgp events
Purpose To trace and display state of peer BGP router
Usage Guidelines None
Mode ZXAN#
Example The following example displays how to trace and display the stateof the peer BGP router:ZXAN#debug ip bgp eventsBGP events debugging is on
RelatedCommands
terminal monitor
RelatedInformation
Cause is shown if state of peer BGP router is abnormal (abnormaltransition mainly refers to transition of BGP state from high to low).
debug ip bgp inSyntax debug ip bgp in
no debug ip bgp in
Purpose To trace and display debug messages received by BGP router
Confidential and Proprietary Information of ZTE CORPORATION 137
ZXA10 C220 Command Manual (Volume I)
Usage Guidelines None
Mode ZXAN#
Example The following example displays how to trace and display debugmessages received by BGP router:ZXAN#debug ip bgp inBGP in debugging is on
RelatedCommands
terminal monitor
debug ip bgp keepalivesSyntax debug ip bgp keepalives
no debug ip bgp keepalives
Purpose To trace and display keepalive messages sent and received by BGProuter
Usage Guidelines None
Mode ZXAN#
Example The following example displays how to trace and display keepalivemessages sent and received by BGP router:ZXAN#debug ip bgp keepalivesBGP keepalives debugging is on
RelatedCommands
terminal monitor
debug ip bgp outSyntax debug ip bgp out
no debug ip bgp out
Purpose To trace and display the messages sent by BGP router
Usage Guidelines None
Mode ZXAN#
Example The following example displays how to trace and display the mes-sages sent by BGP router:ZXAN#debug ip bgp outBGP out debugging is on
138 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 14 Debugging
RelatedCommands
terminal monitor
debug ip bgp updatesSyntax debug ip bgp [ip-address] updates
no debug ip bgp [ip-address] updates
Purpose To enable BGP updates debugging and display update packets rout-ing information
Usage Guidelines The following table provides parameter description:
Parameter Description Value
ip-address Neighboring IPaddress
A.B.C.D
Mode ZXAN#
Example The following example displays how to enable BGP updates debug-ging and display update packets routing information:ZXAN#debug ip bgp updatesBGP updates debugging is on
RelatedCommands
terminal monitor
debug ip destinationSyntax debug ip destination ip-address
no debug ip destination ip-address
Purpose To enable debugging of specified destination IP address to displaydebugging information processed by the IP protocol, and displaywhether the router is sending/receiving IP packets
Usage Guidelines The following table provides parameter description:
Parameter Description Value
ip-address Destination IP address A.B.C.D
Mode ZXAN#
Example The following example displays how to enable debugging functionof destination IP 192.168.36.3:ZXAN#debug ip destination 192.168.36.3IP destination debugging is on
Confidential and Proprietary Information of ZTE CORPORATION 139
ZXA10 C220 Command Manual (Volume I)
RelatedCommands
terminal monitor
debug ip dhcpSyntax debug ip dhcp
no debug ip dhcp
Purpose To enable debugging of DHCP Relay and DHCP Server
Usage Guidelines None
Mode ZXAN#
Example The following example displays how to enable debugging of DHCPRelay and DHCP Server:ZXAN#debug ip dhcpDHCP debugging is on
RelatedCommands
terminal monitor
debug ip icmpSyntax debug ip icmp
no debug ip icmp
Purpose To enable ICMP debugging to display the debugging informationprocessed by ICMP and display whether the router is sending/re-ceiving the ICMP packets
Usage Guidelines None
Mode ZXAN#
Example The following example displays how to enable ICMP debugging:ZXAN#debug ip icmpICMP debugging is on
RelatedCommands
terminal monitor
debug ip icmp detailSyntax debug ip icmp detail
no debug ip icmp detail
Purpose To enable ICMP debugging and display detailed sent and receivedICMP information
Usage Guidelines None
140 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 14 Debugging
Mode ZXAN#
Example The following example displays ICMP debugging detailed informa-tion:ZXAN#debug ip icmp detailICMP detail debugging is on
RelatedCommands
terminal monitor
debug ip igmpSyntax debug ip igmp
no debug ip igmp
Purpose To enable/disable IGMP debugging
Usage Guidelines None
Mode ZXAN#
Example The following example displays how to enable IGMP debugging:ZXAN#debug ip igmpIGMP debugging is on
RelatedCommands
None
debug ip igmp-snoopingSyntax debug ip igmp-snooping
no debug ip igmp-snooping
Purpose To enable IGMP snooping
Usage Guidelines None
Mode ZXAN#
Example The following example displays how to enable IGMP snooping:ZXAN#debug ip igmp-snoopingIGMP SNOOPING debugging is on
RelatedCommands
terminal monitor
debug ip interfaceSyntax debug ip interface interface-name
no debug ip interface interface-name
Confidential and Proprietary Information of ZTE CORPORATION 141
ZXA10 C220 Command Manual (Volume I)
Purpose To enable and display interface debugging related to IP
Usage Guidelines The following table provides parameter description:
Parameter Description Value
interface-name Interface name loopback1 –loopback64
supervlan1 –supervlan255
vlan1 – vlan4094
Mode ZXAN#
Example The following example displays how to enable interface debuggingon interface loopback1:ZXAN#debug ip interface loopback1IP interface debugging is on
RelatedCommands
terminal monitor
debug ip multicastSyntax debug ip multicast [data | mrt | timer]
no debug ip multicast [data | mrt | timer]
Purpose To enable multicast debugging
Usage Guidelines The following table provides parameter description:
Parameter Description Value
data Multicast packetdebugginginformation
-
mrt Multicast routingtable debugginginformation
-
timer Multicast timerdebugginginformation
-
Mode ZXAN#
Example The following example displays how to enable multicast debug-ging:ZXAN#debug ip multicast dataMulticast data debugging is on
142 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 14 Debugging
RelatedCommands
terminal monitor
debug ip msdpSyntax debug ip msdp [connect | message-recv | message-send |
warning]
no debug ip msdp [connect |message-recv |message-send| warning]
Purpose To enable multicast source detection protocol (MSDP) debugging
Usage Guidelines The following table provides parameter description:
Parameter Description Value
connect Protocol connectiondebugginginformation
-
message-recv Received massagedebugginginformation
-
message-send Sent massagedebugginginformation
-
warning Alarm massagedebugginginformation
-
Mode ZXAN#
Example The following example displays how to enable MSDP debugging:ZXAN# debug ip msdpAll MSDP debugging is on
RelatedCommands
terminal monitor
debug ip ospf adjSyntax debug ip ospf adj
no debug ip ospf adj
Purpose To enable OSPF adjacency events debugging
Usage Guidelines None
Mode ZXAN#
Example The following example displays how to enable OSPF adjacencyevents debugging:ZXAN#debug ip ospf adjOSPF adjacency events debugging is on
Confidential and Proprietary Information of ZTE CORPORATION 143
ZXA10 C220 Command Manual (Volume I)
RelatedCommands
terminal monitor
RelatedInformation
Adjacency events mainly include information relating to link statechanges and hello packets.
debug ip ospf allSyntax debug ip ospf all
no debug ip ospf all
Purpose To enable all OSPF related debugging
Usage Guidelines None
Mode ZXAN#
Example The following example displays how to enable all OSPF related de-bugging:ZXAN#debug ip ospf allAll OSPF debugging has been turned on
RelatedCommands
terminal monitor
debug ip ospf cspfSyntax debug ip ospf cspf
no debug ip ospf cspf
Purpose To enable debugging for shortest path calculation of limit-basedOSPF
Usage Guidelines None
Mode ZXAN#
Example The following example displays how to enable debugging for short-est path calculation of limit-based OSPF:ZXAN#debug ip ospf cspfOSPF cspf events debugging is on
RelatedCommands
terminal monitor
RelatedInformation
This command is mainly used to calculate debugging informationrelated to project traffic routing.
144 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 14 Debugging
debug ip ospf database-timerSyntax debug ip ospf database-timer
no debug ip ospf database-timer
Purpose To enable debugging of OSPF link state database timer events
Usage Guidelines None
Mode ZXAN#
Example The following example displays how to enable debugging of OSPFlink state database timer events:ZXAN#debug ip ospf database-timerOSPF timer events debugging is on
RelatedCommands
terminal monitor
debug ip ospf eventsSyntax debug ip ospf events
no debug ip ospf events
Purpose To enable OSPF events debugging
Usage Guidelines None
Mode ZXAN#
Example The following example displays how to enable OSPF events debug-ging:ZXAN#debug ip ospf eventsOSPF events debugging is on
RelatedCommands
terminal monitor
RelatedInformation
OSPF events mainly include DR/BDR selection and link statechanges.
debug ip ospf floodSyntax debug ip ospf flood
no debug ip ospf flood
Purpose To enable debugging of OSPF flood events
Usage Guidelines None
Mode ZXAN#
Example The following example displays how to enable debugging of OSPFflood events:
Confidential and Proprietary Information of ZTE CORPORATION 145
ZXA10 C220 Command Manual (Volume I)
ZXAN#debug ip ospf floodOSPF flood debugging is on
RelatedCommands
terminal monitor
debug ip ospf lsa-generationSyntax debug ip ospf lsa-generation
no debug ip ospf lsa-generation
Purpose To enable OSPF LSA generation debugging
Usage Guidelines None
Mode ZXAN#
Example The following example displays how to enable OSPF LSA genera-tion debugging:ZXAN#debug ip ospf lsa-generationOSPF summary lsa generation debugging is on
RelatedCommands
terminal monitor
RelatedInformation
OSPF LSA generation debugging events mainly include link statechange notifications, self-rule system edge router link statechange notification etc.
debug ip ospf nsfSyntax debug ip ospf nsf
no debug ip ospf nsf
Purpose To enable OSPF non-stop forwarding-events debugging
Usage Guidelines None
Mode ZXAN#
Example The following example displays how to enable OSPF non-stop for-warding-events debugging:ZXAN#debug ip ospf nsfOSPF non-stop forwarding event debugging is on
RelatedCommands
terminal monitor
debug ip ospf packetSyntax debug ip ospf packet
146 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 14 Debugging
no debug ip ospf packet
Purpose To enable OSPF packet debugging
Usage Guidelines None
Mode ZXAN#
Example The following example displays how to enable OSPF packet debug-ging:ZXAN#debug ip ospf packetOSPF packet debugging is on
RelatedCommands
terminal monitor
debug ip ospf retransmissionSyntax debug ip ospf retransmission
no debug ip ospf retransmission
Purpose To enable OSPF retransmission events debugging
Usage Guidelines None
Mode ZXAN#
Example The following example displays how to enable OSPF retransmissionevents debugging:ZXAN#debug ip ospf retransmissionOSPF retransmission events debugging is on
RelatedCommands
terminal monitor
debug ip ospf spfSyntax debug ip ospf spf [external | inter | intra]
no debug ip ospf spf [external | inter | intra]
Purpose To enable OSPF route computing events debugging
Usage Guidelines The following table provides parameter description:
Parameter Description Value
external OSPF SPFexternal-route
-
inter OSPF SPF inter-route -
intra OSPF SPF intra-route -
Mode ZXAN#
Confidential and Proprietary Information of ZTE CORPORATION 147
ZXA10 C220 Command Manual (Volume I)
Example The following example displays how to enable OSPF route comput-ing events debugging:ZXAN#debug ip ospf spf externalOSPF spf external events debugging is on
RelatedCommands
terminal monitor
RelatedInformation
By default, this command is disabled.
debug ip ospf treeSyntax debug ip ospf tree
no debug ip ospf tree
Purpose To enable OSPF tree debugging
Usage Guidelines None
Mode ZXAN#
Example The following example displays how to enable OSPF tree debug-ging:ZXAN#debug ip ospf treeOSPF database events debugging is on
RelatedCommands
terminal monitor
debug ip pim-snoopingSyntax debug ip pim-snooping
no debug ip pim-snooping
Purpose To enable PIM snooping debugging
Usage Guidelines None
Mode ZXAN#
Example The following example displays how to enable PIM snooping de-bugging:ZXAN#debug ip pim-snoopingPIM SNOOPING debugging is on
148 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 14 Debugging
RelatedCommands
terminal monitor
debug ip pimsmSyntax debug ip pimsm [message-recv | message-send | packet-r
ecv | packet-send | mrt | bsr-rp | assert | warning | msdp]
no debug ip pimsm [message-recv |message-send | packet-recv | packet-send |mrt | bsr-rp | assert |warning |msdp]
Purpose To enable PIM-SM debugging
Usage Guidelines The following table provides parameter description:
Parameter Description Value
assert PIM-SM debugginginformation relatedwith Assert
-
bsr-rp PIM-SM debugginginformation relatedwith BSR and RP
-
message-recv Debug informationof PIM-SM receivedmessages
-
message-send Debug informationof PIM-SM sentmessages
-
mrt Debug informationof PIM-SM multicastrouting table
-
packet-recv Debug informationof PIM-SM receivedprotocol messages
-
packet-send Debug information ofPIM-SM sent protocolmessages
-
warning PIM-SM alarmdebugginginformation
-
msdp PIM-SM MSDPdebugginginformation
-
Mode ZXAN#
Example The following example displays how to enable PIM-SM debugging:ZXAN#debug ip pimsm assertPIMSM assert debugging is on
Confidential and Proprietary Information of ZTE CORPORATION 149
ZXA10 C220 Command Manual (Volume I)
RelatedCommands
terminal monitor
debug ip pimdmSyntax debug ip pimdm [packet-recv | packet-send | mrt | timer |
assert | warning | data]
no debug ip pimdm [packet-recv | packet-send |mrt | timer| assert | warning | data]
Purpose To enable PIM-DM debugging
Usage Guidelines The following table provides parameter description:
Parameter Description Value
packet-recv Debug informationof PIM-DM receivedpackets
-
packet-send Debug information ofPIM-DM sent packets
-
mrt Debug informationof PIM-DM multicastrouting table
-
timer Debug information ofPIM-DM timer
-
assert Debug information ofPIM-DM ASSERRT
-
warning Debug information ofPIM-DM warning
-
data Debug information ofPIM-DM data
-
Mode ZXAN#
Example The following example displays how to enable PIM-DM debuggingof ASSERRT:ZXAN#debug ip pimdm assertPIMDM assert debugging is off
RelatedCommands
terminal monitor
debug ip protocolSyntax debug ip protocol protocol-number
no debug ip protocol protocol-number
Purpose To enable IP protocol number debugging
150 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 14 Debugging
Usage Guidelines The following table provides parameters description:
Parameter Description Value
protocol-number Protocol number Range: 0 – 255
Mode ZXAN#
Example The following example displays how to enable IP protocol numberdebugging for number 0:ZXAN#debug ip protocol 0IP protocol number debugging is on
RelatedCommands
terminal monitor
debug ip ripSyntax debug ip rip
no debug ip rip
Purpose To enable RIP protocol debugging
Usage Guidelines None
Mode ZXAN#
Example The following example displays how to enable RIP protocol debug-ging:ZXAN#debug ip ripRIP protocol debugging is on
RelatedCommands
terminal monitor
debug ip rip allSyntax debug ip rip all
no debug ip rip all
Purpose To enable all RIP related debugging
Usage Guidelines None
Mode ZXAN#
Example The following example displays how to enable all RIP related de-bugging:ZXAN#debug ip rip allAll RIP debugging has been turned on
Confidential and Proprietary Information of ZTE CORPORATION 151
ZXA10 C220 Command Manual (Volume I)
RelatedCommands
terminal monitor
debug ip rip databaseSyntax debug ip rip database
no debug ip rip database
Purpose To trace RIP database changes
Usage Guidelines None
Mode ZXAN#
Example The following example displays how to trace RIP databasechanges:ZXAN#debug ip rip databaseRIP database events debugging is on
RelatedCommands
terminal monitor
debug ip rip triggerSyntax debug ip rip events
no debug ip rip events
Purpose To trace RIP trigger events, such as timer timeout
Usage Guidelines None
Mode ZXAN#
Example The following example displays how to trace RIP trigger events,such as timer timeout:ZXAN#debug ip rip eventsRIP event debugging is on
RelatedCommands
terminal monitor
debug ip sourceSyntax debug ip source ip-address
no debug ip source ip-address
Purpose To enable IP source debugging
Usage Guidelines The following table provides parameter description:
152 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 14 Debugging
Parameter Description Value
ip-address Source IP address A.B.C.D
Mode ZXAN#
Example The following example displays how to enable source IP192.168.6.6 debugging function:ZXAN#debug ip source 192.168.6.6IP source debugging is on
RelatedCommands
terminal monitor
debug ip tcp allSyntax debug ip tcp all
no debug ip tcp all
Purpose To enable all TCP related debugging
Usage Guidelines None
Mode ZXAN#
Example The following example displays how to enable all TCP related de-bugging:ZXAN#debug ip tcp allAll TCP debugging has been turned on
RelatedCommands
terminal monitor
debug ip tcp driverSyntax debug ip tcp driver
no debug ip tcp driver
Purpose To enable debugging for establishing and closing TCP connections
Usage Guidelines None
Mode ZXAN#
Example The following example displays how to enable debugging for es-tablishing and closing TCP connections:ZXAN#debug ip tcp driverTCP driver event debugging is on
RelatedCommands
terminal monitor
Confidential and Proprietary Information of ZTE CORPORATION 153
ZXA10 C220 Command Manual (Volume I)
RelatedInformation
When debugging is enabled, the related information is the output,including TCP proactive opening, passive opening, TCP link estab-lishment timer, TCP normal and abnormal closing information.
debug ip tcp driver-pakSyntax debug ip tcp driver-pak
no debug ip tcp driver-pak
Purpose To enable debugging for TCP buffer management information
Usage Guidelines None
Mode ZXAN#
Example The following example displays how to enable debugging for TCPbuffer management information:ZXAN#debug ip tcp driver-pakTCP driver verbose debugging is on
RelatedCommands
terminal monitor
RelatedInformation
When debugging is enabled, it displays output information includ-ing:
� Output packets in output queue
� Sending/receiving packet size
� Information of deleting a packet when packet number surpass-ing permitted maximum number (25 by default) in case of dis-order
When the user logs into the ZXAN, the supplementary informationof the TCP events of the BGP and FTP (not including Telnet) isdisplayed.
debug ip tcp packetSyntax debug ip tcp packet
no debug ip tcp packet
Purpose To enable debugging for source and destination of TCP sent/re-ceived packets
Usage Guidelines None
Mode ZXAN#
Example The following example displays how to enable debugging for sourceand destination of TCP sent/received packets:ZXAN#debug ip tcp packetTCP Packet debugging is on
154 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 14 Debugging
RelatedCommands
terminal monitor
RelatedInformation
After debugging is enabled, when a packet is sent or received, in-formation such as source/destination address of data packet, portnumber, sequence number, acknowledgment number, size of re-ceiving window and control bit information is output.
When a user logs into the ZXA10 C220, information of the TCPspecial events of the BGP and FTP is displayed.
debug ip tcp transactionsSyntax debug ip tcp transactions
no debug ip tcp transactions
Purpose To enable TCP state transition debugging
Usage Guidelines None
Mode ZXAN#
Example The following example displays how to enable TCP state transitiondebugging:ZXAN#debug ip tcp transactionsTCP special debugging is on
RelatedCommands
terminal monitor
RelatedInformation
After this debug command is enabled, the TCP special event in-formation (including destination IP address, port number, MSSadvertisement of TCP connection establishment, resetting of re-transmission timer, retransmission timeout, limited state-machinetransition and release of TCP control block information) is the out-put.
When the user logs in to the ZXAN, the information of TCP specialevents of BGP and FTP is displayed.
debug ip udpSyntax debug ip udp
no debug ip udp
Purpose To enable debugging for source and destination information of UDPsent/received packets
Usage Guidelines None
Mode ZXAN#
Example The following example displays how to enable debugging for sourceand destination information of UDP sent/received packets:ZXAN#debug ip udpUDP packet debugging is on
Confidential and Proprietary Information of ZTE CORPORATION 155
ZXA10 C220 Command Manual (Volume I)
RelatedCommands
terminal monitor
RelatedInformation
By default, all debug commands are disabled.
Source/destination addresses, port and UDP packet length infor-mation is displayed when UDP sends/receives a packet.
Source/destination addresses, port and UDP packet length infor-mation is displayed when user logs in.
debug iptv allSyntax debug iptv {all | {data | error | events} [rack-number shel
f-number slot-number] [interface name {gport gportno | pvcpvcno}] [mvlanmvlanid group groupip] [mode {cdr | joinleave| oam | timer}]}
no debug iptv {all | {data | error | events} [rack-number shelf-number slot-number] [interface name {gport gportno | pvcpvcno}] [mvlanmvlanid group groupip] [mode {cdr | joinleave| oam | timer}]}
Purpose To enable IPTV related debugging
Usage Guidelines The following table provides parameters description:
Parameter Description Value
all All debug information -
dataDebug information relatedto IPTV -
errorIPTV received error mes-sages -
eventsEvents related to IPTV sta-tus change -
rack-number Rack number Range: 0 – 65535
shelf-number Shelf number Range: 0 – 65535
slot-number Slot number Range: 0 – 65535
interfacename Interface name
Range: 1 – 32 charac-ters
gport gportnoGPON card ONU GEM portnumber Range: 0 – 255
pvc pvcno PVC number Range: 0 – 7
mvlan mvlanid MVLAN ID Range: 0 – 4095
156 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 14 Debugging
Parameter Description Value
group groupip Multicast group IP address A.B.C.D
mode {cdr |joinleave |oam | timer} Data mode
cdr, joinleave, oam,timer
Mode ZXAN#
Example The following example displays how to enable IPTV events debug-ging:ZXAN#debug iptv events 0 0 7 mode timerIPTV events debugging is on
RelatedCommands
None
debug isis adj-packetsSyntax debug isis adj-packets
no debug isis adj-packets
Purpose To trace and show the IS-IS received/sent Hello messages
Usage Guidelines None
Mode ZXAN#
Example The following example displays how to trace and show the IS-ISreceived/sent Hello messages:ZXAN#debug isis adj-packetsIS-IS Adjacency related packets debugging is on
RelatedCommands
terminal monitor
debug isis allSyntax debug isis all
no debug isis all
Purpose To enable IS-IS debugging
Usage Guidelines None
Mode ZXAN#
Example The following example displays how to enable IS-IS debugging:ZXAN#debug isis allAll IS-IS debugging has been turned on
Confidential and Proprietary Information of ZTE CORPORATION 157
ZXA10 C220 Command Manual (Volume I)
RelatedCommands
terminal monitor
debug isis nsf-eventSyntax debug isis nsf-event
no debug isis nsf-event
Purpose To trace and show the IS-IS route computing event debugginginformation
Usage Guidelines None
Mode ZXAN#
Example The following example displays how to trace and show the IS-ISroute computing event debugging information:ZXAN#debug isis nsf-eventIS-IS Adjacency related packets debugging is on
RelatedCommands
terminal monitor
debug isis snp-packetsSyntax debug isis snp-packets
no debug isis snp-packets
Purpose To enable IS-IS SNP packet debugging
Usage Guidelines None
Mode ZXAN#
Example The following example displays how to enable IS-IS SNP packetdebugging:ZXAN#debug isis snp-packetsIS-IS CSNP/PSNP packets debugging is on
RelatedCommands
terminal monitor
debug isis spf-eventsSyntax debug isis spf-events
no debug isis spf-events
Purpose To trace and show the IS-IS SPF event debugging information
Usage Guidelines None
Mode ZXAN#
158 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 14 Debugging
Example The following example displays how to trace and show the IS-ISSPF event debugging information:ZXAN#debug isis spf-eventsIS-IS SPF events debugging is on
RelatedCommands
terminal monitor
debug isis update-packetsSyntax debug isis update-packets
no debug isis update-packets
Purpose To trace and view IS-IS LSP packet handling event debugging in-formation
Usage Guidelines None
Mode ZXAN#
Example The following example displays how to trace and view IS-IS LSPpacket handling event debugging information:ZXAN#debug isis update-packetsIS-IS Update related packet debugging is on
RelatedCommands
terminal monitor
debug lacp allSyntax debug lacp all
no debug lacp all
Purpose To enable all LACP related debugging
Usage Guidelines None
Mode ZXAN#
Example The following example displays how to enable all LACP related de-bugging:ZXAN#debug lacp allLink Aggregation Control Protocol All debugging is on
RelatedCommands
terminal monitor
debug lacp fsmSyntax debug lacp fsm [interface port-number]
Confidential and Proprietary Information of ZTE CORPORATION 159
ZXA10 C220 Command Manual (Volume I)
no debug lacp fsm [interface port-number]
Purpose To enable LACP state machine debugging
Usage Guidelines The following table provides parameter description:
Parameter Description Value
interface port-number
Port number loopback1 – 64
null1
smartgroup1 –smartgroup8
supervlan1 –supervlan255
tunnel1 – tunnel64
vlan1 – vlan4094
Mode ZXAN#
Example The following example displays how to enable LACP state machinedebugging:ZXAN#debug lacp fsmLink Aggregation Control Protocol SM debugging is on
RelatedCommands
None
debug lacp packetSyntax debug lacp packet [interface port-number]
no debug lacp packet [interface port-number]
Purpose To enable LACP debugging
Usage Guidelines The following table provides parameter description:
Parameter Description Value
interface port-number
Port number -
Mode ZXAN#
Example The following example displays how to enable LACP debugging:ZXAN#debug lacp packetLink Aggregation Control Protocol packets debugging is on
160 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 14 Debugging
RelatedCommands
terminal monitor
debug mpnatSyntax debug mpnat {data | event | error | all}
Syntax no debug mpnat {data | event | error | all}
Purpose To enable MPNAT debugging and display related print informationonly under shell
Usage Guidelines The following table provides parameters description:
Parameter Description Value
data MPNAT datadebugginginformation
-
event Events related toMPNAT status change
-
error MPNAT errorinformation
-
dll All MPNAT debuginformation
-
Mode ZXAN#
Example The following example displays how to enable MPNAT debugging:ZXAN#debug mpnat all
RelatedCommands
terminal monitor
debug mstp agreementSyntax debug mstp agreement [interface interface-name instance
instance-number]
no debug mstp agreement
Purpose To enable MSTP debugging for fast hand-off negotiation informa-tion
Usage Guidelines The following table provides parameter description:
Parameter Description Value
interface interface-name
Interface name Range: smartgroup1– smartgroup8
instance instance-number
Instance number Range: 0 – 31
Confidential and Proprietary Information of ZTE CORPORATION 161
ZXA10 C220 Command Manual (Volume I)
Mode ZXAN#
Example The following example displays how to enable MSTP debugging forfast hand-off negotiation information:ZXAN#debug mstp agreementMultiple Spanning Tree agreement debugging is on
RelatedCommands
terminal monitor
debug mstp allSyntax debug mstp all
no debug mstp all
Purpose To enable all MSTP related debugging
Usage Guidelines None
Mode ZXAN#
Example The following example displays how to enable all MSTP relateddebugging:ZXAN#debug mstp allMstp Protocol All debugging is on
RelatedCommands
terminal monitor
debug mstp bpdu-rxSyntax debug mstp bpdu-rx [interface interface-name]
no debug mstp bpdu-rx
Purpose To enable MSTP debugging to receive packet information
Usage Guidelines The following table provides parameter description:
Parameter Description Value
interface interface-name
Interface name Range: smartgroup1– smartgroup8
Mode ZXAN#
Example The following example displays how to enable MSTP debugging toreceive packet information:ZXAN#debug mstp bpdu-rxMultiple Spanning Tree Received BPDUs debugging is on
162 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 14 Debugging
RelatedCommands
terminal monitor
debug mstp bpdu-txSyntax debug mstp bpdu-tx [interface interface-name]
no debug mstp bpdu-tx
Purpose To enable MSTP debugging for sending packet information
Usage Guidelines The following table provides parameter description:
Parameter Description Value
interface interface-name
Interface name Range: smartgroup1– smartgroup8
Mode ZXAN#
Example The following example displays how to enable MSTP debugging forsending packet information:ZXAN#debug mstp bpdu-txMultiple Spanning Tree Transmitted BPDUs debugging is on
RelatedCommands
terminal monitor
debug mstp errorsSyntax debug mstp errors
no debug mstp errors
Purpose To enable MSTP error debugging
Usage Guidelines None
Mode ZXAN#
Example The following example displays how to enable MSTP error debug-ging:ZXAN#debug mstp errorsMST Protocol errors debugging is on
RelatedCommands
terminal monitor
debug mstp flushSyntax debug mstp flush [interface interface-name instance instance
-number]
Confidential and Proprietary Information of ZTE CORPORATION 163
ZXA10 C220 Command Manual (Volume I)
no debug mstp flush
Purpose To enable MSTP port flush mechanism debugging
Usage Guidelines The following table provides parameter description:
Parameter Description Value
interface interface-name
Interface name Range: smartgroup1– smartgroup8
instance instance-number
Instance number Range: 0 – 31
Mode ZXAN#
Example The following example displays how to enable MSTP port flushmechanism debugging:ZXAN#debug mstp flushMultiple Spanning Tree port flush mechanism debugging is on
RelatedCommands
terminal monitor
debug mstp infoSyntax debug mstp info [interface interface-name instance instance-
number]
no debug mstp info
Purpose To enable MSTP information state machine debugging
Usage Guidelines The following table provides parameter description:
Parameter Description Value
interface interface-name
Interface name Range: smartgroup1– smartgroup8
instance instance-number
Instance number Range: 0 – 31
Mode ZXAN#
Example The following example displays how to enable MSTP informationstate machine debugging:ZXAN#debug mstp infoMultiple Spanning Tree port info state machine debugging on
164 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 14 Debugging
RelatedCommands
terminal monitor
debug mstp migrationSyntax debug mstp migration [interface interface-name]
no debug mstp migration
Purpose To enable MSTP transition state machine debugging
Usage Guidelines The following table provides parameter description:
Parameter Description Value
interface interface-name
Interface name A.B.C.D
Mode ZXAN#
Example The following example displays how to enable MSTP transitionstate machine debugging:ZXAN#debug mstp migrationMultiple Spanning Tree migration protocol state machine debugging is on
RelatedCommands
terminal monitor
debug mstp proposalsSyntax debugmstp proposals [interface interface-name instance inst
ance_number]
no debug mstp proposals
Purpose To enable the MSTP debugging for information relating to fasthand-off negotiation request
Usage Guidelines The following table provides parameter description:
Parameter Description Value
interface interface-name
Interface name Range: smartgroup1– smartgroup8
instance instance-number
Instance number Range: 0 – 31
Mode ZXAN#
Example The following example displays how to enable the MSTP debuggingfor information relating to fast hand-off negotiation request:ZXAN#debug mstp proposalsMultiple Spanning Tree Proposal/Agree handshakes debugging is on
Confidential and Proprietary Information of ZTE CORPORATION 165
ZXA10 C220 Command Manual (Volume I)
RelatedCommands
terminal monitor
debug mstp rolesSyntax debug mstp roles [instance instance_number]
no debug mstp roles
Purpose To enable the MSTP instance calculation state machine debugging
Usage Guidelines The following table provides parameter description:
Parameter Description Value
instance instance-number
Number of instances Range: 0 – 31
Mode ZXAN#
Example The following example displays how to enable the MSTP instancecalculation state machine debugging:ZXAN#debug mstp rolesMST Protocol roles debugging is on
RelatedCommands
terminal monitor
debug mstp stateSyntax debug mstp state [interface interface-name]
no debug mstp state
Purpose To enable the MSTP instance calculation state machine debugging
Usage Guidelines The following table provides parameter description:
Parameter Description Value
interface interface-name
Number of interfaces Range: smartgroup1– smartgroup8
Mode ZXAN#
Example The following example displays how to enable the MSTP instancecalculation state machine debugging:ZXAN#debug mstp stateMultiple Spanning Tree state sync debugging is on
166 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 14 Debugging
RelatedCommands
terminal monitor
debug mstp tcSyntax debug mstp tc [interface interface-name instance instance_n
umber]
no debug mstp tc
Purpose To enable the MSTP state-change debugging
Usage Guidelines The following table provides parameter description:
Parameter Description Value
interface interface-name
Interface name Range: smartgroup1– smartgroup8
instance instance-number
Instance number Range: 0 – 31
Mode ZXAN#
Example The following example displays how to enable the MSTP state-change debugging:ZXAN#debug mstp tc Multiple Spanning Tree topologychange notifications debugging is on
RelatedCommands
terminal monitor
debug nasSyntax debug nas
no debug nas
Purpose To enable the NAS debugging
Usage Guidelines None
Mode ZXAN#
Example The following example displays how to enable NAS debugging:ZXAN#debug nasNAS debugging is on
Confidential and Proprietary Information of ZTE CORPORATION 167
ZXA10 C220 Command Manual (Volume I)
RelatedCommands
terminal monitor
debug port-locationSyntax debug port-location all
debug port-location {data | error | event} type_shelf/slot/{port-no | olt:onu} [gport gportno | pvc pvcno]
no debug port-location {all | data | error | event}
Purpose To enable all port location related debugging
Usage Guidelines The following table provides parameter description:
Parameter Description Value
all All port location relateddebugging
-
data Port-location datadebugging
-
error Port location errordebugging
-
event Port location eventdebugging
-
type_shelf/slot/{port-no |olt:onu}
Interface -
gport gportno GEM port number Range: 1 – 255
pvc pvcno PVC number Range: 1 – 8
Mode ZXAN#
Example The following example displays how to enable all port location re-lated debugging:ZXAN#debug port-location data gpon-onu_0/0/9:1 gport 1ZXAN#
RelatedCommands
None
debug pppoe-plusSyntax debug pppoe-plus all
debug pppoe-plus {data | error | event} type_shelf/slot/ {port-no | olt:onu} [gport gportno | pvc pvcno]
no debug pppoe-plus all
168 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 14 Debugging
no debug pppoe-plus {data | error | event} type_shelf/slot/{port-no | olt:onu} [gport gportno | pvc pvcno]
Purpose To enable PPPoE+ debugging
Usage Guidelines The following table provides parameter description:
Parameter Description Value
all All debug information -
data Data related debuginformation
-
error Port received errormessage
-
event Event changing portlocation information
-
type_shelf/slot/{port-no | olt:onu}
Interface Interface type can bevarious
gport gportno GEM port number Range: 1 – 255
pvc pvcno PVC number Range: 1 – 8
Mode ZXAN#
Example The following example displays how to enable PPPoE+ debugging:ZXAN#debug pppoe-plus allpppoe-plus all debugging is on
RelatedCommands
terminal monitor
debug radius accountingSyntax debug radius accounting {data | error | event | packet {gro
up-number | all}}
no debug radius accounting {data | error | event | packet}
Purpose To enable the radius debugging accounting
Usage Guidelines
Parameter Description Value
data Data related Radiusaccounting information
-
error Radius accounting errorinformation
-
event Event changing Radiusaccounting
-
Confidential and Proprietary Information of ZTE CORPORATION 169
ZXA10 C220 Command Manual (Volume I)
Parameter Description Value
packet{group-number | all}
� packet: Radiusaccounting ofsending/receivingpackets
� packet group-number: Radiusaccounting of packetgroup-number
� packet all: Radiusaccounting ofall sent/receivedpackets
Group range: 1 – 10
Mode ZXAN#
Example The following example displays how to enable the radius debug-ging accounting:ZXAN#debug radius accounting packet alldebug radius accounting packet turned on group all
RelatedCommands
None
debug radius allSyntax debug radius all
no debug radius all
Purpose To enable radius debugging
Usage Guidelines None
Mode ZXAN#
Example The following example displays how to enable the radius debug-ging:ZXAN#debug radius allAll radius debugging has been turned on
RelatedCommands
terminal monitor
debug radius authenticationSyntax debug radius authentication {data | error | event | packet
{group-number | all}}
no debug radius authentication {data | error | event | packet}
Purpose To enable radius authentication packet debugging
Usage Guidelines The following table provides parameter description:
170 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 14 Debugging
Parameter Description Value
data Radius authenticationdata debugging
-
error Radius authenticationerror debugging
-
event Radius authenticationevents debugging
-
packet {group-number | all}
Radius authenticationpackets debugging
packet group-number: Groupnumber
packet all: Debugall accounting grouppackets
group-number: 1 –10
Mode ZXAN#
Example The following example displays how to enable radius authentica-tion packet debugging:ZXAN#debug radius authentication packet 1debug radius authenticaion packet turned on group 65536
RelatedCommands
terminal monitor
debug radius exceptionSyntax debug radius exception
no debug radius exception
Purpose To enable radius exception debugging
Usage Guidelines None
Mode ZXAN#
Example The following example displays how to enable radius exception de-bugging:ZXAN#debug radius exceptiondebug radius exception turned on
RelatedCommands
terminal monitor
debug radius userSyntax debug radius user subscriber-name domain-name
no debug radius user
Confidential and Proprietary Information of ZTE CORPORATION 171
ZXA10 C220 Command Manual (Volume I)
Purpose To enable radius user information debugging
Usage Guidelines The following table provides parameter description:
Parameter Description Value
subscriber-name Subscriber name Range: 1 – 32characters
domain-name Domain name Range: 1 – 32characters
Mode ZXAN#
Example The following example displays how to enable radius user infor-mation debugging:ZXAN#debug radius user user domaindebug radius user turned on user@doma
RelatedCommands
terminal monitor
debug syscommSyntax debug syscomm {data | packet | event | error | all}
no debug syscomm {data | packet | event | error | all}
Purpose To display debugging information related with syscomm
Usage Guidelines The following table provides parameters description:
Parameter Description Value
data Debugginginformation relatedwith syscomm data
-
packet Received andtransmitted packetsinformation relatedwith syscomm
-
event Events to causesyscomm statuschange
-
error Received errorpackets related withsyscomm
-
all All debugginginformation relatedwith syscomm
-
Mode ZXAN#
Example The following example displays all syscomm debugging informa-tion:
172 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 14 Debugging
ZXAN#debug syscomm all
RelatedCommands
terminal monitor
debug sysctrlSyntax debug sysctrl {data | packet | event | error | all}
no debug sysctrl {data | packet | event | error | all}
Purpose To debug the system control information
Usage Guidelines The following table provides parameter description:
Parameter Description Value
all Debug system controlall information
-
data Debug system controldata information
-
error Debug system controlerror information
-
event Debug system controlevent information
-
packet Debug system controlpacket information
-
Mode ZXAN#
Example The following example displays how to debug the system controlinformation:ZXAN#debug sysctrl all
RelatedCommands
terminal monitor
debug version-mngSyntax debug version-mng {data | packet | event | error | all}
no debug version-mng {data | packet | event | error | all}
Purpose To enable version management debugging
Usage Guidelines The following table provides parameter description:
Confidential and Proprietary Information of ZTE CORPORATION 173
ZXA10 C220 Command Manual (Volume I)
Parameter Description Value
all Debug all versionmanagementinformation
-
data Debug versionmanagementinformation
-
error Debug versionmanagement errorinformation
-
event Debug versionmanagement eventinformation
-
packet Debug versionmanagement packetinformation
-
Mode ZXAN#
Example The following example displays how to enable all debugging forversion management information:ZXAN#debug version-mng all
RelatedCommands
terminal monitor
debug vlanSyntax debug vlan all
debug vlan {data | event | error} [rack-number shelf-numberslot-number] [interface interface-name [vport vportno | pvcpvcno]] [vlan vlanid]
no debug vlan all
no debug vlan {data | event | error} [rack-number shelf-number slot-number] [interface interface-name [vport vportno | pvcpvcno]] [vlan vlanid]
Purpose To enable VLAN related debugging
Usage Guidelines The following table provides parameter description:
Parameter Description Value
data Debugginginformation relatedto VLAN data
-
event Debugginginformation relatedto events changingVLAN status
-
174 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 14 Debugging
Parameter Description Value
error Debugginginformation related toerror packets receivedby VLAN
-
all All debugginginformation relatedto VLAN
-
rack-number Rack number -
shelf-number Shelf number -
slot-number Slot number -
interface interface-name
Interface name Range: 1 – 32characters
vport vportno EPON card ONU portnumber
Range: 1 – 256
pvc pvcno PVC number Range: 1 – 8
vlan vlanid VLAN ID Range: 1 – 4094
Mode ZXAN#
Example The following example displays how to enable all VLAN related de-bugging:ZXAN#debug vlan allVlan all debugging is on
RelatedCommands
terminal monitor
debug vrrpSyntax debug vrrp {state | packet | event | error | all}
no debug vrrp {state | packet | event | error | all}
Purpose To enable VRRP debugging
Usage Guidelines The following table provides parameter description:
Parameter Description Value
all All VRRP relateddebugging
-
error Error packetinformation receivedby VRRP
-
event Information triggeringVRRP state change
-
Confidential and Proprietary Information of ZTE CORPORATION 175
ZXA10 C220 Command Manual (Volume I)
Parameter Description Value
packet Packet informationreceived/sent byVRRP
-
state VRRP state changedebuggingn
-
Mode ZXAN#
Example The following example displays how to enable VRRP debugging:ZXAN#debug vrrp stateVRRP state debugging is on
RelatedCommands
terminal monitor
show debuggingSyntax show debugging
Purpose To display enabled debugging
Usage Guidelines None
Mode ZXAN#
Example The following example displays enabled debugging:ZXAN#show debuggingRSL:Version-mng data debugging is onVersion-mng error debugging is onVersion-mng event debugging is onVersion-mng packet debugging is on
RelatedCommands
All debug commands
terminal monitorSyntax terminal monitor
no terminal monitor
Purpose To output debugging information to terminal
Usage Guidelines None
Mode ZXAN#
Example The following example displays how to output debugging informa-tion to terminal:ZXAN#terminal monitor
RelatedCommands
All debug commands
176 Confidential and Proprietary Information of ZTE CORPORATION
C h a p t e r 15
MAC Configuration
Table of Contentsmac add......................................................................... 177mac aging-time............................................................... 178mac delete ..................................................................... 178mac monitor-period ......................................................... 179mac usage-threshold ....................................................... 180show mac....................................................................... 180show mac aging-time....................................................... 181show mac monitor-info..................................................... 182show mac running ........................................................... 182show mac system............................................................ 183
mac addSyntax mac add static mac-address {ethernet port-name | smartgr
oup smartgroup-id | gpon port-name vport vport | epon} [vlanvlan-id]
Purpose To add a MAC address entry
Usage Guidelines The following table provides parameter description:
Parameter Description Value
static Static MAC address -
mac-address MAC address XXXX.XXXX.XXXX
ethernet port-name Ethernet shelf, slot,port number
Range: 1 – 127characters
gpon port-name GPON shelf, slot, portnumber
Range: 1 – 127characters
smartgroupsmartgroup-id
Smartgroup ID Range: 1 – 8
epon EPON -
vlan vlan-id VLAN ID Range: 1 – 4094
vport vport Virtual port number Range: 1 – 255
Mode ZXAN(config)#
Confidential and Proprietary Information of ZTE CORPORATION 177
ZXA10 C220 Command Manual (Volume I)
Example The following example displays how to add a static MAC addressentry 000a.010c.e2c6 to Ethernet port gei_0/9/1:ZXAN(config)#mac add static 0009.6b08.bfd6 ethernetgei_0/9/1
RelatedCommands
mac delete
show mac
RelatedInformation
If no VLAN ID is specified, port PVID is used as default port ID. Ex-ecute the show running-config command to display permanentMAC address.
mac aging-timeSyntax mac aging-time time
Purpose To configure the MAC address aging time in the system
Usage Guidelines The following table provides parameter description:
Parameter Description Value
time Aging time value Range: 60 – 630seconds
Default: 300 seconds
Mode ZXAN(config)#
Example The following example displays how to configure the MAC addressaging time as 180 seconds:ZXAN(config)#mac aging-time 180
RelatedCommands
show mac aging-time
show mac running
RelatedInformation
If the MAC address aging time is set as n seconds, the dynamicMAC address may age within n ~ 2n seconds.
mac deleteSyntax mac delete static {mac-address | ethernet port-name | smar
tgroup smartgroup-id | gpon port-name vport vport | dsl dsl}[vlan-id]
Purpose To delete a MAC address entry
Usage Guidelines The following table provides parameter description:
Parameter Description Value
static mac-address Static MAC address XXXX.XXXX.XXXX
178 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 15 MAC Configuration
Parameter Description Value
ethernet port-name Ethernet shelf, slot,port number
Range: 1 – 127characters
gpon port-name GPON shelf, slot, portnumber
Range: 1 – 127characters
smartgroupsmartgroup-id
Smartgroup ID Range: 1 – 8
vlan-id VLAN number Range: 1 – 4094
vport vport Virtual port number Range: 1 – 255
dsl dsl DSL -
Mode ZXAN(config)#
Example The following example displays how to delete MAC address000a.010c.e2c6 and Ethernet interface gei_0/1/1:ZXAN(config)#mac delete 0009.6b08.bfd6ZXAN(config)#mac delete ethernet gei_0/9/1
RelatedCommands
mac add
show mac
RelatedInformation
If VLAN ID is not specified, all MAC address entries matching withmac-address parameter are deleted.
mac monitor-periodSyntax mac monitor-period time
Purpose To configure MAC monitoring period
Usage Guidelines The following table provides parameter description:
Parameter Description Value
time Monitoring period inminutes
Ragne: 5 - 1440
Default: 10
Mode ZXAN(config)#
Example The following example displays how to configure MAC monitoringperiod as five nimutes:ZXAN(config)#mac monitor-period 5
RelatedCommands
show mac monitor-info
RelatedInformation
Execute show mac monitor-info command to display detailedinformation.
Confidential and Proprietary Information of ZTE CORPORATION 179
ZXA10 C220 Command Manual (Volume I)
mac usage-thresholdSyntax mac usage-threshold percent
Purpose To configure MAC table usage threshold
Usage Guidelines The following table provides parameter description:
Parameter Description Value
percent Usage percent Range: 1 – 100
Default: 70
Mode ZXAN(config)#
Example The following example displays how to configure MAC usagethreshold percent to 10%:ZXAN(config)#mac usage-threshold 10
RelatedCommands
None
show macSyntax show mac [dynamic | static | ethernet port-name | gpon port
-name vport vport | epon port-name | smartgroup smartgroup-id | vlan vlan-id] [statistic]
show mac mac-address [vlan vlan-id] [statistic]
show mac system
Purpose To display the MAC address entry
Usage Guidelines The following table provides parameter description:
Parameter Description Value
dynamic Dynamic address -
static Static address -
mac-address MAC address XXXX.XXXX.XXXX
statistic MAC address statistics -
system In-band orout-of-band MACaddress
XXXX.XXXX.XXXX
ethernet port-name Ethernet port name Range: 1 – 127characters
smartgroupsmartgroup-id
Smartgroup ID Range: 1 – 8
gpon port-name GPON port Range: 1 – 127characters
180 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 15 MAC Configuration
Parameter Description Value
vport vport GEM port ID Range: 1 – 255
vlan vlan-id VLAN ID Range: 1 – 4094
Mode All modes except exec mode
Example The following example displays the MAC address entry:ZXAN#show macFlags: vid--vlan id, stc--staticmac_address port vid stc----------------------------------------------000a.010c.e2c6 gei_0/1/21 1 1
The following table provides parameters description displayed inthe above example:
Parameter Description
mac_address MAC address
port Port where MAC address locates
vid VLAN ID where MAC locates
stc Static MAC status
RelatedCommands
mac add
mac delete
RelatedInformation
1. show mac command displays all MAC address entries includ-ing cards FPGA MAC address and MAC address learned by in-ternal interface of main control card ROS.
2. show mac mac-addr command checks cards FPGA and ROSMAC address entry and displays all matched entries.
3. show mac dynamic command displays all dynamic MAC ad-dresses learned.
4. show mac static command displays all static MAC addressesconfigured.
5. show mac interface port-name command displays all MACaddress entry in specified port.
6. showmac vlan vlanID command displays MAC address entryin specified VLAN ID.
7. show mac system command displays in-band and out-of-band MAC address.
show mac aging-timeSyntax show mac aging-time
Purpose To display the aging time of the dynamic MAC address of the switch
Usage Guidelines None
Mode All modes except exec mode
Confidential and Proprietary Information of ZTE CORPORATION 181
ZXA10 C220 Command Manual (Volume I)
Example The following example displays the aging time of the dynamic MACaddress of the switch:ZXAN#show mac aging-timeThe MAC Address aging time is 60 seconds.
RelatedCommands
mac aging-time
show mac monitor-infoSyntax show mac monitor-info
Purpose To display current MAC monitoring information in certain period
Usage Guidelines None
Mode All modes except execute mode
Example The following example displays MAC monitoring information in cur-rent period:ZXAN#show mac monitor-infoMAC table usage monitoring period is 10 minutes.Elapsed time in current monitoring period(mm:ss) is 01:28.MAC table maximum size is 8192(8k).Current occupancy is 3, about 0 percent usage.Current monitor period peak occupancy is 3, about 0 percentusage.History monitor period peak occupancy is 3, about 0 percentusage.
RelatedCommands
mac monitor-period
RelatedInformation
This command is executed to collect monitoring information of cur-rent MAC capacity table and display main control card total MACentities and maximum occupation since device start.
show mac runningSyntax show mac running
Purpose To display the related configuration of the MAC address of theswitch
Usage Guidelines None
Mode All modes except exec mode
Example The following example displays the related configuration of theMAC address of the switch:ZXAN#show mac runningmac aging-time 60
RelatedCommands
show mac
show mac aging-time
182 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 15 MAC Configuration
show mac systemSyntax show mac system
Purpose To display system in-band and out-of-band MAC address
Usage Guidelines None
Mode All modes except the exec mode
Example The following example displays system in-band and out-of-bandMAC address:ZXAN(config)#show mac systeminband mac: 001e.738d.2039outband mac: 00d0.d0c8.0023ZXAN(config)#
RelatedCommands
None
Confidential and Proprietary Information of ZTE CORPORATION 183
ZXA10 C220 Command Manual (Volume I)
This page is intentionally blank.
184 Confidential and Proprietary Information of ZTE CORPORATION
C h a p t e r 16
Port Location
Table of ContentsPort Location Configuration ............................................... 185DHCP Option 82 Configuration........................................... 191PPPoE+ Configuration ...................................................... 194
Port Location Configurationport-location access-loop-encapsulation
Syntax port-location access-loop-encapsulation {enable | disable}
Purpose To enable or disable port-location access-loop-encapsulation
Usage Guidelines The following table provides parameter description:
Parameter Description Value
enable Enable port-locationaccess-loop-encapsulation
-
disable Disable port-locationaccess-loop-encapsulation
-
Mode ZXAN(config)#
Example The following example displays how to enable port-location ac-cess-loop-encapsulation:ZXAN(config)#port-location access-loop-encapsulation enable
Confidential and Proprietary Information of ZTE CORPORATION 185
ZXA10 C220 Command Manual (Volume I)
RelatedCommands
show port-location global
port-location access-node-identifier
Syntax port-location access-node-identifier {inband-mac | hostname}
Purpose To configure port location access-node-identifier information
Usage Guidelines The following table provides parameter description:
Parameter Description Value
hostname Hostname as identifier -
inband-mac Inband MAC asidentifier
-
Mode ZXAN(config)#
Example The following example displays how to configure port location ac-cess-node-identifier type:ZXAN(config)#port-location access-node-identifier inband-mac
RelatedCommands
show port-location global
port-location flexible-syntax
Syntax port-location flexible-syntax {enable | disable}
Purpose To enable or disable port-location flexible-syntax
Usage Guidelines None
Mode ZXAN(config)#
Example The following example displays how to enable port-location flexi-ble-syntax:ZXAN(config)#port-location flexible-syntax enable
RelatedCommands
show port-location global
port-location flexible-syntax adddelimiter
Syntax port-location flexible-syntax add delimiter string index num
Purpose To add delimiter to port-location flexible-syntax
Usage Guideline The following table provides parameter description:
186 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 16 Port Location
Parameter Description Value
string Delimiter Range: 1 – 1character
index num Index term to beadded
Range: 1 – 30
Mode ZXAN(config)#
Example The following example displays how to add delimiter to port-loca-tion flexible-syntax:ZXAN(config)#port-location flexible-syntax add delimiter , index 2
RelatedCommands
None
RelatedInformation
Log into ONU through management port by executing this com-mand.
port-location flexible-syntax addvariable
Syntax port-location flexible-syntax add variable {chassis | rack |frame | slot | sub-slot | port | q-vlan | ethernet-priority | onu-id}width widthvalue [index indexno]
Purpose To add variable field to port-location flexible-syntax
Usage Guidelines The following table provides parameters description:
Parameter Description Value
variable Variable field Range: 1 – 1character
width widthvalue Code variable fieldconfiguration width
Range: 1 – 5
index indexno Index number Range: 1 – 30
chassis | rack | frame| slot | sub-slot| port | q-vlan |ethernet-priority |onu-id
Variable fieldcollection
chassis: cabinet
rack
frame
slot
sub-slot
port
q-vlan vlan
ethernet-priority
onu-id-onu
Mode ZXAN(config)#
Example The following example displays how to add variable field chassisto port-location flexible-syntax:ZXAN(config)#port-location flexible-syntax add variable chassis width 5 index 2
Confidential and Proprietary Information of ZTE CORPORATION 187
ZXA10 C220 Command Manual (Volume I)
Related Command None
port-location hostname
Syntax port-location hostname {string}
Purpose To configure port location host name
Usage Guidelines The following table provides parameter description:
Parameter Description Value
string Hostname Range: 1 – 64characters
Mode ZXAN(config)#
Example The following example displays how to configure port location hostname:ZXAN(config)#port-location hostname ZTE
RelatedCommands
show port-location global
port-location rackno frameno
Syntax port-location rackno racknumber frameno framenumber
Purpose To configure port location rack number and frame number
Usage Guidelines The following table provides parameters description:
Parameter Description Value
rackno racknumber Port location racknumber
Range: 0 – 63
frameno framenumber
Port location framenumber
Range: 0 – 31
Mode ZXAN(config)#
Example The following example displays how to configure port location racknumber and frame number:ZXAN(config)#port-location rackno 3 frameno 8
188 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 16 Port Location
RelatedCommands
show port-location global
port-location format
Syntax port-location format {china-telecom | dsl-forum | china-netcom} vport portid
Purpose To configure the port location format
Usage Guidelines The following table provides parameter description:
Parameter Description Value
china-telecom China telecom asformat
-
dsl-forum DSL forum as format -
china-netcom China Netcom asformat
-
vport portid GEM port ID Range: 1 – 255
Mode ZXAN(config-if)#
Example The following example displays how to configure the port locationformat:ZXAN(config)#interface gpon-onu_0/13/1:1ZXAN(config-if)# port-location format china-telecom vport 1
RelatedCommands
show port-location port
port-location sub-option remote-id
Syntax port-location sub-option remote-id {enable | disable} vportportid
Purpose To configure the remote ID for port location sub-option
Usage Guidelines The following table provides parameter description:
Parameter Description Value
enable Disable the remote ID -
disable Enable the remote ID -
vport portid Virtual port number Range: 1 – 255
Mode ZXAN(config-if)#
Example The following example displays how to enable the remote ID forport location:ZXAN(config-if)#port-location sub-option remote-id enable vport 1
Confidential and Proprietary Information of ZTE CORPORATION 189
ZXA10 C220 Command Manual (Volume I)
RelatedCommands
show port-location port
port-location sub-option remote-idname
Syntax port-location sub-option remote-id name string vport portid
Purpose To configure local port DHCP remote ID name
Usage Guideline The following table provides parameter description:
Parameter Description Value
string Remote ID Range: 1 – 64characters
vport portid VPORT ID Range: 1 – 255
Mode ZXAN(config-if)#
Example The following example displays how to configure local port DHCPremote ID name:ZXAN(config-if)#port-location sub-option remote-id name name1 vport 1
RelatedCommands
show port-location port
show port-location flexible-syntax
Syntax show port-location flexible-syntax
Purpose To display port-location flexible syntax
Usage Guidelines None
Mode All modes except exec mode
Example The following example displays port-location flexible syntax:ZXAN#show port-location flexible-syntaxl
RelatedCommands
port-location flexible-syntax
show port-location global
Syntax show port-location global
Purpose To display the global port-location information
Usage Guidelines None
Mode ZXAN(config)#
Example The following example displays the global port-location informa-tion:
190 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 16 Port Location
ZXAN#show port-location globalidentifer : inband-macrackno : 3frameno : 8hostname : ZTE
RelatedCommands
port-location access-node-identifier
port-location hostname
port-location rackno frameno
show port-location port
Syntax show port-location port interface [{vport portid | pvc pvcid}]
Purpose To display the port-location information
Usage Guidelines The following table provides parameter description:
Parameter Description Value
port interface Shelf, slot and portnumber; OLT andONU IDs
Range: 1 – 127characters
vport portid Virtual port number Range: 1 – 255
pvc pvcid PVC number Range: 1 – 8
Mode All modes except exec mode
Example The following example displays the port based port-location con-figuration:ZXAN(config)# show port-location port gpon-onu_0/9/1:1 vport 1
RelatedCommands
port-location format
port-location sub-option remote-id
port-location sub-option remote-id name
DHCP Option 82Configurationdhcp-option82
Syntax dhcp-option82 {enable | disable}
Purpose To enable or disable DHCP Option82
Usage Guidelines The following table provides parameter description:
Confidential and Proprietary Information of ZTE CORPORATION 191
ZXA10 C220 Command Manual (Volume I)
Parameter Description Value
enable Enable DHCPOption82
-
disable Disable DHCPOption82
-
Mode ZXAN#
Example The following example displays how to enable DHCP Option82:ZXAN(config)# dhcp-option82 enable
RelatedCommands
show dhcp-option82 global
dhcp option82 vport
Syntax dhcp-option82 {enable | disable} vport portid
Purpose To enable or disable port DHCP Option82
Usage Guidelines The following table provides parameters description:
Parameter Description Value
enable Enable port DHCPOption82
-
disable Disable port DHCPOption82
-
portid GEM port number -
Mode ZXAN(config-if)#
Example The following example displays how to enable port 1 DHCP Op-tion82:ZXAN(config-if)# dhcp-option82 enable vport 1
RelatedCommands
show dhcp-option82 port
dhcp-option82 trust
Syntax dhcp-option82 trust {true {keep | replace} | false {discard| add}} vport portid
Purpose To configure a particular port as a trustworthy port
Usage Guidelines The following table provides parameter description:
Parameter Description Value
keep Keep DHCP requestpacket option82 oroption128
-
192 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 16 Port Location
Parameter Description Value
replace Replace DHCP requestpacket option82 oroption128
-
add Add option82 to theDHCP option82 oroption128 packet
-
discard Discard DHCP requestpacket option82 oroption128
-
vport port-index Virtual port index Range: 1 – 255
Mode ZXAN(config-if)#
Example The following example displays how to configure a particular portas a trustworthy port:ZXAN(config-if)#dhcp-option82 trust true keep vport 1
RelatedCommands
show dhcp-option82 port
show dhcp-option82 global
Syntax show dhcp-option82 global
Purpose To display global status of option82 and option128
Usage Guidelines None
Mode All modes except exec mode
Example The following example displays global status of option82 and op-tion128:ZXAN#show dhcp-option82 globaloption82 status : disableoption128 status : disable
RelatedCommands
show dhcp-option82 global
dhcp-option128
show dhcp-option82 port
Syntax show dhcp-option82 port interface [{vport portid | pvc pvcid}]
Purpose To display port option82 and option128 status and port trustworthyand option82 management policy
Usage Guidelines The following table provides parameter description:
Confidential and Proprietary Information of ZTE CORPORATION 193
ZXA10 C220 Command Manual (Volume I)
Parameter Description Value
interface Interface Range: 1 – 127characters
Format: type_shelf/slot/{port-no | olt:onu}
pvc pvcid PVC number Range: 1 – 8
vport portid GEM port number Range: 1 – 255
Mode All modes except exec mode
Example The following example displays port option82 and option128 statusand port trustworthy and option82 management policy:ZXAN(config-if)#show dhcp-option82 portgpon-onu_0/9/1:1 vport 1Onu Vport Option82 status Option128status Trust Policygpon-onu_0/9/1 1 enable disable truekeep
RelatedCommands
show dhcp-option82 global
dhcp-option128
dhcp-option82 trust
RelatedInformation
When port type is configured as trust and true, policy can onlybe configured as keep or replace. When port type is configuredas trust and false, policy can only be configured as discard oradd.
PPPoE+ Configurationpppoe-plus
Syntax pppoe-plus {enable | disable}
Purpose To enable or disable PPPoE+ globally
Usage Guidelines The following table provides parameter description:
Parameter Description Value
disable Disable the PPPoE+function
-
enable Enable the PPPoE+function
-
Mode ZXAN(config)#
Example The following example displays how to enable PPPoE+ globally:ZXAN(config)# pppoe-plus enable
194 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 16 Port Location
RelatedCommands
show pppoe-plus global
pppoe-plus vport
Syntax pppoe-plus {enable | disable} vport portid
Purpose To enable or disable virtual PPPoE+ port
Usage Guidelines The following table provides parameter description:
Parameter Description Value
enable Enable virtual PPPoE+ -
disable Disable virtualPPPoE+
-
vport portid Virtual port nubmer Range: 0 – 255characters
Mode ZXAN(config-if)#
Example The following example displays how to enable virtual PPPoE+ port:ZXAN(config-if)#pppoe-plus enable vport 1
RelatedCommands
show pppoe-plus port
pppoe-plus trust
Syntax pppoe-plus trust {true {keep | replace} | false {discard | add}}vport portid
Purpose To configure PPPoE+ trustworthy port policy
Usage Guideline The following table provides parameter description:
Parameter Description Value
keep Keep PPPoE uplinkpackets containingoption105
-
replace Replace PPPoE uplinkpackets containingoption105
-
discard Discard PPPoE uplinkpackets containingoption105
-
add Add anotheroption105 afterPPPoE uplink packetoption105
-
vport portid GEM port number Range: 1 – 255
Confidential and Proprietary Information of ZTE CORPORATION 195
ZXA10 C220 Command Manual (Volume I)
Mode ZXAN(config-if)#
Example The following example displays how to configure PPPoE+ trustwor-thy port policy:ZXAN(config-if)# pppoe-plus trust true replace vport 1
RelatedCommands
None
show pppoe-plus global
Syntax show pppoe-plus global
Purpose To display the PPPoE+ global information
Usage Guidelines None
Mode All modes except the exec mode
Example The following example displays the PPPoE+ global information:ZXAN(config)#show pppoe-plus globalpppoe-plus status : enable
RelatedCommands
pppoe-plus
show pppoe-plus port
Syntax show pppoe-plus port interface [{vport portid | pvc pvcid}]
Purpose To display port PPPoE+ status
Usage Guidelines
Parameter Description Value
interface Interface number.
Format: type_shelf/slot/{port-no | olt:onu}
Range: 1 – 127characters
pvc pvcid PVC number Range: 1 – 8
vport portid GEM number Range: 1 – 255
Mode All modes except exec mode
Example The following example displays interface PPPoE+ status:ZXAN(config)#show pppoe-plus port gpon-onu_0/9/1:1vport 1Onu Vport Pppoe-plus statusgpon-onu_0/9/1 1 disable
RelatedCommands
pppoe-plus vport
196 Confidential and Proprietary Information of ZTE CORPORATION
Figures
Figure 1 Console Port Setup ................................................. 1
Figure 2 HyperTerminal Connection Interface ........................ 2
Figure 3 Connect To Interface .............................................. 2
Figure 4 COM1 Properties Interface....................................... 3
Figure 5 HyperTerminal Application Interface ......................... 3
Figure 6 HyperTerminal Interface ......................................... 4
Figure 7 Starting NetNumen N31 Server ................................ 5
Figure 8 UMS Server Interface.............................................. 5
Figure 9 Final UMS Server Interface ...................................... 6
Figure 10 Starting NetNumen N31 Client ............................... 6
Figure 11 UMS Client Interface ............................................. 7
Figure 12 NetNumen N31 Client Login Interface...................... 7
Figure 13 NetNumen N31 Main Interface ............................... 8
Figure 14 Run Interface....................................................... 9
Figure 15 Telnet Window Interface ........................................ 9
Confidential and Proprietary Information of ZTE CORPORATION 197
ZXA10 C220 Command Manual (Volume I)
This page is intentionally blank.
198 Confidential and Proprietary Information of ZTE CORPORATION
Tables
Table 1 Chapter Summary .................................................... i
Table 2 Typographical Conventions.........................................ii
Table 3 Mouse Operation Conventions ................................... iii
Confidential and Proprietary Information of ZTE CORPORATION 199
ZXA10 C220 Command Manual (Volume I)
This page is intentionally blank.
200 Confidential and Proprietary Information of ZTE CORPORATION
Index
AAccess Modes......................1activate............................47add-card ..........................35add-rack ..........................36add-shelf..........................36alarm {enable |disable}........................ 123alarm confirm ................. 124alarm level-change .......... 125alarm trap-confirm .......... 124alarm trap-control ........... 125
Bbanner incoming ...............14
Ccd ...................................59clear alarm counter.......... 129clear alarm pool .............. 128clear logging alarm .......... 105clear logging command .... 106clear logging snmp .......... 106clear processor................ 106clock................................77clock set ..........................78clock timezone ..................78configure terminal .............14confirm-card .....................40copy .............................. 101copy (FTP Client)........60, 102
Ddebug alarm ................... 133debug all ........................ 132debug arp ...................... 133debug dhcp-option82 ....... 134debug group-manage-ment ............................ 134debug igmp all ................ 135debug ip......................... 136debug ip bgp all .............. 136debug ip bgpdampening.................... 137debug ip bgp events ........ 137debug ip bgp in ............... 137debug ip bgpkeepalives..................... 138debug ip bgp out ............. 138
debug ip bgp updates....... 139debug ip destination ........ 139debug ip dhcp ................. 140debug ip icmp ................. 140debug ip icmp detail ........ 140debug ip igmp................. 141debug ip igmp-snoop-ing ............................... 141debug ip interface............ 142debug ip msdp ................ 143debug ip multicast ........... 142debug ip ospf adj............. 143debug ip ospf all.............. 144debug ip ospf cspf ........... 144debug ip ospfdatabase-timer .............. 145debug ip ospf events........ 145debug ip ospf flood .......... 145debug ip ospflsa-generation ............... 146debug ip ospf nsf............. 146debug ip ospf packet........ 147debug ip ospfretransmission............... 147debug ip ospf spf............. 147debug ip ospf tree ........... 148debug ip pim-snooping..... 148debug ip pimsml....... 149–150debug ip protocol ............ 150debug ip rip .................... 151debug ip rip all ................ 151debug ip rip database ...... 152debug ip rip trigger.......... 152debug ip source............... 152debug ip tcp all ............... 153debug ip tcp driver .......... 153debug ip tcp driver-pak .... 154debug ip tcp packet ......... 154debug ip tcptransactions .................. 155debug ip udp .................. 155debug iptv all.................. 156debug isis adj-packets...... 157debug isis all................... 157debug isis nsf-event......... 158debug isis snp-packets ..... 158debug isis spf-events ....... 158debug isis update-pack-ets ............................... 159debug lacp all ................. 159debug lacp fsm ............... 160debug lacp packet ........... 160debug mstp agreement .... 161
Confidential and Proprietary Information of ZTE CORPORATION 201
ZXA10 C220 Command Manual (Volume I)
debug mstp all ................ 162debug mstp bpdu-rx ........ 162debug mstp bpdu-tx ........ 163debug mstp errors ........... 163debug mstp flush............. 164debug mstp info .............. 164debug mstp migration ...... 165debug mstp proposals ...... 165debug mstp roles ............ 166debug mstp state ............ 166debug mstp tc................. 167debug nas ...................... 167debug port-location ......... 168debug pppoe-plus all........ 169debug radiusaccounting .................... 169debug radius all .............. 170debug radiusauthentication packet ..... 170debug radius exception .... 171debug radius user............ 172debug syscomm .............. 172debug sysctrl .................. 173debug version-mng.......... 173debug vlan ..................... 174debug vrrp ..................... 175del-card ...........................37del-rack ...........................37del-shelf...........................38delete ..............................61dhcp option82 vport......... 192dhcp-option82................. 191dhcp-option82 trust ......... 192dir ...................................61disable.............................15display .............................62download version ..............48
Eenable .............................15enable secret ....................15end .................................16erase version ....................48exit .................................17external-input ...................79external-output .................80
Ffan control........................43fan speed .........................44format flash......................63
GGeneral CommandSyntax............................11
Hhostname.........................17HyperTerminal.....................1
Iip ftp password ............... 102ip ftp username............... 103
Lline console abso-lute-timeout ....................67line console idle-timeout.....68line telnet absolute-time-out.................................68line telnet access-class.......69line telnet idle-timeout .......70logging buffer ................. 107logging console ............... 107logging filesavetime ......... 108logging ftp...................... 109logging level ................... 110logging mode.................. 110logging on ...................... 112logging snmplog-save ...... 111login ................................70Login Modes .......................9login-authentica-tion-type.........................71login-authorization-type .....71logout ..............................71
Mmac add......................... 177mac aging-time............... 178mac delete ..................... 178mac monitor-period ......... 179mac usage-threshold ....... 180main-backup version..........49mkdir...............................63multi-user configure ..........18
NNetNumen..........................4nvram boot-password ........19nvram boot-server.............19nvram boot-username........20nvram config-filename .......20nvram default-gateway ......21nvram imgfile-location........22nvram inband-mac ............23nvram mng-ip-address .......22nvram outband-mac ..........24
202 Confidential and Proprietary Information of ZTE CORPORATION
Index
Ppatch load ........................55patch unload.....................55port-location ac-cess-loop-encapsula-tion .............................. 185port-location ac-cess-node-identifier........ 186port-location flexible-syn-tax............................... 186port-location flexible-syn-tax add delimiter............ 186port-location flexible-syn-tax add variable............. 187port-location format......... 189port-location hostname .... 188port-location racknoframeno........................ 188port-location sub-optionremote-id...................... 189port-location sub-optionremote-id name............. 190pppoe-plus ..................... 194pppoe-plus trust.............. 195pppoe-plus vport ............. 195pwd.................................64
Qquit ........................... 49, 72
Rreboot..............................25reload ..............................26rename ............................64reset-at-suspend ...............40reset-card ........................38rlogin...............................72rmdir ...............................65rmon alarm ......................95rmon collection history .......96rmon collection statistics.....97rmon event.......................98route-map ........................26
Sscript ...............................73show alarm..................... 126show alarm configure....... 126show alarm counter ......... 127show alarm pool.............. 126show alarm-level ............. 128show card ........................39show clock........................29show clock config ........ 29, 81show cmdlogfile .............. 113show compound-version .....49show debugging .............. 176
show dhcp-option82global ........................... 193show dhcp-option82port ............................. 193show fan ..........................44show history .....................73show loggingalarm ......................56, 114show logging configure..... 115show mac....................... 180show mac aging-time....... 181show mac monitor-info..... 182show mac running ........... 182show mac system............ 183show monitor....................74show msan .......................74show nvram......................24show port-locationflexible-syntax ............... 190show port-locationglobal ........................... 190show port-location port .... 191show pppoe-plus global .... 196show pppoe-plus port....... 196show processor ............... 116show rmon .......................99show route-map................32show running-config ..........30show snmp.......................83show snmp config..............84show snmp engine-id .........84show snmp group ..............85show snmp user ................85show snmplogfile............. 112show source active ...... 79, 81show sync-status...............53show system-group ...........31show terminal ...................75show time-range ...............32show update-status ...........50show username.................33show users .......................33show version ....................34show version-running.........51show version-saved ...........52snmp-server access-list......86snmp-server community.....86snmp-server contact ..........87snmp-server context..........87snmp-server enableinform ............................88snmp-server engine-id .......88snmp-server host ..............90snmp-server location .........91snmp-server packetsize......91snmp-servertrap-source .....................92snmp-server user ..............92snmp-server view..............93swap ...............................39
Confidential and Proprietary Information of ZTE CORPORATION 203
ZXA10 C220 Command Manual (Volume I)
syslog exclude-snmp........ 118syslog-server .................. 116syslog-server host ........... 117
Ttelnet...............................75Telnet ................................8telnet mng .......................76telnet onu ........................76terminal monitor ............. 176time-range .......................26
Uunm on .......................... 119unm server..................... 119update-boot......................53update-cpld ......................56update-version..................54username.........................27
Vversion ............................28
Wwho.................................28write................................65write alarmlog................. 120write cmdlog................... 120write flash ........................66write logging................... 121write nvram......................66write snmplog ................. 121
204 Confidential and Proprietary Information of ZTE CORPORATION
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 (IS-IS)
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
Confidential and Proprietary Information of ZTE CORPORATION 205
ZXA10 C220 Command Manual (Volume I)
PVC - Permanent Virtual Circuits
RIP - Routing Information Protocol
RMON - Remote Monitoring
RP - Rendezvous Point
SNMP - Simple Network Management Protocol
SNP - Sequence Number Protocol
SPF - Shortest Path First
TCP - Transmission Control Protocol
TFTP - Trivial File Transfer Protocol
UDP - User Datagram Protocol
UNM - Unified Network Management
VLAN - Virtual Local Area Network
VRRP - Virtual Router Redundancy Protocol
206 Confidential and Proprietary Information of ZTE CORPORATION