You are on page 1of 222

ZXA10 C220

GPON Optical Access Convergence


Equipment

Command Manual (Volume I)


Version 1.1.2

ZTE CORPORATION
ZTE Plaza, Keji Road South,
Hi-Tech Industrial Park,
Nanshan District, Shenzhen,
P. R. China
518057
Tel: (86) 755 26771900
Fax: (86) 755 26770801
URL: http://ensupport.zte.com.cn
E-mail: support@zte.com.cn

LEGAL INFORMATION
Copyright 2006 ZTE CORPORATION.
The contents of this document are protected by copyright laws and international treaties. Any reproduction or distribution of
this document or any portion of this document, in any form by any means, without the prior written consent of ZTE CORPORATION is prohibited. Additionally, the contents of this document are protected by contractual confidentiality obligations.
All company, brand and product names are trade or service marks, or registered trade or service marks, of ZTE CORPORATION
or of their respective owners.
This document is provided as is, and all express, implied, or statutory warranties, representations or conditions are disclaimed, including without limitation any implied warranty of merchantability, fitness for a particular purpose, title or non-infringement. ZTE CORPORATION and its licensors shall not be liable for damages resulting from the use of or reliance on the
information contained herein.
ZTE CORPORATION or its licensors may have current or pending intellectual property rights or applications covering the subject
matter of this document. Except as expressly provided in any written license between ZTE CORPORATION and its licensee,
the user of this document shall not acquire any license to the subject matter herein.
ZTE CORPORATION reserves the right to upgrade or make technical change to this product without further notice.
Users may visit ZTE technical support website http://ensupport.zte.com.cn to inquire related information.
The ultimate right to interpret this product resides in ZTE CORPORATION.

Revision History
Revision No.

Revision Date

Revision Reason

1.0

31/03/2009

First Edition

Serial Number: sjzl20093769

Contents

Preface............................................................... i
Overview ...........................................................1
Access Modes................................................................. 1
HyperTerminal............................................................ 1
NetNumen ................................................................. 4
Telnet ....................................................................... 8
Login Modes .................................................................. 9
General Command Syntax ..............................................11

Basic System Management .............................. 13


banner incoming ...........................................................13
configure terminal .........................................................14
disable .........................................................................15
enable .........................................................................15
enable secret ................................................................15
end .............................................................................16
exit .............................................................................17
hostname .....................................................................17
multi-user configure.......................................................18
nvram boot-password ....................................................18
nvram boot-server.........................................................19
nvram boot-username....................................................20
nvram config-filename ...................................................20
nvram default-gateway ..................................................21
nvram imgfile-location....................................................22
nvram mng-ip-address ...................................................22
nvram inband-mac ........................................................23
nvram outband-mac ......................................................24
show nvram..................................................................24
reboot..........................................................................25
reload ..........................................................................25
route-map ....................................................................26

time-range ...................................................................26
username .....................................................................27
version.........................................................................28
who .............................................................................28
show clock....................................................................29
show clock config ..........................................................29
show running-config ......................................................30
show system-group .......................................................31
show route-map ............................................................32
show time-range ...........................................................32
show username .............................................................33
show users ...................................................................33
show version ................................................................34

Hardware Management ................................... 35


add-card ......................................................................35
add-rack ......................................................................36
add-shelf......................................................................36
del-card .......................................................................37
del-rack .......................................................................37
del-shelf.......................................................................38
reset-card ....................................................................38
show card.....................................................................39
swap............................................................................39
confirm-card .................................................................40
reset-at-suspend ...........................................................40
lock-card ......................................................................41
unlock-card ..................................................................41

Fan Management ............................................. 43


fan control....................................................................43
fan high-threshold .........................................................43
fan speed .....................................................................44
show fan ......................................................................44

Version Management....................................... 47
activate version.............................................................47
download version ..........................................................48
erase version ................................................................48
main-backup version......................................................48
quit .............................................................................49
show compound-version .................................................49
show update-status .......................................................50

show version-running.....................................................51
show version-saved .......................................................52
show sync-status...........................................................53
update-boot..................................................................53
update-version..............................................................54
patch load ....................................................................55
patch unload.................................................................55
show patchstate ............................................................56
update-cpld ..................................................................56

File System Management................................. 59


cd ...............................................................................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 ........................................... 67


line console absolute-timeout ..........................................67
line console idle-timeout.................................................68
line telnet absolute-timeout ............................................68
line telnet access-class ...................................................69
line telnet idle-timeout ...................................................70
login ............................................................................70
logout ..........................................................................71
login-authentication-type................................................71
login-authorization-type .................................................71
quit .............................................................................72
rlogin...........................................................................72
script ...........................................................................73
show history .................................................................73
show monitor................................................................74
show msan ...................................................................74
show terminal ...............................................................75

telnet...........................................................................75
telnet mng....................................................................76
telnet onu ....................................................................76

Clock Management .......................................... 77


clock............................................................................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.......................................... 83
show snmp ...................................................................83
show snmp config..........................................................84
show snmp engine-id .....................................................84
show snmp group ..........................................................85
show snmp user ............................................................85
snmp-server access-list ..................................................86
snmp-server community.................................................86
snmp-server contact ......................................................87
snmp-server context ......................................................87
snmp-server enable .......................................................88
snmp-server engine-id ...................................................88
snmp-server group ........................................................89
snmp-server host ..........................................................90
snmp-server location .....................................................91
snmp-server packetsize..................................................91
snmp-server trap-source ................................................92
snmp-server user ..........................................................92
snmp-server view ..........................................................93

RMON Management ......................................... 95


rmon alarm ..................................................................95
rmon collection history ...................................................96
rmon collection statistics ................................................97
rmon event...................................................................98
show rmon ...................................................................99

FTP/TFTP Server ........................................... 101


copy .......................................................................... 101

copy .......................................................................... 102


ip ftp password ........................................................... 102
ip ftp username........................................................... 103

System Log and Statistics Management ........ 105


clear 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 ....................................... 123


alarm {enable | disable} .............................................. 123
alarm confirm ............................................................. 124
alarm trap-confirm ...................................................... 124
alarm trap-control ....................................................... 125
alarm level-change ...................................................... 125
show alarm................................................................. 126
show alarm config ....................................................... 126
show alarm pool .......................................................... 126
show alarm counter ..................................................... 127

show alarm-level ......................................................... 128


clear alarm pool .......................................................... 128
clear alarm counter...................................................... 129

Debugging..................................................... 131
debug all .................................................................... 132
debug alarm ............................................................... 133
debug arp................................................................... 133
debug dhcp-option82 ................................................... 133
debug group-management............................................ 134
debug igmp ................................................................ 135
debug ip..................................................................... 136
debug ip bgp all .......................................................... 136
debug ip bgp dampening .............................................. 137
debug ip bgp events .................................................... 137
debug ip bgp in ........................................................... 137
debug ip bgp keepalives ............................................... 138
debug ip bgp out ......................................................... 138
debug ip bgp updates................................................... 139
debug ip destination .................................................... 139
debug ip dhcp ............................................................. 140
debug ip icmp ............................................................. 140
debug ip icmp detail .................................................... 140
debug ip igmp............................................................. 141
debug ip igmp-snooping ............................................... 141
debug ip interface........................................................ 141
debug ip multicast ....................................................... 142
debug ip msdp ............................................................ 143
debug ip ospf adj......................................................... 143
debug ip ospf all.......................................................... 144
debug ip ospf cspf ....................................................... 144
debug ip ospf database-timer ........................................ 145
debug ip ospf events.................................................... 145
debug ip ospf flood ...................................................... 145
debug ip ospf lsa-generation ......................................... 146
debug ip ospf nsf......................................................... 146
debug ip ospf packet.................................................... 146
debug ip ospf retransmission......................................... 147
debug ip ospf spf......................................................... 147
debug ip ospf tree ....................................................... 148
debug ip pim-snooping ................................................. 148

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......................................... 177


mac add..................................................................... 177
mac aging-time ........................................................... 178
mac delete ................................................................. 178
mac monitor-period ..................................................... 179
mac usage-threshold ................................................... 180
show mac................................................................... 180
show mac aging-time ................................................... 181
show mac monitor-info................................................. 182
show mac running ....................................................... 182
show mac system ........................................................ 183

Port Location................................................. 185


Port 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 the


operation of the ZXA10 C220 (V1.1.2).

Intended
Audience

This document is intended for engineers, technicians and subscribers who perform operation activities on the ZXA10 C220.

Prerequisite Skill
and Knowledge

To use this manual effectively, subscribers should have a general


understanding of network technology. Familiarity with the following is helpful:

What Is in This
Manual

Networking basics

Access Network (AN) technologies

GPON technology

ZXA10 C220 system and its various components

This manual contains the following chapters:


TABLE 1 CHAPTER SUMMARY
Chapter

Summary

Chapter 1, Overview

Describes the device access


modes, login modes, and general
command syntax.

Chapter 2, Basic System


Management

Describes the commands related


to basic system management.

Chapter 3, Hardware Management

Describes the commands related


to hardware management.

Chapter 4, Fan Management

Describes the commands related


to fan management.

Chapter 5, Version Management

Describes the commands related


to version management.

Chapter 6, File System


Management

Describes the commands related


to file system management.

Chapter 7, User Management

Describes the commands related


to user management.

Chapter 8, Clock Management

Describes the commands related


to clock management.

Chapter 9, SNMP Management

Describes the commands related


to SNMP management.

Chapter 10, RMON Management

Describes the commands related


to RMON management.

Chapter 11, FTP/TFTP Server

Describes the commands related


to FTP/TFTP server.

Confidential and Proprietary Information of ZTE CORPORATION

ZXA10 C220 Command Manual (Volume I)

Related
Documentation

Conventions

Chapter

Summary

Chapter 12, System Log and


Statistics Management

Describes the commands related


to system log and statistics
management.

Chapter 13, Alarm Management

Describes the commands related


to alarm management.

Chapter 14, Debugging

Describes the commands related


to debugging.

Chapter 15, MAC Configuration

Describes the commands related


to MAC configuration.

Chapter 16, Port Location

Describes the commands related


to port location.

The following documentation is related to this manual:

ZXA10 C220 (V1.1.2) GPON Optical Access Convergence


Equipment Documentation Guide

ZXA10 C220 (V1.1.2) GPON Optical Access Convergence


Equipment Technical Manual

ZXA10 C220 (V1.1.2) GPON Optical Access Convergence


Equipment Hardware Manual

ZXA10 C220 (V1.1.2) GPON Optical Access Convergence


Equipment Hardware Installation Manual

ZXA10 C220 (V1.1.2) GPON Optical Access Convergence


Equipment Command Manual (Volume II)

ZXA10 C220 (V1.1.2) GPON Optical Access Convergence


Equipment Command Manual (Volume III)

ZXA10 C220 (V1.1.2) GPON Optical Access Convergence


Equipment Command Manual (Volume IV)

ZXA10 C220 (V1.1.2) GPON Optical Access Convergence


Equipment Operation Manual (CLI)

ZXA10 C220 (V1.1.2) GPON Optical Access Convergence


Equipment Operation Manual (NetNumen)

ZXA10 C220 (V1.1.2) GPON Optical Access Convergence


Equipment Maintenance Manual

ZTE documents employ the following typographical conventions.


TABLE 2 TYPOGRAPHICAL CONVENTIONS

ii

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.

Confidential and Proprietary Information of ZTE CORPORATION

Preface

Typeface

Meaning

CAPS

Keys on the keyboard and buttons on screens and


company name.

Constant
width

Text that you type, program code, files and directory


names, and function names.

[ ]

Optional parameters

{ }

Mandatory parameters

Select one of the parameters that are delimited by it.


Note: Provides additional information about a certain
topic.

Note:

Checkpoint: Indicates that a particular step needs to


be checked before proceeding further.

Checkpoint:

Tip:

Tip: Indicates a suggestion or hint to make things


easier or more productive for the reader.

Mouse Operation Conventions are as follows:


TABLE 3 MOUSE OPERATION CONVENTIONS

How to Get in
Touch

Typeface

Meaning

Click

Refers to clicking the primary mouse button (usually the


left mouse button) once.

Doubleclick

Refers to quickly clicking the primary mouse button


(usually the left mouse button) twice.

Right-click

Refers to clicking the secondary mouse button (usually


the right mouse button) once.

Drag

Refers to pressing and holding a mouse button and


moving the mouse.

The following sections provide information on how to obtain support for the documentation and the software.
Customer Support
If you have problems, questions, comments, or suggestions
regarding your product, contact us by e-mail at support@zt
e.com.cn. You can also call our customer support center at
(86) 755 26771900 and (86) 800-9830-9830.
Documentation Support
ZTE welcomes your comments and suggestions on the qual
ity and usefulness of this document. For further questions,
comments, or suggestions on the documentation, you can
contact us by e-mail at doc@zte.com.cn; or you can fax
your comments and suggestions to (86) 755 26772236. You
can also browse our website at http://support.zte.com.cn,

Confidential and Proprietary Information of ZTE CORPORATION

iii

ZXA10 C220 Command Manual (Volume I)

which contains various interesting subjects like documentat


ion, knowledge base, forum and service request.
Declaration of
RoHS Compliance

To minimize the environmental impact and take more responsibility


to the earth we live, this document shall serve as formal declaration that ZXA10 C220 manufactured by ZTE CORPORATION is in
compliance with the Directive 2002/95/EC of the European Parliament - RoHS (Restriction of Hazardous Substances) with respect
to the following substances:

Lead (Pb)

Mercury (Hg)

Cadmium (Cd)

Hexavalent Chromium (Cr (VI))

PolyBrominated Biphenyls (PBBs)

PolyBrominated Diphenyl Ethers (PBDEs)

This declaration is issued based on our current level of knowledge.


Since conditions of use are outside our control, ZTE CORPORATION
makes no warranties, express or implied, and assumes no liability in
connection with the use of this information.

iv

Confidential and Proprietary Information of ZTE CORPORATION

Chapter

Overview
Table of Contents
Access Modes..................................................................... 1
Login Modes ...................................................................... 9
General Command Syntax ..................................................11

Access Modes
This topic includes the following:

HyperTerminal

NetNumen

Telnet

HyperTerminal
Short Description
Prerequisites
Context
Steps

Perform this procedure to configure HyperTerminal.


Make sure that HyperTerminal is installed in computer and working
normally. ZXA10 C220should be able to ping the computer.
To configure HyperTerminal, perform the following steps:
1. Port Connection Setup: Use a serial cable to connect Computer 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

ZXA10 C220 Command Manual (Volume I)

2. HyperTerminal Setup:
i.

In Windows, click start > Programs > Accessories >


Communications > HyperTerminal. Connection interface appears as shown in Figure 2.
FIGURE 2 HYPERTERMINAL CONNECTION INTERFACE

ii. In Connection Description interface, input connection


name as shown in Figure 2.
iii. Click OK to enter Connect To interface as shown in Figure
3
FIGURE 3 CONNECT TO INTERFACE

Confidential and Proprietary Information of ZTE CORPORATION

Chapter 1 Overview

iv. In Connect To interface, select COM1 from the Connect


using drop-down list.
v. Click OK to enter COM1 Properties interface as shown in
Figure 4.
FIGURE 4 COM1 PROPERTIES INTERFACE

vi. Click Restore Defaults to change the port configuration


to default value as shown in Figure 4.
vii. Click OK to finish the configuration and a HyperTerminal
application interface appears as shown in Figure 5.
FIGURE 5 HYPERTERMINAL APPLICATION INTERFACE

Confidential and Proprietary Information of ZTE CORPORATION

ZXA10 C220 Command Manual (Volume I)

viii.Input username and password. By default, username


and password is zte. The final interface appears as shown
in Figure 6.
FIGURE 6 HYPERTERMINAL INTERFACE

If login fails, click Disconnect


and then click Call . If
login still fails, check parameter configuration or physical
connections. Do not login until configuration is correct.
END
Result

OF STEPS

HyperTerminal is configured successfully.

NetNumen

Short Description

Perform this procedure to access NE via NetNumen N31 (for management).

Prerequisites

Make sure that NetNumen N31 NMS and SQL Server 2000 database are installed on the computer and working normally.

Context

To access NE via NetNumen N31 System, perform the following


steps:

Steps

1. Select Start > Programs > NetNumen N31 > NetNumen


N31 Server to start UMS Server as shown in Figure 7.

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

ZXA10 C220 Command Manual (Volume I)

FIGURE 9 FINAL UMS SERVER INTERFACE

2. Start the client as: Start > NetNumen N31 > NetNumen
N31 Client as shown in Figure 7.
FIGURE 10 STARTING NETNUMEN N31 CLIENT

The interface appears as shown in Figure 11.

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 to


enter the main interface as shown in Figure 13.

Confidential and Proprietary Information of ZTE CORPORATION

ZXA10 C220 Command Manual (Volume I)

FIGURE 13 NETNUMEN N31 MAIN INTERFACE

The above interface shows management pane on the left and


NE pane on the right side. Right-click NE to access NE for
operation.
END
Result

OF STEPS

NE access (after NetNumen N31 system startup) is complete.

Telnet
The user can login to the system through Telnet from NMS or any
computer from where the user can ping system in-band or out-ofband IP address.
In Windows Operating System, select start > Run, and type telnet
X.X.X.X (where X.X.X.X is the in-band or out-of-band IP address
of ZXA10 C220) as shown in Figure 14.

Confidential and Proprietary Information of ZTE CORPORATION

Chapter 1 Overview

FIGURE 14 RUN INTERFACE

After the connection is successful, enter username and password as zte. The system information is displayed in the CLI format, as shown in Figure 15 .
FIGURE 15 TELNET WINDOW INTERFACE

After the login, the user can perform relevant configurations and
operations on the system.

Login Modes
The following table lists the login modes.
Mode

DOS Prompt

Entry Mode
(From)

Entry Command

User mode

ZXAN>

Enter user mode


directly after login
the system

Confidential and Proprietary Information of ZTE CORPORATION

ZXA10 C220 Command Manual (Volume I)

10

Mode

DOS Prompt

Entry Mode
(From)

Entry Command

Privilege
mode

ZXAN#

User mode

enable

Global
configuration
mode

ZXAN(config)#

Privilege mode

configure terminal

Clock
configuration
mode

ZXAN(configclock)#

Global
configuration
mode

clock

Interface
configuration
mode

ZXAN(configif)#

Global
configuration
mode

interface

Router
configuration
mode

ZXAN(configrouter)#

Global
configuration
mode

router

Router
address
mode

ZXAN(configrouter-af)#

Router
configuration
mode

address-family

Router map
mode

ZXAN(configroute-map)

Global
configuration
mode

route-map

Standard
ACL
configuration
mode

ZXAN(configstd-acl)#

Global
configuration
mode

acl standard

Extended
ACL
configuration
mode

ZXAN(configext-acl)#

Global
configuration
mode

acl extended

Hybrid ACL
configuration
mode

ZXAN(confighybd-acl)#

Global
configuration
mode

acl hybrid

Link
layer ACL
configuration
mode

ZXAN(configlink-acl)#

Global
configuration
mode

acl link

VLAN
database
configuration
mode

ZXAN(vlan)#

Privilege mode

vlan database

VLAN
configuration
mode

ZXAN(configvlan)#

Global
configuration
mode

vlan

MSTP
configuration
mode

ZXAN (configmstp)#

Global
configuration
mode

spanning-tree mst
configuration

Confidential and Proprietary Information of ZTE CORPORATION

Chapter 1 Overview

Mode

DOS Prompt

Entry Mode
(From)

Entry Command

CES
configuration
mode

ZXAN(configces)#

Global
configuration
mode

ces

ZXAN(configsg)#

Global configuration mode

aaa
group-server
tacacs+

AAA-tacacs
server group
mode

General Command Syntax


All commands issued under ZXA10 C220 follow a general command syntax. The general command syntax is as follows:
command parameter
where,
command is main command. A command is a mandatory part of
command syntax.
parameter (mandatory or optional) can be sub-command (keyword), value or a combination of both. When used as a value, parameters are shown in italics. When used as a sub-command (keyword), parameters are shown in bold-face. There may be none,
single or multiple parameters after command. Commands usually require a value (such as a VLAN identifier), therefore, choose
an appropriate value wherever needed. Parameters are executed
as a part of a main command.
The following symbols are used in command syntax.

Example

{ }: Braces enclose a mandatory parameter. Any parameter(s)


contained within braces must be provided after the previous
parameter in a command.

[]: Square brackets enclose an optional parameter. Any parameter(s) contained within square brackets may or may not
be provided after the previous parameter in a command.

n1 | n2 |.. nn: Where n is a parameter included within


braces or square brackets and is separated by vertical bars |.
The symbol implies an exclusive-OR logic operation on n1 upto
nn. Choose a single n only (from n1 upto nn).

The following examples clarify the general command syntax and


use of symbols.

port-location access-node-identify {hostname | inbandmac}

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 command
issued 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

Chapter

Basic System
Management
Table of Contents
banner incoming ...............................................................13
configure terminal .............................................................14
disable .............................................................................15
enable .............................................................................15
enable secret ....................................................................15
end .................................................................................16
exit .................................................................................17
hostname .........................................................................17
multi-user configure ..........................................................18
nvram boot-password ........................................................18
nvram boot-server.............................................................19
nvram boot-username........................................................20
nvram config-filename .......................................................20
nvram default-gateway ......................................................21
nvram imgfile-location........................................................22
nvram mng-ip-address .......................................................22
nvram inband-mac ............................................................23
nvram outband-mac ..........................................................24
show nvram......................................................................24
reboot..............................................................................25
reload ..............................................................................25
route-map ........................................................................26
time-range .......................................................................26
username .........................................................................27
version ............................................................................28
who .................................................................................28
show clock........................................................................29
show clock config ..............................................................29
show running-config ..........................................................30
show system-group ...........................................................31
show route-map ................................................................32
show time-range ...............................................................32
show username.................................................................33
show users .......................................................................33
show version ....................................................................34

banner incoming
Syntax

banner incoming end-char TEXT end-char

Confidential and Proprietary Information of ZTE CORPORATION

13

ZXA10 C220 Command Manual (Volume I)

Purpose
Usage Guidelines

Mode

Example

To configure incoming terminal line banner


The following table provides parameter description:
Parameter

Description

Value

end-char

End character

1 character

TEXT

Greeting, ending with


an end character

1 255 characters,
including spaces and
carriage returns

ZXAN(config)#
The following example displays how to configure incoming terminal
line banner to welcome:
ZXAN(config)#banner incoming #
Enter TEXT message. End with the character #.
welcome
#

Related
Commands
Related
Information

None
Step 1: Set an end character, which is one character, such as #:
banner incoming #
Press the Enter key. Then the system displays the following information:
Enter TEXT message.

End with the character #

Step 2: Type the greeting text. It can include special characters


such as spaces and carriage return (except question mark ?), and
ends with #

Note:
The system considers question mark ? as a help sign. Therefore,
all the text parameters or passwords cannot include question mark
?.

configure terminal
Syntax
Purpose
Usage Guidelines
Mode

Example

configure terminal
To enter global configuration mode (from privileged mode)
None
ZXAN#
The following example displays how to enter global configuration
mode:
ZXAN#configure terminal
Enter configuration commands, one per line.
ZXAN(config)#

14

Confidential and Proprietary Information of ZTE CORPORATION

End with CNTL/Z.

Chapter 2 Basic System Management

Related
Commands

end

disable
Syntax
Purpose
Usage Guidelines
Mode

Example

disable
To return from the privileged mode to the user mode
None
ZXAN#
The following example displays how to return from the privileged
mode to the user mode:
ZXAN#disable
ZXAN>

Related
Commands

enable
exit

enable
Syntax
Purpose
Usage Guidelines
Mode

Example

enable
To enter privileged mode from the user mode
None
ZXAN>
The following example displays how to enter privileged mode from
the user mode:
ZXAN>enable
Password:
ZXAN#

Related
Commands
Related
Information

disable
Privileged user password is required.

Note:
By default, password is ZXAN and is case sensitive. When the password is typed, it is not displayed on the interface.

enable secret
Syntax
Purpose

enable secret {0 password | 5 password | password}


To configure the password for privileged mode

Confidential and Proprietary Information of ZTE CORPORATION

15

ZXA10 C220 Command Manual (Volume I)

Usage Guidelines

Mode

Example

The following table provides parameter description:


Parameter

Description

Value

0 password

Privileged password

Range: 3 16
characters

5 password

Encrypted privileged
password

Range: 24 characters

password

Default privileged
password

Range: 3 16
characters

ZXAN(config)#
The following example displays how to configure the password for
privileged mode to ZXAN:
ZXAN(config)#enable secret
ZXAN

Related
Commands
Related
Information

enable
Running configuration output displays encrypted enable password
while the password used to enter the privileged mode is unencrypted.

Note:
The enable secret 0 password and enable secret password commands are used to specify an unencrypted password. To specify encrypted password, use the enable secret 5 password command. The configured password is not encrypted unless the password length is 24 characters.

end
Syntax
Purpose
Usage Guidelines

end
To return to the privileged mode
None

Mode

The command is available for all modes except the user and privileged modes.

Example

The following example displays how to return to the privileged


mode:
ZXAN(config)#end
ZXAN#

16

Confidential and Proprietary Information of ZTE CORPORATION

Chapter 2 Basic System Management

Related
Commands

None

exit
Syntax
Purpose
Usage Guidelines
Mode

Example

exit
To end current session or return to previous mode
None
All modes
The following example displays how to return to previous mode:
ZXAN(config)#exit
ZXAN#

Related
Commands

configure
terminal
login
logout

Related
Information

When this command is executed under the user mode or privileged


mode, it ends current session; while in other modes, it returns to
previous mode.

hostname
Syntax

hostname network-name
no hostname

Purpose
Usage Guidelines

Mode

Example

To configure the network name of the system


The following table provides parameter description:
Parameter

Description

Value

network-name

Network name

Range: 1 64
characters

ZXAN(config)#
The following example displays how to configure the network name
of the system to test:
ZXAN(config)#hostname test

Related
Commands

None

Confidential and Proprietary Information of ZTE CORPORATION

17

ZXA10 C220 Command Manual (Volume I)

Related
Information

This command takes effect immediately after it is executed.

multi-user configure
Syntax

multi-user configure
no multi-user configure

Purpose
Usage Guidelines
Mode

Example

To configure multiple users to access the configuration mode


None
ZXAN(config)#
The following example displays how to permit multiple users and
a single user to access the configuration mode.

To permit multiple users to access the configuration mode when


no user is in the configuration mode:
ZXAN#configure terminal
ZXAN(config)#multi-user configure
%Warning: allow others configure, must avoid conflict.
ZXAN(config)#

If multiple users try to enter global configuration mode, the


system prompts with an error message:
ZXAN#configure terminal
%Simultaneous configs not allowed. Locked from 168.1.168.168
ZXAN#

This command cannot be disabled if a user is already in configuration mode:


ZXAN(config)#no multi-user conf
%Someone has entered the configure mode, cannot set single-user
configure!
ZXAN(config)#

Related
Commands
Related
Information

configure terminal
By default, only one user can access the global configuration mode.
Only after multi-user configure is executed, other users can access the global configuration mode. Before executing no multi-u
ser configure, make sure that all the other users have exited the
configuration mode.

Note:
When executing multi-user configure command, avoid conflict
between different users.

nvram boot-password
Syntax

18

nvram boot-password password

Confidential and Proprietary Information of ZTE CORPORATION

Chapter 2 Basic System Management

Purpose
Usage Guidelines

Mode

Example

To start FTP download setting for mapping file and specifying the
password of the FTP server for download
The following table provides parameter description:
Parameter

Description

Value

password

FTP password

Range: 3 16
characters

ZXAN(config)#
The following example displays how to start FTP download setting
for the mapping file and specifying the password of the FTP server
for download to pass:
ZXAN(config)#nvram boot-password pass

Related
Commands

nvram boot-server
nvram boot-username
nvram config-filename
nvram default-gateway
nvram imgfile-location
nvram mng-ip-address

Related
Information

The password can include numbers, letters, and special characters.


This command can be used with nvram boot-server, nvram
boot-username, nvram imgfile-location and nvram default
-gateway commands.

nvram boot-server
Syntax
Purpose
Usage Guidelines

Mode

Example

nvram boot-server ip-address


To enable the FTP download settings for mapping files and specifying the IP address of the FTP server for download
The following table provides parameter description:
Parameter

Description

Value

ip-address

IP address

A.B.C.D

ZXAN(config)#
The following example displays how to enable the FTP download
settings for mapping files and specifying the IP address of the FTP
server for download to 168.1.1.1:
ZXAN(config)#nvram bootserver 168.1.1.1

Related
Commands

nvram boot-password
nvram boot-username
nvram config-filename
nvram default-gateway

Confidential and Proprietary Information of ZTE CORPORATION

19

ZXA10 C220 Command Manual (Volume I)

nvram imgfile-location
nvram mng-ip-address
Related
Information

This command is used with the nvram boot-password,nvram


boot-username,nvram imgfile-location and nvram defaultgateway commands.

nvram boot-username
Syntax
Purpose
Usage Guidelines

Mode

Example

nvram boot-username username


To enable the FTP download setting for mapping files and to specify
the user name of the FTP server for download
The following table provides parameter description:
Parameter

Description

Value

username

FTP user name

Range: 1 16
characters

ZXAN(config)#
The following example displays how to enable the FTP download
setting for mapping files and specify the user name of the FTP
server for download to test:
ZXAN(config)#nvram boot-username test

Related
Commands

nvram boot-password
nvram boot-server
nvram config-filename
nvram default-gateway
nvram imgfile-location
nvram mng-ip-address

Related
Information

The password can include letters, numbers, and underscore. Letters are case insensitive.
The command is used with nvram boot-password, nvram boot
-server, nvram imgfile-location and nvram default-gateway
commands.

nvram config-filename
Syntax
Purpose
Usage Guidelines

20

nvram config-filename file-name


To specify name for startup configuration file
The following table provides parameter description:

Confidential and Proprietary Information of ZTE CORPORATION

Chapter 2 Basic System Management

Mode

Example

Parameter

Description

Value

file-name

Startup configuration
file name

Range: 0 40
characters

ZXAN(config)#
The following example displays how to specify name for startup
configuration file to start:
ZXAN(config)#nvram config-filename start

Related
Commands

nvram boot-password
nvram boot-server
nvram boot-username
nvram default-gateway
nvram imgfile-location
nvram mng-ip-address

nvram default-gateway
Syntax
Purpose
Usage Guidelines

Mode

Example

nvram default-gateway ip-address


To configure IP address of default gateway
The following table provides parameter description:
Description

Description

Value

ip-address

IP address of default
gateway

A.B.C.D

ZXAN(config)#
The following example displays how to configure the IP address of
the default gateway to 168.1.1.1:
ZXAN(config)#nvram default-gateway 168.1.1.1

Related
Commands

nvram boot-password
nvram boot-server
nvram boot-username
nvram config-filename
nvram imgfile-location
nvram mng-ip-address

Related
Information

This command is used with the nvram boot-password, nvram


boot-server, nvram imgfile-location, and nvram boot-usern
ame commands.

Confidential and Proprietary Information of ZTE CORPORATION

21

ZXA10 C220 Command Manual (Volume I)

nvram imgfile-location
Syntax
Purpose
Usage Guidelines

Mode

Example

nvram imgfile-location {local | network filename}


To configure image file boot-up location
The following table provides parameter description:
Parameter

Description

Value

local

The image file is


located locally

network

The image file is


located on the
network

filename

File name

Range: 1 80
characters

ZXAN(config)#
The following example displays how to configure image file boot-up
location:
1. To set local boot-up:
ZXAN(config)#nvram imgfile-location local

2. To set network boot-up:


ZXAN(config)#nvram imgfile-location network sys.img

Related
Commands

nvram boot-password
nvram boot-server
nvram boot-username
nvram config-filename
nvram default-gateway
nvram mng-ip-address

Related
Information

Filename can include letters, numbers, and special characters.


When network boot-up is set, filename can contain the path in
the specified FTP directory. For example, if the FTP directory is
sysm, and the current path is sysm/nets, filename can contain the
sub-path under this path.
This command is used with nvram boot-password, nvram boot
-server, nvram boot-username and nvram default-gateway
commands.

nvram mng-ip-address
Syntax
Purpose
Usage Guidelines

22

nvram mng-ip-address ip-address net-mask


To configure the IP address of the device MNG (management) interface
The following table provides parameter description:

Confidential and Proprietary Information of ZTE CORPORATION

Chapter 2 Basic System Management

Mode

Example

Parameter

Description

Value

ip-address

IP address of MNG
interface

A.B.C.D

net-mask

Subnet mask

A.B.C.D

ZXAN(config)#
The following example displays how to configure the IP address
of router MNG (management) interface to 168.1.1.1 and subnet
mask to 255.255.0.0:
ZXAN(config)#nvram mng-ip-address 168.1.1.1 255.255.0.0

Related
Commands

nvram boot-password
nvram boot-server
nvram boot-username
nvram config-filename
nvram default-gateway
nvram imgfile-location

Related
Information

The configured interface IP address should be in different network


segment from the local address.

nvram inband-mac
Syntax

nvram inband-mac mac-address

Purpose

To configure the in-band MAC address of the device

Usage Guidelines

The following table provides parameter description:

Mode

Example

Parameter

Description

Value

mac-address

MAC address

00d0.d0xx.xxxx (x
is a hexadecimal
number)

ZXAN(config)#
The following example displays how to configure the in-band MAC
address to 00d0.d064.0000:
ZXAN(config)#nvram inband-mac 00d0.d064.0000

Related
Commands
Related
Information

show nvram
nvram outband-mac
mac address requirements are:

Format: 00d0.d0xx.xxxx (x is a hexadecimal number)

The in-band MAC address should be different from the out-ofband 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 does


not display any information.

If the MAC address fails to be configured, the system displays


the following information:
Invalid MAC address

nvram outband-mac
Syntax
Purpose
Usage Guidelines

Mode

Example

nvram outband-mac mac address


To configure the out-of-band MAC address of the device.
The following table provides parameter description:
Parameter

Description

Value

mac address

MAC address

00d0.d0xx.xxxx (x
is a hexadecimal
number)

ZXAN(config)#
The following example displays how to configure the out-of-band
MAC address to 00d0.d000.1111:
ZXAN(config)#nvram outband-mac 00d0.d000.1111

Related
Commands
Related
Information

show nvram
nvram inband-mac
mac address requirements are as follows:

Format: 00d0.d0xx.xxxx (x is a hexadecimal number)

The out-of-band MAC address should be different from the outof-band address.

After the command is executed:

If the MAC address is successfully configured, the system does


not display any information.

If the MAC address fails to be configured, the system displays


the following information:
Invalid MAC address

show nvram
Syntax
Purpose
Usage Guidelines

24

show nvram {running | saved}


To display the NVRAM configuration
The following table provides parameter description:

Confidential and Proprietary Information of ZTE CORPORATION

Chapter 2 Basic System Management

Mode

Example

Parameter

Description

Value

running

Running information

saved

Saved information

ZXAN(config)#
The following example shows how to display the NVRAM running
configuration:
ZXAN(config)#show nvram running
Nvram configuration information:
mng-ip-address
: 10.63.196.234
mask
: 255.255.255.0
server-ip-address
: 10.63.196.236
Gateway-ip-address
: 10.63.196.254
boot-username
: c220
boot-password
: c220
ZXR10_SerialNo
: 2354
CfgFileName
: startrun.dat
Outband-mac-address
: 002d.0064.302d
Inband-mac-address
: 0031.0064.3024

Related
Commands

None

reboot
Syntax
Purpose
Usage Guidelines

reboot [rackno rackno] [shelfno shelfno]


To reboot the system
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

Example

ZXAN#
The following example displays how to reboot the system:
ZXAN#reboot
Please check whether data has saved
the unsaved data may lose if reboot active board
are you sure to reboot active board? [yes/no]:y
ZXAN#

Related
Commands

None

reload
Syntax

reload

Confidential and Proprietary Information of ZTE CORPORATION

25

ZXA10 C220 Command Manual (Volume I)

Purpose
Usage Guidelines
Mode

Example

To reload the system


None
ZXAN#
The following example displays how to reload the system:
ZXAN#reload
Proceed with reload? [yes/no]:y

Related
Commands

None

route-map
Syntax

route-map name [deny | permit] [sequence]


no route-map name [sequence]

Purpose
Usage Guidelines

Mode

Example

To access the route mapping configuration mode or configure the


route mapping of the system
The following table provides parameter description:
Parameter

Description

Value

name

Route mapping name

Range: 1 16
characters

deny | permit

Deny/Permit

sequence

Sequence to insert
into/delete from route
map

Range: 0 65535

ZXAN(config)#
The following example displays how to access the route mapping
mode:
ZXAN(config)#route-map test permit 2
ZXAN(config-route-map)#

Related
Commands

show route-map

time-range
Syntax

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 | wedn
esday | thursday | friday | saturday}
no time-range range-name

Purpose
Usage Guidelines

26

To configure the time range


The following table provides parameter description:

Confidential and Proprietary Information of ZTE CORPORATION

Chapter 2 Basic System Management

Parameter

Description

Value

range-name

Time range name

Range: 1 16
characters

starting-time

Start time

Format: hh:mm:ss

starting-date

Start date

Format: mm-dd-yyyy
Year range: 2001
2099

ending-time

End time

Format: hh:mm:ss

ending-date

End date

Format: mm-dd-yyyy
Year range: 2001
2099

daily | working-day
| off-day | sunday |
monday | tuesday
| wednesday |
thursday | friday
| saturday
Mode

Example

Time limit conditions

ZXAN(config)#
The following example displays how to configure the time range
test1, specifying the time range from 00:00:00, Jan 1, 2008 to
23:59:59, Dec 31, 2009:
ZXAN(config)#time-range test1 from 00:00:00 01-01-2008 to 23:59:59
12-31-2009

The following example displays how to configure the time range


test2, specifying the time range from 00:00:00 to 06:00:00 every
Saturday:
ZXAN(config)#time-range test2 00:00:00 to 02:00:00 saturday

Related
Commands
Related
Information

show time-range
This command can be used to specify a continuous time range or
a time range that meet certain conditions.
The no time-range command is used to delete the configuration.

username
Syntax

username username password password [privilege privilege]


no username username

Purpose
Usage Guidelines

To configure the login user name and password


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 16
characters, excluding
spaces

password password

Password

Range: 3 16
characters, excluding
spaces

privilege privilege

Privilege level

Range: 0 15
Default: 1

Mode

Example

ZXAN(config)#
The following example displays how to configure the login user
name to abc and password to pass:
ZXAN(config)#username abc password pass

Related
Commands
Related
Information

show username
The user name can include numbers and lower case letters
The password can include numbers, letters, and special characters.
The no username command is used to cancel the configuration.

version
Syntax
Purpose
Usage Guidelines
Mode

Example

version
To access the version management mode
None
ZXAN#
The following example displays how to access the version management mode:
ZXAN#version
ZXAN(version)#

Related
Commands

exit

who
Syntax
Purpose
Usage Guidelines
Mode

28

who
To display the users currently logged on the system
None
ZXAN#

Confidential and Proprietary Information of ZTE CORPORATION

Chapter 2 Basic System Management

Example

The following example displays the users currently logged on the


system:
ZXAN#who
Line
User Host(s)
Idle
Location
* 66 vty 0 zte idle 00:00:00 168.1.200.57
67 vty 1
abc idle 00:00:00 168.1.200.58

The output parameters are as follows:

Related
Commands

Parameter

Description

Value

Line

Number of virtual
terminal that the user
logs in to

User

Login user name

Host

Host name

Idle

Idle time

Location

Client address

None

show clock
Syntax
Purpose
Usage Guidelines
Mode

Example

show clock
To display the system clock
None
All modes
The following example displays how to display the system clock:
ZXAN#show clock
13:39:24 Tue Jul 22

Related
Commands
Related
Information

2008

UTC

clock set
If the time zone is configured, this command displays the local
time of the time zone.

show clock config


Syntax
Purpose
Usage Guidelines

show clock config [master | slave]


To display the clock configuration
The following table provides parameter description:

Confidential and Proprietary Information of ZTE CORPORATION

29

ZXA10 C220 Command Manual (Volume I)

Mode

Example

Parameter

Description

Value

master

Primary clock
configuration

slave

Secondary clock
configuration

All modes
The following example displays the clock configuration:
ZXAN#show clock config
Shelf/card/slot
Type

Priority

CfgSSM

Mode

Species

...........................................................
0/7/0
holdover 252
Source

Related
Commands

clock set

show running-config
Syntax

show running-config [big-packet | interface interface-name |


msan module-name]
show running-config [{begin | exclude | include} line]

Purpose
Usage Guidelines

To show the system configuration or specified interface configuration


The following table provides parameter description:
Parameter

Description

Value

big-packet

Big packet

interface interface-n
ame

Interface name

loopback1
loopback64
null1
smartgroup1
smartgroup8
supervlan1
supervlan255
tunnel1 tunnel64
vlan1 vlan4094

30

msan module-name

MSAN module name

ces, dhcp-option82,
epon, gpon,
igmp, iptv, mac,
port-location,
pppoe-plus, vlan

begin

To display the
configuration that
begins with the line(s)
containing specified
character or character
string

Confidential and Proprietary Information of ZTE CORPORATION

Chapter 2 Basic System Management

Mode

Example

Parameter

Description

Value

exclude

To display the
configuration that
excludes the line(s)
containing specified
character or character
string

include

To display the
line(s) that contain
specified character or
character string in the
configuration

line

Specified character or
character string

All modes except exec mode


The following example displays how to display the system SNMP
configuration:
ZXAN#show running-config | include snmp
snmp-server location No.889 BiBo Rd. PuDong District, ShangHai, China
snmp-server contact +86-021-68895000
snmp-server packetSize 3000
snmp-server engine-id 830900020300010289d64401
snmp-server community public view allview rw
snmp-server view allview internet included
snmp-server view DefaultView system included
snmp-server host 10.62.31.123 trap version 2c pulic enable NOTIFICATIONS
serverindex 1 udp-port 162
snmp-server enable trap SNMP
snmp-server enable trap VPN
snmp-server enable trap BGP
snmp-server enable trap OSPF
snmp-server enable trap RMON
snmp-server enable trap STALARM
logging snmplog-save disable
ZXAN#

Related
Commands
Related
Information

None
The system configuration is displayed in the command format.

show system-group
Syntax
Purpose
Usage Guidelines
Mode

Example

show system-group
To display the system information
None
All modes
The following example displays the system information:
ZXAN#show system-group
System Description: ZXR10 ROS Version V4.8.01
ZXPON C220 Software, Version V1.1.1
Copyright (c) 2000-2008 by ZTE Corporation
Compiled Jun 29 2008, 23:12:37

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 Seconds
Contact with: +86-021-68895000
System name: ZXAN
Location: No.889 BiBo Rd. PuDong District, ShangHai, China
This system primarily offers a set of 78 services

Related
Commands

None

show route-map
Syntax
Purpose
Usage Guidelines

Mode

Example

show route-map [name]


To show the route mapping
The following table provides parameter description:
Parameter

Description

Value

name

Route address name

Range: 1 16
characters

All modes except the user mode


The following example displays how to display the configured route
mapping:
ZXAN#show
route-map
route-map
ZXAN#
ZXAN#show
route-map
ZXAN#

Related
Commands

route-map
tag permit 10
test permit 2
route-map test
test permit 2

route-map

show time-range
Syntax

show time-range [range-name]

Purpose

To display the system time range

Usage Guidelines

Mode

Example

The following table provides parameter description:


Parameter

Description

Value

range-name

Time range name

Range: 1 16
characters

All modes
The following example displays the system time range:
ZXAN#show time-range
Current time is 07:04:44 01-01-2001 Monday
Time-range: test1
from 00:00:00 01-01-2008 to 23:59:59 12-31-2009

32

Confidential and Proprietary Information of ZTE CORPORATION

Chapter 2 Basic System Management

Time-range: test2
00:00:00 to 02:00:00 Saturday
ZXAN#

Related
Commands

time-range

show username
Syntax
Purpose
Usage Guidelines
Mode

Example

show username
To display the list of authorized user(s) and password(s)
None
All modes except the user mode
The following example displays the list of authorized user(s) and
password(s):
ZXAN#show username
Username
Password
zte
******

Related
Commands

Privilege
15

username

show users
Syntax
Purpose
Usage Guidelines
Mode

Example

show users
To display the terminal user information
None
All modes
The following example displays the terminal user information:
ZXAN#show users
Line
User
* 66 vty 0 zte
67 vty 1
zte
ZXAN#

Host(s)
idle
idle

Idle
00:00:00
00:46:13

Location
10.63.10.105
10.63.196.38

The following table describes the parameters displayed in the example: :


Parameter

Description

Line

Number of the virtual terminal


with 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)

Related
Commands

None

show version
Syntax
Purpose
Usage Guidelines
Mode

Example

show version
To display the software and hardware versions of the system
None
All modes
The following example displays how to display the software and
hardware versions of the system:
ZXAN#show version
IAP Operating System Software, ZTE Corporation
IAP Version V4.8.01
ZXPON C220 Software, Version V1.1.1, RELEASE SOFTWARE
Copyright (c) 2000-2008 by ZTE Corporation
Compiled Jun 29 2008, 23:12:37
System image files from net <ftp://10.62.31.32/GCSA.MVR>
System uptime is 0 days, 4 hours, 38 minutes

Related
Commands

34

None

Confidential and Proprietary Information of ZTE CORPORATION

Chapter

Hardware Management
Table of Contents
add-card ..........................................................................35
add-rack ..........................................................................36
add-shelf..........................................................................36
del-card ...........................................................................37
del-rack ...........................................................................37
del-shelf...........................................................................38
reset-card ........................................................................38
show card ........................................................................39
swap ...............................................................................39
confirm-card .....................................................................40
reset-at-suspend ...............................................................40
lock-card ..........................................................................41
unlock-card ......................................................................41

add-card
Syntax
Purpose
Usage Guidelines

add-card [rackno rackno] [shelfno shelfno] {slotno slotno}


boardtype boardtype
To add a card
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

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

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

Related
Commands

del-card

add-rack
Syntax
Purpose
Usage Guidelines

Mode

Example

add-rack rackno rackno racktype racktype


To add a rack
The following table provides parameter description:
Parameter

Description

Value

rackno rackno

Rack number

racktype racktype

Rack type

ZXPON

ZXAN(config)#
The following example displays how to add rack 0:
ZXAN(config)#add-rack rackno 0 racktype ZXPON

Related
Commands

del-rack

add-shelf
Syntax
Purpose
Usage Guidelines

Mode

Example

add-shelf [rackno rackno] {shelfno shelfno shelftype shelfty


pe}
To add a shelf
The following table provides parameter description:
Parameter

Description

Value

rackno rackno

Rack number

shelfno shelfno

Shelf number

shelftype shelftype

Shelf type

ZXA10C220-A,
ZXA10C220-B

ZXAN(config)#
The following example displays how to add shelf 0:
ZXAN(config)#add-shelf rackno 0 shelfno 0 shelftype ZXA10C220-B

36

Confidential and Proprietary Information of ZTE CORPORATION

Chapter 3 Hardware Management

Related
Commands

del-shelf

del-card
Syntax
Purpose
Usage Guidelines

del-card [rackno rackno] [shelfno shelfno] {slotno slotno}


To delete a card
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

Mode

Example

Slot number

Range: 1 6 or 9
14

ZXAN(config)#
The following example displays how to delete the card from slot 3:
ZXAN(config)#del-card rackno 0 shelfno 0 slotno 3
Confirm to delete card? [yes/no]:y
ZXAN(config)#

Related
Commands
Related
Information

add-card
Before deleting the main control and switching card, delete the
subscriber cards and other cards. Otherwise, the system prompts
%Code 30279:

Have Other LC.

del-rack
Syntax
Purpose
Usage Guidelines

Mode

Example

del-rack rackno rackno


To delete a rack
The following table provides parameter description:
Parameter

Description

Value

rackno rackno

Rack number

ZXAN(config)#
The following example displays how to delete a rack:
ZXAN(config)#del-rack rackno 0
Confirm to delete rack? [yes/no]:y

Related
Commands

add-rack

Confidential and Proprietary Information of ZTE CORPORATION

37

ZXA10 C220 Command Manual (Volume I)

Related
Information

Before deleting the rack, delete the shelf first. Otherwise, the
system prompts %Code 30280: Have Main Shelf.

del-shelf
Syntax
Purpose
Usage Guidelines

del-shelf [rackno rackno] {shelfno shelfno}


To delete a shelf
The following table provides parameter description:
Parameter

Description

Value

rackno rackno

Rack number

Value: 0
Default: 0

shelfno shelfno
Mode

Example

Shelf number

ZXAN(config)#
The following example displays how to delete a shelf:
ZXAN(config)#del-shelf shelfno 0
Confirm to delete shelf? [yes/no]:y

Related
Commands

add-shelf

reset-card
Syntax
Purpose
Usage Guidelines

reset-card [rackno rackno] [shelfno shelfno] {slotno slotno}


[subcard subcardno]
To reset the card
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

Example

slotno slotno

Slot number

Range: 1 14

subcard subcardno

Sub-card number

Range: 0 3

ZXAN#
The following example displays how to reset the card in slot 3:
ZXAN#reset-card rackno 0 shelfno 0 slotno 3
Confirm to reset card? [yes/no]:y

38

Confidential and Proprietary Information of ZTE CORPORATION

Chapter 3 Hardware Management

Related
Commands

reboot

show card
Syntax
Purpose
Usage Guidelines

show card [rackno rackno] [shelfno shelfno] [slotno slotno]


To display cards information
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
Mode

Example

Slot number

Range: 1 14

All modes
The following example display cards information:
ZXAN#show card
Rack Shelf Slot CfgType RealType Port HardVer SoftVer
Status
--------------------------------------------------------------0
0
2
EIGM
4
HWONLINE
0
0
3
EIGM
4
OFFLINE
0
0
4
GPTCB
GPTCB
2
V0
V1.1.2T4 INSERVICE
0
0
5
GPTCB
2
OFFLINE
0
0
6
GPTCB
2
OFFLINE
0
0
7
GCSD
GCSD
0
V0 V1.1.2T4
INSERVICE
0
0
8
GCSD
0
OFFLINE

Related
Commands

add-card

swap
Syntax
Purpose
Usage Guidelines

swap [rackno rackno] [shelfno shelfno] [slotno slotno]


To swap between active and standby cards
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

Example

ZXAN#
The following example displays how to swap between active and
standby cards:
ZXAN#swap rackno 0 shelfno 0 slotno 7
Confirm to master swap? [yes/no]:y
Swap execute: RackNo: 0, ShelfNo: 0,SlotfNo: 7

Related
Commands

None

confirm-card
Syntax

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

Mode

Example

Slot number

Range: 1 6 or 9
14

ZXAN#
The following example displays how to confirm and enable the card
in slot 12:
ZXAN(config)#confirm-card rackno 0 shelfno 0 slotno 12
Confirm-card success! Rack : 0 Shelf : 0 Slot : 12 Type

Related
Commands
Related
Information

show card
add-card

The confirm-card command cannot be used to confirm the


main control and switching card.

To confirm all the cards that are online but not configured in the
shelf, execute confirm-card rackno 0 shelfno 0 command.

To confirm all the cards that are online but not configured in
the entire NE, execute confirm-card command.

reset-at-suspend
Syntax

reset-at-suspend
no reset-at-suspend

Purpose

40

: EIG

To suspend the processes and reset the NE

Confidential and Proprietary Information of ZTE CORPORATION

Chapter 3 Hardware Management

Usage Guidelines
Mode

Example

None
ZXAN#
The following example displays how to suspend the processes and
reset the NE:
ZXAN(config)# no reset-at-suspend

Related
Commands

None

lock-card
Syntax
Purpose
Usage Guidelines

lock-card [rackno rackno] [shelfno shelfno] {slotno slotno}


To lock a card
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
Mode

Example

Slot number

Range: 1 17

ZXAN#
The following example displays how to lock the card in slot 12:
ZXAN(config)#lock-card rackno 0 shelfno 0 slotno 12
Confirm to lock card? [yes/no] Y

Related
Commands

unlock-card

unlock-card
Syntax
Purpose
Usage Guidelines

unlock-card [rackno rackno] [shelfno shelfno] {slotno slotno}


To unlock a card
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
Mode

Slot number

Range: 1 17

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 12
Confirm to unlock card? [yes/no] Y

Related
Commands

42

lock-card

Confidential and Proprietary Information of ZTE CORPORATION

Chapter

Fan Management
Table of Contents
fan control........................................................................43
fan high-threshold .............................................................43
fan speed .........................................................................44
show fan ..........................................................................44

fan control
Syntax

fan control {fixed-speed | temp_level tempx1 tempx2 tempx3


temp4}

Purpose

To set fan status (fixed speed status or auto-adjust status according to temperature)

Usage Guideline

Mode

Example

The following table provides parameter description:


Parameter

Description

Value

fixed-speed

Fixed speed status

temp_level tempx1
tempx2 tempx3
temp4

Auto-adjust status
according to
temperature from
level one to level four

tempx1 tempx4: 0
70
Level gap: 5

ZXAN(config)#
The following example displays how to set fan status:
ZXAN(config)#fan control temp-level 30 40 50 60

Related Command

show fan

fan high-threshold
Syntax
Purpose
Usage Guidelines

fan high-threshold tempx


To configure temperature high threshold
The following table provides parameter description:

Confidential and Proprietary Information of ZTE CORPORATION

43

ZXA10 C220 Command Manual (Volume I)

Mode

Example

Parameter

Description

Value

tempx

Temperature
threshold

Range: 60 80
Default: 70

ZXAN(config)#
The following example displays how to set temperature threshold
to 60 :
ZXAN(config)#fan high-threshold 60

Related Command
Related
Information

show fan
The high-temperature check interval is configured to five minutes.
If threshold is reached, the fan module sends alarm message to
main control card and the main control card transmits trap packets
to the SNMP server. As a result, all fans start working in full speed.
When temperature is detected lower than threshold, fans return
to normal working mode.

fan speed
Syntax
Purpose
Usage Guidelines

Mode

Example

fan speed speed


To set fan speed
The following table provides parameter description:
Parameter

Description

Value

speed

Fan speed

0, 1, 2, 3, 4

ZXAN(config)#
The following example displays how to set fan speed to 2:
ZXAN(config)#fan speed 2

Related Command
Related
Information

show fan
One of the four different speed can be assigned.

show fan
Syntax
Purpose
Usage Guidelines
Mode

Example

show fan
To show all fans configuration information
None
All modes but user mode
The following example displays all fans configuration information:
ZXAN(config)#show fan
FanControlType
TemperatureThreshold

44

: temp-control
: 10 20 30 40 (Celsiur scale)

Confidential and Proprietary Information of ZTE CORPORATION

Chapter 4 Fan Management

HighTemperatureThreshold
: 63(Celsiur scale)
MP HighTemperatureThreshold
: 40 (Celsiur scale)
FanSpeed
: 2
Environment Temperature
: 29.
MP Temperature
: 26.
Filter Status
: normal
All fan actual status:
------------------------------------------fan online
Actual Status
------------------------------------------1
off-line
off
2
off-line
off
3
off-line
off
-------------------------------------------

Related
Commands

None

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

Chapter

Version Management
Table of Contents
activate version.................................................................47
download version ..............................................................48
erase version ....................................................................48
main-backup version..........................................................48
quit .................................................................................49
show compound-version .....................................................49
show update-status ...........................................................50
show version-running.........................................................51
show version-saved ...........................................................52
show sync-status...............................................................53
update-boot......................................................................53
update-version..................................................................54
patch load ........................................................................55
patch unload.....................................................................55
show patchstate ................................................................56
update-cpld ......................................................................56

activate version
Syntax
Purpose
Usage Guidelines

Mode

Example

activate version file-name


To activate main version file on main control card
The following table provides parameter description:
Parameter

Description

Value

filename

Version file name

Range: 1 16
characters

ZXAN(version)#
The following example displays how to activate file version1:
ZXAN(version)#activate version version1
version1
Parse activate version ok!

Related
Commands
Related
Information

download version
erase version
Once the main control card main version file is activated, the previous version file is automatically deactivated.

Confidential and Proprietary Information of ZTE CORPORATION

47

ZXA10 C220 Command Manual (Volume I)

download version
Syntax
Purpose
Usage Guidelines

Mode

Example

download version host-file-name


To download version file
The following table provides parameter description:
Parameter

Description

Value

host-file-name

File name

Range: 0 12
characters

ZXAN(version)#
The following example displays how to download version file:
ZXAN(version)#download version gcsa.bt
Start loading file
.....................
file download successfully.

Related
Commands

activate version
erase version

erase version
Syntax
Purpose
Usage Guidelines

Mode

Example

erase version file-name


To erase the version file
The following table provides parameter description:
Parameter

Description

Value

file-name

Version file to be
erased

Range: 1 12
characters

ZXAN(version)#
The following example displays how to erase the version file:
ZXAN(version)#erase version version1
Erase Version Parse ok!
Filename: version1

Related
Commands
Related
Information

download version
activate version
User cannot erase the running version file of main control card.

main-backup version
Syntax

48

main-backup version synchronization [host-file-name]

Confidential and Proprietary Information of ZTE CORPORATION

Chapter 5 Version Management

Purpose
Usage Guidelines

Mode

Example

To perform main backup version synchronization


The following table provides parameter description:
Parameter

Description

Value

host-file-name

Version file name

Range: 1 16
characters

ZXAN(version)#
The following example displays how to perform main backup version synchronization:
ZXAN(version)#main-backup version synchronization

Related
Commands

show version-running

quit
Syntax
Purpose
Usage Guidelines
Mode

Example

quit
To return to privileged mode
None
ZXAN(version)#
The following example displays how to return back to privileged
mode:
ZXAN(version)#quit
ZXAN#

Related
Commands

version

show compound-version
Syntax
Purpose
Usage Guidelines

Mode

Example

show compound-version file-name


To display compound version information
The following table provides parameter description:
Parameter

Description

Value

file-name

Compound version file


name

Range: 0 16
characters

All modes except exec mode


The following example displays compound version information:
ZXAN#show compound-version eig.mvr
FileName 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#

Related
Commands

download version

show update-status
Syntax
Purpose
Usage Guidelines

show update-status [rackno rackno] [shelfno shelfno] [slotno


slotno]
To view file update status
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
Mode

Example

Specify slot number

Range: 1 14

All modes except exec mode


The following example displays file update status:
ZXAN(version)#show update-status
Shelf Slot MVR
FIRMWARE
BOOTROM
-------------------------------------------------------------0
4
Same version not start update Not need autoupdate
0
5
Same version Same version
Not cfg board
0
11
Same version not start update Not need autoupdate

The following table provides parameters description:

50

Parameter

Description

not start update

Version update is not started

Negotiating...

Update is in process of negotiating (It might


fail to update for overtime wait)

Downloading...

The card is downloading version file from main


control card

Update success

Update is successful

Download failed

Download failed (It might be wrong with FTP


or card verification failure)

No or same version

Main control card version is or is not the same


to card version

Board not match

Card type configured is not matching

Confidential and Proprietary Information of ZTE CORPORATION

Chapter 5 Version Management

Related
Commands
Related
Information

Parameter

Description

Send msg failed

MSG sending failed (It might be wrong with


among cards connection)

Execute timeout

Execution time is out

No version

There is no main control card version and not


to update

Same version

Main control card is of the same version to line


card

cfg board wrong

Card configuration is wrong

Ver check failed

Version check failed

Hard no match

Hardware card type is not matching with main


control card configuration

Program wrong

Program is wrong

Not cfg board

System control did not configure card to the


slot

no version type

There cannot configure this type of version to


the card. For example, some line cards cannot
configure fw version)

Failed in MToSlave

Failure in updating version due to master and


slave switching

update line-card
This command is executed after update line-card command and
only displays card update information. If it is not updated, it displays cant update error message.

show version-running
Syntax
Purpose
Usage Guidelines

show version [rackno rackno] [shelfno shelfno] [slotno slotno]


To show the file running version
The following table provides parameter description:
Parameter

Description

Value

rackno number

Specify rack number

Range: 0 0
Default: 0

Mode

shelfno number

Specify shelf number

Range: 0 0

slotno slotno

Specify slot number

Range: 1 14

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-running
PhyLoc VerType FileType
VerTag
VerLenth BuildTime
----------------------------------------------------------------------0/0/4
0/0/4
0/0/4
0/0/7
0/0/7

Related
Commands

GPTCB
GPTCB
GPTCB
GCSD
GCSD

MVR
FIRMWARE
BOOTROM
MVR
BOOTROM

V1.1.2T4
V1.1.2T4
V1.1.2GPTBT1
V1.1.2T4
V1.1.2T4

1454059
4958042
289216
12394720
524288

2008-11-21
2008-11-26
2009-01-19
2008-11-29
2008-11-29

20:17:53
12:21:18
09:33:47
05:18:37
10:26:23

download version

show version-saved
Syntax
Purpose
Usage Guidelines

show version-saved [rackno rackno] [shelfno shelfno] [slotno


slotno]
To view saved version file(s)
The following table provides parameter description:
Parameter

Description

Value

rackno number

Specify rack number

Range: 0 0
Default: 0

Mode

Example

shelfno number

Specify shelf number

Range: 0 0

slotno slotno

Specify slot number

Range: 1 6 and 9
14

All modes except exec mode


The following example displays the file version saved on MP:
ZXAN#show version-saved
PhyLoc FileName
VerType VerTag

BuildTime

VerLenth Active

-------------------------------------------------------------------------

52

0/0/4

gptcb.fw

GPTCB

V1.1.2T4

2008-11-26 12:21:18 4958042

0/0/4

gptcb.mvr

GPTCB

V1.1.2T4

2008-11-21 20:17:53 1454059

0/0/7

eig.bt

EIG

V1.1.1EP1T4

2008-10-20 08:48:58 279792

0/0/7

eig.mvr

EIG

V1.1.1EP1T4

2008-10-20 06:48:47 624608

0/0/7

gcsd.bt

GCSD

V1.1.1EP1T4

2008-10-20 08:52:14 524288

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

0/0/7

0
gpfab.bt

GPFAB

V0.99

2008-07-21 09:55:29 288320

0/0/7

gpfab.fw

GPFAB

V1.1.1EP1T1

2008-07-21 09:50:14 3011095

0/0/7

gpfab.mvr

GPFAB

V1.1.1EP1T1

2008-07-21 09:50:02 1439799

0/0/7

gptbb.fw

GPTBB

V1.1.1EP1T4

2008-08-20 06:01:54 4584226

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/7

gptcb.bt

GPTCB

V1.1.1EP1T4

2008-10-20 08:51:27 288128

0/0/7

gptcb.fw

GPTCB

V1.1.2T4

2008-11-26 12:21:18 4958042

0/0/7

gptcb.fw_14 GPTCB

V1.1.1T2

2008-08-30 13:13:11 4472053

0/0/7

0
gptcb.fw_fz GPTCB

V1.1.2T4

2008-10-29 17:10:02 4921741

0/0/7

l
gptcb.mvr

V1.1.2T4

2008-11-21 20:17:53 1454059

0/0/7

gptcb.mvr_1 GPTCB

V1.1.1EP1T4

2008-08-20 05:38:52 1423313

GPTCB

40

Related
Commands

download version

show sync-status
Syntax
Purpose
Usage Guidelines

Mode

Example

show sync-status [rackno rackno] [shelfno shelfno]


To display master and slave version synchronization information
The following table provides parameter description:
Parameter

Description

Value

rackno rackno

Rack number

Range: 0 0

shelfno shelfno

Shelf number

Range: 0 0

All modes except the exec mode


The following example displays master and slave version synchronization information:
ZXAN(config)#show sync-status
Rack Shelf Filename
Active Status
---------------------------------------0
0
gcsa.bt
0
success
0
0
gcsa.mvr
1
success
0
0
epfc.bt
0
success
0
0
epfc.mvr
0
success

Related
Commands

None

update-boot
Syntax
Purpose
Usage Guidelines

update-boot [rackno rackno] [shelfno shelfno] slotno slotno


local
To update boot version and write to card
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

Mode

Example

slotno number

Specify slot number

Range: 1 14

local

Update from MP

ZXAN(version)#
The following example displays how to update boot version:
ZXAN(version)#update-boot slotno 7 local
Confirm to update boot? [yes/no]:y

Related
Commands

update-version

update-version
Syntax
Purpose
Usage Guidelines

update-version [rackno rackno] [shelfno shelfno] slotno


slotno local
To update card version
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

Mode

Example

slotno number

Specify slot number

Range: 1 6 or 9
14

local

Update from MP

ZXAN(version)#
The following example displays how to update version of card in
slot 2:
ZXAN(version)#update-version slotno 2 local

54

Confidential and Proprietary Information of ZTE CORPORATION

Chapter 5 Version Management

Related
Commands

update-boot

patch load
Syntax
Purpose
Usage Guidelines

Mode

Example

patch load {all | master | slave} patchname


To upload dynamic patch
The following table provides parameter description:
Parameter

Description

Value

all

Upload both master


and slave cards

master

Upload master card

slave

Upload slave card

patchname

Patch file name

Range: 1 16
characters

ZXAN#
The following example displays how to upload patch for master
card:
ZXAN#patch load master versionoam.pat
Master patch reload patfile

Related
Commands

show patchstate
patch unload

patch unload
Syntax
Purpose
Usage Guidelines

Mode

Example

patch unload {all | master | slave} patchname


To unload dynamic patch
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 16
characters

ZXAN#
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.pat


Master patch unload success

Related
Commands

show patchstate
patch load

show patchstate
Syntax
Purpose
Usage Guidelines
Mode

Example

show patchstate
To display uploaded dynamic patch state
None
ZXAN#
The following example displays uploaded dynamic patch state:
ZXAN#show patchstate
Rack
Shelf Slot
PatchName
PatchState
------------------------------------------------------0
0
9
versionoam.pat
patch load success

Related
Commands

patch unload
patch load

update-cpld
Syntax
Purpose
Usage Guidelines

update-cpld [rackno rackno] [shelfno shelfno] {slotno slotno}


[swtval swtval]
To update CPLD online
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

Mode

Example

slotno slotno

Slot number

Range: 1 17

swtval swtval

CPLD updating switch


value

1: to update
0: not to update

ZXAN(version)#
The following example displays how to update CPLD in slot 3 online:
ZXAN(version)#update-cpld slotno 3 swtval 1
%Code 35681: Cpldupdate flag is set successfully.

56

Confidential and Proprietary Information of ZTE CORPORATION

Chapter 5 Version Management

Related
Commands

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

Chapter

File System Management


Table of Contents
cd ...................................................................................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

cd
Syntax
Purpose
Usage Guidelines

Mode

Example

cd directory
To enter a specific file device or file directory of the current file
device
The following table provides parameter description:
Parameter

Description

Value

directory

Directory name or
device name

Range: 1 80
characters

ZXAN#
The following example displays how to enter a specific file device
or file directory of the current file device:
1. Enter the flash file device of the system:
ZXAN#cd flash:

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)

Related
Commands

dir
mkdir
pwd
rmdir

Related
Information

Types of the device name fixed in the system include nvram: and
flash:

Note:

The file device name must be entered completely to enter a


specified file device.

To enter the upper-level directory, the . and .. directory


declarators are supported.

copy (FTP Client)


Syntax
Purpose
Usage Guidelines

Mode

Example

copy source-device source-file destination-device destination-file


To copy a specified file from/to FTP host
The following table provides parameter description:
Parameter

Description

Value

source-device

Source device name

source-file

Source directory and


file name

Range: 1 80
characters

destination-device

Destination device
name

destination-file

Destination directory
and file name

Range: 1 80
characters

ZXAN#
The following example displays how to copy a specified file
from flash: cfg/startrun.dat to FTP host (FTP host IP address
10.63.10.105 and username/password test/pass):
ZXAN#copy

Related
Commands

60

ftp: //10.63.10.105/startrun1.dat@test:pass

delete

Confidential and Proprietary Information of ZTE CORPORATION

Chapter 6 File System Management

Related
Information

Device name can only be fixed names as flash:, tftp:, ftp:.

delete
Syntax
Purpose
Usage Guidelines

Mode

Example

delete filename
To delete file(s) in specified directory of current file device
The following table provides parameter description:
Parameter

Description

Value

filename

Filename or directory
and filename

Range: 1 80
characters

ZXAN#
The following example displays how to delete a file in current directory named sys.dat:
ZXAN#delete sys.dat

Related
Commands
Related
Information

copy
rename
The total length of directory and filename must be less than 80
characters.
Declarators such as . and .. are operational.

dir
Syntax
Purpose
Usage Guidelines

Mode

Example

dir [directory]
To display files in specified or current directory of current file device
The following table provides parameter description:
Parameter

Description

Value

directory

Directory name or
device name

Range: 1 80
characters

ZXAN#
The following example displays files in flash:/img directory:
ZXAN#cd flash:
ZXAN#cd img
ZXAN#dir
Directory of flash:/img
1
2
3

attribute
drwx
drwx
-rwx

size
2048
2048
276208

date
JAN-01-2001
JAN-01-2000
JAN-01-2001

time
00:14:20
00:00:13
00:13:44

name
.
..
eig.bt

Confidential and Proprietary Information of ZTE CORPORATION

61

ZXA10 C220 Command Manual (Volume I)

4
5
6
7
8
9
10
11

-rwx
-rwx
-rwx
-rwx
-rwx
-rwx
-rwx
-rwx

524288
10394721
1945202
613546
300528
1808275
4553954
286976

JAN-01-2001
JAN-01-2001
JAN-01-2001
JAN-01-2001
JAN-01-2001
JAN-01-2001
JAN-01-2001
JAN-01-2001

00:14:22
00:10:48
00:12:42
00:11:18
06:00:12
00:53:56
05:59:56
00:13:26

gcsa.bt
gcsa.mvr
epfc.mvr
eig.mvr
gptbb.bt
gptbb.mvr
gptbb.fw
epfc.bt

The table below describes the displayed information:

Related
Commands

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

cd
mkdir
pwd
rmdir

Related
Information

Device name input should be of fixed type in the system: nvram:,


flash:.

display
Syntax
Purpose
Usage Guidelines

Mode

Example

display filename
To display the specified file
The following table provides parameter description:
Parameter

Description

Value

filename

File name

Range: 1 128
characters

ZXAN#
The following example displays how to display the specified file:
ZXAN#display test

62

Confidential and Proprietary Information of ZTE CORPORATION

Chapter 6 File System Management

Related
Commands

None

format flash
Syntax
Purpose
Usage Guidelines
Mode

Example

format flash
To format the flash
None
ZXAN#
The following example displays how to format Flash:
ZXAN#format flash
All data will be cleared.Continue to format? [yes/no]:y

Related
Commands
Related
Information

None
This command can be executed only in the root directory of the
flash.

mkdir
Syntax
Purpose
Usage Guidelines

Mode

Example

mkdir directory
To create new subdirectory under current directory
The following table provides parameter description:
Parameter

Description

Value

directory

Directory name or
device name

Range: 1 32
characters

ZXAN#
The following example displays how to create new subdirectory
named test under current directory:
ZXAN#mkdir test

Related
Commands

cd
dir
pwd
rmdir

Confidential and Proprietary Information of ZTE CORPORATION

63

ZXA10 C220 Command Manual (Volume I)

pwd
Syntax
Purpose
Usage Guidelines
Mode

Example

pwd
To display current directory path
None
ZXAN#
The following example displays current directory path:
ZXAN#pwd
root:/flash:/
ZXAN#

Related
Commands

cd
dir
mkdir
rmdir

rename
Syntax
Purpose
Usage Guidelines

Mode

Example

rename source-filename destination-filename


To rename a file
The following table provides parameter description:
Parameter

Description

Value

source-filename

Source file name or


directory

Range: 1 80
characters

modified-filename

Modified file name

Range: 1 12
characters

ZXAN#
The following example displays how rename a file named sys.dat
in config directory as back.dat:
ZXAN#rename config/sys.dat back.dat

Related
Commands

copy
delete
rmdir

Related
Information

64

Source filename can include file path, but second parameter only
includes the modified name for filename.

Confidential and Proprietary Information of ZTE CORPORATION

Chapter 6 File System Management

rmdir
Syntax
Purpose
Usage Guidelines

Mode

Example

rmdir directory
To delete the specified file directory
The following table provides parameter description:
Parameter

Description

Value

directory

Specify the directory


name

Range: 1 32
characters

ZXAN#
The following example displays how to delete the specified file directory:
ZXAN#rmdir test1

Related
Commands

cd
copy
dir
mkdir
pwd

write
Syntax
Purpose
Usage Guidelines
Mode

Example

write
To write (save) configuration information of router to flash, or write
current router system parameters to the NVRAM
None
ZXAN#
The following example displays how to write configuration information of current device to the NVRAM:
ZXAN#write
Building configuration...
[ok]

Related
Commands
Related
Information

write flash
write nvram
This command has same effect as of write flash and write nvram
commands.

Confidential and Proprietary Information of ZTE CORPORATION

65

ZXA10 C220 Command Manual (Volume I)

write flash
Syntax
Purpose
Usage Guidelines
Mode

Example

write flash
To write current active device configuration to flash
None
ZXAN#
The following example displays how to write current active device
configuration to flash:
ZXAN#write flash
Building configuration FLASH: ...
[ok]

Related
Commands
Related
Information

write
write nvram
Configuration written to flash automatically comes into effect when
system restarts.

write nvram
Syntax
Purpose
Usage Guidelines
Mode

Example

write nvram
To write current configuration to NVRAM
None
ZXAN#
The following example displays how to write current configuration
to NVRAM:
ZXAN#write nvram
Building configuration...
[ok]

Related
Commands

66

write
write flash

Confidential and Proprietary Information of ZTE CORPORATION

Chapter

User Management
Table of Contents
line console absolute-timeout ..............................................67
line console idle-timeout.....................................................68
line telnet absolute-timeout ................................................68
line telnet access-class .......................................................69
line telnet idle-timeout .......................................................70
login ................................................................................70
logout ..............................................................................71
login-authentication-type....................................................71
login-authorization-type .....................................................71
quit .................................................................................72
rlogin...............................................................................72
script ...............................................................................73
show history .....................................................................73
show monitor....................................................................74
show msan .......................................................................74
show terminal ...................................................................75
telnet...............................................................................75
telnet mng .......................................................................76
telnet onu ........................................................................76

line console absolute-time


out
Syntax

line console absolute-timeout absolute-timeout


no line console absolute-timeout

Purpose
Usage Guidelines

Mode

To configure absolute timeout (total session time) of console port


session
The following table provides parameter description:
Parameter

Description

Value

absolute-timeout

Set console
absolute-timeout
in minutes

Range: 1 10,000
minutes
Default: 1 day

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 timeout


of console port session as 30 minutes:
ZXAN(config)#line console absolute-timeout 30

Related
Commands
Related
Information

line console idle-timeout


Console session is terminated and user is logged out after absolute
time expiry.

line console idle-timeout


Syntax

line console idle-timeout idle-timeout


no line console idle-timeout

Purpose
Usage Guidelines

To configure idle timeout of console port session


The following table provides parameter description:
Parameter

Description

Value

idle-timeout

Set console port idle


timeout in minutes

Range: 1 1000
minutes
Default: 2 hours

Mode

Example

ZXAN(config)#
The following example displays how to configure idle timeout of
console port session as 30 minutes:
ZXAN(config)#line console idle-timeout 30

Related
Commands
Related
Information

line console absolute-timeout


Idle timeout refers to the allowed idle time (i.e. there is no CLI
input) after which the session is terminated.

line telnet absolute-timeout


Syntax

line telnet absolute-timeout absolute-timeout


no line telnet absolute-timeout

Purpose
Usage Guidelines

68

To configure absolute (total session time) timeout for Telnet session


The following table provides parameter description:

Confidential and Proprietary Information of ZTE CORPORATION

Chapter 7 User Management

Mode

Example

Parameter

Description

Value

absolute-timeout

Configure Telnet
absolute timeout in
minutes

Range: 1 10,000
minutes
Default: 1 day

ZXAN(config)#
The following example displays how to configure absolute timeout
as 30 minutes for Telnet session:
ZXAN(config)#line telnet absolute-timeout 30

Related
Commands
Related
Information

line telnet idle-timeout


Absolute time specifies the time (without taking into account the
terminal idle time) after which current Telnet session is terminated
and user is logged out.
Execute this command along with the line telnet idle-timeout
command.

line telnet access-class


Syntax

line telnet access-class access-list-number


no line telnet access-class

Purpose
Usage Guidelines

Mode

Example

To configure the login IP restriction of Telnet terminal


The following table provides parameter description:
Parameter

Description

Value

access-list-number

IP access list

Range: 1 99

ZXAN(config)#
The following example displays how to configure the login IP restriction of Telnet terminal:
ZXAN(config)#line telnet access-class 2

Related
Commands

acl extended
acl standard
acl link
acl hybrid

Related
Information

This command is used in combination with the acl command to


allow 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-timeout


Syntax

line telnet idle-timeout idle-timeout


no line telnet idle-timeout

Purpose
Usage Guidelines

Mode

Example

To configure the idle time of the Telnet terminal


The following table provides parameter description:
Parameter

Description

Value

idle-timeout

Set Telnet
idle-timeout in
minutes

Range: 1 1000
Default: 120 minutes

ZXAN(config)#
The following example displays how to configure the idle time of
the Telnet terminal to 30 minutes:
ZXAN(config)#line telnet idle-timeout 30

Related
Commands
Related
Information

line telnet absolute-timeout


Telnet terminal session is terminated after the specified time. This
command works with the line telnet absolute-timeout command.

login
Syntax
Purpose
Usage Guidelines
Mode

login
To log in to the equipment
None
ZXAN>
ZXAN#

Example

The following example displays how to log in to equipment by user


name zxan:
ZXAN>login
Username:zxan
Password:
ZXAN>

Related
Commands

70

logout
quit

Confidential and Proprietary Information of ZTE CORPORATION

Chapter 7 User Management

logout
Syntax
Purpose
Usage Guidelines
Mode

logout
To logout from the router and end current session
None
ZXAN>
ZXAN#

Example
Related
Commands

ZXAN>logout

login
quit

login-authentication-type
Syntax
Purpose
Usage Guidelines

Mode

Example

login-authentication-type {local | radius group | tacacs+}


To configure user login authentication type
The following table provides parameter description:
Parameter

Description

Value

local

Local authentication

radius group

Radius authentication
and group number

Range: 1 10

tacacs+

Tacacs+
authentication

ZXAN#
The following example displays how to configure user login authentication type as local:
ZXAN(config)#login-authentication-type local

Related
Commands
Related
Information

login-authorization-type
By default, the authentication type is local.

login-authorization-type
Syntax
Purpose

login-authorization-type {local | tacacs+}


To configure authorization type for specific user login through Telnet

Confidential and Proprietary Information of ZTE CORPORATION

71

ZXA10 C220 Command Manual (Volume I)

Usage Guidelines

Mode

Example

The following table provides parameter description:


Parameter

Description

Value

local

Local authorization
type

tacacs+

Tacacs+ authorization
type

ZXAN(config)#
The following example displays how to configure authorization type
as tacacs+:
ZXAN(config)#login-authorization-type tacacs+

Related
Commands
Related
Information

login-authentication-type
By default configuration, the authorization type is local.

quit
Syntax
Purpose
Usage Guidelines
Mode

quit
To return to privileged mode
None
ZXAN#
ZXAN>

Example

None

Related
Commands

login

Related
Information

logout
This command is also used to terminate current session.

rlogin
Syntax
Purpose
Usage Guidelines

72

rlogin {commander | member member-id}


To open a group Telnet connection
The following table provides parameter description:

Confidential and Proprietary Information of ZTE CORPORATION

Chapter 7 User Management

Mode

Example

Parameter

Description

Value

commander

Open a Telnet
connection to
commander

member member-id

Open a group Telnet


connection with
member ID

Range: 1 255

ZXAN#
The following example displays how to open a Telnet connection
to commander:
ZXAN#rlogin commander

Related
Commands

None

script
Syntax
Purpose
Usage Guidelines

Mode

Example

script execute filename


To execute a script
The following table provides parameter description:
Parameter

Description

Value

execute filename

Execute script file


name

Range: 1 128
characters

ZXAN#
The following example displays how to execute a script named
test:
ZXAN#script execute test

Related
Commands

None

show history
Syntax
Purpose
Usage Guidelines
Mode

Example

show history
To display executed commands history
None
All modes
The following example displays executed commands history:
ZXAN>show history
who

Confidential and Proprietary Information of ZTE CORPORATION

73

ZXA10 C220 Command Manual (Volume I)

show ip route
en

Related
Commands
Related
Information

None
This command can be used to view last ten executed commands.

show monitor
Syntax
Purpose
Usage Guidelines

Mode

Example

show monitor session session-number


To display detailed information of user-defined sessions
The following table provides parameter description:
Parameter

Description

Value

session session-num
ber

Monitor session
number

Range: 1 1

All modes except exec mode


The following example displays detailed information of user-defined sessions:
ZXAN#show monitor session 1

Related
Commands

None

show msan
Syntax
Purpose
Usage Guidelines

Mode

Example

show msan {counter [shelfno cardno] | log}


To display MSAN information
The following table provides parameter description:
Parameter

Description

Value

shelfno

Shelf number

cardno

Slot number

Range: 0 10

log

MSAN log information

All modes except exec mode


The following example displays MSAN information:
ZXAN#show msan counter
214 : MutualPromptPutsLinkStateErr
96 : SnmpKtpToMsCfgCheckMsanMibFail
1 : HotbackupMasterInit

74

Confidential and Proprietary Information of ZTE CORPORATION

Chapter 7 User Management

Related
Commands

None

show terminal
Syntax
Purpose
Usage Guidelines
Mode

Example

show terminal
To display the status of the current user terminal
None
All modes
The following example displays the status of the current user terminal:
ZXAN#show terminal
Line 66, Location: "", Type: "ANSI"
Length: 25 lines, Width: 80 columns
Telnet idle-timeout is: 16:40:00
Telnet absolute-timeout is: 1d00h00m
Baud rate (TX/RX) is 9600/9600
Capabilities: none
Time since activation: 00:20:37
Editing is enabled.
History is enabled, history size is 10.
Telnet access-class is: EMPTY!

Related
Commands
Related
Information

None
This command can be executed to display terminal information
such as terminal ID, type and logging limitation.

telnet
Syntax
Purpose
Usage Guideline

Mode

telnet ip-address
To establish connection through Telnet
The following table provides parameters description:
Parameter

Description

Value

ip-address

Destination IP address

A.B.C.D

ZXAN#
ZXAN>

Example

The following example displays how to log into server with IP address of 168.1.200.77:
ZXAN#telnet 168.1.200.77

Related
Commands
Related
Information

None
This command can be executed to log in other remote devices or
Telnet server.

Confidential and Proprietary Information of ZTE CORPORATION

75

ZXA10 C220 Command Manual (Volume I)

telnet mng
Syntax
Purpose
Usage Guidelines

Mode

telnet mng ip-address


To open a Telnet connection from management interface
The following table provides parameter description:
Parameter

Description

Value

ip-address

Destination IP address

A.B.C.D

ZXAN>
ZXAN#

Example

The following example displays how to log into Telnet server with
IP address 168.1.200.77 from management interface:
ZXAN#telnet mng 168.1.200.77

Related
Commands
Related
Information

None
This command manages to log into remote devices or Telnet server
from management interface.

telnet onu
Syntax
Purpose
Usage Guidelines

Mode

Example

telnet onu gpon-onu shelf/slot/olt:onu


To access an ONU through Telnet
The following table provides parameters description:
Parameter

Description

Value

gpon-onu
shelf/slot/olt:onu

Interface

ZXAN#
The following example displays how to access an ONU through
Telnet:
ZXAN#telnet onu gpon-onu_0/12/2:1

Related
Commands
Related
Information

76

None
This command can be executed to log into ONU through management port.

Confidential and Proprietary Information of ZTE CORPORATION

Chapter

Clock Management
Table of Contents
clock................................................................................77
clock timezone ..................................................................77
clock set ..........................................................................78
source .............................................................................78
external-input ...................................................................79
external-output .................................................................80
show clock config ..............................................................81
show source active ............................................................81

clock
Syntax
Purpose
Usage Guidelines

Mode

Example

clock [timezone name offset]


To enter the clock configuration mode
The following table provides parameter description:
Parameter

Description

Value

timezone name

Time zone name

Range: 1 9
characters

offset

Offset from UTC

Range: -23 23
hours

ZXAN(config)#
The following example displays how to enter the clock configuration mode:
ZXAN(config)#clock
ZXAN(config-clock)#

Related
Commands

None

clock timezone
Syntax

clock timezone timezone-name hours minutes


no clock timezone

Confidential and Proprietary Information of ZTE CORPORATION

77

ZXA10 C220 Command Manual (Volume I)

Purpose
Usage Guidelines

Mode

Example

To configure the time zone


The following table provides parameter description:
Parameter

Description

Value

timezone-name

Name of the time


zone

Range: 1 9
characters

hours

Hours offset from UTC

Range: -12 13

mins

Minutes offset from


UTC

Range: 0 59

ZXAN(config)#
The following example displays how to configure the time zone:
ZXAN(config)#clock timezone test 0 30

Related
Commands

None

clock set
Syntax
Purpose
Usage Guidelines

Mode

Example

clock set time month day year


To configure the system clock in standard time format
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

ZXAN#
The following example displays how to configure the system clock
in standard time format:
ZXAN#clock set 23:12:01 feb 23 2001
ZXAN#

Related
Commands

None

source
Syntax

78

source shelfslot/port type {e1 | external | internal | maintain


| stm1 | stm4} priority clock-priority

Confidential and Proprietary Information of ZTE CORPORATION

Chapter 8 Clock Management

no source clock-priority
Purpose
Usage Guidelines

To display the current active clock source


The following table provides parameters description:
Parameter

Description

Value

shelfslot /port

Shelf/slot/port
number

internal

Internal clock

maintain

Maintain clock

external

External clock

1/2

e1

E1 clock

Range: 1 32

stm1

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

Example

ZXAN(config-clock)#
The following example displays the current active clock source:
ZXAN(config-clock)#source example type e1 priority 44

Related
Commands
Related
Information

None
C220 contains 14 slots in total and main control card can only
configure external and internal clocks.
C220 provides 2-route external clock, online SDH optical clock and
online E1 clock for clock module and clock source priority for reference. For external clock, it provides BITS and HZ interface modes
to use.
Before adding clock source, check previous configuration first.

external-input
Syntax

Purpose
Usage Guidelines

external-input shelf/card/port quailty {enhanced2 | enhanc


ed3 | primary | sec} mode {hz | unreadablessm | readable
ssm}
To configure the external input clock
The following table provides parameter description:
Parameter

Description

Value

shelf/card/port

Shelf number, slot


number and port
number

Confidential and Proprietary Information of ZTE CORPORATION

79

ZXA10 C220 Command Manual (Volume I)

Mode

Example

Parameter

Description

Value

quailty

Quality of clock

Defult: SEC clock

primary

Datum clock

G.811

enhanced2

Enhanced level-2
clock

G.812

enhanced3

Enhanced level-3
clock

G.812

sec

SEC clock

G.813

mode

BITS/HZ mode

Default mode: Hz

hz

Hz mode

unreadablessm

BITS mode,
unreadable SSM

readablessm

BITS mode, readable


SSM

ZXAN(config-clock)#
The following example displays how to configure the external input
clock:
ZXAN(config-clock)#external-input 0/6/1 quality sec mode hz

Related
Commands

None

external-output
Syntax
Purpose
Usage Guidelines

80

external-output {{ssmThreshold {enhanced2 | enhanced3


| primary | sec}} | {mode {hz | bits}}}
To configure external output clock
The following table provides parameter description:
Parameter

Description

Value

ssmThreshold

Output SSM threshold

Default: SEC clock

primary

Datum clock

G.811

enhanced2

Enhanced level-2
clock

G.812

enhanced3

Enhanced level-3
clock

G.812

sec

SEC clock

G.813

mode

BITS/HZ mode

Confidential and Proprietary Information of ZTE CORPORATION

Chapter 8 Clock Management

Mode

Example

Parameter

Description

Value

hz

HZ mode

Default: Hz mode

bits

BITS mode

ZXAN(config-clock)#
The following example displays how to configure the external output clock:
ZXAN(config-clock)#external-output ssmThreshold sec mode hz

Related
Commands

None

show clock config


Syntax
Purpose
Usage Guidelines
Mode

Example

show clock config


To display the SEC clock configuration
None
All modes except exec mode
The following example displays the SEC clock configuration:
ZXAN(config-clock)#show clock config
Interface Type
Priority CfgSSM
Mode
Class
.....................................................
0/8/0
internal 252
INVALID INVALID
0/8/1
external 253
sec
hz
EXTOUT

Related
Commands
Related
Information

None
This command displays current optional SEC clock configuration
from high to low according to priority including both input SEC
clock and output clock configuration.

show source active


Syntax
Purpose
Usage Guidelines
Mode

Example

show source active


To display the current active clock source
None
All modes except exec mode
The following example displays the current active clock source:
ZXAN(config-clock)#show source active
Interface Type
InS1 OutS1 Status
0/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

Related
Commands
Related
Information

82

FREE_RUN1:
Normal phaselocked loop
FREE_RUN2:
Abnormal
phase-locked loop
PRE_LOCKED:
previous mode is
free run
PRE_LOCKED2:
previous mode is
locked, holdover
or lost phase
LOCKED
LOST_PHASE
HOLDOVER

None
It provides current clock source information including lock-in status.

Confidential and Proprietary Information of ZTE CORPORATION

Chapter

SNMP Management
Table of Contents
show snmp .......................................................................83
show snmp config..............................................................84
show snmp engine-id .........................................................84
show snmp group ..............................................................85
show snmp user ................................................................85
snmp-server access-list ......................................................86
snmp-server community.....................................................86
snmp-server contact ..........................................................87
snmp-server context ..........................................................87
snmp-server enable ...........................................................88
snmp-server engine-id .......................................................88
snmp-server group ............................................................89
snmp-server host ..............................................................90
snmp-server location .........................................................91
snmp-server packetsize......................................................91
snmp-server trap-source ....................................................92
snmp-server user ..............................................................92
snmp-server view ..............................................................93

show snmp
Syntax
Purpose
Usage Guidelines
Mode

Example

show snmp
To display SNMP information
None
All modes
The following example displays SNMP information:
ZXAN>show
Contact :
Location:
978
0
0
0
1262
226
647
90
241
1384
0
0
0
13

snmp
+86-021-68895000
No.889 BiBo Rd. PuDong District, ShangHai, China
SNMP packets input
Bad SNMP version errors
Unknown community name
Illegal operation for community name supplied
Number of requested variables
Number of altered variables
Get-request PDUs
Get-next PDUs
Set-request PDUs
SNMP packets output
Too big errors (Maximum packet size 3000)
No such name errors
Bad values errors
General errors

Confidential and Proprietary Information of ZTE CORPORATION

83

ZXA10 C220 Command Manual (Volume I)

978
406

Related
Commands

Response PDUs
SNMP trap PDUs

None

show snmp config


Syntax
Purpose
Usage Guidelines
Mode

Example

show snmp config


To display Simple SNMP configuration
None
All modes
The following example displays SNMP configuration:
ZXAN>show snmp config
snmp-server location No.889 BiBo Rd. PuDong District, ShangHai, China
snmp-server contact +86-021-68895000
snmp-server packetSize 3000
snmp-server engine-id 830900020300010289d64401
snmp-server community public view allview rw
snmp-server view allview internet included
snmp-server view DefaultView system included
snmp-server host 10.62.31.123 trap version 2c pulic enable NOTIFICATIONS serverindex 1 udp-port 162
snmp-server enable trap SNMP
snmp-server enable trap VPN
snmp-server enable trap BGP
snmp-server enable trap OSPF
snmp-server enable trap RMON
snmp-server enable trap STALARM

Related
Commands

show snmp group


show snmp user
show snmp engine-id
show snmp

show snmp engine-id


Syntax
Purpose
Usage Guidelines
Mode

Example

show snmp engine-id


To display an SNMP local engine ID
None
All modes
The following example displays how to display an SNMP local engine ID:
ZXAN>show snmp engine-id
the engine-id:830900020300010289d64401

Related
Commands

84

snmp-server engine-id

Confidential and Proprietary Information of ZTE CORPORATION

Chapter 9 SNMP Management

Related
Information

SNMP engine is core of SNMP entity and implements SNMP message sending and receiving, filters PDU assenbling information and
communication with SNMP application programs.

show snmp group


Syntax
Purpose
Usage Guidelines
Mode

Example

show snmp group


To display SNMP group(s) information
None
All modes
The following example displays SNMP group information:
ZXAN#show snmp group
groupName :test
sec_Model :v3
sec_Level :AUTH
readView :test
writeView :test
notifyView:tesr
rowStatus :ACTIVE
contextName :test
contextMatch :match-exact
groupName :group1
sec_Model :v3
sec_Level :PRIV
readView :view1
writeView :view1
notifyView:view1
rowStatus :ACTIVE

Related
Commands

snmp-server group

show snmp user


Syntax
Purpose
Usage Guidelines
Mode

Example

show snmp user


To display SNMP users and related information
None
All modes
The following example displays SNMP users and related information:
ZXAN#show snmp user
username
:test
engine-id : 830900020300010289d64401
auth_type :SHA
group_name :test(v3)
encryptType:DES_CBC
storageType:NONVOLATILE
row_status :ACTIVE

Confidential and Proprietary Information of ZTE CORPORATION

85

ZXA10 C220 Command Manual (Volume I)

Related
Commands

snmp-server user

snmp-server access-list
Syntax

snmp-server access-list acl


no snmp-server access-list

Purpose
Usage Guidelines

Mode

Example

To apply ACL to manage SNMP based access to system


The following table provides parameter description:
Parameter

Description

Value

acl

Access list number or


name

Range: 1 31
characters

ZXAN(config)#
The following example displays how to apply ACL to manage SNMP
based access to system:
ZXAN(config)#snmp-server access-list 1

Related
Commands

None

snmp-server community
Syntax

snmp-server community community-name [view view-name]


[ro | rw]
no snmp-sever community community-name

Purpose
Usage Guidelines

Mode

Example

To configure an SNMP message community string


The following table provides parameter description:
Parameter

Description

value

community-name

Community string

Range: 1 32
characters

view view-name

SNMP view

Range: 1 32
characters

ro | rw

Read-only access or
read and write access

ZXAN(config)#
The following example displays how to configure an SNMP message
community string with read and write privilege:
ZXAN(config)#snmp-server community myCommunity view myview rw

86

Confidential and Proprietary Information of ZTE CORPORATION

Chapter 9 SNMP Management

Related
Commands
Related
Information

snmp-server view
community-name refers to a string of characters and view-name
refers to a MIB view name.
By default, the keyword view shows system configuration for community view of 1.3.6.1.2.1.1. Default privilege is read-only.

snmp-server contact
Syntax

snmp-server contact mib-syscontact-text


no snmp-server contact

Purpose
Usage Guidelines

Mode

Example

To configure contact details for SNMP server


The following table provides parameter description:
Parameter

Description

Value

mib-syscontact-text

MIB system contact


information

Range: 1 200
characters

ZXAN(config)#
The following example displays how to configure contact details
(such as phone number) for SNMP server:
ZXAN(config)#snmp-server contact this is C220,tel:(021)68895000

Related
Commands

None

snmp-server context
Syntax

snmp-server context context-name


no snmp-server context context-name

Purpose
Usage Guidelines

Mode

Example

To define SNMP context name


The following table provides parameter description:
Parameter

Description

Value

context-name

Specify SNMP context


name

Range: 1 30
characters

ZXAN(config)#
The following example displays how to define the SNMP context
name as contextA:
ZXAN(config)#snmp-server context contextA

Confidential and Proprietary Information of ZTE CORPORATION

87

ZXA10 C220 Command Manual (Volume I)

Related
Commands

None

snmp-server enable
Syntax

snmp-server enable {inform | trap} [notification-type]


no snmp-server enable {inform | trap} [notification-type]

Purpose
Usage Guidelines

Mode

Example

To enable configure SNMP notification type sent by the agent


The following table provides parameter description:
Parameter

Description

Value

inform | trap

Alarm report switch


type

notification-type

Notification type

bgp, ospf, rmon,


snmp, stalarm, vpn

ZXAN(config)#
The following example displays how to enable and configure SNMP
notification type sent by the agent:
ZXAN(config)#snmp-server enable inform
ZXAN(config)#snmp-server host 168.1.1.1 inform version 2c public

Related
Commands
Related
Information

snmp-server host
By default, all information including alarm and notification is reported.

snmp-server engine-id
Syntax

snmp-server engine-id engine-id


no snmp-server engine-id

Purpose
Usage Guidelines

Mode

Example

To configure an SNMP local engine ID


The following table provides parameter description:
Parameter

Description

Value

engine-id

Engine ID string (hex)

Range: 1 24
characters

ZXAN(config)#
The following example displays how to configure an SNMP local
engine ID as 12345667890:
ZXAN(config)#snmp-server engine-id 12345667890

88

Confidential and Proprietary Information of ZTE CORPORATION

Chapter 9 SNMP Management

Related
Commands
Related
Information

show snmp engine-id


SNMP is the core of SNMP entity implementing SNMP message
sending/receiving/verification, filtering PDUs, assembling messages and communicating with SNMP application programs.

snmp-server group
Syntax

snmp-server group groupname v3 {auth | noauth | priv} [con


text context-name {match-prefix | match-exact}] [read read
view] [write writeview] [notify notifyview]
snmp-server group groupname v3 {auth | noauth | priv} [con
text context-name {match-prefix | match-exact}]

Purpose
Usage Guidelines

Mode

To configure a new SNMP group, i.e., map the SNMP user to the
SNMP view
The following table provides parameter description:
Parameter

Description

Value

group groupname

Group name

Range: 1 32
characters

v3

User security model


(SNMPv3)

auth

Auth-no-priv security
level

noauth

No-auth-no-priv
security level

priv

SNMPv3 auth-private
security level

context contextname

SNMPv3 context name

Range: 1 30
characters

match-exact

Exactly match context


name

match-prefix

Match context name


prefix

notify notifyview

Notify view for the


group

read readview

Read view for the


group

write writeview

Write view for the


group

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 SNMP


group, i.e., map the SNMP user to the SNMP view:
ZXAN(config)#snmp-server group group1 v3 priv read view1 write view1 notify view1

Related
Commands

show snmp group


snmp-server user

snmp-server host
Syntax

snmp-server host ip-address {trap | inform} version {1 | 2c |


3} community-name {enable | disable} {CRITICAL | INDETER
MINATE | MAJOR | MINOR | NOTIFICATIONS | WARNINGS}
[isnmsserver] server-index server-index [udp-port udp-port]
no snmp-server host server-index server-index

Purpose
Usage Guidelines

90

To configure the destination to receive SNMP notification


The following table provides parameter description:
Parameter

Description

Value

ipaddress

Host IP address

A.B.C.D

inform

Enable SNMP informs

version

SNMP version to
use for notification
messages

Use SNMPv1

2c

Use SNMPv2c

Use SNMPv3

community-name

SNMPv1/v2c
community string
or SNMPv3 user name

Range: 1 32
characters

udp-port udp-port

The notification hosts


UDP port number

trap

Enable SNMP traps

server-index
server-index

NMS server Index

Range: 1 8

enable

Enable the trap server

disable

Disable the trap


server

CRITICAL |
INDETERMINATE
| MAJOR | MINOR |
NOTIFICATIONS |
WARNINGS

Alarm level

Confidential and Proprietary Information of ZTE CORPORATION

Chapter 9 SNMP Management

Mode

Example

ZXAN(config)#
The following example displays how to configure the destination
to receive SNMP notification:
ZXAN(config)#snmp-server host 168.1.1.1 inform version 2c test enable
CRITICAL isnmsserver server-index 1

Related
Commands
Related
Information

snmp-server enable inform


snmp-server enable trap
Command snmp-server host should be used along with the n
mp-server enable command.
Default sending type is trap.
Default version is 1.
Default port number is 162.

snmp-server location
Syntax

snmp-server location location-text


no snmp-server location

Purpose
Usage Guidelines

Mode

Example

To specify the location of the system


The following table provides parameter description:
Parameter

Description

Value

location-text

The physical location


of this node

ZXAN(config)#
The following example displays how to specify the location of the
system:
ZXAN(config)#snmp-server location this is C220 in china

Related
Commands

None

snmp-server packetsize
Syntax

snmp-server packetsize snmp-packet-max-size


no snmp-server packetsize

Purpose
Usage Guidelines

To configure the maximum length of the SNMP message


The following table provides parameter description:

Confidential and Proprietary Information of ZTE CORPORATION

91

ZXA10 C220 Command Manual (Volume I)

Mode

Example

Parameter

Description

Value

snmp-packet-max-s
ize

Maximum SNMP
packet size in bytes

Range: 484 5000

ZXAN(config)#
The following example displays how to configure the maximum
length of the SNMP message to 1400 bytes:
ZXAN(config)#snmp-server packetsize 1400

Related
Commands

None

snmp-server trap-source
Syntax

snmp-server trap-source ip-address


no snmp-server trap-source

Purpose
Usage Guidelines

Mode

Example

To configure the source address for all traps


The following table provides parameter description:
Parameter

Description

Value

ip-address

IP address

A.B.C.D

ZXAN(config)#
The following example displays how to configure the source address as 10.1.1.1 for all traps:
ZXAN(config)#snmp-server trap-source 10.1.1.1

Related
Commands

None

snmp-server user
Syntax

snmp-server user username groupname v3 [[encrypted] auth


{md5 | sha} auth-password [priv des56 priv-password]]
no snmp-server user username

Purpose
Usage Guidelines

92

To configure the SNMPv3 user


The following table provides parameter description:
Parameter

Description

Value

username

User name

Range: 1 32
characters

Confidential and Proprietary Information of ZTE CORPORATION

Chapter 9 SNMP Management

Mode

Example

Parameter

Description

Value

groupname

Group to which the


user belongs

Range: 1 32
characters

v3

User using the v3


security model

encrypted

Passwords as MD5 or
SHA digests

auth

Authentication
parameters for the
user

md5

Use HMAC MD5


algorithm for
authentication

Range: 32 characters

sha

Use HMAC SHA


algorithm for
authentication

Range: 40 characters

auth-password

Authentication
password for user

Range: 1 32
characters

priv

Encryption
parameters for the
user

des56

Use 56 bit DES


algorithm for
encryption

priv-password

Privacy password for


user

Range: 1 32
characters

ZXAN(config)#
The following example displays how to configure the SNMPv3 user1
MD5 authentication as 12345678 and CB-DES encrypted password
as 12345678:
ZXAN(config)#snmp-server user user1 group1 v3
auth md5 12345678 priv des56 12345678

Related
Commands
Related
Information

show snmp user


snmp-server group
By default, parameter encrypted is not used.

snmp-server view
Syntax

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

Mode

Example

The following table provides parameter description:


Parameter

Description

Value

view-name

View name

Range: 1 32
characters

subtree-id

View subtree ID

Range: 1 79
characters

included | exclu
ded

MIB family is included


or excluded in the view

ZXAN(config)#
The following example displays how to define the SNMPv2 view as
myViewName:
ZXAN(config)#snmp-server view myViewName 1.3.6.1.2.1 included

Related
Commands
Related
Information

94

snmp-server community
In global configuration mode, execute this command to define the
SNMP view. In addition, view-name is a string of characters, subt
ree-id is similar to OID or MIB subtree node name. By attaching
keyword included or excluded, subtree can be configured.

Confidential and Proprietary Information of ZTE CORPORATION

Chapter

10

RMON Management
Table of Contents
rmon alarm ......................................................................95
rmon collection history .......................................................96
rmon collection statistics ....................................................97
rmon event.......................................................................98
show rmon .......................................................................99

rmon alarm
Syntax

rmon alarm index variable interval {delta | absolute} rising-t


hreshold value [event-index] falling-threshold value [event-in
dex] [owner string]
no rmon alarm index

Purpose
Usage Guidelines

To configure the RMON alarm and MIB object


The following table provides parameter description:
Parameter

Description

Value

index

Alarm index

Range: 1 65535

variable

MIB object to monitor

Range: 1 64
characters

interval

Sample interval

Range: 1
2147483647 sec

delta

Test delta between


samples

absolute

Test each sample


directly

rising-threshold
value

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-threshold
value

Falling threshold value

Range: -2147483647
2147483647

owner string

Specify an owner for


the alarm

Range: 1 30
characters
Default: config

Mode

Example

ZXAN(config)#
The following example displays how to configure the configure the
RMON alarm and related parameters:
ZXAN(config)# rmon alarm 1 ip.2.0 10 absolute rising-threshold 200 1
falling-threshold 100 1 owner ZTE

Related
Commands
Related
Information

show rmon alarms


1. Sample collection interval can be different or same for one instance.
2. To reuse the same index number for another alarm, execute
the no command to delete previous index configuration first.
3. If a non-existing index is specified for deletion, the system
prompts with Unknown alarm number message.
4. If memory is insufficient or resource unavailable, the system
prompts with Resource unavailable message.
5. The alarm should be used with related parameters for optimal
results.

rmon collection history


Syntax

rmon collection history index [owner string] [buckets bucket


-number] [interval seconds]
no rmon collection history index

Purpose
Usage Guidelines

96

To enable the history collection function of an interface (applicable


to the Ethernet interface only)
The following table provides parameter description:
Parameter

Description

Value

index

History index

Range: 1 100

buckets bucket-num
ber

Request bucket
number

Range: 1 100

Confidential and Proprietary Information of ZTE CORPORATION

Default: 50

Chapter 10 RMON Management

Parameter

Description

Value

interval seconds

Interval

Range: 1 3600
seconds
Default: 1800
seconds

owner string

Owner

Range: 1 30
characters
Default: monitor

Mode

Example

ZXAN(config-if)#
The following example displays how to enable the history collection
function of an Ethernet interface to an interval of 300 seconds:
ZXAN(config-if)# rmon collection history 1
owner zte buckets 100 interval 300

Related
Commands
Related
Information

None
1. Configuration of several history statistics to one interface is
possible.
2. It is possible to delete other interface history statistics configuration in interface configuration mode.
3. Use no form of this command to cancel the previous configuration before configuring history statistics.
4. Unknown history Control number message is displayed if a
nonexistent index is deleted.
5. Due to buffer error or unavailable resource, system displays
Alloc buffer erroror Resource unavailable message.

rmon collection statistics


Syntax

rmon collection statistics index [owner string]


no rmon collection statistics index

Purpose
Usage Guidelines

To enable the statistics collection function of an interface (applicable to the Ethernet interface only)
The following table provides parameter description:
Parameter

Description

Value

index

Statistics index

Range: 1 65535

owner string

Owner

Range: 1 30
characters
Default: monitor

Mode

Example

ZXAN(config-if)#
The following example displays how to enable the statistics collection function of an interface:
ZXAN(config-if)# rmon collection statistics 1 owner zte

Confidential and Proprietary Information of ZTE CORPORATION

97

ZXA10 C220 Command Manual (Volume I)

Related
Commands
Related
Information

None
1. Configuration of several history statistics on one interface is
possible.
2. It is possible to delete other interface history statistics configuration in interface configuration mode.
3. Use the no form of this command to cancel previous configuration before configuring history statistics.
4. Unknown etherStats number message is displayed if a
nonexistent index is deleted.
5. Due to buffer error or unavailable resource, system displays
Alloc buffer error or Resource unavailable message.

rmon event
Syntax

rmon event index [log] [trap community] [description string]


[owner string]
no rmon event index

Purpose
Usage Guidelines

To configure an RMON event


The following table provides parameter description:
Parameter

Description

Value

index

Event index

Range: 1 65535

description string

Event description

Range: 1 30
characters
Default: zte

log

Generate RMON log


when the event occurs

owner string

Event owner

Range: 1 30
characters
Default: config

trap community

Mode

Example

SNMPv1/v2c
community string
or SNMPv3 user name

Range: 1 30
characters

ZXAN(config)#
The following example displays how to configure an RMON event:
ZXAN(config)# rmon event 1 log trap public description log_trap_event

Related
Commands
Related
Information

98

show rmon events


1. An index number cannot be used to create multiple events and
will result in error message by the system.
2. If the user tries to delete a non existing index number, the
system prompts with a Unknown event number message.

Confidential and Proprietary Information of ZTE CORPORATION

Chapter 10 RMON Management

3. If buffer allocation fails, the system prompts with Alloc buffer


error message.
4. If resource is not available, the system prompts with Resource
unavailable message.

show rmon
Syntax
Purpose
Usage Guidelines

Mode

Example

show rmon [alarms] [events] [history] [statistics]


To display the RMON configuration and the relevant information
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

Any mode except exec mode


The following example displays RMON alarm configuration information:
ZXAN(config)#show rmon
supports Statistics History Alarm Event etc. group(s) of RFC1757.
Config entries:
etherStats
0
historyControl
0
alarm
0
event
1

Related
Commands
Related
Information

rmon alarm
rmon event
1. This command displays RMON version information when optional parameters are not used.
2. If the specified control list contains none of control enty, the
following information is displayed:

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

Chapter

11

FTP/TFTP Server
Table of Contents
copy .............................................................................. 101
copy .............................................................................. 102
ip ftp password ............................................................... 102
ip ftp username............................................................... 103

copy
Syntax

copy ftp: [mng] //HOST/filepath/filename [@username[:passw


ord]] flash: filepath1/filename1
copy flash: filepath1/filename1 ftp: [mng] //HOST/filepath/file
name[@username[:password]]

Purpose
Usage Guidelines

Mode

Example

To copy files from specified directory of source file system to specified directory of destination file system
The following table provides parameter description:
Parameter

Description

Value

mng

Management
interface

//HOST/filepath/filen
ame [@username[:p
assword]]

Remote host device


name/file path/file
name

Range: 1 80
characters

filepath1/filename1

File path and file


name

Range: 1 80
characters

ZXAN#
1. The following example displays how to copy files from directory
flash: /cfg/db.dat to ftp: //168.1.1.1/db.dat@zxc220:zxc220:
ZXAN#copy flash: /cfg/db.dat ftp: //168.1.1.1/db.dat@zxc220:zxc220

2. The following example displays how to copy files from directory


ftp: //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)

Related
Commands

None

copy
Syntax

copy tftp: {[mng] //HOST/filepath/filename | commander /file


path} flash: filepath1/filename1
copy flash: filepath1/filename1 tftp: {[mng] //HOST/filepath/fi
lename | commander /filepath}

Purpose
Usage Guidelines

Mode

Example

To copy the specified file to or from the specified remote host in


TFTP server
The following table provides parameter description:
Parameter

Description

Value

//HOST/filepath/filen
ame

Host file path and


name

Range: 1 80
characters

commander /filepath

Commander TFTP file


path

Range: 1 80
characters

filepath1/filename1

Management
interface file path
and name

Range: 1 80
characters

ZXAN#
1. The following example displays how to copy the file db.dat from
flash: /cfg/ to host 168.1.1.1 in the TFTP server:
ZXAN#copy flash: /cfg/db.dat tftp: //168.1.1.1/db.dat

2. The following example displays how to copy the file db.dat from
the remote host 168.1.1.1 in the TFTP server to root directory
of Flash:
ZXAN#copy tftp: //168.1.1.1/db.dat flash: db.dat

Related
Commands

None

ip ftp password
Syntax

ip ftp password password


no ip ftp password

Purpose
Usage Guidelines

102

To set FTP client-end default password


The following table provides parameter description:

Confidential and Proprietary Information of ZTE CORPORATION

Chapter 11 FTP/TFTP Server

Mode

Example

Parameter

Description

Value

password

FTP client end default


password

Range: 3 16
characters

ZXAN(config)#
The following example displays how to set FTP client-end default
password as zxc220:
ZXAN(config)#ip ftp password zxc220
ZXAN(config)#

Related
Commands
Related
Information

ip ftp username
Password is case sensitive.

ip ftp username
Syntax

ip ftp usrname username


no ip ftp usrname

Purpose
Usage Guidelines

Mode

Example

To configure default FTP username


The following table provides parameter description:
Parameter

Description

Value

username

FTP username

Range: 1 16
characters

ZXAN(config)#
The following example displays how to configure FTP username as
C220:
ZXAN(config)#ip ftp username C220
ZXAN(config)#

Related
Commands
Related
Information

ip ftp password
Allowed characters include letters, numerals and underscore.
Usernames are not case sensitive.

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

Chapter

12

System Log and


Statistics Management
Table of Contents
clear 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

clear logging alarm


Syntax
Purpose
Usage Guidelines
Mode

Example

clear logging alarm


To clear alarm logging buffer
None
ZXAN#
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)

Related
Commands

None

clear logging command


Syntax
Purpose
Usage Guidelines
Mode

Example

clear logging command


To clear command logging buffer
None
ZXAN#
The following example displays how to clear command logging
buffer:
ZXAN#clear logging command

Related
Commands

None

clear logging snmp


Syntax
Purpose
Usage Guidelines
Mode

Example

clear logging snmp


To clear SNMP logging buffer
None
ZXAN#
The following example displays how to clear SNMP logging buffer:
ZXAN#clear logging snmp

Related
Commands

None

clear processor
Syntax
Purpose
Usage Guidelines
Mode

Example

clear processor
To clear processor information
None
ZXAN#
The following example displays how to clear processor information:
ZXAN#clear processor

Related
Commands

106

None

Confidential and Proprietary Information of ZTE CORPORATION

Chapter 12 System Log and Statistics Management

Related
Information

CPU resource statistics can be cleared by executing this command.

logging buffer
Syntax

logging buffer buffer-size


no logging buffer

Purpose
Usage Guidelines

To configure the size of the alarm log buffer


The following table provides parameter description:
Parameter

Description

Value

buffer-size

Buffer size

Range: 100 1000


Kbytes
Default: 200 Kbytes

Mode

Example

ZXAN(config)#
The following example displays how to configure the size of the
alarm log buffer to 100 Kbytes:
ZXAN(config)#logging buffer 100

Related
Commands
Related
Information

None
Execute logging on command before executing this command.

logging console
Syntax
Purpose
Usage Guidelines

logging console level


To send alarm messages to console COM interface or Telnet terminal
The following table provides parameter description:
Parameter

Description

Value

MAJOR

Major conditions

MINOR

Minor conditions

WARNINGS

Warning conditions

INDETERMINATE

Indeterminate
conditions

CLEARED

Cleared conditions

NOTIFICATIONS

Normal but significant


conditions

Confidential and Proprietary Information of ZTE CORPORATION

107

ZXA10 C220 Command Manual (Volume I)

Mode

Example

ZXAN(config)#
The following example displays how to configure alarm messages
as cleared:
ZXAN(config)#logging console CLEARED

Related
Commands
Related
Information

None
System initialization alarm message sent to Console interface is of
notifications level.
Execute logging on command before this command execution.
Execute no form of this command to stop sending alarm messages.

logging filesavetime
Syntax

logging filesavetime {interval time | everyday time | week


weekday time | month month-day time} [mng] ftp-server usern
ame password [filename]
no logging filesavetime

Purpose
Usage Guidelines

To configure time for writing alarm log to file and sending it to FTP
server
The following table provides parameter description:
Parameter

Description

Value

everyday time

Time when alarm log


file is saved everyday

hh:mm:ss

interval time

Time interval for


saving alarm log file,
no less than one hour
with accuracy of one
minute

hh:mm:ss

month month-day
time

Date and time for


saving alarm log file
every month

Range (month): 1
31 days

Date and time for


saving alarm log file
every week

Range (weekday): 7
days (Mon Sat)

ftp-server

IP address of FTP
server

A.B.C.D

username

FTP server username

Range: 1 31
characters

password

FTP server password

Range: 1 31
characters

week weekday time

108

Confidential and Proprietary Information of ZTE CORPORATION

Range (time):
hh:mm:ss

Range (time):
hh:mm:ss

Chapter 12 System Log and Statistics Management

Mode

Example

Parameter

Description

Value

mng

Management
interface

filename

The alarm log file


name prefix

Range: 1 31
characters

ZXAN(config)#
The following example displays how to configure time as 0:00 for
writing alarm log to file everyday and sending it to FTP server with
IP address 168.1.70.100, username/password target/target, and
prefix of saved file as zxrt64log:
ZXAN(config)#logging filesavetime everyday
0:0:0 168.1.70.100 target target zxrt64log

Related
Commands
Related
Information

None
logging on command should be executed before configuring this
command.

logging ftp
Syntax

logging ftp level [mng] ftp-server username password [filename]


no logging ftp

Purpose
Usage Guidelines

To configure alarm level for alarm messages sent to FTP server


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

Management
interface

ftp-server

FTP server IP address

A.B.C.D

username

FTP server user name

Range: 1 31
characters

password

FTP server logging


password

Range: 1 31
characters

filename

Alarm message file


name

Range: 1 31
characters
Default: log.dat

Confidential and Proprietary Information of ZTE CORPORATION

109

ZXA10 C220 Command Manual (Volume I)

Mode

Example

ZXAN(config)#
The following example displays how to configure sending of level 6
alarms (NOTIFICATIONS) to FTP server (168.1.70.100) with user
name (target) and password (target) in file zxralarm.log:
ZXAN(config)#logging ftp NOTIFICATIONS
168.1.70.100 target target zxralarm.log

Related
Commands
Related
Information

None
Execute logging on command before using this command.
File name used in this command must exist in FTP server directory.
By default, file name is log.dat.

logging level
Syntax

logging level level


no logging level

Purpose
Usage Guidelines

To configure the alarm message level recorded in the alarm log file
The following table provides parameter description:
Parameter

Description

Value

level

Alarm level

1: MAJOR
2: MINOR
3: WARNINGS
4: INDETERMINATE
5: CLEARED
6: NOTIFICATIONS

Mode

Example

ZXAN(config)#
The following example displays how to configure the alarm message level recorded in the alarm log file:
ZXAN(config)#logging level INDETERMINATE

Related
Commands
Related
Information

None
Execute logging on command before executing this command.

logging mode
Syntax

logging mode FULLCLEAR | FULLCYCLE | FULLEND | interval


no logging mode

Purpose

110

To configure clearing mode of alarm log

Confidential and Proprietary Information of ZTE CORPORATION

Chapter 12 System Log and Statistics Management

Usage Guidelines

Mode

Example

The following table provides parameter description:


Parameter

Description

Value

FULLCLEAR

Clear logging buffer


when logging buffer is
full

FULLCYCLE

Clear 1/3 logging


buffer when logging
buffer is full

FULLEND

No logging to buffer
when logging buffer is
full

interval

Interval for saving


alarm log file

Range: 10 65535
min

ZXAN(config)#
The following example displays how to configure clearing mode of
alarm log as FULLCLEAR:
ZXAN(config)#logging mode FULLCLEAR

Related
Commands
Related
Information

None
Execute logging on command before executing this command.

logging snmplog-save
Syntax
Purpose
Usage Guidelines

Mode

Example

logging snmplog-save {disable | enable}


To enable or disable auto-save feature of command and SNMP logs
The following table provides parameter description:
Parameter

Description

Value

enable

Enable command log


and SNMP log

disable

Disable command log


and SNMP log

ZXAN(config)#
The following example displays how to enable SNMP log saving:
ZXAN(config)#logging snmplog-save enable

Related
Commands

None

Confidential and Proprietary Information of ZTE CORPORATION

111

ZXA10 C220 Command Manual (Volume I)

Related
Information

Execute logging on command before this command configuration.

logging on
Syntax

logging on
no logging on

Purpose
Usage Guidelines
Mode

Example

To enable system logging


None
ZXAN(config)#
The following example displays how to enable system logging:
ZXAN(config)#logging on

Related
Commands
Related
Information

None
logging on command is related to following commands configuration:

logging mode, logging console, logging buffer, logging


level, logging ftp, logging filesavetime, and logging
snmplog-save.

no logging on command is used to disable logging globally.

show snmplogfile
Syntax
Purpose
Usage Guidelines

show snmplogfile [start-time date-time] [end-time date-ti


me] [ipaddress ip-address]
To display history record of SNMP log
The following table provides parameter description:
Parameter

Description

Value

start-time date time

Login start date and


time

Date: mm-dd-yyyy

Login end date and


time

Date: mm-dd-yyyy

Login IP address

A.B.C.D

end-time date time

ipaddress ip-address
Mode

Example

Time: hh:mm:ss

Time: hh:mm:ss

All modes except exec mode


The following example displays display history record of SNMP log:
ZXAN(config)#show snmplogfile
02:37:31 01/01/2001 UTC 111.111.111.211 get zxAnFtpServerFileName.0
02:37:31 01/01/2001 UTC 111.111.111.211 get zxAnFtpServerUserPwd.0
02:37:31 01/01/2001 UTC 111.111.111.211 get zxAnFtpServerUserName.0

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.0


02:37:31 01/01/2001 UTC 111.111.111.211 get zxAnFtpClntOperType.0
02:37:31 01/01/2001 UTC 111.111.111.211 get zxAnFtpManagedFileType.0

Related
Commands

None

Related
Commands

By default, this command displays all records in SNMP log buffer.

show cmdlogfile
Syntax
Purpose
Usage Guidelines

show cmdlogfile [username string] [start-time date time]


[end-time date time] [vtyno string] [ipaddress ip-address]
To display system command log (history)
The following table provides parameter description:
Parameter

Description

Value

username string

Login username

Range: 1 16
characters

start-time date time

Start time of
configuration
command

Date: mm-dd-yyyy

End time of
configuration
command

Date: mm-dd-yyyy

vtyno string

Login vty terminal


number

con0, vty0, vty1,


vty2, vty3

ipaddress ip-address

IP address of host

A.B.C.D

end-time date time

Mode

Example

Time: hh:mm:ss

Time: hh:mm:ss

All modes except the exec mode


The following example displays system command log (history):
ZXAN(config)#show cmdlogfile username zte vtyno vty1
vty1 zte@10.62.31.32 01:01:15 01/01/2001 UTC /--- user log out ---/
vty1 zte@10.62.31.32 00:26:55 01/01/2001 UTC ex
vty1 zte@10.62.31.32 00:26:33 01/01/2001 UTC interface epon-olt_0/4/3
vty1 zte@10.62.31.32 00:26:22 01/01/2001 UTC ex
vty1 zte@10.62.31.32 00:17:19 01/01/2001 UTC ip proxy-arp
vty1 zte@10.62.31.32 00:14:22 01/01/2001 UTC arp learn
vty1 zte@10.62.31.32 00:14:14 01/01/2001 UTC interface vlan100
vty1 zte@10.62.31.32 00:14:06 01/01/2001 UTC config ter
vty1 zte@10.62.31.32 00:14:02 01/01/2001 UTC /*** user log in ***/

Related
Commands

None

Confidential and Proprietary Information of ZTE CORPORATION

113

ZXA10 C220 Command Manual (Volume I)

Related
Information

By default, all records in command log are displayed.

show logging alarm


Syntax
Purpose
Usage Guidelines

show logging alarm [typeid type] [start-date date end-date


date] [level level] [include text] [summary]
To display alarm records information in alarm log buffer
The following table provides parameter description:
Parameter

Description

Value

typeid type

Alarm type of alarm


message to be shown

enviromente,
quipment, protocol,
service, system

start-date date

Alarm message to be
shown is created after
this date (including
this date)

Date: mm-dd-yyyy

end-date date

Alarm message to be
shown is created
before this date
(including this date)

Date: mm-dd-yyyy

level level

Level of alarm
messages to be
displayed

0: CRITICAL
1: MAJOR
2: MINOR
3: WARNINGS
4: INDETERMINATE
5: CLEARED
6: NOTIFICATIONS

Mode

Example

include text

Alarm including text

summary

Alarm log buffer


usage

All modes except the exec mode


The following example displays alarm records information in alarm
log buffer:
ZXAN#show logging alarm typeid equipment
An alarm 33037 level 5 occurred
at 00:02:09 01/01/2001 UTC sent by MCP Sysctl
alarm restore when card up in shelf 0 slot 4
An alarm 33037 level 5 occurred
at 00:02:06 01/01/2001 UTC sent by MCP Sysctl
alarm restore when card up in shelf 0 slot 9
An alarm 33037 level 5 occurred
at 00:01:46 01/01/2001 UTC sent by MCP Sysctl
alarm restore when card up in shelf 0 slot 11
An alarm 33037 level 0 occurred
at 00:00:43 01/01/2001 UTC sent by MCP Sysctl
alarm : card out of use in shelf 0 slot 11
An alarm 33037 level 0 occurred
at 00:00:43 01/01/2001 UTC sent by MCP Sysctl
alarm : 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 occurred


at 00:00:43 01/01/2001 UTC sent by MCP Sysctl
alarm : card out of use in shelf 0 slot 4
An alarm 33037 level 0 occurred
at 00:00:36 01/01/2001 UTC sent by MCP Sysctl
alarm : card no config in shelf 0 slot 5
An alarm 33037 level 0 occurred
at 00:00:33 01/01/2001 UTC sent by MCP Sysctl
alarm : board offline in shelf 0 slot 13
An alarm 33037 level 0 occurred
at 00:00:33 01/01/2001 UTC sent by MCP Sysctl
alarm : board offline in shelf 0 slot 12
An alarm 33037 level 0 occurred
at 00:00:33 01/01/2001 UTC sent by MCP Sysctl
alarm : board offline in shelf 0 slot 8
An alarm 33037 level 0 occurred
at 00:00:33 01/01/2001 UTC sent by MCP Sysctl
alarm : board offline in shelf 0 slot 3
An alarm 33025 level 6 occurred
at 00:00:32 01/01/2001 UTC sent by MCP Sysctl
inform msg when master core card
start in shelf 0 slot 7

Related
Commands

None

show logging configure


Syntax
Purpose
Usage Guidelines
Mode

Example

show logging configure


To display logging information records
None
All modes except exec mode
The following example displays logging information records:
ZXAN(config)#show logging configure
logging on
logging buffer 1000
logging mode fullcycle
logging console notifications
logging level notifications
logging snmplog-save disable

Related
Commands

logging on
logging buffer
logging mode
logging console
logging level
logging snmplog-save

show processor
Syntax

show processor [rackno rackno] [shelfno shelfno] [slotno slot


no]

Confidential and Proprietary Information of ZTE CORPORATION

115

ZXA10 C220 Command Manual (Volume I)

Purpose
Usage Guidelines

Mode

Example

To display system resource usage statistics (such as CPU and


memory utilization)
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

All modes except the exec mode


The following example displays system resource usage statistics:
ZXAN(config)#show processor
Rack
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:

Related
Commands

Parameter

Description

Rack

Rack number

Shelf

Shelf number

Slot

Slot number

CPU(5s)

CPU utilization statistics in an interval of five seconds

CPU(1m)

CPU utilization statistics in an interval of one minute

CPU(5m)

CPU utilization statistics in an interval of five minutes

PhyMem

Physical memory

Memory

Memory utilization

None

syslog
Syntax
Purpose
Usage Guidelines

116

syslog exclude-snmp index subtree-id


To configure Syslog server address and port number (to send alarm
messages)
The following table provides parameter description:

Confidential and Proprietary Information of ZTE CORPORATION

Chapter 12 System Log and Statistics Management

Mode

Example

Parameter

Description

Value

index

Index terms

Range: 1 10

subtree-id

SNMP operation
objects OID or SNMP
operation objects MIB
name

Range: 1 79

ZXAN(config)#
The following example displays how to shield SNMP
operation
log
sending
to
syslog
server
with
OID
1.3.6.1.4.1.3902.1015.1.1.101.4.8:
ZXAN(config)#syslog exclude-snmp 2 1.3.6.1.4.1.3902.1015.1.1.101.4.8

Related
Commands

None

syslog-server host
Syntax

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] [cmd
log] [debugmsg] [snmplog]

Purpose
Usage Guidelines

To configure IP address and port number transmission alarm message to Syslog server
The following table provides parameter description:
Parameter

Description

Value

ip-address

Syslog server IP
address

A.B.C.D

fport fport

Syslog server frame


port nubmer

Range: 0 65535

Local port
transmitting Syslog
packets

Range: 0 65535

Alarm log level

1: MAJOR

lport lport

alarmlog level level

Default: 514

Default: 514

2: MINOR
3: WARNINGS
4: INDETERMINATE
5: CLEARED
6: NOTIFICATIONS
cmdlog

Command log
transmitted to Syslog
server

Confidential and Proprietary Information of ZTE CORPORATION

117

ZXA10 C220 Command Manual (Volume I)

Mode

Example

Parameter

Description

Value

debugmsg

Debug message
transmitted to Syslog
server

snmplog

SNMP message
transmitted to Syslog
server

get-pdu

To get PDU from


Syslog server

set-pdu

To permit SNMP to set


PDU from Syslog

ZXAN(config)#
The following example displays how to configure IP address transmission alarm message to Syslog server:
ZXAN(config)# syslog-server host 10.40.56.19

Related
Commands

None

syslog exclude-snmp
Syntax

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:

Mode

Example

Parameter

Description

Value

subtree-id

MIB tree ID or
sub-tree ID

Range: 1 79
characters

items

Items supporting
shielding SNMP
messages

Range: 1 10

ZXAN(config)#
The following example displays how to exclude SNMP message
sending to syslog server:
ZXAN(config)# syslog exclude-snmp 1 1.3.6.1.2.1

118

Confidential and Proprietary Information of ZTE CORPORATION

Chapter 12 System Log and Statistics Management

Related
Commands

None

unm on
Syntax

unm on
no unm on

Purpose
Usage Guidelines
Mode

Example

To enable the integrated network management function


None
ZXAN(config)#
The following example displays how to enable the integrated network management function:
ZXAN(config)#no unm on

Related
Commands

None

unm server
Syntax

unm server [mng] traphost community


no unm server

Purpose
Usage Guidelines

Mode

Example

To configure integrated network management trap server address


and community
The following table provides parameter description:
Parameter

Description

Value

traphost

UNM server IP address

A.B.C.D

community

SNMPv1/v2c
community string
or SNMPv3 user name

Range: 1 32
characters

mng

Management
interface

ZXAN(config)#
The following example displays how to configure integrated network management trap server IP address as 10.40.88.201 and
community as public:
ZXAN(config)#unm server 10.40.88.201 public

Confidential and Proprietary Information of ZTE CORPORATION

119

ZXA10 C220 Command Manual (Volume I)

Related
Commands

None

write alarmlog
Syntax
Purpose
Usage Guidelines
Mode

Example

write alarmlog
To save alarm log from buffer to flash:data/log.dat
None
ZXAN#
The following example displays how to save alarm log from buffer
to flash:data/log.dat:
ZXAN#write alarmlog
Building logging file...
..
[ok]

Related
Commands
Related
Information

None
This command writes alarm of following levels from buffer to file:

1: emergencies

2: alerts

3: critical

4: errors

write cmdlog
Syntax
Purpose
Usage Guidelines
Mode

Example

write cmdlog
To save command log from buffer to flash:data/log.dat
None
ZXAN#
The following example displays how to save command log from
buffer to flash:data/log.dat:
ZXAN#write cmdlog
Building cmdlog file...
[ok]

Related
Commands

None

write logging
Syntax

120

write logging

Confidential and Proprietary Information of ZTE CORPORATION

Chapter 12 System Log and Statistics Management

Purpose
Usage Guidelines
Mode

Example

To write alarm logging information in file


None
ZXAN#
The following example displays how to write alarm logging information in file:
ZXAN#write logging
Building logging file...
..
[ok]

Related
Commands
Related
Information

write
write nvram
If slot number is specified, this command only update card in this
slot. If only rack number is specified, all cards of the rack are
updated.

write snmplog
Syntax
Purpose
Usage Guidelines
Mode

Example

write snmplog
To write SNMP log from buffer to flash:data/snmplog.dat
None
ZXAN#
The following example displays how to write SNMP log from buffer
to flash:data/snmplog.dat:
ZXAN#write snmplog
Building snmplog file...
[ok]

Related
Commands

None

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

Chapter

13

Alarm Management
Table of Contents
alarm {enable | disable} .................................................. 123
alarm confirm ................................................................. 124
alarm trap-confirm .......................................................... 124
alarm trap-control ........................................................... 125
alarm level-change .......................................................... 125
show alarm..................................................................... 126
show alarm config ........................................................... 126
show alarm pool .............................................................. 126
show alarm counter ......................................................... 127
show alarm-level ............................................................. 128
clear alarm pool .............................................................. 128
clear alarm counter.......................................................... 129

alarm {enable | disable}


Syntax
Purpose
Usage Guidelines

Mode

Example

alarm {enable | disable}


To enable or disable alarm switch
The following table provides parameters description:
Parameter

Description

Value

enable

Enable alarm

disable

Disable alarm

ZXAN(config)#
The following example displays how to enable alarm:
ZXAN(config)#alarm enable

Related
Commands

None

Confidential and Proprietary Information of ZTE CORPORATION

123

ZXA10 C220 Command Manual (Volume I)

Related
Information

By default, this command is disabled.

alarm confirm
Syntax

alarm confirm
no alarm confirm

Purpose
Usage Guidelines
Mode

Example

To configure alarm confirmation


None
ZXAN(config)#
The following example displays how to configure alarm confirmation:
ZXAN(config)#alarm confirm

Related
Commands
Related
Information

None
By default, alarm confirmation is enabled.

alarm trap-confirm
Syntax

alarm trap-confirm retry integer1 timeout integer2


no alarm trap-confirm

Purpose
Usage Guidelines

To configure alarm retry tries and timeout interval


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

Example

ZXAN(config)#
The following example displays how to configure alarm retry as 3
and timeout interval as 20 seconds:
ZXAN(config)# trap-confirm retry 3 timeout 20

Related
Commands

124

None

Confidential and Proprietary Information of ZTE CORPORATION

Chapter 13 Alarm Management

Related
Information

By default, alarm timeout is not configured.

alarm trap-control
Syntax
Purpose
Usage Guidelines

Mode

Example

alarm trap-control {CPU_LOAD_ALARM | MEM_OVERLOAD


_ALARM} {disable | enable}
To enable or disable global alarm trap
The following table provides parameter description:
Parameter

Description

Value

CPU_LOAD_ALARM

CPU LOAD ALARM

MEM_OVERLOAD_A
LARM

Memory OVERLOAD
ALARM

enable

Enable trap control

disable

Disable trap control

ZXAN(config)#
The following example displays how to disable global alarm trap:
ZXAN(config)#alarm trap-control CPU_LOAD_ALARM disable

Related
Commands

None

alarm level-change
Syntax
Purpose
Usage Guidelines

alarm level-change alarmcode level


To modify alarm level ID
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

Example

ZXAN(config)#
The following example displays how to modify CRITICAL alarm
level as 10:
ZXAN(config)# alarm level-change 10 CRITICAL

Confidential and Proprietary Information of ZTE CORPORATION

125

ZXA10 C220 Command Manual (Volume I)

Related
Commands

None

show alarm
Syntax

show alarm number

Purpose

To display pool array number according to alarm ID

Usage Guidelines

The following table provides parameter description:

Mode

Example

Parameter

Description

Value

number

Pool array number

Range: 1
4294967295

All modes except exec mode


The following example displays pool array number according to
alarm ID:
ZXAN(config)#show alarm 1
The pool array NO. is :2

Related
Commands

None

show alarm config


Syntax
Purpose
Usage Guidelines
Mode

Example

show alarm config


To display the alarm configuration information
None
All modes except exec mode
The following example displays the alarm configuration information:
ZXAN(config)#show alarm config
alarm enable
alarm confirm
nms-hello-trap disable
nms-hello-trap interval 120

Related
Commands

None

show alarm pool


Syntax
Purpose

126

show alarm pool number


To display alarm pool information

Confidential and Proprietary Information of ZTE CORPORATION

Chapter 13 Alarm Management

Usage Guidelines

Mode

Example

The following table provides parameter description:


Parameter

Description

Value

number

Pool number

Range: 1 300

All modes except exec mode


The following example displays alarm pool information:
ZXAN(config)#show alarm pool 1
Alarm ID
: 1
Alarm Code : 53504
Alarm Level : 3
Alarm Time : 00:00:32 01/01/2001 UTC
AlarmDesInfo: Power 2 is abnormal

Related
Commands

None

show alarm counter


Syntax
Purpose
Usage Guidelines
Mode

Example

show alarm counter


To display the alarm counter information
None
All modes except exec mode
The following example displays the alarm counter information:
ZXAN(config)# show alarm counter
alarmReport:

155

alarmConfirm:

58

alarmNullPointer:

alarmInvalidMsgType:

alarmInvalidReportType: 0

alarmInvalidLevel:

alarmInvaideMibOid:

alarmInvalidAlarmId:

alarmInvalidRecNum:

alarmLogFuncNull:

alarmIdNotExist:

alarmRecordExist:

18

alarmPoolFull:

alarmPoolOverflow:

alarmPoolInsOk:

37

alarmGetRegIndexFail :

alarmSendToRosSuc:

155

alarmSendTrapSuc:

107

alarmSendToRosFail:

alarmSendTrapFail:

alarmGetAlarmRegSuc:

220

alarmGetStrFuncSuc:

alarmGetAlarmRegFail:

alarmGetStrFuncFail:

1500

alarmAddToPoolSuc:

41

alarmInformSendTrapSuc:

84

alarmAddToPoolFail:

alarmInformSendTrapFail: 0

alarmGetLogFuncSuc:

463

alarmGetByAlarmIdOk:

Confidential and Proprietary Information of ZTE CORPORATION

124

127

ZXA10 C220 Command Manual (Volume I)

Related
Commands

alarmGetLogFuncFail:

alarmGetByAlarmIdFail:

alarmRestoreDelSuc:

29

alarmBadTypeFromRos:

alarmRestoreDelFail:

29

alarmRecvFromRos:

41

alarmInformRecvFromRos: 84

alarmRestoreRecvFromRos: 29

alarmRecordUpdate:

84

alarmGetRegInfoFail:

29

alarmCreateReqFail:

alramBindValueFail:

alarmEncodeReqFail:

alarmAllocMemFail:

alarmUnsupportBindType: 0

alarmUnsupportMibVar:

alarmRecvDup:

alarmInformNotSendTrap:

None

show alarm-level
Syntax
Purpose
Usage Guidelines

Mode

Example

show alarm-level alarmcode


To display alarm level corresponding to specified alarm ID
The following table provides parameter description:
Parameter

Description

Value

alarmcode

Alarm ID

Range: 65534

All mode except exec mode


The following example displays alarm level corresponding to alarm
3:
ZXAN(config)#show alarm-level 3
AlarmCode
default-level
current-level
3
cleared
cleared

Related
Commands

None

clear alarm pool


Syntax
Purpose
Usage Guidelines

Mode

128

clear alarm pool integer


To clear the alarm pool information
The following table provides parameter description:
Parameter

Description

Value

integer

Pool array number

Range: 1 300

ZXAN#

Confidential and Proprietary Information of ZTE CORPORATION

Chapter 13 Alarm Management

Example

The following example displays how to clear the alarm pool information:
ZXAN#clear alarm pool 1

Related
Commands

None

clear alarm counter


Syntax
Purpose
Usage Guidelines
Mode

Example

clear alarm counter


To clear the alarm counter information
None
ZXAN#
The following example displays how to clear the alarm counter
information:
ZXAN#clear alarm counter

Related
Commands

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

Chapter

14

Debugging
Table
debug
debug
debug
debug
debug
debug
debug
debug
debug
debug
debug
debug
debug
debug
debug
debug
debug
debug
debug
debug
debug
debug
debug
debug
debug
debug
debug
debug
debug
debug
debug
debug
debug
debug
debug
debug
debug
debug
debug
debug
debug
debug
debug
debug
debug
debug

of Contents
all ........................................................................ 132
alarm ................................................................... 133
arp ...................................................................... 133
dhcp-option82 ....................................................... 133
group-management................................................ 134
igmp .................................................................... 135
ip......................................................................... 136
ip bgp all .............................................................. 136
ip bgp dampening .................................................. 137
ip bgp events ........................................................ 137
ip bgp in ............................................................... 137
ip bgp keepalives ................................................... 138
ip bgp out ............................................................. 138
ip bgp updates....................................................... 139
ip destination ........................................................ 139
ip dhcp ................................................................. 140
ip icmp ................................................................. 140
ip icmp detail ........................................................ 140
ip igmp................................................................. 141
ip igmp-snooping ................................................... 141
ip interface............................................................ 141
ip multicast ........................................................... 142
ip msdp ................................................................ 143
ip ospf adj............................................................. 143
ip ospf all.............................................................. 144
ip ospf cspf ........................................................... 144
ip ospf database-timer............................................ 145
ip ospf events........................................................ 145
ip ospf flood .......................................................... 145
ip ospf lsa-generation ............................................. 146
ip ospf nsf............................................................. 146
ip ospf packet........................................................ 146
ip ospf retransmission............................................. 147
ip ospf spf............................................................. 147
ip ospf tree ........................................................... 148
ip pim-snooping ..................................................... 148
ip pimsm .............................................................. 149
ip pimdm .............................................................. 150
ip protocol ............................................................ 150
ip rip .................................................................... 151
ip rip all ................................................................ 151
ip rip database ...................................................... 152
ip rip trigger.......................................................... 152
ip source............................................................... 152
ip tcp all ............................................................... 153
ip tcp driver .......................................................... 153

Confidential and Proprietary Information of ZTE CORPORATION

131

ZXA10 C220 Command Manual (Volume I)

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

debug all
Syntax

debug all
no debug all

Purpose
Usage Guidelines
Mode

Example

To enable all debugging


None
ZXAN#
The following example displays how to enable all debugging:
ZXAN#debug all
All possible debugging has been turned on

132

Confidential and Proprietary Information of ZTE CORPORATION

Chapter 14 Debugging

Related
Commands
Related
Information

All debug commands


terminal monitor
The debug all command may severely affect system and network
performance, therefore, it not recommended to use this command
for a long time and in cases when system usage is high.
By default, all debug commands are disabled.

debug alarm
Syntax
Purpose
Usage Guidelines
Mode

Example

debug alarm
To clear alarm counter
None
ZXAN#
The following example displays how to clear alarm counter:
ZXAN#debug alarm

Related
Commands

None

debug arp
Syntax

debug arp
no debug arp

Purpose

Usage Guidelines
Mode

Example

To enable ARP debugging to display debug information processed


by ARP and display whether the router is sending/receiving ARP
messages
None
ZXAN#
The following example displays how to enable ARP debugging:
ZXAN#debug arp
ARP debugging is on

Related
Commands

terminal monitor

debug dhcp-option82
Syntax

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/sl
ot/{port-no | olt:onu} [gport gportno | pvc pvcno]
Purpose
Usage Guidelines

Mode

Example

To enable DHCP-option82 debugging


The following table provides parameter description:
Parameter

Description

Value

all

DHCP Option82 all


debugging

data

DHCP Option82 data


debugging

error

DHCP Option82 error


debugging

event

DHCP Option82 event


debugging

type_shelf/slot/{port
-no | olt:onu}

Shelf, slot and port


number

Range: 1 127
characters

gport gportno

Port number

Range: 1 255

pvc pvcno

PVC number

Range: 1 8

ZXAN#
The following example displays how to enable DHCP-option82 debugging:
ZXAN#debug dhcp-option82 data gpon-onu_0/9/1:1 gport 1
dhcp-option82 data debugging is on

Related
Commands

None

debug group-management
Syntax

debug group-management
no debug group-management

Purpose
Usage Guidelines
Mode

Example

To enable debugging for cluster management protocol (to display


debugging information of cluster management protocol)
None
ZXAN#
The following example displays how to debugging for cluster management protocol:
ZXAN#debug group-management
group-management debugging is on

134

Confidential and Proprietary Information of ZTE CORPORATION

Chapter 14 Debugging

Related
Commands

terminal monitor

debug igmp
Syntax

debug igmp all


debug igmp {data | error | event} [rack-number shelf-num
ber slot-number] [interface name [pvc pvcno]] [mvlan mvlanid]
[group ipaddress] [mux | oam | proxy | recv | send | timer]
no debug igmp all
no debug igmp {data | error | event} [rack-number shelf-num
ber slot-number] [interface name [pvc pvcno]] [mvlan mvlanid]
[group ipaddress] [mux | oam | proxy | recv | send | timer]

Purpose
Usage Guidelines

To enable IGMP related debugging


The following table provides parameter description:
Parameter

Description

Value

all

All IGMP related


debug information

data

IGMP data related


debug information

error

IGMP received error


messages

event

Event changing IGMP


information

rack-number

Rack number

Range: 0 65535

shelf-number

Shelf number

Range: 0 65535

slot-number

Slot number

Range: 0 65535

interface name

Interface name

Range: 1 32
characters

pvc pvcno

PVC number

Range: 1 8

mvlan mvlanid

VLAN ID

Range: 1 4094

group ipaddress

IP address

A.B.C.D

mux

Multiple interface

oam

Operation and
maintenance

proxy

Proxy device

recv

Received packets

Confidential and Proprietary Information of ZTE CORPORATION

135

ZXA10 C220 Command Manual (Volume I)

Mode

Example

Parameter

Description

Value

send

Sending packets

timer

Timer

ZXAN#
The following example displays how to enable IGMP error debugging:
ZXAN# debug igmp error group 10.9.6.3 mux
IGMP error debugging is on

Related
Commands

terminal monitor

debug ip
Syntax

debug ip
no debug ip

Purpose

Usage Guidelines
Mode

Example

To enable IP debugging to display debugging information


processed by the IP and display whether the router is sending/receiving IP packet
None
ZXAN#
The following example displays how to enable IP debugging:
ZXAN#debug ip
IP debugging is on

Related
Commands

terminal monitor

debug ip bgp all


Syntax

debug ip bgp all


no debug ip bgp all

Purpose
Usage Guidelines
Mode

Example

To enable all BGP related debugging


None
ZXAN#
The following example displays how to enable BGP debugging:
ZXAN#debug ip bgp all
All BGP debugging has been turned on

136

Confidential and Proprietary Information of ZTE CORPORATION

Chapter 14 Debugging

Related
Commands

terminal monitor

debug ip bgp dampening


Syntax

debug ip bgp dampening


no debug ip bgp dampening

Purpose
Usage Guidelines
Mode

Example

To trace and view debugging information and processing of BGP


route oscillation
None
ZXAN#
The following example displays how to trace and view information
and processing of BGP route oscillation:
ZXAN#debug ip bgp dampening
BGP dampening debugging is on

Related
Commands

terminal monitor

debug ip bgp events


Syntax

debug ip bgp events


no debug ip bgp events

Purpose
Usage Guidelines
Mode

Example

To trace and display state of peer BGP router


None
ZXAN#
The following example displays how to trace and display the state
of the peer BGP router:
ZXAN#debug ip bgp events
BGP events debugging is on

Related
Commands
Related
Information

terminal monitor
Cause is shown if state of peer BGP router is abnormal (abnormal
transition mainly refers to transition of BGP state from high to low).

debug ip bgp in
Syntax

debug ip bgp in
no debug ip bgp in

Purpose

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
Mode

Example

None
ZXAN#
The following example displays how to trace and display debug
messages received by BGP router:
ZXAN#debug ip bgp in
BGP in debugging is on

Related
Commands

terminal monitor

debug ip bgp keepalives


Syntax

debug ip bgp keepalives


no debug ip bgp keepalives

Purpose
Usage Guidelines
Mode

Example

To trace and display keepalive messages sent and received by BGP


router
None
ZXAN#
The following example displays how to trace and display keepalive
messages sent and received by BGP router:
ZXAN#debug ip bgp keepalives
BGP keepalives debugging is on

Related
Commands

terminal monitor

debug ip bgp out


Syntax

debug ip bgp out


no debug ip bgp out

Purpose
Usage Guidelines
Mode

Example

To trace and display the messages sent by BGP router


None
ZXAN#
The following example displays how to trace and display the messages sent by BGP router:
ZXAN#debug ip bgp out
BGP out debugging is on

138

Confidential and Proprietary Information of ZTE CORPORATION

Chapter 14 Debugging

Related
Commands

terminal monitor

debug ip bgp updates


Syntax

debug ip bgp [ip-address] updates


no debug ip bgp [ip-address] updates

Purpose
Usage Guidelines

Mode

Example

To enable BGP updates debugging and display update packets routing information
The following table provides parameter description:
Parameter

Description

Value

ip-address

Neighboring IP
address

A.B.C.D

ZXAN#
The following example displays how to enable BGP updates debugging and display update packets routing information:
ZXAN#debug ip bgp updates
BGP updates debugging is on

Related
Commands

terminal monitor

debug ip destination
Syntax

debug ip destination ip-address


no debug ip destination ip-address

Purpose

Usage Guidelines

Mode

Example

To enable debugging of specified destination IP address to display


debugging information processed by the IP protocol, and display
whether the router is sending/receiving IP packets
The following table provides parameter description:
Parameter

Description

Value

ip-address

Destination IP address

A.B.C.D

ZXAN#
The following example displays how to enable debugging function
of destination IP 192.168.36.3:
ZXAN#debug ip destination 192.168.36.3
IP destination debugging is on

Confidential and Proprietary Information of ZTE CORPORATION

139

ZXA10 C220 Command Manual (Volume I)

Related
Commands

terminal monitor

debug ip dhcp
Syntax

debug ip dhcp
no debug ip dhcp

Purpose
Usage Guidelines
Mode

Example

To enable debugging of DHCP Relay and DHCP Server


None
ZXAN#
The following example displays how to enable debugging of DHCP
Relay and DHCP Server:
ZXAN#debug ip dhcp
DHCP debugging is on

Related
Commands

terminal monitor

debug ip icmp
Syntax

debug ip icmp
no debug ip icmp

Purpose

Usage Guidelines
Mode

Example

To enable ICMP debugging to display the debugging information


processed by ICMP and display whether the router is sending/receiving the ICMP packets
None
ZXAN#
The following example displays how to enable ICMP debugging:
ZXAN#debug ip icmp
ICMP debugging is on

Related
Commands

terminal monitor

debug ip icmp detail


Syntax

debug ip icmp detail


no debug ip icmp detail

Purpose
Usage Guidelines

140

To enable ICMP debugging and display detailed sent and received


ICMP information
None

Confidential and Proprietary Information of ZTE CORPORATION

Chapter 14 Debugging

Mode

Example

ZXAN#
The following example displays ICMP debugging detailed information:
ZXAN#debug ip icmp detail
ICMP detail debugging is on

Related
Commands

terminal monitor

debug ip igmp
Syntax

debug ip igmp
no debug ip igmp

Purpose
Usage Guidelines
Mode

Example

To enable/disable IGMP debugging


None
ZXAN#
The following example displays how to enable IGMP debugging:
ZXAN#debug ip igmp
IGMP debugging is on

Related
Commands

None

debug ip igmp-snooping
Syntax

debug ip igmp-snooping
no debug ip igmp-snooping

Purpose
Usage Guidelines
Mode

Example

To enable IGMP snooping


None
ZXAN#
The following example displays how to enable IGMP snooping:
ZXAN#debug ip igmp-snooping
IGMP SNOOPING debugging is on

Related
Commands

terminal monitor

debug ip interface
Syntax

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
Usage Guidelines

To enable and display interface debugging related to IP


The following table provides parameter description:
Parameter

Description

Value

interface-name

Interface name

loopback1
loopback64
supervlan1
supervlan255
vlan1 vlan4094

Mode

Example

ZXAN#
The following example displays how to enable interface debugging
on interface loopback1:
ZXAN#debug ip interface loopback1
IP interface debugging is on

Related
Commands

terminal monitor

debug ip multicast
Syntax

debug ip multicast [data | mrt | timer]


no debug ip multicast [data | mrt | timer]

Purpose
Usage Guidelines

Mode

Example

To enable multicast debugging


The following table provides parameter description:
Parameter

Description

Value

data

Multicast packet
debugging
information

mrt

Multicast routing
table debugging
information

timer

Multicast timer
debugging
information

ZXAN#
The following example displays how to enable multicast debugging:
ZXAN#debug ip multicast data
Multicast data debugging is on

142

Confidential and Proprietary Information of ZTE CORPORATION

Chapter 14 Debugging

Related
Commands

terminal monitor

debug ip msdp
Syntax

debug ip msdp [connect | message-recv | message-send |


warning]
no debug ip msdp [connect | message-recv | message-send
| warning]

Purpose
Usage Guidelines

Mode

Example

To enable multicast source detection protocol (MSDP) debugging


The following table provides parameter description:
Parameter

Description

Value

connect

Protocol connection
debugging
information

message-recv

Received massage
debugging
information

message-send

Sent massage
debugging
information

warning

Alarm massage
debugging
information

ZXAN#
The following example displays how to enable MSDP debugging:
ZXAN# debug ip msdp
All MSDP debugging is on

Related
Commands

terminal monitor

debug ip ospf adj


Syntax

debug ip ospf adj


no debug ip ospf adj

Purpose
Usage Guidelines
Mode

Example

To enable OSPF adjacency events debugging


None
ZXAN#
The following example displays how to enable OSPF adjacency
events debugging:
ZXAN#debug ip ospf adj
OSPF adjacency events debugging is on

Confidential and Proprietary Information of ZTE CORPORATION

143

ZXA10 C220 Command Manual (Volume I)

Related
Commands
Related
Information

terminal monitor
Adjacency events mainly include information relating to link state
changes and hello packets.

debug ip ospf all


Syntax

debug ip ospf all


no debug ip ospf all

Purpose
Usage Guidelines
Mode

Example

To enable all OSPF related debugging


None
ZXAN#
The following example displays how to enable all OSPF related debugging:
ZXAN#debug ip ospf all
All OSPF debugging has been turned on

Related
Commands

terminal monitor

debug ip ospf cspf


Syntax

debug ip ospf cspf


no debug ip ospf cspf

Purpose
Usage Guidelines
Mode

Example

To enable debugging for shortest path calculation of limit-based


OSPF
None
ZXAN#
The following example displays how to enable debugging for shortest path calculation of limit-based OSPF:
ZXAN#debug ip ospf cspf
OSPF cspf events debugging is on

Related
Commands
Related
Information

144

terminal monitor
This command is mainly used to calculate debugging information
related to project traffic routing.

Confidential and Proprietary Information of ZTE CORPORATION

Chapter 14 Debugging

debug ip ospf database-timer


Syntax

debug ip ospf database-timer


no debug ip ospf database-timer

Purpose
Usage Guidelines
Mode

Example

To enable debugging of OSPF link state database timer events


None
ZXAN#
The following example displays how to enable debugging of OSPF
link state database timer events:
ZXAN#debug ip ospf database-timer
OSPF timer events debugging is on

Related
Commands

terminal monitor

debug ip ospf events


Syntax

debug ip ospf events


no debug ip ospf events

Purpose
Usage Guidelines
Mode

Example

To enable OSPF events debugging


None
ZXAN#
The following example displays how to enable OSPF events debugging:
ZXAN#debug ip ospf events
OSPF events debugging is on

Related
Commands
Related
Information

terminal monitor
OSPF events mainly include DR/BDR selection and link state
changes.

debug ip ospf flood


Syntax

debug ip ospf flood


no debug ip ospf flood

Purpose
Usage Guidelines
Mode

Example

To enable debugging of OSPF flood events


None
ZXAN#
The following example displays how to enable debugging of OSPF
flood events:

Confidential and Proprietary Information of ZTE CORPORATION

145

ZXA10 C220 Command Manual (Volume I)

ZXAN#debug ip ospf flood


OSPF flood debugging is on

Related
Commands

terminal monitor

debug ip ospf lsa-generation


Syntax

debug ip ospf lsa-generation


no debug ip ospf lsa-generation

Purpose
Usage Guidelines
Mode

Example

To enable OSPF LSA generation debugging


None
ZXAN#
The following example displays how to enable OSPF LSA generation debugging:
ZXAN#debug ip ospf lsa-generation
OSPF summary lsa generation debugging is on

Related
Commands
Related
Information

terminal monitor
OSPF LSA generation debugging events mainly include link state
change notifications, self-rule system edge router link state
change notification etc.

debug ip ospf nsf


Syntax

debug ip ospf nsf


no debug ip ospf nsf

Purpose
Usage Guidelines
Mode

Example

To enable OSPF non-stop forwarding-events debugging


None
ZXAN#
The following example displays how to enable OSPF non-stop forwarding-events debugging:
ZXAN#debug ip ospf nsf
OSPF non-stop forwarding event debugging is on

Related
Commands

terminal monitor

debug ip ospf packet


Syntax

146

debug ip ospf packet

Confidential and Proprietary Information of ZTE CORPORATION

Chapter 14 Debugging

no debug ip ospf packet


Purpose
Usage Guidelines
Mode

Example

To enable OSPF packet debugging


None
ZXAN#
The following example displays how to enable OSPF packet debugging:
ZXAN#debug ip ospf packet
OSPF packet debugging is on

Related
Commands

terminal monitor

debug ip ospf retransmission


Syntax

debug ip ospf retransmission


no debug ip ospf retransmission

Purpose
Usage Guidelines
Mode

Example

To enable OSPF retransmission events debugging


None
ZXAN#
The following example displays how to enable OSPF retransmission
events debugging:
ZXAN#debug ip ospf retransmission
OSPF retransmission events debugging is on

Related
Commands

terminal monitor

debug ip ospf spf


Syntax

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:

Mode

Parameter

Description

Value

external

OSPF SPF
external-route

inter

OSPF SPF inter-route

intra

OSPF SPF intra-route

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 computing events debugging:
ZXAN#debug ip ospf spf external
OSPF spf external events debugging is on

Related
Commands
Related
Information

terminal monitor
By default, this command is disabled.

debug ip ospf tree


Syntax

debug ip ospf tree


no debug ip ospf tree

Purpose
Usage Guidelines
Mode

Example

To enable OSPF tree debugging


None
ZXAN#
The following example displays how to enable OSPF tree debugging:
ZXAN#debug ip ospf tree
OSPF database events debugging is on

Related
Commands

terminal monitor

debug ip pim-snooping
Syntax

debug ip pim-snooping
no debug ip pim-snooping

Purpose
Usage Guidelines
Mode

Example

To enable PIM snooping debugging


None
ZXAN#
The following example displays how to enable PIM snooping debugging:
ZXAN#debug ip pim-snooping
PIM SNOOPING debugging is on

148

Confidential and Proprietary Information of ZTE CORPORATION

Chapter 14 Debugging

Related
Commands

terminal monitor

debug ip pimsm
Syntax

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
Usage Guidelines

Mode

Example

To enable PIM-SM debugging


The following table provides parameter description:
Parameter

Description

Value

assert

PIM-SM debugging
information related
with Assert

bsr-rp

PIM-SM debugging
information related
with BSR and RP

message-recv

Debug information
of PIM-SM received
messages

message-send

Debug information
of PIM-SM sent
messages

mrt

Debug information
of PIM-SM multicast
routing table

packet-recv

Debug information
of PIM-SM received
protocol messages

packet-send

Debug information of
PIM-SM sent protocol
messages

warning

PIM-SM alarm
debugging
information

msdp

PIM-SM MSDP
debugging
information

ZXAN#
The following example displays how to enable PIM-SM debugging:
ZXAN#debug ip pimsm assert
PIMSM assert debugging is on

Confidential and Proprietary Information of ZTE CORPORATION

149

ZXA10 C220 Command Manual (Volume I)

Related
Commands

terminal monitor

debug ip pimdm
Syntax

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
Usage Guidelines

Mode

Example

To enable PIM-DM debugging


The following table provides parameter description:
Parameter

Description

Value

packet-recv

Debug information
of PIM-DM received
packets

packet-send

Debug information of
PIM-DM sent packets

mrt

Debug information
of PIM-DM multicast
routing table

timer

Debug information of
PIM-DM timer

assert

Debug information of
PIM-DM ASSERRT

warning

Debug information of
PIM-DM warning

data

Debug information of
PIM-DM data

ZXAN#
The following example displays how to enable PIM-DM debugging
of ASSERRT:
ZXAN#debug ip pimdm assert
PIMDM assert debugging is off

Related
Commands

terminal monitor

debug ip protocol
Syntax

debug ip protocol protocol-number


no debug ip protocol protocol-number

Purpose

150

To enable IP protocol number debugging

Confidential and Proprietary Information of ZTE CORPORATION

Chapter 14 Debugging

Usage Guidelines

Mode

Example

The following table provides parameters description:


Parameter

Description

Value

protocol-number

Protocol number

Range: 0 255

ZXAN#
The following example displays how to enable IP protocol number
debugging for number 0:
ZXAN#debug ip protocol 0
IP protocol number debugging is on

Related
Commands

terminal monitor

debug ip rip
Syntax

debug ip rip
no debug ip rip

Purpose
Usage Guidelines
Mode

Example

To enable RIP protocol debugging


None
ZXAN#
The following example displays how to enable RIP protocol debugging:
ZXAN#debug ip rip
RIP protocol debugging is on

Related
Commands

terminal monitor

debug ip rip all


Syntax

debug ip rip all


no debug ip rip all

Purpose
Usage Guidelines
Mode

Example

To enable all RIP related debugging


None
ZXAN#
The following example displays how to enable all RIP related debugging:
ZXAN#debug ip rip all
All RIP debugging has been turned on

Confidential and Proprietary Information of ZTE CORPORATION

151

ZXA10 C220 Command Manual (Volume I)

Related
Commands

terminal monitor

debug ip rip database


Syntax

debug ip rip database


no debug ip rip database

Purpose
Usage Guidelines
Mode

Example

To trace RIP database changes


None
ZXAN#
The following example displays how to trace RIP database
changes:
ZXAN#debug ip rip database
RIP database events debugging is on

Related
Commands

terminal monitor

debug ip rip trigger


Syntax

debug ip rip events


no debug ip rip events

Purpose
Usage Guidelines
Mode

Example

To trace RIP trigger events, such as timer timeout


None
ZXAN#
The following example displays how to trace RIP trigger events,
such as timer timeout:
ZXAN#debug ip rip events
RIP event debugging is on

Related
Commands

terminal monitor

debug ip source
Syntax

debug ip source ip-address


no debug ip source ip-address

Purpose
Usage Guidelines

152

To enable IP source debugging


The following table provides parameter description:

Confidential and Proprietary Information of ZTE CORPORATION

Chapter 14 Debugging

Mode

Example

Parameter

Description

Value

ip-address

Source IP address

A.B.C.D

ZXAN#
The following example displays how to enable source IP
192.168.6.6 debugging function:
ZXAN#debug ip source 192.168.6.6
IP source debugging is on

Related
Commands

terminal monitor

debug ip tcp all


Syntax

debug ip tcp all


no debug ip tcp all

Purpose
Usage Guidelines
Mode

Example

To enable all TCP related debugging


None
ZXAN#
The following example displays how to enable all TCP related debugging:
ZXAN#debug ip tcp all
All TCP debugging has been turned on

Related
Commands

terminal monitor

debug ip tcp driver


Syntax

debug ip tcp driver


no debug ip tcp driver

Purpose
Usage Guidelines
Mode

Example

To enable debugging for establishing and closing TCP connections


None
ZXAN#
The following example displays how to enable debugging for establishing and closing TCP connections:
ZXAN#debug ip tcp driver
TCP driver event debugging is on

Related
Commands

terminal monitor

Confidential and Proprietary Information of ZTE CORPORATION

153

ZXA10 C220 Command Manual (Volume I)

Related
Information

When debugging is enabled, the related information is the output,


including TCP proactive opening, passive opening, TCP link establishment timer, TCP normal and abnormal closing information.

debug ip tcp driver-pak


Syntax

debug ip tcp driver-pak


no debug ip tcp driver-pak

Purpose
Usage Guidelines
Mode

Example

To enable debugging for TCP buffer management information


None
ZXAN#
The following example displays how to enable debugging for TCP
buffer management information:
ZXAN#debug ip tcp driver-pak
TCP driver verbose debugging is on

Related
Commands
Related
Information

terminal monitor
When debugging is enabled, it displays output information including:

Output packets in output queue

Sending/receiving packet size

Information of deleting a packet when packet number surpassing permitted maximum number (25 by default) in case of disorder

When the user logs into the ZXAN, the supplementary information
of the TCP events of the BGP and FTP (not including Telnet) is
displayed.

debug ip tcp packet


Syntax

debug ip tcp packet


no debug ip tcp packet

Purpose
Usage Guidelines
Mode

Example

To enable debugging for source and destination of TCP sent/received packets


None
ZXAN#
The following example displays how to enable debugging for source
and destination of TCP sent/received packets:
ZXAN#debug ip tcp packet
TCP Packet debugging is on

154

Confidential and Proprietary Information of ZTE CORPORATION

Chapter 14 Debugging

Related
Commands
Related
Information

terminal monitor
After debugging is enabled, when a packet is sent or received, information such as source/destination address of data packet, port
number, sequence number, acknowledgment number, size of receiving window and control bit information is output.
When a user logs into the ZXA10 C220, information of the TCP
special events of the BGP and FTP is displayed.

debug ip tcp transactions


Syntax

debug ip tcp transactions


no debug ip tcp transactions

Purpose
Usage Guidelines
Mode

Example

To enable TCP state transition debugging


None
ZXAN#
The following example displays how to enable TCP state transition
debugging:
ZXAN#debug ip tcp transactions
TCP special debugging is on

Related
Commands
Related
Information

terminal monitor
After this debug command is enabled, the TCP special event information (including destination IP address, port number, MSS
advertisement of TCP connection establishment, resetting of retransmission timer, retransmission timeout, limited state-machine
transition and release of TCP control block information) is the output.
When the user logs in to the ZXAN, the information of TCP special
events of BGP and FTP is displayed.

debug ip udp
Syntax

debug ip udp
no debug ip udp

Purpose
Usage Guidelines
Mode

Example

To enable debugging for source and destination information of UDP


sent/received packets
None
ZXAN#
The following example displays how to enable debugging for source
and destination information of UDP sent/received packets:
ZXAN#debug ip udp
UDP packet debugging is on

Confidential and Proprietary Information of ZTE CORPORATION

155

ZXA10 C220 Command Manual (Volume I)

Related
Commands
Related
Information

terminal monitor
By default, all debug commands are disabled.
Source/destination addresses, port and UDP packet length information is displayed when UDP sends/receives a packet.
Source/destination addresses, port and UDP packet length information is displayed when user logs in.

debug iptv all


Syntax

debug iptv {all | {data | error | events} [rack-number shel


f-number slot-number] [interface name {gport gportno | pvc
pvcno}] [mvlan mvlanid group groupip] [mode {cdr | joinleave
| oam | timer}]}
no debug iptv {all | {data | error | events} [rack-number shel
f-number slot-number] [interface name {gport gportno | pvc
pvcno}] [mvlan mvlanid group groupip] [mode {cdr | joinleave
| oam | timer}]}

Purpose
Usage Guidelines

156

To enable IPTV related debugging


The following table provides parameters description:
Parameter

Description

Value

all

All debug information

data

Debug information related


to IPTV

error

IPTV received error messages

events

Events related to IPTV status change

rack-number

Rack number

Range: 0 65535

shelf-number

Shelf number

Range: 0 65535

slot-number

Slot number

Range: 0 65535

interface
name

Interface name

Range: 1 32 characters

gport gportno

GPON card ONU GEM port


number

Range: 0 255

pvc pvcno

PVC number

Range: 0 7

mvlan mvlanid

MVLAN ID

Range: 0 4095

Confidential and Proprietary Information of ZTE CORPORATION

Chapter 14 Debugging

Mode

Example

Parameter

Description

Value

group groupip

Multicast group IP address

A.B.C.D

mode {cdr |
joinleave
|
oam | timer}

Data mode

cdr,
joinleave,
timer

oam,

ZXAN#
The following example displays how to enable IPTV events debugging:
ZXAN#debug iptv events 0 0 7 mode timer
IPTV events debugging is on

Related
Commands

None

debug isis adj-packets


Syntax

debug isis adj-packets


no debug isis adj-packets

Purpose
Usage Guidelines
Mode

Example

To trace and show the IS-IS received/sent Hello messages


None
ZXAN#
The following example displays how to trace and show the IS-IS
received/sent Hello messages:
ZXAN#debug isis adj-packets
IS-IS Adjacency related packets debugging is on

Related
Commands

terminal monitor

debug isis all


Syntax

debug isis all


no debug isis all

Purpose
Usage Guidelines
Mode

Example

To enable IS-IS debugging


None
ZXAN#
The following example displays how to enable IS-IS debugging:
ZXAN#debug isis all
All IS-IS debugging has been turned on

Confidential and Proprietary Information of ZTE CORPORATION

157

ZXA10 C220 Command Manual (Volume I)

Related
Commands

terminal monitor

debug isis nsf-event


Syntax

debug isis nsf-event


no debug isis nsf-event

Purpose
Usage Guidelines
Mode

Example

To trace and show the IS-IS route computing event debugging


information
None
ZXAN#
The following example displays how to trace and show the IS-IS
route computing event debugging information:
ZXAN#debug isis nsf-event
IS-IS Adjacency related packets debugging is on

Related
Commands

terminal monitor

debug isis snp-packets


Syntax

debug isis snp-packets


no debug isis snp-packets

Purpose
Usage Guidelines
Mode

Example

To enable IS-IS SNP packet debugging


None
ZXAN#
The following example displays how to enable IS-IS SNP packet
debugging:
ZXAN#debug isis snp-packets
IS-IS CSNP/PSNP packets debugging is on

Related
Commands

terminal monitor

debug isis spf-events


Syntax

debug isis spf-events


no debug isis spf-events

Purpose
Usage Guidelines
Mode

158

To trace and show the IS-IS SPF event debugging information


None
ZXAN#

Confidential and Proprietary Information of ZTE CORPORATION

Chapter 14 Debugging

Example

The following example displays how to trace and show the IS-IS
SPF event debugging information:
ZXAN#debug isis spf-events
IS-IS SPF events debugging is on

Related
Commands

terminal monitor

debug isis update-packets


Syntax

debug isis update-packets


no debug isis update-packets

Purpose
Usage Guidelines
Mode

Example

To trace and view IS-IS LSP packet handling event debugging information
None
ZXAN#
The following example displays how to trace and view IS-IS LSP
packet handling event debugging information:
ZXAN#debug isis update-packets
IS-IS Update related packet debugging is on

Related
Commands

terminal monitor

debug lacp all


Syntax

debug lacp all


no debug lacp all

Purpose
Usage Guidelines
Mode

Example

To enable all LACP related debugging


None
ZXAN#
The following example displays how to enable all LACP related debugging:
ZXAN#debug lacp all
Link Aggregation Control Protocol All debugging is on

Related
Commands

terminal monitor

debug lacp fsm


Syntax

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
Usage Guidelines

To enable LACP state machine debugging


The following table provides parameter description:
Parameter

Description

Value

interface port-num
ber

Port number

loopback1 64
null1
smartgroup1
smartgroup8
supervlan1
supervlan255
tunnel1 tunnel64
vlan1 vlan4094

Mode

Example

ZXAN#
The following example displays how to enable LACP state machine
debugging:
ZXAN#debug lacp fsm
Link Aggregation Control Protocol SM debugging is on

Related
Commands

None

debug lacp packet


Syntax

debug lacp packet [interface port-number]


no debug lacp packet [interface port-number]

Purpose
Usage Guidelines

Mode

Example

To enable LACP debugging


The following table provides parameter description:
Parameter

Description

Value

interface port-num
ber

Port number

ZXAN#
The following example displays how to enable LACP debugging:
ZXAN#debug lacp packet
Link Aggregation Control Protocol packets debugging is on

160

Confidential and Proprietary Information of ZTE CORPORATION

Chapter 14 Debugging

Related
Commands

terminal monitor

debug mpnat
Syntax

debug mpnat {data | event | error | all}

Syntax

no debug mpnat {data | event | error | all}

Purpose
Usage Guidelines

Mode

Example

To enable MPNAT debugging and display related print information


only under shell
The following table provides parameters description:
Parameter

Description

Value

data

MPNAT data
debugging
information

event

Events related to
MPNAT status change

error

MPNAT error
information

dll

All MPNAT debug


information

ZXAN#
The following example displays how to enable MPNAT debugging:
ZXAN#debug mpnat all

Related
Commands

terminal monitor

debug mstp agreement


Syntax

debug mstp agreement [interface interface-name instance


instance-number]
no debug mstp agreement

Purpose
Usage Guidelines

To enable MSTP debugging for fast hand-off negotiation information


The following table provides parameter description:
Parameter

Description

Value

interface interface-n
ame

Interface name

Range: smartgroup1
smartgroup8

instance instance-nu
mber

Instance number

Range: 0 31

Confidential and Proprietary Information of ZTE CORPORATION

161

ZXA10 C220 Command Manual (Volume I)

Mode

Example

ZXAN#
The following example displays how to enable MSTP debugging for
fast hand-off negotiation information:
ZXAN#debug mstp agreement
Multiple Spanning Tree agreement debugging is on

Related
Commands

terminal monitor

debug mstp all


Syntax

debug mstp all


no debug mstp all

Purpose
Usage Guidelines
Mode

Example

To enable all MSTP related debugging


None
ZXAN#
The following example displays how to enable all MSTP related
debugging:
ZXAN#debug mstp all
Mstp Protocol All debugging is on

Related
Commands

terminal monitor

debug mstp bpdu-rx


Syntax

debug mstp bpdu-rx [interface interface-name]


no debug mstp bpdu-rx

Purpose
Usage Guidelines

Mode

Example

To enable MSTP debugging to receive packet information


The following table provides parameter description:
Parameter

Description

Value

interface interface-n
ame

Interface name

Range: smartgroup1
smartgroup8

ZXAN#
The following example displays how to enable MSTP debugging to
receive packet information:
ZXAN#debug mstp bpdu-rx
Multiple Spanning Tree Received BPDUs debugging is on

162

Confidential and Proprietary Information of ZTE CORPORATION

Chapter 14 Debugging

Related
Commands

terminal monitor

debug mstp bpdu-tx


Syntax

debug mstp bpdu-tx [interface interface-name]


no debug mstp bpdu-tx

Purpose
Usage Guidelines

Mode

Example

To enable MSTP debugging for sending packet information


The following table provides parameter description:
Parameter

Description

Value

interface interface-n
ame

Interface name

Range: smartgroup1
smartgroup8

ZXAN#
The following example displays how to enable MSTP debugging for
sending packet information:
ZXAN#debug mstp bpdu-tx
Multiple Spanning Tree Transmitted BPDUs debugging is

Related
Commands

on

terminal monitor

debug mstp errors


Syntax

debug mstp errors


no debug mstp errors

Purpose
Usage Guidelines
Mode

Example

To enable MSTP error debugging


None
ZXAN#
The following example displays how to enable MSTP error debugging:
ZXAN#debug mstp errors
MST Protocol errors debugging is on

Related
Commands

terminal monitor

debug mstp flush


Syntax

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
Usage Guidelines

Mode

Example

To enable MSTP port flush mechanism debugging


The following table provides parameter description:
Parameter

Description

Value

interface interface-n
ame

Interface name

Range: smartgroup1
smartgroup8

instance instance-nu
mber

Instance number

Range: 0 31

ZXAN#
The following example displays how to enable MSTP port flush
mechanism debugging:
ZXAN#debug mstp flush
Multiple Spanning Tree port flush mechanism debugging is on

Related
Commands

terminal monitor

debug mstp info


Syntax

debug mstp info [interface interface-name instance instancenumber]


no debug mstp info

Purpose
Usage Guidelines

Mode

Example

To enable MSTP information state machine debugging


The following table provides parameter description:
Parameter

Description

Value

interface interface-n
ame

Interface name

Range: smartgroup1
smartgroup8

instance instance-nu
mber

Instance number

Range: 0 31

ZXAN#
The following example displays how to enable MSTP information
state machine debugging:
ZXAN#debug mstp info
Multiple Spanning Tree port info state machine debugging on

164

Confidential and Proprietary Information of ZTE CORPORATION

Chapter 14 Debugging

Related
Commands

terminal monitor

debug mstp migration


Syntax

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:

Mode

Example

Parameter

Description

Value

interface interface-n
ame

Interface name

A.B.C.D

ZXAN#
The following example displays how to enable MSTP transition
state machine debugging:
ZXAN#debug mstp migration
Multiple Spanning Tree migration protocol state machine debugging is on

Related
Commands

terminal monitor

debug mstp proposals


Syntax

debug mstp proposals [interface interface-name instance inst


ance_number]
no debug mstp proposals

Purpose
Usage Guidelines

Mode

Example

To enable the MSTP debugging for information relating to fast


hand-off negotiation request
The following table provides parameter description:
Parameter

Description

Value

interface interface-n
ame

Interface name

Range: smartgroup1
smartgroup8

instance instance-nu
mber

Instance number

Range: 0 31

ZXAN#
The following example displays how to enable the MSTP debugging
for information relating to fast hand-off negotiation request:
ZXAN#debug mstp proposals
Multiple Spanning Tree Proposal/Agree handshakes debugging is on

Confidential and Proprietary Information of ZTE CORPORATION

165

ZXA10 C220 Command Manual (Volume I)

Related
Commands

terminal monitor

debug mstp roles


Syntax

debug mstp roles [instance instance_number]


no debug mstp roles

Purpose
Usage Guidelines

Mode

Example

To enable the MSTP instance calculation state machine debugging


The following table provides parameter description:
Parameter

Description

Value

instance instance-nu
mber

Number of instances

Range: 0 31

ZXAN#
The following example displays how to enable the MSTP instance
calculation state machine debugging:
ZXAN#debug mstp roles
MST Protocol roles debugging is

Related
Commands

on

terminal monitor

debug mstp state


Syntax

debug mstp state [interface interface-name]


no debug mstp state

Purpose
Usage Guidelines

Mode

Example

To enable the MSTP instance calculation state machine debugging


The following table provides parameter description:
Parameter

Description

Value

interface interface-n
ame

Number of interfaces

Range: smartgroup1
smartgroup8

ZXAN#
The following example displays how to enable the MSTP instance
calculation state machine debugging:
ZXAN#debug mstp state
Multiple Spanning Tree state sync debugging is

166

Confidential and Proprietary Information of ZTE CORPORATION

on

Chapter 14 Debugging

Related
Commands

terminal monitor

debug mstp tc
Syntax

debug mstp tc [interface interface-name instance instance_n


umber]
no debug mstp tc

Purpose
Usage Guidelines

Mode

Example

To enable the MSTP state-change debugging


The following table provides parameter description:
Parameter

Description

Value

interface interface-n
ame

Interface name

Range: smartgroup1
smartgroup8

instance instance-nu
mber

Instance number

Range: 0 31

ZXAN#
The following example displays how to enable the MSTP statechange debugging:
ZXAN#debug mstp tc Multiple Spanning Tree topology
change notifications debugging is on

Related
Commands

terminal monitor

debug nas
Syntax

debug nas
no debug nas

Purpose
Usage Guidelines
Mode

Example

To enable the NAS debugging


None
ZXAN#
The following example displays how to enable NAS debugging:
ZXAN#debug nas
NAS debugging is on

Confidential and Proprietary Information of ZTE CORPORATION

167

ZXA10 C220 Command Manual (Volume I)

Related
Commands

terminal monitor

debug port-location
Syntax

debug port-location all


debug port-location {data | error | event} type_shelf/slot/{p
ort-no | olt:onu} [gport gportno | pvc pvcno]
no debug port-location {all | data | error | event}

Purpose
Usage Guidelines

Mode

Example

To enable all port location related debugging


The following table provides parameter description:
Parameter

Description

Value

all

All port location related


debugging

data

Port-location data
debugging

error

Port location error


debugging

event

Port location event


debugging

type_shelf/sl
ot/{port-no |
olt:onu}

Interface

gport gportno

GEM port number

Range: 1 255

pvc pvcno

PVC number

Range: 1 8

ZXAN#
The following example displays how to enable all port location related debugging:
ZXAN#debug port-location data gpon-onu_0/0/9:1 gport 1
ZXAN#

Related
Commands

None

debug pppoe-plus
Syntax

debug pppoe-plus all


debug pppoe-plus {data | error | event} type_shelf/slot/ {por
t-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
Usage Guidelines

Mode

Example

To enable PPPoE+ debugging


The following table provides parameter description:
Parameter

Description

Value

all

All debug information

data

Data related debug


information

error

Port received error


message

event

Event changing port


location information

type_shelf/slot/
{port-no | olt:onu}

Interface

Interface type can be


various

gport gportno

GEM port number

Range: 1 255

pvc pvcno

PVC number

Range: 1 8

ZXAN#
The following example displays how to enable PPPoE+ debugging:
ZXAN#debug pppoe-plus all
pppoe-plus all debugging is on

Related
Commands

terminal monitor

debug radius accounting


Syntax

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 Radius


accounting information

error

Radius accounting error


information

event

Event changing Radius


accounting

Confidential and Proprietary Information of ZTE CORPORATION

169

ZXA10 C220 Command Manual (Volume I)

Parameter

Description

Value

packet{group-n
umber | all}

Group range: 1 10

Mode

Example

packet: Radius
accounting of
sending/receiving
packets
packet groupnumber: Radius
accounting of packet
group-number
packet all: Radius
accounting of
all sent/received
packets

ZXAN#
The following example displays how to enable the radius debugging accounting:
ZXAN#debug radius accounting packet all
debug radius accounting packet turned on group all

Related
Commands

None

debug radius all


Syntax

debug radius all


no debug radius all

Purpose
Usage Guidelines
Mode

Example

To enable radius debugging


None
ZXAN#
The following example displays how to enable the radius debugging:
ZXAN#debug radius all
All radius debugging has been turned on

Related
Commands

terminal monitor

debug radius authentication


Syntax

debug radius authentication {data | error | event | packet


{group-number | all}}
no debug radius authentication {data | error | event | pack
et}

Purpose
Usage Guidelines

170

To enable radius authentication packet debugging


The following table provides parameter description:

Confidential and Proprietary Information of ZTE CORPORATION

Chapter 14 Debugging

Parameter

Description

Value

data

Radius authentication
data debugging

error

Radius authentication
error debugging

event

Radius authentication
events debugging

packet {group-num
ber | all}

Radius authentication
packets debugging

group-number: 1
10

packet groupnumber: Group


number
packet all: Debug
all accounting group
packets
Mode

Example

ZXAN#
The following example displays how to enable radius authentication packet debugging:
ZXAN#debug radius authentication packet 1
debug radius authenticaion packet turned on group 65536

Related
Commands

terminal monitor

debug radius exception


Syntax

debug radius exception


no debug radius exception

Purpose
Usage Guidelines
Mode

Example

To enable radius exception debugging


None
ZXAN#
The following example displays how to enable radius exception debugging:
ZXAN#debug radius exception
debug radius exception turned on

Related
Commands

terminal monitor

debug radius user


Syntax

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
Usage Guidelines

Mode

Example

To enable radius user information debugging


The following table provides parameter description:
Parameter

Description

Value

subscriber-name

Subscriber name

Range: 1 32
characters

domain-name

Domain name

Range: 1 32
characters

ZXAN#
The following example displays how to enable radius user information debugging:
ZXAN#debug radius user user domain
debug radius user turned on user@doma

Related
Commands

terminal monitor

debug syscomm
Syntax

debug syscomm {data | packet | event | error | all}


no debug syscomm {data | packet | event | error | all}

Purpose
Usage Guidelines

Mode

Example

172

To display debugging information related with syscomm


The following table provides parameters description:
Parameter

Description

Value

data

Debugging
information related
with syscomm data

packet

Received and
transmitted packets
information related
with syscomm

event

Events to cause
syscomm status
change

error

Received error
packets related with
syscomm

all

All debugging
information related
with syscomm

ZXAN#
The following example displays all syscomm debugging information:

Confidential and Proprietary Information of ZTE CORPORATION

Chapter 14 Debugging

ZXAN#debug syscomm all

Related
Commands

terminal monitor

debug sysctrl
Syntax

debug sysctrl {data | packet | event | error | all}


no debug sysctrl {data | packet | event | error | all}

Purpose
Usage Guidelines

Mode

Example

To debug the system control information


The following table provides parameter description:
Parameter

Description

Value

all

Debug system control


all information

data

Debug system control


data information

error

Debug system control


error information

event

Debug system control


event information

packet

Debug system control


packet information

ZXAN#
The following example displays how to debug the system control
information:
ZXAN#debug sysctrl all

Related
Commands

terminal monitor

debug version-mng
Syntax

debug version-mng {data | packet | event | error | all}


no debug version-mng {data | packet | event | error | all}

Purpose
Usage Guidelines

To enable version management debugging


The following table provides parameter description:

Confidential and Proprietary Information of ZTE CORPORATION

173

ZXA10 C220 Command Manual (Volume I)

Mode

Example

Parameter

Description

Value

all

Debug all version


management
information

data

Debug version
management
information

error

Debug version
management error
information

event

Debug version
management event
information

packet

Debug version
management packet
information

ZXAN#
The following example displays how to enable all debugging for
version management information:
ZXAN#debug version-mng all

Related
Commands

terminal monitor

debug vlan
Syntax

debug vlan all


debug vlan {data | event | error} [rack-number shelf-number
slot-number] [interface interface-name [vport vportno | pvc
pvcno]] [vlan vlanid]
no debug vlan all
no debug vlan {data | event | error} [rack-number shelf-num
ber slot-number] [interface interface-name [vport vportno | pvc
pvcno]] [vlan vlanid]

Purpose
Usage Guidelines

174

To enable VLAN related debugging


The following table provides parameter description:
Parameter

Description

Value

data

Debugging
information related
to VLAN data

event

Debugging
information related
to events changing
VLAN status

Confidential and Proprietary Information of ZTE CORPORATION

Chapter 14 Debugging

Mode

Example

Parameter

Description

Value

error

Debugging
information related to
error packets received
by VLAN

all

All debugging
information related
to VLAN

rack-number

Rack number

shelf-number

Shelf number

slot-number

Slot number

interface interface-n
ame

Interface name

Range: 1 32
characters

vport vportno

EPON card ONU port


number

Range: 1 256

pvc pvcno

PVC number

Range: 1 8

vlan vlanid

VLAN ID

Range: 1 4094

ZXAN#
The following example displays how to enable all VLAN related debugging:
ZXAN#debug vlan all
Vlan all debugging is on

Related
Commands

terminal monitor

debug vrrp
Syntax

debug vrrp {state | packet | event | error | all}


no debug vrrp {state | packet | event | error | all}

Purpose
Usage Guidelines

To enable VRRP debugging


The following table provides parameter description:
Parameter

Description

Value

all

All VRRP related


debugging

error

Error packet
information received
by VRRP

event

Information triggering
VRRP state change

Confidential and Proprietary Information of ZTE CORPORATION

175

ZXA10 C220 Command Manual (Volume I)

Mode

Example

Parameter

Description

Value

packet

Packet information
received/sent by
VRRP

state

VRRP state change


debuggingn

ZXAN#
The following example displays how to enable VRRP debugging:
ZXAN#debug vrrp state
VRRP state debugging is on

Related
Commands

terminal monitor

show debugging
Syntax
Purpose
Usage Guidelines
Mode

Example

show debugging
To display enabled debugging
None
ZXAN#
The following example displays enabled debugging:
ZXAN#show debugging
RSL:
Version-mng data debugging is on
Version-mng error debugging is on
Version-mng event debugging is on
Version-mng packet debugging is on

Related
Commands

All debug commands

terminal monitor
Syntax

terminal monitor
no terminal monitor

Purpose
Usage Guidelines
Mode

Example

To output debugging information to terminal


None
ZXAN#
The following example displays how to output debugging information to terminal:
ZXAN#terminal monitor

Related
Commands

176

All debug commands

Confidential and Proprietary Information of ZTE CORPORATION

Chapter

15

MAC Configuration
Table of Contents
mac add......................................................................... 177
mac aging-time ............................................................... 178
mac delete ..................................................................... 178
mac monitor-period ......................................................... 179
mac usage-threshold ....................................................... 180
show mac....................................................................... 180
show mac aging-time....................................................... 181
show mac monitor-info..................................................... 182
show mac running ........................................................... 182
show mac system ............................................................ 183

mac add
Syntax

Purpose
Usage Guidelines

Mode

mac add static mac-address {ethernet port-name | smartgr


oup smartgroup-id | gpon port-name vport vport | epon} [vlan
vlan-id]
To add a MAC address entry
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 127
characters

gpon port-name

GPON shelf, slot, port


number

Range: 1 127
characters

smartgroup
smartgroup-id

Smartgroup ID

Range: 1 8

epon

EPON

vlan vlan-id

VLAN ID

Range: 1 4094

vport vport

Virtual port number

Range: 1 255

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 address


entry 000a.010c.e2c6 to Ethernet port gei_0/9/1:
ZXAN(config)#mac add static 0009.6b08.bfd6 ethernet
gei_0/9/1

Related
Commands
Related
Information

mac delete
show mac
If no VLAN ID is specified, port PVID is used as default port ID. Execute the show running-config command to display permanent
MAC address.

mac aging-time
Syntax
Purpose
Usage Guidelines

mac aging-time time


To configure the MAC address aging time in the system
The following table provides parameter description:
Parameter

Description

Value

time

Aging time value

Range: 60 630
seconds
Default: 300 seconds

Mode

Example

ZXAN(config)#
The following example displays how to configure the MAC address
aging time as 180 seconds:
ZXAN(config)#mac aging-time 180

Related
Commands
Related
Information

show mac aging-time


show mac running
If the MAC address aging time is set as n seconds, the dynamic
MAC address may age within n ~ 2n seconds.

mac delete
Syntax

Purpose
Usage Guidelines

178

mac delete static {mac-address | ethernet port-name | smar


tgroup smartgroup-id | gpon port-name vport vport | dsl dsl}
[vlan-id]
To delete a MAC address entry
The following table provides parameter description:
Parameter

Description

Value

static mac-address

Static MAC address

XXXX.XXXX.XXXX

Confidential and Proprietary Information of ZTE CORPORATION

Chapter 15 MAC Configuration

Mode

Example

Parameter

Description

Value

ethernet port-name

Ethernet shelf, slot,


port number

Range: 1 127
characters

gpon port-name

GPON shelf, slot, port


number

Range: 1 127
characters

smartgroup
smartgroup-id

Smartgroup ID

Range: 1 8

vlan-id

VLAN number

Range: 1 4094

vport vport

Virtual port number

Range: 1 255

dsl dsl

DSL

ZXAN(config)#
The following example displays how to delete MAC address
000a.010c.e2c6 and Ethernet interface gei_0/1/1:
ZXAN(config)#mac delete 0009.6b08.bfd6
ZXAN(config)#mac delete ethernet gei_0/9/1

Related
Commands
Related
Information

mac add
show mac
If VLAN ID is not specified, all MAC address entries matching with
mac-address parameter are deleted.

mac monitor-period
Syntax
Purpose
Usage Guidelines

Mode

Example

mac monitor-period time


To configure MAC monitoring period
The following table provides parameter description:
Parameter

Description

Value

time

Monitoring period in
minutes

Ragne: 5 - 1440
Default: 10

ZXAN(config)#
The following example displays how to configure MAC monitoring
period as five nimutes:
ZXAN(config)#mac monitor-period 5

Related
Commands
Related
Information

show mac monitor-info


Execute show mac monitor-info command to display detailed
information.

Confidential and Proprietary Information of ZTE CORPORATION

179

ZXA10 C220 Command Manual (Volume I)

mac usage-threshold
Syntax
Purpose
Usage Guidelines

mac usage-threshold percent


To configure MAC table usage threshold
The following table provides parameter description:
Parameter

Description

Value

percent

Usage percent

Range: 1 100
Default: 70

Mode

Example

ZXAN(config)#
The following example displays how to configure MAC usage
threshold percent to 10%:
ZXAN(config)#mac usage-threshold 10

Related
Commands

None

show mac
Syntax

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
Usage Guidelines

180

To display the MAC address entry


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 or
out-of-band MAC
address

XXXX.XXXX.XXXX

ethernet port-name

Ethernet port name

Range: 1 127
characters

smartgroup
smartgroup-id

Smartgroup ID

Range: 1 8

gpon port-name

GPON port

Range: 1 127
characters

Confidential and Proprietary Information of ZTE CORPORATION

Chapter 15 MAC Configuration

Mode

Example

Parameter

Description

Value

vport vport

GEM port ID

Range: 1 255

vlan vlan-id

VLAN ID

Range: 1 4094

All modes except exec mode


The following example displays the MAC address entry:
ZXAN#show mac
Flags: vid--vlan id, stc--static
mac_address
port
vid
stc
---------------------------------------------000a.010c.e2c6
gei_0/1/21
1
1

The following table provides parameters description displayed in


the above example:

Related
Commands
Related
Information

Parameter

Description

mac_address

MAC address

port

Port where MAC address locates

vid

VLAN ID where MAC locates

stc

Static MAC status

mac add
mac delete
1. show mac command displays all MAC address entries including cards FPGA MAC address and MAC address learned by internal interface of main control card ROS.
2. show mac mac-addr command checks cards FPGA and ROS
MAC address entry and displays all matched entries.
3. show mac dynamic command displays all dynamic MAC addresses learned.
4. show mac static command displays all static MAC addresses
configured.
5. show mac interface port-name command displays all MAC
address entry in specified port.
6. show mac vlan vlanID command displays MAC address entry
in specified VLAN ID.
7. show mac system command displays in-band and out-ofband MAC address.

show mac aging-time


Syntax
Purpose
Usage Guidelines
Mode

show mac aging-time


To display the aging time of the dynamic MAC address of the switch
None
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 MAC
address of the switch:
ZXAN#show mac aging-time
The MAC Address aging time is 60 seconds.

Related
Commands

mac aging-time

show mac monitor-info


Syntax
Purpose
Usage Guidelines
Mode

Example

show mac monitor-info


To display current MAC monitoring information in certain period
None
All modes except execute mode
The following example displays MAC monitoring information in current period:
ZXAN#show mac monitor-info
MAC table usage monitoring period is 10 minutes.
Elapsed time in current monitoring period(mm:ss) is 01:28.
MAC table maximum size is 8192(8k).
Current occupancy is 3, about 0 percent usage.
Current monitor period peak occupancy is 3, about 0 percent
usage.
History monitor period peak occupancy is 3, about 0 percent
usage.

Related
Commands
Related
Information

mac monitor-period
This command is executed to collect monitoring information of current MAC capacity table and display main control card total MAC
entities and maximum occupation since device start.

show mac running


Syntax
Purpose
Usage Guidelines
Mode

Example

show mac running


To display the related configuration of the MAC address of the
switch
None
All modes except exec mode
The following example displays the related configuration of the
MAC address of the switch:
ZXAN#show mac running
mac aging-time 60

Related
Commands

182

show mac
show mac aging-time

Confidential and Proprietary Information of ZTE CORPORATION

Chapter 15 MAC Configuration

show mac system


Syntax
Purpose
Usage Guidelines
Mode

Example

show mac system


To display system in-band and out-of-band MAC address
None
All modes except the exec mode
The following example displays system in-band and out-of-band
MAC address:
ZXAN(config)#show mac system
inband mac: 001e.738d.2039
outband mac: 00d0.d0c8.0023
ZXAN(config)#

Related
Commands

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

Chapter

16

Port Location
Table of Contents
Port Location Configuration ............................................... 185
DHCP Option 82 Configuration........................................... 191
PPPoE+ Configuration ...................................................... 194

Port Location Configuration


port-location access-loop-encapsula
tion
Syntax
Purpose
Usage Guidelines

Mode

Example

port-location access-loop-encapsulation {enable | disable}


To enable or disable port-location access-loop-encapsulation
The following table provides parameter description:
Parameter

Description

Value

enable

Enable port-location
access-loopencapsulation

disable

Disable port-location
access-loopencapsulation

ZXAN(config)#
The following example displays how to enable port-location access-loop-encapsulation:
ZXAN(config)#port-location access-loop-encapsulation enable

Confidential and Proprietary Information of ZTE CORPORATION

185

ZXA10 C220 Command Manual (Volume I)

Related
Commands

show port-location global

port-location access-node-identifier
Syntax
Purpose
Usage Guidelines

Mode

Example

port-location access-node-identifier {inband-mac | hostna


me}
To configure port location access-node-identifier information
The following table provides parameter description:
Parameter

Description

Value

hostname

Hostname as identifier

inband-mac

Inband MAC as
identifier

ZXAN(config)#
The following example displays how to configure port location access-node-identifier type:
ZXAN(config)#port-location access-node-identifier inband-mac

Related
Commands

show port-location global

port-location flexible-syntax
Syntax
Purpose
Usage Guidelines
Mode

Example

port-location flexible-syntax {enable | disable}


To enable or disable port-location flexible-syntax
None
ZXAN(config)#
The following example displays how to enable port-location flexible-syntax:
ZXAN(config)#port-location flexible-syntax enable

Related
Commands

show port-location global

port-location flexible-syntax add


delimiter
Syntax
Purpose
Usage Guideline

186

port-location flexible-syntax add delimiter string index num


To add delimiter to port-location flexible-syntax
The following table provides parameter description:

Confidential and Proprietary Information of ZTE CORPORATION

Chapter 16 Port Location

Mode

Example

Parameter

Description

Value

string

Delimiter

Range: 1 1
character

index num

Index term to be
added

Range: 1 30

ZXAN(config)#
The following example displays how to add delimiter to port-location flexible-syntax:
ZXAN(config)#port-location flexible-syntax add delimiter , index 2

Related
Commands
Related
Information

None
Log into ONU through management port by executing this command.

port-location flexible-syntax add


variable
Syntax

Purpose
Usage Guidelines

port-location flexible-syntax add variable {chassis | rack |


frame | slot | sub-slot | port | q-vlan | ethernet-priority | onu-id}
width widthvalue [index indexno]
To add variable field to port-location flexible-syntax
The following table provides parameters description:
Parameter

Description

Value

variable

Variable field

Range: 1 1
character

width widthvalue

Code variable field


configuration 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 field
collection

chassis: cabinet
rack
frame
slot
sub-slot
port
q-vlan vlan
ethernet-priority
onu-id-onu

Mode

Example

ZXAN(config)#
The following example displays how to add variable field chassis
to port-location flexible-syntax:
ZXAN(config)#port-location flexible-syntax add variable chassis width 5 index 2

Confidential and Proprietary Information of ZTE CORPORATION

187

ZXA10 C220 Command Manual (Volume I)

Related Command

None

port-location hostname
Syntax
Purpose
Usage Guidelines

Mode

Example

port-location hostname {string}


To configure port location host name
The following table provides parameter description:
Parameter

Description

Value

string

Hostname

Range: 1 64
characters

ZXAN(config)#
The following example displays how to configure port location host
name:
ZXAN(config)#port-location hostname ZTE

Related
Commands

show port-location global

port-location rackno frameno


Syntax
Purpose
Usage Guidelines

Mode

Example

port-location rackno racknumber frameno framenumber


To configure port location rack number and frame number
The following table provides parameters description:
Parameter

Description

Value

rackno racknumber

Port location rack


number

Range: 0 63

frameno framenum
ber

Port location frame


number

Range: 0 31

ZXAN(config)#
The following example displays how to configure port location rack
number and frame number:
ZXAN(config)#port-location rackno 3 frameno 8

188

Confidential and Proprietary Information of ZTE CORPORATION

Chapter 16 Port Location

Related
Commands

show port-location global

port-location format
Syntax
Purpose
Usage Guidelines

Mode

Example

port-location format {china-telecom | dsl-forum | china-ne


tcom} vport portid
To configure the port location format
The following table provides parameter description:
Parameter

Description

Value

china-telecom

China telecom as
format

dsl-forum

DSL forum as format

china-netcom

China Netcom as
format

vport portid

GEM port ID

Range: 1 255

ZXAN(config-if)#
The following example displays how to configure the port location
format:
ZXAN(config)#interface gpon-onu_0/13/1:1
ZXAN(config-if)# port-location format china-telecom vport 1

Related
Commands

show port-location port

port-location sub-option remote-id


Syntax
Purpose
Usage Guidelines

Mode

Example

port-location sub-option remote-id {enable | disable} vport


portid
To configure the remote ID for port location sub-option
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

ZXAN(config-if)#
The following example displays how to enable the remote ID for
port location:
ZXAN(config-if)#port-location sub-option remote-id enable vport 1

Confidential and Proprietary Information of ZTE CORPORATION

189

ZXA10 C220 Command Manual (Volume I)

Related
Commands

show port-location port

port-location sub-option remote-id


name
Syntax
Purpose
Usage Guideline

Mode

Example

port-location sub-option remote-id name string vport portid


To configure local port DHCP remote ID name
The following table provides parameter description:
Parameter

Description

Value

string

Remote ID

Range: 1 64
characters

vport portid

VPORT ID

Range: 1 255

ZXAN(config-if)#
The following example displays how to configure local port DHCP
remote ID name:
ZXAN(config-if)#port-location sub-option remote-id name name1 vport 1

Related
Commands

show port-location port

show port-location flexible-syntax


Syntax

show port-location flexible-syntax

Purpose

To display port-location flexible syntax

Usage Guidelines
Mode

Example

None
All modes except exec mode
The following example displays port-location flexible syntax:
ZXAN#show port-location flexible-syntaxl

Related
Commands

port-location flexible-syntax

show port-location global


Syntax
Purpose
Usage Guidelines
Mode

Example

190

show port-location global


To display the global port-location information
None
ZXAN(config)#
The following example displays the global port-location information:

Confidential and Proprietary Information of ZTE CORPORATION

Chapter 16 Port Location

ZXAN#show
identifer
rackno
frameno
hostname

Related
Commands

port-location global
: inband-mac
: 3
: 8
: ZTE

port-location access-node-identifier
port-location hostname
port-location rackno frameno

show port-location port


Syntax
Purpose
Usage Guidelines

Mode

Example

show port-location port interface [{vport portid | pvc pvcid}]


To display the port-location information
The following table provides parameter description:
Parameter

Description

Value

port interface

Shelf, slot and port


number; OLT and
ONU IDs

Range: 1 127
characters

vport portid

Virtual port number

Range: 1 255

pvc pvcid

PVC number

Range: 1 8

All modes except exec mode


The following example displays the port based port-location configuration:
ZXAN(config)# show port-location port gpon-onu_0/9/1:1 vport 1

Related
Commands

port-location format
port-location sub-option remote-id
port-location sub-option remote-id name

DHCP Option 82
Configuration
dhcp-option82
Syntax
Purpose
Usage Guidelines

dhcp-option82 {enable | disable}


To enable or disable DHCP Option82
The following table provides parameter description:

Confidential and Proprietary Information of ZTE CORPORATION

191

ZXA10 C220 Command Manual (Volume I)

Mode

Example

Parameter

Description

Value

enable

Enable DHCP
Option82

disable

Disable DHCP
Option82

ZXAN#
The following example displays how to enable DHCP Option82:
ZXAN(config)# dhcp-option82 enable

Related
Commands

show dhcp-option82 global

dhcp option82 vport


Syntax
Purpose
Usage Guidelines

Mode

Example

dhcp-option82 {enable | disable} vport portid


To enable or disable port DHCP Option82
The following table provides parameters description:
Parameter

Description

Value

enable

Enable port DHCP


Option82

disable

Disable port DHCP


Option82

portid

GEM port number

ZXAN(config-if)#
The following example displays how to enable port 1 DHCP Option82:
ZXAN(config-if)# dhcp-option82 enable vport 1

Related
Commands

show dhcp-option82 port

dhcp-option82 trust
Syntax
Purpose
Usage Guidelines

192

dhcp-option82 trust {true {keep | replace} | false {discard


| add}} vport portid
To configure a particular port as a trustworthy port
The following table provides parameter description:
Parameter

Description

Value

keep

Keep DHCP request


packet option82 or
option128

Confidential and Proprietary Information of ZTE CORPORATION

Chapter 16 Port Location

Mode

Example

Parameter

Description

Value

replace

Replace DHCP request


packet option82 or
option128

add

Add option82 to the


DHCP option82 or
option128 packet

discard

Discard DHCP request


packet option82 or
option128

vport port-index

Virtual port index

Range: 1 255

ZXAN(config-if)#
The following example displays how to configure a particular port
as a trustworthy port:
ZXAN(config-if)#dhcp-option82 trust true keep vport 1

Related
Commands

show dhcp-option82 port

show dhcp-option82 global


Syntax
Purpose
Usage Guidelines
Mode

Example

show dhcp-option82 global


To display global status of option82 and option128
None
All modes except exec mode
The following example displays global status of option82 and option128:
ZXAN#show dhcp-option82 global
option82 status : disable
option128 status : disable

Related
Commands

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 trustworthy


and 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 127
characters
Format: type_shelf/sl
ot/{port-no | olt:onu}

Mode

Example

pvc pvcid

PVC number

Range: 1 8

vport portid

GEM port number

Range: 1 255

All modes except exec mode


The following example displays port option82 and option128 status
and port trustworthy and option82 management policy:
ZXAN(config-if)#show dhcp-option82 port
gpon-onu_0/9/1:1 vport 1
Onu
Vport
Option82 status
status Trust Policy
gpon-onu_0/9/1 1
enable
disable
keep

Related
Commands

Option128
true

show dhcp-option82 global


dhcp-option128
dhcp-option82 trust

Related
Information

When port type is configured as trust and true, policy can only
be configured as keep or replace. When port type is configured
as trust and false, policy can only be configured as discard or
add.

PPPoE+ Configuration
pppoe-plus
Syntax
Purpose
Usage Guidelines

Mode

Example

pppoe-plus {enable | disable}


To enable or disable PPPoE+ globally
The following table provides parameter description:
Parameter

Description

Value

disable

Disable the PPPoE+


function

enable

Enable the PPPoE+


function

ZXAN(config)#
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

Related
Commands

show pppoe-plus global

pppoe-plus vport
Syntax
Purpose
Usage Guidelines

Mode

Example

pppoe-plus {enable | disable} vport portid


To enable or disable virtual PPPoE+ port
The following table provides parameter description:
Parameter

Description

Value

enable

Enable virtual PPPoE+

disable

Disable virtual
PPPoE+

vport portid

Virtual port nubmer

Range: 0 255
characters

ZXAN(config-if)#
The following example displays how to enable virtual PPPoE+ port:
ZXAN(config-if)#pppoe-plus enable vport 1

Related
Commands

show pppoe-plus port

pppoe-plus trust
Syntax
Purpose
Usage Guideline

pppoe-plus trust {true {keep | replace} | false {discard | add}}


vport portid
To configure PPPoE+ trustworthy port policy
The following table provides parameter description:
Parameter

Description

Value

keep

Keep PPPoE uplink


packets containing
option105

replace

Replace PPPoE uplink


packets containing
option105

discard

Discard PPPoE uplink


packets containing
option105

add

Add another
option105 after
PPPoE uplink packet
option105

vport portid

GEM port number

Range: 1 255

Confidential and Proprietary Information of ZTE CORPORATION

195

ZXA10 C220 Command Manual (Volume I)

Mode

Example

ZXAN(config-if)#
The following example displays how to configure PPPoE+ trustworthy port policy:
ZXAN(config-if)# pppoe-plus trust true replace vport 1

Related
Commands

None

show pppoe-plus global


Syntax
Purpose
Usage Guidelines
Mode

Example

show pppoe-plus global


To display the PPPoE+ global information
None
All modes except the exec mode
The following example displays the PPPoE+ global information:
ZXAN(config)#show pppoe-plus global
pppoe-plus status : enable

Related
Commands

pppoe-plus

show pppoe-plus port


Syntax
Purpose

show pppoe-plus port interface [{vport portid | pvc pvcid}]


To display port PPPoE+ status

Usage Guidelines
Parameter

Description

Value

interface

Interface number.

Range: 1 127
characters

Format: type_shelf/sl
ot/{port-no | olt:onu}

Mode

Example

pvc pvcid

PVC number

Range: 1 8

vport portid

GEM number

Range: 1 255

All modes except exec mode


The following example displays interface PPPoE+ status:
ZXAN(config)#show pppoe-plus port gpon-onu_0/9/1:1
vport 1
Onu
Vport
Pppoe-plus status
gpon-onu_0/9/1 1
disable

Related
Commands

196

pppoe-plus vport

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
A
Access Modes......................1
activate............................ 47
add-card .......................... 35
add-rack .......................... 36
add-shelf.......................... 36
alarm {enable |
disable}........................ 123
alarm confirm ................. 124
alarm level-change .......... 125
alarm trap-confirm .......... 124
alarm trap-control ........... 125

B
banner incoming ............... 14

C
cd ................................... 59
clear alarm counter.......... 129
clear alarm pool .............. 128
clear logging alarm .......... 105
clear logging command .... 106
clear logging snmp .......... 106
clear processor................ 106
clock................................ 77
clock set .......................... 78
clock timezone .................. 78
configure terminal ............. 14
confirm-card ..................... 40
copy .............................. 101
copy (FTP Client) ........60, 102

D
debug alarm ................... 133
debug all ........................ 132
debug arp ...................... 133
debug dhcp-option82 ....... 134
debug group-management ............................ 134
debug igmp all ................ 135
debug ip......................... 136
debug ip bgp all .............. 136
debug ip bgp
dampening .................... 137
debug ip bgp events ........ 137
debug ip bgp in ............... 137
debug ip bgp
keepalives..................... 138
debug ip bgp out ............. 138

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............ 142
debug ip msdp ................ 143
debug ip multicast ........... 142
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........ 147
debug ip ospf
retransmission ............... 147
debug ip ospf spf............. 147
debug ip ospf tree ........... 148
debug ip pim-snooping ..... 148
debug ip pimsml....... 149150
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 ............... 160
debug lacp packet ........... 160
debug mstp agreement .... 161

Confidential and Proprietary Information of ZTE CORPORATION

201

ZXA10 C220 Command Manual (Volume I)

debug mstp all ................ 162


debug mstp bpdu-rx ........ 162
debug mstp bpdu-tx ........ 163
debug mstp errors ........... 163
debug mstp flush............. 164
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 all........ 169
debug radius
accounting .................... 169
debug radius all .............. 170
debug radius
authentication packet ..... 170
debug radius exception .... 171
debug radius user............ 172
debug syscomm .............. 172
debug sysctrl .................. 173
debug version-mng.......... 173
debug vlan ..................... 174
debug vrrp ..................... 175
del-card ........................... 37
del-rack ........................... 37
del-shelf........................... 38
delete .............................. 61
dhcp option82 vport......... 192
dhcp-option82................. 191
dhcp-option82 trust ......... 192
dir ................................... 61
disable ............................. 15
display ............................. 62
download version .............. 48

E
enable ............................. 15
enable secret .................... 15
end ................................. 16
erase version .................... 48
exit ................................. 17
external-input ................... 79
external-output ................. 80

F
fan control........................ 43
fan speed ......................... 44
format flash ...................... 63

G
General Command
Syntax............................ 11

202

H
hostname ......................... 17
HyperTerminal.....................1

I
ip ftp password ............... 102
ip ftp username............... 103

L
line console absolute-timeout .................... 67
line console idle-timeout..... 68
line telnet absolute-timeout................................. 68
line telnet access-class ....... 69
line telnet idle-timeout ....... 70
logging buffer ................. 107
logging console ............... 107
logging filesavetime ......... 108
logging ftp...................... 109
logging level ................... 110
logging mode .................. 110
logging on ...................... 112
logging snmplog-save ...... 111
login ................................ 70
Login Modes .......................9
login-authentication-type......................... 71
login-authorization-type ..... 71
logout .............................. 71

M
mac add......................... 177
mac aging-time ............... 178
mac delete ..................... 178
mac monitor-period ......... 179
mac usage-threshold ....... 180
main-backup version.......... 49
mkdir............................... 63
multi-user configure .......... 18

N
NetNumen ..........................4
nvram boot-password ........ 19
nvram boot-server............. 19
nvram boot-username........ 20
nvram config-filename ....... 20
nvram default-gateway ...... 21
nvram imgfile-location........ 22
nvram inband-mac ............ 23
nvram mng-ip-address ....... 22
nvram outband-mac .......... 24

Confidential and Proprietary Information of ZTE CORPORATION

Index

P
patch load ........................ 55
patch unload..................... 55
port-location access-loop-encapsulation .............................. 185
port-location access-node-identifier........ 186
port-location flexible-syntax............................... 186
port-location flexible-syntax add delimiter............ 186
port-location flexible-syntax add variable ............. 187
port-location format......... 189
port-location hostname .... 188
port-location rackno
frameno........................ 188
port-location sub-option
remote-id...................... 189
port-location sub-option
remote-id name ............. 190
pppoe-plus ..................... 194
pppoe-plus trust.............. 195
pppoe-plus vport ............. 195
pwd ................................. 64

Q
quit ........................... 49, 72

R
reboot.............................. 25
reload .............................. 26
rename ............................ 64
reset-at-suspend ............... 40
reset-card ........................ 38
rlogin............................... 72
rmdir ............................... 65
rmon alarm ...................... 95
rmon collection history ....... 96
rmon collection statistics..... 97
rmon event....................... 98
route-map ........................ 26

S
script ............................... 73
show alarm..................... 126
show alarm configure....... 126
show alarm counter ......... 127
show alarm pool .............. 126
show alarm-level ............. 128
show card ........................ 39
show clock........................ 29
show clock config ........ 29, 81
show cmdlogfile .............. 113
show compound-version ..... 49
show debugging .............. 176

show dhcp-option82
global ........................... 193
show dhcp-option82
port ............................. 193
show fan .......................... 44
show history ..................... 73
show logging
alarm ......................56, 114
show logging configure..... 115
show mac....................... 180
show mac aging-time....... 181
show mac monitor-info..... 182
show mac running ........... 182
show mac system ............ 183
show monitor.................... 74
show msan ....................... 74
show nvram...................... 24
show port-location
flexible-syntax ............... 190
show port-location
global ........................... 190
show port-location port .... 191
show pppoe-plus global .... 196
show pppoe-plus port....... 196
show processor ............... 116
show rmon ....................... 99
show route-map ................ 32
show running-config .......... 30
show snmp ....................... 83
show snmp config.............. 84
show snmp engine-id ......... 84
show snmp group .............. 85
show snmp user ................ 85
show snmplogfile............. 112
show source active ...... 79, 81
show sync-status............... 53
show system-group ........... 31
show terminal ................... 75
show time-range ............... 32
show update-status ........... 50
show username................. 33
show users ....................... 33
show version .................... 34
show version-running......... 51
show version-saved ........... 52
snmp-server access-list ...... 86
snmp-server community..... 86
snmp-server contact .......... 87
snmp-server context .......... 87
snmp-server enable
inform ............................ 88
snmp-server engine-id ....... 88
snmp-server host .............. 90
snmp-server location ......... 91
snmp-server packetsize...... 91
snmp-server
trap-source ..................... 92
snmp-server user .............. 92
snmp-server view .............. 93
swap ............................... 39

Confidential and Proprietary Information of ZTE CORPORATION

203

ZXA10 C220 Command Manual (Volume I)

syslog exclude-snmp........ 118


syslog-server .................. 116
syslog-server host ........... 117

T
telnet............................... 75
Telnet ................................8
telnet mng ....................... 76
telnet onu ........................ 76
terminal monitor ............. 176
time-range ....................... 26

U
unm on .......................... 119
unm server..................... 119
update-boot...................... 53
update-cpld ...................... 56
update-version.................. 54
username ......................... 27

V
version ............................ 28

W
who ................................. 28
write................................ 65
write alarmlog................. 120
write cmdlog................... 120
write flash ........................ 66
write logging................... 121
write nvram ...................... 66
write snmplog ................. 121

204

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 (ISIS)
LACP - Link Aggregation Control Protocol
LSP - Link State Protocol
MAC - Media Access Control
MD5 - Message Digest 5 Algorithm - 5
MIB - Management Information Base
MSAN - Multi-Service Access Network
MSTP - Multiple Spanning Tree Protocol
MVLAN - Multicast Virtual Local Area Network
NE - Network Element
NMS - Network Management System
ONU - Optical Network Unit
OSPF - Open Shortest Path First Protocol
PDU - Protocol Data Unit
PIM - Protocol Independent Multicast
PIM-DM - Protocol Independent Multicast - Dense Mode
PIM-SM - Protocol Independent Multicast - Sparse Mode
PPPoE - Point-to-Point Protocol over Ethernet PPP

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

You might also like