ZXA10 C220 (V1.1.2) GPON Optical Access Convergence Equipment Command Manual (Volume I)

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: [email protected]

Transcript of ZXA10 C220 (V1.1.2) GPON Optical Access Convergence Equipment Command Manual (Volume I)

  • ZXA10 C220GPON Optical Access Convergence

    EquipmentCommand Manual (Volume I)

    Version 1.1.2

    ZTE CORPORATIONZTE Plaza, Keji Road South,Hi-Tech Industrial Park,Nanshan District, Shenzhen,P. R. China518057Tel: (86) 755 26771900Fax: (86) 755 26770801URL: http://ensupport.zte.com.cnE-mail: [email protected]

  • LEGAL INFORMATION

    Copyright 2006 ZTE CORPORATION.

    The contents of this document are protected by copyright laws and international treaties. Any reproduction or distribution ofthis document or any portion of this document, in any form by any means, without the prior written consent of ZTE CORPO-RATION is prohibited. Additionally, the contents of this document are protected by contractual confidentiality obligations.

    All company, brand and product names are trade or service marks, or registered trade or service marks, of ZTE CORPORATIONor of their respective owners.

    This document is provided as is, and all express, implied, or statutory warranties, representations or conditions are dis-claimed, including without limitation any implied warranty of merchantability, fitness for a particular purpose, title or non-in-fringement. ZTE CORPORATION and its licensors shall not be liable for damages resulting from the use of or reliance on theinformation contained herein.

    ZTE CORPORATION or its licensors may have current or pending intellectual property rights or applications covering the subjectmatter of this document. Except as expressly provided in any written license between ZTE CORPORATION and its licensee,the user of this document shall not acquire any license to the subject matter herein.

    ZTE CORPORATION reserves the right to upgrade or make technical change to this product without further notice.

    Users may visit ZTE technical support website http://ensupport.zte.com.cn to inquire related information.

    The ultimate right to interpret this product resides in ZTE CORPORATION.

    Revision History

    Revision No. Revision Date Revision Reason

    1.0 31/03/2009 First Edition

    Serial Number: sjzl20093769

  • Contents

    Preface...............................................................i

    Overview...........................................................1Access Modes................................................................. 1

    HyperTerminal............................................................ 1

    NetNumen ................................................................. 4

    Telnet ....................................................................... 8

    Login Modes .................................................................. 9

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

    Basic System Management ..............................13banner incoming ...........................................................13

    configure terminal .........................................................14

    disable .........................................................................15

    enable .........................................................................15

    enable secret ................................................................15

    end .............................................................................16

    exit .............................................................................17

    hostname.....................................................................17

    multi-user configure.......................................................18

    nvram boot-password ....................................................18

    nvram boot-server.........................................................19

    nvram boot-username....................................................20

    nvram config-filename ...................................................20

    nvram default-gateway ..................................................21

    nvram imgfile-location....................................................22

    nvram mng-ip-address ...................................................22

    nvram inband-mac ........................................................23

    nvram outband-mac ......................................................24

    show nvram..................................................................24

    reboot..........................................................................25

    reload ..........................................................................25

    route-map ....................................................................26

  • time-range ...................................................................26

    username.....................................................................27

    version.........................................................................28

    who.............................................................................28

    show clock....................................................................29

    show clock config ..........................................................29

    show running-config ......................................................30

    show system-group .......................................................31

    show route-map............................................................32

    show time-range ...........................................................32

    show username.............................................................33

    show users ...................................................................33

    show version ................................................................34

    Hardware Management ...................................35add-card ......................................................................35

    add-rack ......................................................................36

    add-shelf......................................................................36

    del-card .......................................................................37

    del-rack .......................................................................37

    del-shelf.......................................................................38

    reset-card ....................................................................38

    show card.....................................................................39

    swap............................................................................39

    confirm-card .................................................................40

    reset-at-suspend ...........................................................40

    lock-card......................................................................41

    unlock-card ..................................................................41

    Fan Management.............................................43fan control....................................................................43

    fan high-threshold .........................................................43

    fan speed .....................................................................44

    show fan ......................................................................44

    Version Management.......................................47activate version.............................................................47

    download version ..........................................................48

    erase version ................................................................48

    main-backup version......................................................48

    quit .............................................................................49

    show compound-version .................................................49

    show update-status .......................................................50

  • show version-running.....................................................51

    show version-saved .......................................................52

    show sync-status...........................................................53

    update-boot..................................................................53

    update-version..............................................................54

    patch load ....................................................................55

    patch unload.................................................................55

    show patchstate ............................................................56

    update-cpld ..................................................................56

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

    copy (FTP Client)...........................................................60

    delete ..........................................................................61

    dir ...............................................................................61

    display .........................................................................62

    format flash..................................................................63

    mkdir...........................................................................63

    pwd.............................................................................64

    rename ........................................................................64

    rmdir ...........................................................................65

    write............................................................................65

    write flash ....................................................................66

    write nvram..................................................................66

    User Management ...........................................67line console absolute-timeout..........................................67

    line console idle-timeout.................................................68

    line telnet absolute-timeout ............................................68

    line telnet access-class...................................................69

    line telnet idle-timeout ...................................................70

    login ............................................................................70

    logout ..........................................................................71

    login-authentication-type................................................71

    login-authorization-type .................................................71

    quit .............................................................................72

    rlogin...........................................................................72

    script ...........................................................................73

    show history .................................................................73

    show monitor................................................................74

    show msan ...................................................................74

    show terminal ...............................................................75

  • telnet...........................................................................75

    telnet mng....................................................................76

    telnet onu ....................................................................76

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

    clock timezone ..............................................................77

    clock set.......................................................................78

    source .........................................................................78

    external-input ...............................................................79

    external-output .............................................................80

    show clock config ..........................................................81

    show source active ........................................................81

    SNMP Management..........................................83show snmp...................................................................83

    show snmp config..........................................................84

    show snmp engine-id .....................................................84

    show snmp group ..........................................................85

    show snmp user ............................................................85

    snmp-server access-list ..................................................86

    snmp-server community.................................................86

    snmp-server contact ......................................................87

    snmp-server context......................................................87

    snmp-server enable .......................................................88

    snmp-server engine-id ...................................................88

    snmp-server group ........................................................89

    snmp-server host ..........................................................90

    snmp-server location .....................................................91

    snmp-server packetsize..................................................91

    snmp-server trap-source ................................................92

    snmp-server user ..........................................................92

    snmp-server view..........................................................93

    RMON Management .........................................95rmon alarm ..................................................................95

    rmon collection history ...................................................96

    rmon collection statistics ................................................97

    rmon event...................................................................98

    show rmon ...................................................................99

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

  • copy .......................................................................... 102

    ip ftp password ........................................................... 102

    ip ftp username........................................................... 103

    System Log and Statistics Management ........105clear logging alarm ...................................................... 105

    clear logging command ................................................ 106

    clear logging snmp ...................................................... 106

    clear processor............................................................ 106

    logging buffer ............................................................. 107

    logging console ........................................................... 107

    logging filesavetime ..................................................... 108

    logging ftp.................................................................. 109

    logging level ............................................................... 110

    logging mode.............................................................. 110

    logging snmplog-save .................................................. 111

    logging on .................................................................. 112

    show snmplogfile......................................................... 112

    show cmdlogfile .......................................................... 113

    show logging alarm...................................................... 114

    show logging configure................................................. 115

    show processor ........................................................... 115

    syslog ........................................................................ 116

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

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

    unm on ...................................................................... 119

    unm server................................................................. 119

    write alarmlog............................................................. 120

    write cmdlog............................................................... 120

    write logging............................................................... 120

    write snmplog ............................................................. 121

    Alarm Management .......................................123alarm {enable | disable} .............................................. 123

    alarm confirm ............................................................. 124

    alarm trap-confirm ...................................................... 124

    alarm trap-control ....................................................... 125

    alarm level-change ...................................................... 125

    show alarm................................................................. 126

    show alarm config ....................................................... 126

    show alarm pool.......................................................... 126

    show alarm counter ..................................................... 127

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

    clear alarm pool .......................................................... 128

    clear alarm counter...................................................... 129

    Debugging.....................................................131debug all .................................................................... 132

    debug alarm ............................................................... 133

    debug arp................................................................... 133

    debug dhcp-option82 ................................................... 133

    debug group-management............................................ 134

    debug igmp ................................................................ 135

    debug ip..................................................................... 136

    debug ip bgp all .......................................................... 136

    debug ip bgp dampening .............................................. 137

    debug ip bgp events .................................................... 137

    debug ip bgp in ........................................................... 137

    debug ip bgp keepalives ............................................... 138

    debug ip bgp out ......................................................... 138

    debug ip bgp updates................................................... 139

    debug ip destination .................................................... 139

    debug ip dhcp ............................................................. 140

    debug ip icmp ............................................................. 140

    debug ip icmp detail .................................................... 140

    debug ip igmp............................................................. 141

    debug ip igmp-snooping ............................................... 141

    debug ip interface........................................................ 141

    debug ip multicast ....................................................... 142

    debug ip msdp ............................................................ 143

    debug ip ospf adj......................................................... 143

    debug ip ospf all.......................................................... 144

    debug ip ospf cspf ....................................................... 144

    debug ip ospf database-timer........................................ 145

    debug ip ospf events.................................................... 145

    debug ip ospf flood ...................................................... 145

    debug ip ospf lsa-generation ......................................... 146

    debug ip ospf nsf......................................................... 146

    debug ip ospf packet.................................................... 146

    debug ip ospf retransmission......................................... 147

    debug ip ospf spf......................................................... 147

    debug ip ospf tree ....................................................... 148

    debug ip pim-snooping................................................. 148

  • debug ip pimsm .......................................................... 149

    debug ip pimdm .......................................................... 150

    debug ip protocol ........................................................ 150

    debug ip rip ................................................................ 151

    debug ip rip all ............................................................ 151

    debug ip rip database .................................................. 152

    debug ip rip trigger...................................................... 152

    debug ip source........................................................... 152

    debug ip tcp all ........................................................... 153

    debug ip tcp driver ...................................................... 153

    debug ip tcp driver-pak ................................................ 154

    debug ip tcp packet ..................................................... 154

    debug ip tcp transactions.............................................. 155

    debug ip udp .............................................................. 155

    debug iptv all.............................................................. 156

    debug isis adj-packets.................................................. 157

    debug isis all............................................................... 157

    debug isis nsf-event..................................................... 158

    debug isis snp-packets ................................................. 158

    debug isis spf-events ................................................... 158

    debug isis update-packets ............................................ 159

    debug lacp all ............................................................. 159

    debug lacp fsm ........................................................... 159

    debug lacp packet ....................................................... 160

    debug mpnat .............................................................. 161

    debug mstp agreement ................................................ 161

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

    debug mstp bpdu-rx .................................................... 162

    debug mstp bpdu-tx .................................................... 163

    debug mstp errors ....................................................... 163

    debug mstp flush......................................................... 163

    debug mstp info .......................................................... 164

    debug mstp migration .................................................. 165

    debug mstp proposals .................................................. 165

    debug mstp roles......................................................... 166

    debug mstp state ........................................................ 166

    debug mstp tc............................................................. 167

    debug nas .................................................................. 167

    debug port-location ..................................................... 168

    debug pppoe-plus........................................................ 168

  • debug radius accounting............................................... 169

    debug radius all........................................................... 170

    debug radius authentication .......................................... 170

    debug radius exception ................................................ 171

    debug radius user........................................................ 171

    debug syscomm .......................................................... 172

    debug sysctrl .............................................................. 173

    debug version-mng...................................................... 173

    debug vlan ................................................................. 174

    debug vrrp ................................................................. 175

    show debugging .......................................................... 176

    terminal monitor ......................................................... 176

    MAC Configuration.........................................177mac add..................................................................... 177

    mac aging-time........................................................... 178

    mac delete ................................................................. 178

    mac monitor-period ..................................................... 179

    mac usage-threshold ................................................... 180

    show mac................................................................... 180

    show mac aging-time................................................... 181

    show mac monitor-info................................................. 182

    show mac running ....................................................... 182

    show mac system........................................................ 183

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

    port-location access-loop-encapsulation...................... 185

    port-location access-node-identifier ........................... 186

    port-location flexible-syntax...................................... 186

    port-location flexible-syntax add delimiter................... 186

    port-location flexible-syntax add variable.................... 187

    port-location hostname ............................................ 188

    port-location rackno frameno .................................... 188

    port-location format................................................. 189

    port-location sub-option remote-id............................. 189

    port-location sub-option remote-id name .................... 190

    show port-location flexible-syntax.............................. 190

    show port-location global.......................................... 190

    show port-location port ............................................ 191

    DHCP Option 82 Configuration....................................... 191

    dhcp-option82......................................................... 191

  • dhcp option82 vport................................................. 192

    dhcp-option82 trust ................................................. 192

    show dhcp-option82 global ....................................... 193

    show dhcp-option82 port .......................................... 193

    PPPoE+ Configuration .................................................. 194

    pppoe-plus ............................................................. 194

    pppoe-plus vport ..................................................... 195

    pppoe-plus trust...................................................... 195

    show pppoe-plus global ............................................ 196

    show pppoe-plus port............................................... 196

    Figures ..........................................................197

    Tables ...........................................................199

    Index ............................................................201

    List of Glossary..............................................205

  • Preface

    Purpose This manual provides procedures and guidelines that support theoperation of the ZXA10 C220 (V1.1.2).

    IntendedAudience

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

    Prerequisite Skilland Knowledge

    To use this manual effectively, subscribers should have a generalunderstanding of network technology. Familiarity with the follow-ing is helpful:

    Networking basics

    Access Network (AN) technologies

    GPON technology

    ZXA10 C220 system and its various components

    What Is in ThisManual

    This manual contains the following chapters:

    TABLE 1 CHAPTER SUMMARY

    Chapter Summary

    Chapter 1, Overview Describes the device accessmodes, login modes, and generalcommand syntax.

    Chapter 2, Basic SystemManagement

    Describes the commands relatedto basic system management.

    Chapter 3, Hardware Management Describes the commands relatedto hardware management.

    Chapter 4, Fan Management Describes the commands relatedto fan management.

    Chapter 5, Version Management Describes the commands relatedto version management.

    Chapter 6, File SystemManagement

    Describes the commands relatedto file system management.

    Chapter 7, User Management Describes the commands relatedto user management.

    Chapter 8, Clock Management Describes the commands relatedto clock management.

    Chapter 9, SNMP Management Describes the commands relatedto SNMP management.

    Chapter 10, RMON Management Describes the commands relatedto RMON management.

    Chapter 11, FTP/TFTP Server Describes the commands relatedto FTP/TFTP server.

    Confidential and Proprietary Information of ZTE CORPORATION i

  • ZXA10 C220 Command Manual (Volume I)

    Chapter Summary

    Chapter 12, System Log andStatistics Management

    Describes the commands relatedto system log and statisticsmanagement.

    Chapter 13, Alarm Management Describes the commands relatedto alarm management.

    Chapter 14, Debugging Describes the commands relatedto debugging.

    Chapter 15, MAC Configuration Describes the commands relatedto MAC configuration.

    Chapter 16, Port Location Describes the commands relatedto port location.

    RelatedDocumentation

    The following documentation is related to this manual:

    ZXA10 C220 (V1.1.2) GPON Optical Access ConvergenceEquipment Documentation Guide

    ZXA10 C220 (V1.1.2) GPON Optical Access ConvergenceEquipment Technical Manual

    ZXA10 C220 (V1.1.2) GPON Optical Access ConvergenceEquipment Hardware Manual

    ZXA10 C220 (V1.1.2) GPON Optical Access ConvergenceEquipment Hardware Installation Manual

    ZXA10 C220 (V1.1.2) GPON Optical Access ConvergenceEquipment Command Manual (Volume II)

    ZXA10 C220 (V1.1.2) GPON Optical Access ConvergenceEquipment Command Manual (Volume III)

    ZXA10 C220 (V1.1.2) GPON Optical Access ConvergenceEquipment Command Manual (Volume IV)

    ZXA10 C220 (V1.1.2) GPON Optical Access ConvergenceEquipment Operation Manual (CLI)

    ZXA10 C220 (V1.1.2) GPON Optical Access ConvergenceEquipment Operation Manual (NetNumen)

    ZXA10 C220 (V1.1.2) GPON Optical Access ConvergenceEquipment Maintenance Manual

    Conventions ZTE documents employ the following typographical conventions.

    TABLE 2 TYPOGRAPHICAL CONVENTIONS

    Typeface Meaning

    Italics References to other Manuals and documents.

    "Quotes" Links on screens.

    Bold Menus, menu options, function names, input fields,radio button names, check boxes, drop-down lists,dialog box names, window names.

    ii Confidential and Proprietary Information of ZTE CORPORATION

  • Preface

    Typeface Meaning

    CAPS Keys on the keyboard and buttons on screens andcompany name.

    Constantwidth

    Text that you type, program code, files and directorynames, and function names.

    [ ] Optional parameters

    { } Mandatory parameters

    I Select one of the parameters that are delimited by it.

    Note:

    Note: Provides additional information about a certaintopic.

    Check-point:

    Checkpoint: Indicates that a particular step needs tobe checked before proceeding further.

    Tip:

    Tip: Indicates a suggestion or hint to make thingseasier or more productive for the reader.

    Mouse Operation Conventions are as follows:

    TABLE 3 MOUSE OPERATION CONVENTIONS

    Typeface Meaning

    Click Refers to clicking the primary mouse button (usually theleft mouse button) once.

    Double-click

    Refers to quickly clicking the primary mouse button(usually the left mouse button) twice.

    Right-click Refers to clicking the secondary mouse button (usuallythe right mouse button) once.

    Drag Refers to pressing and holding a mouse button andmoving the mouse.

    How to Get inTouch

    The following sections provide information on how to obtain sup-port for the documentation and the software.

    Customer SupportIf you have problems, questions, comments, or suggestionsregarding your product, contact us by e-mail at [email protected]. You can also call our customer support center at(86) 755 26771900 and (86) 800-9830-9830.

    Documentation SupportZTE welcomes your comments and suggestions on the quality and usefulness of this document. For further questions,comments, or suggestions on the documentation, you cancontact us by e-mail at [email protected]; or you can faxyour comments and suggestions to (86) 755 26772236. Youcan also browse our website at http://support.zte.com.cn,

    Confidential and Proprietary Information of ZTE CORPORATION iii

  • ZXA10 C220 Command Manual (Volume I)

    which contains various interesting subjects like documentation, knowledge base, forum and service request.

    Declaration ofRoHS Compliance

    Tominimize the environmental impact and take more responsibilityto the earth we live, this document shall serve as formal declara-tion that ZXA10 C220 manufactured by ZTE CORPORATION is incompliance with the Directive 2002/95/EC of the European Parlia-ment - RoHS (Restriction of Hazardous Substances) with respectto the following substances:

    Lead (Pb)

    Mercury (Hg)

    Cadmium (Cd)

    Hexavalent Chromium (Cr (VI))

    PolyBrominated Biphenyls (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 CORPORATIONmakes no warranties, express or implied, and assumes no liability inconnection with the use of this information.

    iv Confidential and Proprietary Information of ZTE CORPORATION

  • C h a p t e r 1

    Overview

    Table of ContentsAccess Modes..................................................................... 1Login Modes ...................................................................... 9General Command Syntax ..................................................11

    Access ModesThis topic includes the following:

    HyperTerminal

    NetNumen

    Telnet

    HyperTerminal

    Short Description Perform this procedure to configure HyperTerminal.

    Prerequisites Make sure that HyperTerminal is installed in computer and workingnormally. ZXA10 C220should be able to ping the computer.

    Context To configure HyperTerminal, perform the following steps:

    Steps 1. Port Connection Setup: Use a serial cable to connect Com-puter Serial Port with Control and Switching Card (GCSA)console port as shown in Figure 1.

    FIGURE 1 CONSOLE PORT SETUP

    Confidential and Proprietary Information of ZTE CORPORATION 1

  • ZXA10 C220 Command Manual (Volume I)

    2. HyperTerminal Setup:

    i. In Windows, click start > Programs > Accessories >Communications > HyperTerminal. Connection inter-face appears as shown in Figure 2.

    FIGURE 2 HYPERTERMINAL CONNECTION INTERFACE

    ii. In Connection Description interface, input connectionname as shown in Figure 2.

    iii. Click OK to enter Connect To interface as shown in Figure3

    FIGURE 3 CONNECT TO INTERFACE

    2 Confidential and Proprietary Information of ZTE CORPORATION

  • Chapter 1 Overview

    iv. In Connect To interface, select COM1 from the Connectusing drop-down list.

    v. Click OK to enter COM1 Properties interface as shown inFigure 4.

    FIGURE 4 COM1 PROPERTIES INTERFACE

    vi. Click Restore Defaults to change the port configurationto default value as shown in Figure 4.

    vii. Click OK to finish the configuration and a HyperTerminalapplication interface appears as shown in Figure 5.

    FIGURE 5 HYPERTERMINAL APPLICATION INTERFACE

    Confidential and Proprietary Information of ZTE CORPORATION 3

  • ZXA10 C220 Command Manual (Volume I)

    viii.Input username and password. By default, usernameand password is zte. The final interface appears as shownin Figure 6.

    FIGURE 6 HYPERTERMINAL INTERFACE

    If login fails, click Disconnect and then click Call . Iflogin still fails, check parameter configuration or physicalconnections. Do not login until configuration is correct.

    END OF STEPS

    Result HyperTerminal is configured successfully.

    NetNumen

    Short Description Perform this procedure to access NE via NetNumen N31 (for man-agement).

    Prerequisites Make sure that NetNumen N31 NMS and SQL Server 2000 data-base are installed on the computer and working normally.

    Context To access NE via NetNumen N31 System, perform the followingsteps:

    Steps 1. Select Start > Programs > NetNumen N31 > NetNumenN31 Server to start UMS Server as shown in Figure 7.

    4 Confidential and Proprietary Information of ZTE CORPORATION

  • Chapter 1 Overview

    FIGURE 7 STARTING NETNUMEN N31 SERVER

    The interface appears as shown in Figure 8.

    FIGURE 8 UMS SERVER INTERFACE

    The final interface appears as shown in Figure 9.

    Confidential and Proprietary Information of ZTE CORPORATION 5

  • ZXA10 C220 Command Manual (Volume I)

    FIGURE 9 FINAL UMS SERVER INTERFACE

    2. Start the client as: Start > NetNumen N31 > NetNumenN31 Client as shown in Figure 7.

    FIGURE 10 STARTING NETNUMEN N31 CLIENT

    The interface appears as shown in Figure 11.

    6 Confidential and Proprietary Information of ZTE CORPORATION

  • Chapter 1 Overview

    FIGURE 11 UMS CLIENT INTERFACE

    The final interface appears as shown in .

    FIGURE 12 NETNUMEN N31 CLIENT LOGIN INTERFACE

    3. In the client login interface, input User Name and click OK toenter the main interface as shown in Figure 13.

    Confidential and Proprietary Information of ZTE CORPORATION 7

  • ZXA10 C220 Command Manual (Volume I)

    FIGURE 13 NETNUMEN N31 MAIN INTERFACE

    The above interface shows management pane on the left andNE pane on the right side. Right-click NE to access NE foroperation.

    END OF STEPS

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

    Telnet

    The user can login to the system through Telnet from NMS or anycomputer from where the user can ping system in-band or out-of-band IP address.

    In Windows Operating System, select start > Run, and type telnetX.X.X.X (where X.X.X.X is the in-band or out-of-band IP addressof ZXA10 C220) as shown in Figure 14.

    8 Confidential and Proprietary Information of ZTE CORPORATION

  • Chapter 1 Overview

    FIGURE 14 RUN INTERFACE

    After the connection is successful, enter username and pass-word as zte. The system information is displayed in the CLI for-mat, as shown in Figure 15 .

    FIGURE 15 TELNET WINDOW INTERFACE

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

    Login ModesThe following table lists the login modes.

    Mode DOS Prompt Entry Mode(From)

    Entry Command

    User mode ZXAN> - Enter user modedirectly after loginthe system

    Confidential and Proprietary Information of ZTE CORPORATION 9

  • ZXA10 C220 Command Manual (Volume I)

    Mode DOS Prompt Entry Mode(From)

    Entry Command

    Privilegemode

    ZXAN# User mode enable

    Globalconfigurationmode

    ZXAN(con-fig)#

    Privilege mode configure terminal

    Clockconfigurationmode

    ZXAN(config-clock)#

    Globalconfigurationmode

    clock

    Interfaceconfigurationmode

    ZXAN(config-if)#

    Globalconfigurationmode

    interface

    Routerconfigurationmode

    ZXAN(config-router)#

    Globalconfigurationmode

    router

    Routeraddressmode

    ZXAN(config-router-af)#

    Routerconfigurationmode

    address-family

    Router mapmode

    ZXAN(config-route-map)

    Globalconfigurationmode

    route-map

    StandardACLconfigurationmode

    ZXAN(config-std-acl)#

    Globalconfigurationmode

    acl standard

    ExtendedACLconfigurationmode

    ZXAN(config-ext-acl)#

    Globalconfigurationmode

    acl extended

    Hybrid ACLconfigurationmode

    ZXAN(config-hybd-acl)#

    Globalconfigurationmode

    acl hybrid

    Linklayer ACLconfigurationmode

    ZXAN(config-link-acl)#

    Globalconfigurationmode

    acl link

    VLANdatabaseconfigurationmode

    ZXAN(vlan)# Privilege mode vlan database

    VLANconfigurationmode

    ZXAN(config-vlan)#

    Globalconfigurationmode

    vlan

    MSTPconfigurationmode

    ZXAN (config-mstp)#

    Globalconfigurationmode

    spanning-tree mstconfiguration

    10 Confidential and Proprietary Information of ZTE CORPORATION

  • Chapter 1 Overview

    Mode DOS Prompt Entry Mode(From)

    Entry Command

    CESconfigurationmode

    ZXAN(config-ces)#

    Globalconfigurationmode

    ces

    AAA-tacacsserver groupmode

    ZXAN(config-sg)#

    Global configura-tion mode

    aaa group-servertacacs+

    General Command SyntaxAll commands issued under ZXA10 C220 follow a general com-mand syntax. The general command syntax is as follows:

    command parameter

    where,

    command is main command. A command is a mandatory part ofcommand syntax.

    parameter (mandatory or optional) can be sub-command (key-word), value or a combination of both. When used as a value, pa-rameters are shown in italics. When used as a sub-command (key-word), parameters are shown in bold-face. There may be none,single or multiple parameters after command. Commands usu-ally require a value (such as a VLAN identifier), therefore, choosean appropriate value wherever needed. Parameters are executedas a part of a main command.

    The following symbols are used in command syntax.

    { }: Braces enclose a mandatory parameter. Any parameter(s)contained within braces must be provided after the previousparameter in a command.

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

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

    Example The following examples clarify the general command syntax anduse of symbols.

    port-location access-node-identify {hostname | inband-mac}

    igmp mvlan mvlan-id group static-port if-name [ pvc port-number | vport port-number]

    Note:

    Use tab key to auto-complete a command. Recall a commandissued earlier by using up-arrow key.

    Confidential and Proprietary Information of ZTE CORPORATION 11

  • ZXA10 C220 Command Manual (Volume I)

    This page is intentionally blank.

    12 Confidential and Proprietary Information of ZTE CORPORATION

  • C h a p t e r 2

    Basic SystemManagement

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

    banner incomingSyntax banner incoming end-char TEXT end-char

    Confidential and Proprietary Information of ZTE CORPORATION 13

  • ZXA10 C220 Command Manual (Volume I)

    Purpose To configure incoming terminal line banner

    Usage Guidelines The following table provides parameter description:

    Parameter Description Value

    end-char End character 1 character

    TEXT Greeting, ending withan end character

    1 255 characters,including spaces andcarriage returns

    Mode ZXAN(config)#

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

    RelatedCommands

    None

    RelatedInformation

    Step 1: Set an end character, which is one character, such as #:

    banner incoming #

    Press the Enter key. Then the system displays the following infor-mation:

    Enter TEXT message. End with the character #

    Step 2: Type the greeting text. It can include special characterssuch as spaces and carriage return (except question mark ?), andends with #

    Note:

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

    configure terminalSyntax configure terminal

    Purpose To enter global configuration mode (from privileged mode)

    Usage Guidelines None

    Mode ZXAN#

    Example The following example displays how to enter global configurationmode:ZXAN#configure terminalEnter configuration commands, one per line. End with CNTL/Z.ZXAN(config)#

    14 Confidential and Proprietary Information of ZTE CORPORATION

  • Chapter 2 Basic System Management

    RelatedCommands

    end

    disableSyntax disable

    Purpose To return from the privileged mode to the user mode

    Usage Guidelines None

    Mode ZXAN#

    Example The following example displays how to return from the privilegedmode to the user mode:ZXAN#disableZXAN>

    RelatedCommands

    enable

    exit

    enableSyntax enable

    Purpose To enter privileged mode from the user mode

    Usage Guidelines None

    Mode ZXAN>

    Example The following example displays how to enter privileged mode fromthe user mode:ZXAN>enablePassword:ZXAN#

    RelatedCommands

    disable

    RelatedInformation

    Privileged user password is required.

    Note:

    By default, password is ZXAN and is case sensitive. When the pass-word is typed, it is not displayed on the interface.

    enable secretSyntax enable secret {0 password | 5 password | password}

    Purpose To configure the password for privileged mode

    Confidential and Proprietary Information of ZTE CORPORATION 15

  • ZXA10 C220 Command Manual (Volume I)

    Usage Guidelines The following table provides parameter description:

    Parameter Description Value

    0 password Privileged password Range: 3 16characters

    5 password Encrypted privilegedpassword

    Range: 24 characters

    password Default privilegedpassword

    Range: 3 16characters

    Mode ZXAN(config)#

    Example The following example displays how to configure the password forprivileged mode to ZXAN:ZXAN(config)#enable secretZXAN

    RelatedCommands

    enable

    RelatedInformation

    Running configuration output displays encrypted enable passwordwhile the password used to enter the privileged mode is unen-crypted.

    Note:

    The enable secret 0 password and enable secret password com-mands are used to specify an unencrypted password. To spec-ify encrypted password, use the enable secret 5 password com-mand. The configured password is not encrypted unless the pass-word length is 24 characters.

    endSyntax end

    Purpose To return to the privileged mode

    Usage Guidelines None

    Mode The command is available for all modes except the user and priv-ileged modes.

    Example The following example displays how to return to the privilegedmode:ZXAN(config)#endZXAN#

    16 Confidential and Proprietary Information of ZTE CORPORATION

  • Chapter 2 Basic System Management

    RelatedCommands

    None

    exitSyntax exit

    Purpose To end current session or return to previous mode

    Usage Guidelines None

    Mode All modes

    Example The following example displays how to return to previous mode:ZXAN(config)#exitZXAN#

    RelatedCommands

    configure

    terminal

    login

    logout

    RelatedInformation

    When this command is executed under the user mode or privilegedmode, it ends current session; while in other modes, it returns toprevious mode.

    hostnameSyntax hostname network-name

    no hostname

    Purpose To configure the network name of the system

    Usage Guidelines The following table provides parameter description:

    Parameter Description Value

    network-name Network name Range: 1 64characters

    Mode ZXAN(config)#

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

    RelatedCommands

    None

    Confidential and Proprietary Information of ZTE CORPORATION 17

  • ZXA10 C220 Command Manual (Volume I)

    RelatedInformation

    This command takes effect immediately after it is executed.

    multi-user configureSyntax multi-user configure

    no multi-user configure

    Purpose To configure multiple users to access the configuration mode

    Usage Guidelines None

    Mode ZXAN(config)#

    Example The following example displays how to permit multiple users anda single user to access the configuration mode.

    To permit multiple users to access the configuration mode whenno user is in the configuration mode:ZXAN#configure terminalZXAN(config)#multi-user configure%Warning: allow others configure, must avoid conflict.ZXAN(config)#

    If multiple users try to enter global configuration mode, thesystem prompts with an error message:ZXAN#configure terminal%Simultaneous configs not allowed. Locked from 168.1.168.168ZXAN#

    This command cannot be disabled if a user is already in con-figuration mode:ZXAN(config)#no multi-user conf%Someone has entered the configure mode, cannot set single-userconfigure!ZXAN(config)#

    RelatedCommands

    configure terminal

    RelatedInformation

    By default, only one user can access the global configuration mode.Only aftermulti-user configure is executed, other users can ac-cess the global configuration mode. Before executing no multi-user configure, make sure that all the other users have exited theconfiguration mode.

    Note:

    When executing multi-user configure command, avoid conflictbetween different users.

    nvram boot-passwordSyntax nvram boot-password password

    18 Confidential and Proprietary Information of ZTE CORPORATION

  • Chapter 2 Basic System Management

    Purpose To start FTP download setting for mapping file and specifying thepassword of the FTP server for download

    Usage Guidelines The following table provides parameter description:

    Parameter Description Value

    password FTP password Range: 3 16characters

    Mode ZXAN(config)#

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

    RelatedCommands

    nvram boot-server

    nvram boot-username

    nvram config-filename

    nvram default-gateway

    nvram imgfile-location

    nvram mng-ip-address

    RelatedInformation

    The password can include numbers, letters, and special charac-ters.

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

    nvram boot-serverSyntax nvram boot-server ip-address

    Purpose To enable the FTP download settings for mapping files and speci-fying the IP address of the FTP server for download

    Usage Guidelines The following table provides parameter description:

    Parameter Description Value

    ip-address IP address A.B.C.D

    Mode ZXAN(config)#

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

    RelatedCommands

    nvram boot-password

    nvram boot-username

    nvram config-filename

    nvram default-gateway

    Confidential and Proprietary Information of ZTE CORPORATION 19

  • ZXA10 C220 Command Manual (Volume I)

    nvram imgfile-location

    nvram mng-ip-address

    RelatedInformation

    This command is used with the nvram boot-password,nvramboot-username,nvram imgfile-location and nvram default-gateway commands.

    nvram boot-usernameSyntax nvram boot-username username

    Purpose To enable the FTP download setting for mapping files and to specifythe user name of the FTP server for download

    Usage Guidelines The following table provides parameter description:

    Parameter Description Value

    username FTP user name Range: 1 16characters

    Mode ZXAN(config)#

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

    RelatedCommands

    nvram boot-password

    nvram boot-server

    nvram config-filename

    nvram default-gateway

    nvram imgfile-location

    nvram mng-ip-address

    RelatedInformation

    The password can include letters, numbers, and underscore. Let-ters are case insensitive.

    The command is used with nvram boot-password, nvram boot-server, nvram imgfile-location and nvram default-gatewaycommands.

    nvram config-filenameSyntax nvram config-filename file-name

    Purpose To specify name for startup configuration file

    Usage Guidelines The following table provides parameter description:

    20 Confidential and Proprietary Information of ZTE CORPORATION

  • Chapter 2 Basic System Management

    Parameter Description Value

    file-name Startup configurationfile name

    Range: 0 40characters

    Mode ZXAN(config)#

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

    RelatedCommands

    nvram boot-password

    nvram boot-server

    nvram boot-username

    nvram default-gateway

    nvram imgfile-location

    nvram mng-ip-address

    nvram default-gatewaySyntax nvram default-gateway ip-address

    Purpose To configure IP address of default gateway

    Usage Guidelines The following table provides parameter description:

    Description Description Value

    ip-address IP address of defaultgateway

    A.B.C.D

    Mode ZXAN(config)#

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

    RelatedCommands

    nvram boot-password

    nvram boot-server

    nvram boot-username

    nvram config-filename

    nvram imgfile-location

    nvram mng-ip-address

    RelatedInformation

    This command is used with the nvram boot-password, nvramboot-server, nvram imgfile-location, and nvram boot-username commands.

    Confidential and Proprietary Information of ZTE CORPORATION 21

  • ZXA10 C220 Command Manual (Volume I)

    nvram imgfile-locationSyntax nvram imgfile-location {local | network filename}

    Purpose To configure image file boot-up location

    Usage Guidelines The following table provides parameter description:

    Parameter Description Value

    local The image file islocated locally

    -

    network The image file islocated on thenetwork

    -

    filename File name Range: 1 80characters

    Mode ZXAN(config)#

    Example The following example displays how to configure image file boot-uplocation:

    1. To set local boot-up:ZXAN(config)#nvram imgfile-location local

    2. To set network boot-up:ZXAN(config)#nvram imgfile-location network sys.img

    RelatedCommands

    nvram boot-password

    nvram boot-server

    nvram boot-username

    nvram config-filename

    nvram default-gateway

    nvram mng-ip-address

    RelatedInformation

    Filename can include letters, numbers, and special characters.

    When network boot-up is set, filename can contain the path inthe specified FTP directory. For example, if the FTP directory issysm, and the current path is sysm/nets, filename can contain thesub-path under this path.

    This command is used with nvram boot-password, nvram boot-server, nvram boot-username and nvram default-gatewaycommands.

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

    Purpose To configure the IP address of the device MNG (management) in-terface

    Usage Guidelines The following table provides parameter description:

    22 Confidential and Proprietary Information of ZTE CORPORATION

  • Chapter 2 Basic System Management

    Parameter Description Value

    ip-address IP address of MNGinterface

    A.B.C.D

    net-mask Subnet mask A.B.C.D

    Mode ZXAN(config)#

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

    RelatedCommands

    nvram boot-password

    nvram boot-server

    nvram boot-username

    nvram config-filename

    nvram default-gateway

    nvram imgfile-location

    RelatedInformation

    The configured interface IP address should be in different networksegment from the local address.

    nvram inband-macSyntax nvram inband-mac mac-address

    Purpose To configure the in-band MAC address of the device

    Usage Guidelines The following table provides parameter description:

    Parameter Description Value

    mac-address MAC address 00d0.d0xx.xxxx (xis a hexadecimalnumber)

    Mode ZXAN(config)#

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

    RelatedCommands

    show nvram

    nvram outband-mac

    RelatedInformation

    mac address requirements are:

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

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

    After the command is executed:

    Confidential and Proprietary Information of ZTE CORPORATION 23

  • ZXA10 C220 Command Manual (Volume I)

    If the MAC address is successfully configured, the system doesnot display any information.

    If the MAC address fails to be configured, the system displaysthe following information:Invalid MAC address

    nvram outband-macSyntax nvram outband-mac mac address

    Purpose To configure the out-of-band MAC address of the device.

    Usage Guidelines The following table provides parameter description:

    Parameter Description Value

    mac address MAC address 00d0.d0xx.xxxx (xis a hexadecimalnumber)

    Mode ZXAN(config)#

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

    RelatedCommands

    show nvram

    nvram inband-mac

    RelatedInformation

    mac address requirements are as follows:

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

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

    After the command is executed:

    If the MAC address is successfully configured, the system doesnot display any information.

    If the MAC address fails to be configured, the system displaysthe following information:Invalid MAC address

    show nvramSyntax show nvram {running | saved}

    Purpose To display the NVRAM configuration

    Usage Guidelines The following table provides parameter description:

    24 Confidential and Proprietary Information of ZTE CORPORATION

  • Chapter 2 Basic System Management

    Parameter Description Value

    running Running information -

    saved Saved information -

    Mode ZXAN(config)#

    Example The following example shows how to display the NVRAM runningconfiguration:ZXAN(config)#show nvram runningNvram configuration information:mng-ip-address : 10.63.196.234mask : 255.255.255.0server-ip-address : 10.63.196.236Gateway-ip-address : 10.63.196.254boot-username : c220boot-password : c220ZXR10_SerialNo : 2354CfgFileName : startrun.datOutband-mac-address : 002d.0064.302dInband-mac-address : 0031.0064.3024

    RelatedCommands

    None

    rebootSyntax reboot [rackno rackno] [shelfno shelfno]

    Purpose To reboot the system

    Usage Guidelines The following table provides parameter description:

    Parameter Description Value

    rackno rackno Rack number Value: 0

    Default: 0

    shelfno shelfno Shelf number Value: 0

    Default: 0

    Mode ZXAN#

    Example The following example displays how to reboot the system:ZXAN#rebootPlease check whether data has savedthe unsaved data may lose if reboot active boardare you sure to reboot active board? [yes/no]:yZXAN#

    RelatedCommands

    None

    reloadSyntax reload

    Confidential and Proprietary Information of ZTE CORPORATION 25

  • ZXA10 C220 Command Manual (Volume I)

    Purpose To reload the system

    Usage Guidelines None

    Mode ZXAN#

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

    RelatedCommands

    None

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

    no route-map name [sequence]

    Purpose To access the route mapping configuration mode or configure theroute mapping of the system

    Usage Guidelines The following table provides parameter description:

    Parameter Description Value

    name Route mapping name Range: 1 16characters

    deny | permit Deny/Permit -

    sequence Sequence to insertinto/delete from routemap

    Range: 0 65535

    Mode ZXAN(config)#

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

    RelatedCommands

    show route-map

    time-rangeSyntax time-range range-name from starting-time starting-date [to

    ending-time ending-date]

    time-range range-name starting-time to ending-time {daily |working-day | off-day | sunday | monday | tuesday | wednesday | thursday | friday | saturday}

    no time-range range-name

    Purpose To configure the time range

    Usage Guidelines The following table provides parameter description:

    26 Confidential and Proprietary Information of ZTE CORPORATION

  • Chapter 2 Basic System Management

    Parameter Description Value

    range-name Time range name Range: 1 16characters

    starting-time Start time Format: hh:mm:ss

    starting-date Start date Format: mm-dd-yyyy

    Year range: 2001 2099

    ending-time End time Format: hh:mm:ss

    ending-date End date Format: mm-dd-yyyy

    Year range: 2001 2099

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

    Time limit conditions -

    Mode ZXAN(config)#

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

    The following example displays how to configure the time rangetest2, specifying the time range from 00:00:00 to 06:00:00 everySaturday:ZXAN(config)#time-range test2 00:00:00 to 02:00:00 saturday

    RelatedCommands

    show time-range

    RelatedInformation

    This command can be used to specify a continuous time range ora time range that meet certain conditions.

    The no time-range command is used to delete the configuration.

    usernameSyntax username username password password [privilege privilege]

    no username username

    Purpose To configure the login user name and password

    Usage Guidelines The following table provides parameter description:

    Confidential and Proprietary Information of ZTE CORPORATION 27

  • ZXA10 C220 Command Manual (Volume I)

    Parameter Description Value

    username User name Range: 1 16characters, excludingspaces

    password password Password Range: 3 16characters, excludingspaces

    privilege privilege Privilege level Range: 0 15

    Default: 1

    Mode ZXAN(config)#

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

    RelatedCommands

    show username

    RelatedInformation

    The user name can include numbers and lower case letters

    The password can include numbers, letters, and special charac-ters.

    The no username command is used to cancel the configuration.

    versionSyntax version

    Purpose To access the version management mode

    Usage Guidelines None

    Mode ZXAN#

    Example The following example displays how to access the version man-agement mode:ZXAN#versionZXAN(version)#

    RelatedCommands

    exit

    whoSyntax who

    Purpose To display the users currently logged on the system

    Usage Guidelines None

    Mode ZXAN#

    28 Confidential and Proprietary Information of ZTE CORPORATION

  • Chapter 2 Basic System Management

    Example The following example displays the users currently logged on thesystem:ZXAN#whoLine User Host(s) Idle Location* 66 vty 0 zte idle 00:00:00 168.1.200.5767 vty 1 abc idle 00:00:00 168.1.200.58

    The output parameters are as follows:

    Parameter Description Value

    Line Number of virtualterminal that the userlogs in to

    -

    User Login user name -

    Host Host name -

    Idle Idle time -

    Location Client address -

    RelatedCommands

    None

    show clockSyntax show clock

    Purpose To display the system clock

    Usage Guidelines None

    Mode All modes

    Example The following example displays how to display the system clock:ZXAN#show clock13:39:24 Tue Jul 22 2008 UTC

    RelatedCommands

    clock set

    RelatedInformation

    If the time zone is configured, this command displays the localtime of the time zone.

    show clock configSyntax show clock config [master | slave]

    Purpose To display the clock configuration

    Usage Guidelines The following table provides parameter description:

    Confidential and Proprietary Information of ZTE CORPORATION 29

  • ZXA10 C220 Command Manual (Volume I)

    Parameter Description Value

    master Primary clockconfiguration

    -

    slave Secondary clockconfiguration

    -

    Mode All modes

    Example The following example displays the clock configuration:ZXAN#show clock configShelf/card/slot Type Priority CfgSSM Mode Species

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

    RelatedCommands

    clock set

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

    msan module-name]

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

    Purpose To show the system configuration or specified interface configura-tion

    Usage Guidelines The following table provides parameter description:

    Parameter Description Value

    big-packet Big packet -

    interface interface-name

    Interface name loopback1 loopback64

    null1

    smartgroup1 smartgroup8

    supervlan1supervlan255

    tunnel1 tunnel64

    vlan1 vlan4094

    msan module-name MSAN module name ces, dhcp-option82,epon, gpon,igmp, iptv, mac,port-location,pppoe-plus, vlan

    begin To display theconfiguration thatbegins with the line(s)containing specifiedcharacter or characterstring

    -

    30 Confidential and Proprietary Information of ZTE CORPORATION

  • Chapter 2 Basic System Management

    Parameter Description Value

    exclude To display theconfiguration thatexcludes the line(s)containing specifiedcharacter or characterstring

    -

    include To display theline(s) that containspecified character orcharacter string in theconfiguration

    -

    line Specified character orcharacter string

    -

    Mode All modes except exec mode

    Example The following example displays how to display the system SNMPconfiguration:ZXAN#show running-config | include snmpsnmp-server location No.889 BiBo Rd. PuDong District, ShangHai, Chinasnmp-server contact +86-021-68895000snmp-server packetSize 3000snmp-server engine-id 830900020300010289d64401snmp-server community public view allview rwsnmp-server view allview internet includedsnmp-server view DefaultView system includedsnmp-server host 10.62.31.123 trap version 2c pulic enable NOTIFICATIONSserver-index 1 udp-port 162snmp-server enable trap SNMPsnmp-server enable trap VPNsnmp-server enable trap BGPsnmp-server enable trap OSPFsnmp-server enable trap RMONsnmp-server enable trap STALARMlogging snmplog-save disableZXAN#

    RelatedCommands

    None

    RelatedInformation

    The system configuration is displayed in the command format.

    show system-groupSyntax show system-group

    Purpose To display the system information

    Usage Guidelines None

    Mode All modes

    Example The following example displays the system information:ZXAN#show system-groupSystem Description: ZXR10 ROS Version V4.8.01ZXPON C220 Software, Version V1.1.1Copyright (c) 2000-2008 by ZTE CorporationCompiled Jun 29 2008, 23:12:37

    Confidential and Proprietary Information of ZTE CORPORATION 31

  • ZXA10 C220 Command Manual (Volume I)

    System ObjectId: .iso.org.dod.internet.private.enterprises.zte.1015.3.1.220.1.0

    Started before: 15553 SecondsContact with: +86-021-68895000System name: ZXANLocation: No.889 BiBo Rd. PuDong District, ShangHai, ChinaThis system primarily offers a set of 78 services

    RelatedCommands

    None

    show route-mapSyntax show route-map [name]

    Purpose To show the route mapping

    Usage Guidelines The following table provides parameter description:

    Parameter Description Value

    name Route address name Range: 1 16characters

    Mode All modes except the user mode

    Example The following example displays how to display the configured routemapping:ZXAN#show route-maproute-map tag permit 10route-map test permit 2ZXAN#ZXAN#show route-map testroute-map test permit 2ZXAN#

    RelatedCommands

    route-map

    show time-rangeSyntax show time-range [range-name]

    Purpose To display the system time range

    Usage Guidelines The following table provides parameter description:

    Parameter Description Value

    range-name Time range name Range: 1 16characters

    Mode All modes

    Example The following example displays the system time range:ZXAN#show time-rangeCurrent time is 07:04:44 01-01-2001 MondayTime-range: test1from 00:00:00 01-01-2008 to 23:59:59 12-31-2009

    32 Confidential and Proprietary Information of ZTE CORPORATION

  • Chapter 2 Basic System Management

    Time-range: test200:00:00 to 02:00:00 SaturdayZXAN#

    RelatedCommands

    time-range

    show usernameSyntax show username

    Purpose To display the list of authorized user(s) and password(s)

    Usage Guidelines None

    Mode All modes except the user mode

    Example The following example displays the list of authorized user(s) andpassword(s):ZXAN#show usernameUsername Password Privilegezte ****** 15

    RelatedCommands

    username

    show usersSyntax show users

    Purpose To display the terminal user information

    Usage Guidelines None

    Mode All modes

    Example The following example displays the terminal user information:ZXAN#show usersLine User Host(s) Idle Location* 66 vty 0 zte idle 00:00:00 10.63.10.10567 vty 1 zte idle 00:46:13 10.63.196.38ZXAN#

    The following table describes the parameters displayed in the ex-ample: :

    Parameter Description

    Line Number of the virtual terminalwith the user login

    User Login user name

    Host Host name

    Idle Idle time

    Location Client address

    Confidential and Proprietary Information of ZTE CORPORATION 33

  • ZXA10 C220 Command Manual (Volume I)

    RelatedCommands

    None

    show versionSyntax show version

    Purpose To display the software and hardware versions of the system

    Usage Guidelines None

    Mode All modes

    Example The following example displays how to display the software andhardware versions of the system:ZXAN#show versionIAP Operating System Software, ZTE CorporationIAP Version V4.8.01ZXPON C220 Software, Version V1.1.1, RELEASE SOFTWARECopyright (c) 2000-2008 by ZTE CorporationCompiled Jun 29 2008, 23:12:37System image files from net System uptime is 0 days, 4 hours, 38 minutes

    RelatedCommands

    None

    34 Confidential and Proprietary Information of ZTE CORPORATION

  • C h a p t e r 3

    Hardware Management

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

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

    boardtype boardtype

    Purpose To add a card

    Usage Guidelines The following table provides parameter description:

    Parameter Description Value

    rackno rackno Rack number Value: 0

    Default: 0

    shelfno shelfno Shelf number Value: 0

    Default: 0

    slotno slotno Slot number Range: 1 6 or 9 14

    boardtype boardtype Type of the card CE1B, CE1BB, CT1BB,CL1A, EIG, EIGM,EIGMF, EIGF, EIT1F, EIT2F, EPEB, EPFB,EPFC, GPFAB, GPFAC,GPTAB, GPTBB,GPTCB, PFR, PFF

    Mode ZXAN(config)#

    Confidential and Proprietary Information of ZTE CORPORATION 35

  • ZXA10 C220 Command Manual (Volume I)

    Example The following example displays how to add a card:ZXAN(config)#add-card rackno 0 shelfno 0 slotno 3 EPFC

    RelatedCommands

    del-card

    add-rackSyntax add-rack rackno rackno racktype racktype

    Purpose To add a rack

    Usage Guidelines The following table provides parameter description:

    Parameter Description Value

    rackno rackno Rack number 0

    racktype racktype Rack type ZXPON

    Mode ZXAN(config)#

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

    RelatedCommands

    del-rack

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

    pe}

    Purpose To add a shelf

    Usage Guidelines The following table provides parameter description:

    Parameter Description Value

    rackno rackno Rack number 0

    shelfno shelfno Shelf number 0

    shelftype shelftype Shelf type ZXA10C220-A,ZXA10C220-B

    Mode ZXAN(config)#

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

    36 Confidential and Proprietary Information of ZTE CORPORATION

  • Chapter 3 Hardware Management

    RelatedCommands

    del-shelf

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

    Purpose To delete a card

    Usage Guidelines The following table provides parameter description:

    Parameter Description Value

    rackno rackno Rack number Value: 0

    Default: 0

    shelfno shelfno Shelf number Value: 0

    Default: 0

    slotno slotno Slot number Range: 1 6 or 9 14

    Mode ZXAN(config)#

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

    RelatedCommands

    add-card

    RelatedInformation

    Before deleting the main control and switching card, delete thesubscriber cards and other cards. Otherwise, the system prompts%Code 30279: Have Other LC.

    del-rackSyntax del-rack rackno rackno

    Purpose To delete a rack

    Usage Guidelines The following table provides parameter description:

    Parameter Description Value

    rackno rackno Rack number 0

    Mode ZXAN(config)#

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

    RelatedCommands

    add-rack

    Confidential and Proprietary Information of ZTE CORPORATION 37

  • ZXA10 C220 Command Manual (Volume I)

    RelatedInformation

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

    del-shelfSyntax del-shelf [rackno rackno] {shelfno shelfno}

    Purpose To delete a shelf

    Usage Guidelines The following table provides parameter description:

    Parameter Description Value

    rackno rackno Rack number Value: 0

    Default: 0

    shelfno shelfno Shelf number 0

    Mode ZXAN(config)#

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

    RelatedCommands

    add-shelf

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

    [subcard subcardno]

    Purpose To reset the card

    Usage Guidelines The following table provides parameter description:

    Parameter Description Value

    rackno rackno Rack number Value: 0

    Default: 0

    shelfno shelfno Shelf number Value: 0

    Default: 0

    slotno slotno Slot number Range: 1 14

    subcard subcardno Sub-card number Range: 0 3

    Mode ZXAN#

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

    38 Confidential and Proprietary Information of ZTE CORPORATION

  • Chapter 3 Hardware Management

    RelatedCommands

    reboot

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

    Purpose To display cards information

    Usage Guidelines The following table provides parameter description:

    Parameter Description Value

    rackno rackno Rack number Value: 0

    Default: 0

    shelfno shelfno Shelf number Value: 0

    Default: 0

    slotno slotno Slot number Range: 1 14

    Mode All modes

    Example The following example display cards information:ZXAN#show cardRack Shelf Slot CfgType RealType Port HardVer SoftVer Status---------------------------------------------------------------0 0 2 EIGM 4 HWONLINE0 0 3 EIGM 4 OFFLINE0 0 4 GPTCB GPTCB 2 V0 V1.1.2T4 INSERVICE0 0 5 GPTCB 2 OFFLINE0 0 6 GPTCB 2 OFFLINE0 0 7 GCSD GCSD 0 V0 V1.1.2T4 INSERVICE0 0 8 GCSD 0 OFFLINE

    RelatedCommands

    add-card

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

    Purpose To swap between active and standby cards

    Usage Guidelines The following table provides parameter description:

    Parameter Description Value

    rackno rackno Rack number Value: 0

    Default: 0

    shelfno shelfno Shelf number Value: 0

    Default: 0

    slotno slotno Slot number Range: 1 14

    Default: 7

    Confidential and Proprietary Information of ZTE CORPORATION 39

  • ZXA10 C220 Command Manual (Volume I)

    Mode ZXAN#

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

    RelatedCommands

    None

    confirm-cardSyntax confirm-card [rackno rackno] [shelfno shelfno] {slotno slot

    no}

    Purpose To confirm a card that is online (but not configured) and enable it

    Usage Guidelines The following table provides parameter description:

    Parameter Description Value

    rackno rackno Rack number Value: 0

    Default: 0

    shelfno shelfno Shelf number Range: 0 4

    Default: 0

    slotno slotno Slot number Range: 1 6 or 9 14

    Mode ZXAN#

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

    RelatedCommands

    show card

    add-card

    RelatedInformation

    The confirm-card command cannot be used to confirm themain control and switching card.

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

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

    reset-at-suspendSyntax reset-at-suspend

    no reset-at-suspend

    Purpose To suspend the processes and reset the NE

    40 Confidential and Proprietary Information of ZTE CORPORATION

  • Chapter 3 Hardware Management

    Usage Guidelines None

    Mode ZXAN#

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

    RelatedCommands

    None

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

    Purpose To lock a card

    Usage Guidelines The following table provides the parameter description:

    Parameter Description Value

    rackno rackno Rack number Value: 0

    Default: 0

    shelfno shelfno Shelf number Range: 0 4

    Default: 0

    slotno slotno Slot number Range: 1 17

    Mode ZXAN#

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

    RelatedCommands

    unlock-card

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

    Purpose To unlock a card

    Usage Guidelines The following table provides the parameter description:

    Parameter Description Value

    rackno rackno Rack number Value: 0

    Default: 0

    shelfno shelfno Shelf number Range: 0 4

    Default: 0

    slotno slotno Slot number Range: 1 17

    Mode ZXAN#

    Confidential and Proprietary Information of ZTE CORPORATION 41

  • ZXA10 C220 Command Manual (Volume I)

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

    RelatedCommands

    lock-card

    42 Confidential and Proprietary Information of ZTE CORPORATION

  • C h a p t e r 4

    Fan Management

    Table of Contentsfan control........................................................................43fan high-threshold .............................................................43fan speed .........................................................................44show fan ..........................................................................44

    fan controlSyntax fan control {fixed-speed | temp_level tempx1 tempx2 tempx3

    temp4}

    Purpose To set fan status (fixed speed status or auto-adjust status accord-ing to temperature)

    Usage Guideline The following table provides parameter description:

    Parameter Description Value

    fixed-speed Fixed speed status -

    temp_level tempx1tempx2 tempx3temp4

    Auto-adjust statusaccording totemperature fromlevel one to level four

    tempx1 tempx4: 0 70 Level gap: 5

    Mode ZXAN(config)#

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

    Related Command show fan

    fan high-thresholdSyntax fan high-threshold tempx

    Purpose To configure temperature high threshold

    Usage Guidelines The following table provides parameter description:

    Confidential and Proprietary Information of ZTE CORPORATION 43

  • ZXA10 C220 Command Manual (Volume I)

    Parameter Description Value

    tempx Temperaturethreshold

    Range: 60 80 Default: 70

    Mode ZXAN(config)#

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

    Related Co