ZXMSG 5200 (V2.0.2) Multiplex Service Gateway Command Manual (Vol I) (1)

284
ZXMSG 5200 Multiplex Service Gateway Command Manual (Vol I) Version 2.0.2 ZTE CORPORATION ZTE Plaza, Keji Road South, Hi-Tech Industrial Park, Nanshan District, Shenzhen, P. R. China 518057 Tel: (86) 755 26771900 800-9830-9830 Fax: (86) 755 26772236 URL: http://support.zte.com.cn E-mail: [email protected]

description

zte

Transcript of ZXMSG 5200 (V2.0.2) Multiplex Service Gateway Command Manual (Vol I) (1)

  • ZXMSG 5200Multiplex Service Gateway

    Command Manual (Vol I)

    Version 2.0.2

    ZTE CORPORATION ZTE Plaza, Keji Road South, Hi-Tech Industrial Park, Nanshan District, Shenzhen, P. R. China 518057 Tel: (86) 755 26771900 800-9830-9830 Fax: (86) 755 26772236 URL: http://support.zte.com.cn E-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 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. The contents of this document and all policies of ZTE CORPORATION, including without limitation policies related to support or training are subject to change without notice.

    Revision History

    Date Revision No. Serial No. Reason for Revision

    12/30/2006 R1.0 sjzl20070014 First edition

  • ZTE CORPORATION Values Your Comments & Suggestions! Your opinion is of great value and will help us improve the quality of our product documentation and offer better services to our customers.

    Please fax to: (86) 755-26772236; or mail to Documentation R&D Department, ZTE CORPORATION, ZTE Plaza, A Wing, Keji Road South, Hi-Tech Industrial Park, Shenzhen, P. R. China 518057.

    Thank you for your cooperation!

    Document Name ZXMSG 5200 (V2.0.2) Multiplex Service Gateway Command Manual (Vol I)

    Product Version V2.0.2 Document Revision Number R1.0

    Equipment Installation Date

    Presentation: (Introductions, Procedures, Illustrations, Completeness, Level of Detail, Organization, Appearance)

    Good Fair Average Poor Bad N/A

    Accessibility: (Contents, Index, Headings, Numbering, Glossary)

    Good Fair Average Poor Bad N/A

    Your evaluation of this documentation

    Intelligibility: (Language, Vocabulary, Readability & Clarity, Technical Accuracy, Content)

    Good Fair Average Poor Bad N/A

    Your suggestions for improvement of this documentation

    Please check the suggestions which you feel can improve this documentation: Improve the overview/introduction Make it more concise/brief Improve the Contents Add more step-by-step procedures/tutorials Improve the organization Add more troubleshooting information Include more figures Make it less technical Add more examples Add more/better quick reference aids Add more detail Improve the index Other suggestions __________________________________________________________________________

    __________________________________________________________________________

    __________________________________________________________________________

    __________________________________________________________________________

    __________________________________________________________________________

    # Please feel free to write any comments on an attached sheet.

    If you wish to be contacted regarding your comments, please complete the following:

    Name Company

    Postcode Address

    Telephone E-mail

  • This page is intentionally blank.

  • Contents

    About this Manual........................................................ xvii

    Purpose............................................................................xvii Intended Audience .............................................................xvii Prerequisite Skill and Knowledge ..........................................xvii What is in This Manual........................................................xvii Related Documentation...................................................... xviii Conventions.......................................................................xix How to Get in Touch............................................................ xx

    Chapter 1.......................................................................... 1

    Introduction..................................................................... 1

    Introduction ...................................................................1

    Login Modes ...................................................................1 HyperTerminal......................................................................2 Telnet .................................................................................4 NetNumen N31.....................................................................5

    User Modes ....................................................................7 Common User Mode ..............................................................8 Management Mode................................................................8 Super Mode ....................................................................... 10 Debug Mode....................................................................... 11

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

    Common Variables ........................................................ 12

    Global Commands ......................................................... 13

    Command List .............................................................. 13

    Command Introduction .................................................. 14 c ...................................................................................... 14 T ...................................................................................... 15 u ...................................................................................... 15 W ..................................................................................... 16 L ...................................................................................... 16

  • M......................................................................................16

    Chapter 2........................................................................17

    Common User Mode Commands ...................................17

    telnet .......................................................................... 17

    config.......................................................................... 18

    debug ......................................................................... 18

    ndebug........................................................................ 19

    disable ........................................................................ 19

    enable......................................................................... 19

    end............................................................................. 20

    exit ............................................................................. 20

    help ............................................................................ 21

    history ........................................................................ 22

    logout ......................................................................... 23

    ping ............................................................................ 23

    save............................................................................ 24

    show........................................................................... 24

    sleep........................................................................... 25

    who ............................................................................ 26

    write ........................................................................... 26

    ag............................................................................... 27

    Chapter 3........................................................................29

    Basic Configuration Commands.....................................29

    globalconst .................................................................. 29 mod-globalconst .................................................................29 get-globalconst ...................................................................30

    snmpcfg ...................................................................... 31 add-snmpcfg ......................................................................31 del-snmpcfg .......................................................................32 mod-snmpcfg .....................................................................33 get-snmpcfg .......................................................................34

    ctrlport ........................................................................ 34 add-ctrlport ........................................................................34 del-ctrlport.........................................................................35 mod-ctrlport .......................................................................36

  • get-ctrlport ........................................................................ 37

    subnet......................................................................... 37 add-subnet ........................................................................ 37 del-subnet ......................................................................... 38 mod-subnet ....................................................................... 39 get-subnet ......................................................................... 39

    multi-ip ....................................................................... 40 add-multi-ip....................................................................... 40 del-multi-ip........................................................................ 41

    inipaddr....................................................................... 42 add-inipaddr ...................................................................... 42 del-inipaddr ....................................................................... 43

    exipaddr ...................................................................... 43 add-exipaddr...................................................................... 43 del-exipaddr....................................................................... 44 get-ipaddr ......................................................................... 45

    multi-mac .................................................................... 45 add-multi-mac.................................................................... 45 del-multi-mac..................................................................... 46

    macaddr ...................................................................... 47 add-macaddr...................................................................... 47 del-macaddr....................................................................... 48 get-macaddr ...................................................................... 48

    Chapter 4........................................................................51

    MG System Commands..................................................51

    mg.............................................................................. 51 add-mg ............................................................................. 51 add-mgcapabili ................................................................... 53 mod-mgbaseattr................................................................. 55 mod-mgcapabili .................................................................. 56 mod-mgmediatos................................................................ 58 get-mgbaseattr .................................................................. 59 get-mgcapabili ................................................................... 60 mod-mgip.......................................................................... 61 get-mgmediatos ................................................................. 62

    mgc ............................................................................ 63 add-mgc............................................................................ 63

  • del-mgc .............................................................................64 mod-mgc ...........................................................................65 get-mgc.............................................................................66

    mgcattr ....................................................................... 66 add-mgcattr .......................................................................67 mod-mgcattr ......................................................................68 get-allmgcattr.....................................................................69 del-mgcattr ........................................................................70

    Chapter 5........................................................................71

    System Configuration Commands.................................71

    rack ............................................................................ 71 add-rack ............................................................................71 del-rack .............................................................................72 get-rackinfo........................................................................72 get-allrackinfo ....................................................................73

    shelf ........................................................................... 74 add-shelf ...........................................................................74 del-shelf ............................................................................75 get-shelfinfo .......................................................................75 get-allshelfinfo....................................................................76

    board .......................................................................... 77 get-allcfgboard ...................................................................77 get-boardinfo......................................................................78 add-board-mics...................................................................78 del-board-mics ...................................................................79 add-board-mpr ...................................................................80 del-board-mpr ....................................................................81 add-board-mprb..................................................................82 del-board-mprb...................................................................82 add-board-sics....................................................................83 del-board-sics.....................................................................84 add-board-slc .....................................................................85 get-board-slc......................................................................86 del-board-slc ......................................................................86 add-board-tslc ....................................................................87 del-board-tslc .....................................................................88 add-board-pwr....................................................................89 del-board-pwr.....................................................................89

  • get-shelfboard.................................................................... 90 add-board-tsld ................................................................... 91 del-board-tsld .................................................................... 92 add-board-pwr2.................................................................. 93 del-board-pwr2................................................................... 93 add-board-scard ................................................................. 94 del-board-scard .................................................................. 95 add-board-pnp ................................................................... 96 add-board-epc.................................................................... 96 del-board-epc..................................................................... 97 get-boardipinfo................................................................... 98 get-boardmacinfo ............................................................... 99

    ipaddr ......................................................................... 99 mod-ipaddr-mpr ................................................................. 99 del-ipaddr-mpr ................................................................. 100 mod-ipaddr-ics ................................................................. 101 del-ipaddr-ics ................................................................... 102

    macaddr .................................................................... 103 mod-macaddr-ics.............................................................. 103 mod-macaddr-mpr............................................................ 104

    exip .......................................................................... 105 mod-exip-cnic .................................................................. 105 del-exip-cnic .................................................................... 106

    voip .......................................................................... 107 add-voip-interface............................................................. 107 del-voip-interface.............................................................. 108 add-voip-route ................................................................. 108 del-voip-route .................................................................. 109 get-voip-ipaddr................................................................. 110

    as ............................................................................. 111 add-as ............................................................................ 111 del-as ............................................................................. 112 mod-as ........................................................................... 112 get-as ............................................................................. 113

    asp ........................................................................... 114 add-asp........................................................................... 114 del-asp............................................................................ 115 mod-asp.......................................................................... 115

  • get-asp............................................................................ 116

    asasp ........................................................................ 117 add-asasp ........................................................................ 117 del-asasp ......................................................................... 117 get-asasp......................................................................... 118

    Chapter 6......................................................................119

    Service Configuration Commands ...............................119

    isdnbra...................................................................... 119 add-isdnbra...................................................................... 119 del-isdnbra....................................................................... 120 get-isdnbra ...................................................................... 121

    odti........................................................................... 122 add-board-odti.................................................................. 122 del-board-odti................................................................... 122 add-board-odti-t1.............................................................. 123 del-board-odti-t1 .............................................................. 124

    v5............................................................................. 124 add-v5if........................................................................... 124 del-v5if............................................................................ 125 mod-v5if .......................................................................... 126 get-v5if ........................................................................... 127 add-v5link........................................................................ 127 del-v5link......................................................................... 128 mod-v5link....................................................................... 129 get-v5link ........................................................................ 130 add-v5pch........................................................................ 130 del-v5pch......................................................................... 131 mod-v5pg1 ...................................................................... 132 add-v5lcci ........................................................................ 133 del-v5lcci ......................................................................... 133 get-v5Lccistatus................................................................ 134 get-allv5Lcci ..................................................................... 135 mod-v5protcl.................................................................... 135

    pstnuser .................................................................... 137 add-v5pstnuser................................................................. 137 get-v5user ....................................................................... 138 del-v5pstnuser.................................................................. 139 mod-v5pstnuser................................................................ 140

  • isdnuser .................................................................... 141 add-v5isdnuser................................................................. 141 del-v5isdnuser.................................................................. 142 mod-v5isdnuser................................................................ 143

    e1attr........................................................................ 144 mod-e1attr ...................................................................... 144 get-e1attr........................................................................ 145

    ddn........................................................................... 146 add-ddnport..................................................................... 146 del-ddnport...................................................................... 147 add-ddnconn.................................................................... 148

    Chapter 7......................................................................151

    Miscellaneous Commands ...........................................151

    add-libdata ................................................................ 151

    system ...................................................................... 152 mod-system..................................................................... 152 get-system ...................................................................... 153

    qovspar ..................................................................... 153 mod-qovspar.................................................................... 153 get-allqovspar .................................................................. 154

    md5info..................................................................... 155 add-md5info .................................................................... 155 del-md5info ..................................................................... 156 mod-md5info ................................................................... 156 get-md5info ..................................................................... 157

    check-db.................................................................... 158

    ring........................................................................... 159 mod-ring ......................................................................... 159 get-ring........................................................................... 160 mod-ringprofile................................................................. 160 get-ringprofile .................................................................. 162 load-dftringprof ................................................................ 162 mod-permatone................................................................ 163 get-permatone ................................................................. 164

    rip ............................................................................ 165 add-rip-cnic ..................................................................... 165 del-rip-cnic ...................................................................... 167

  • get-rip-cnic ...................................................................... 167 add-general-rip................................................................. 168 del-general-rip.................................................................. 169 add-rip-ctrl....................................................................... 170 get-rip-ctrl ....................................................................... 171 del-rip-ctrl........................................................................ 171

    mednat ..................................................................... 172 add-mednat ..................................................................... 172 del-mednat ...................................................................... 173

    ctrlnat ....................................................................... 174 add-ctrlnat ....................................................................... 174 del-ctrlnat ........................................................................ 175 get-allnat ......................................................................... 175

    digitmap .................................................................... 176 add-digitmap.................................................................... 176 del-digitmap..................................................................... 177

    9k52conn................................................................... 177 mod-9k52conn.................................................................. 177 get-9k52conn ................................................................... 179

    dlink ......................................................................... 179 add-dlink-span.................................................................. 179 del-dlink-span................................................................... 180 get-dlink .......................................................................... 181 mod-dlinkattr ................................................................... 181 get-dlinkattr ..................................................................... 182

    mod-pcmattr .............................................................. 183

    attrib......................................................................... 184 mod-slcattrib .................................................................... 184 get-slcattrib...................................................................... 186 mod-ipsattrib.................................................................... 187 get-ipsattrib ..................................................................... 188 mod-dspattrib................................................................... 189 get-dspattrib .................................................................... 190

    slc ............................................................................ 191 add-slctermid ................................................................... 191 del-slctermid .................................................................... 192 get-slctermid .................................................................... 193 get-slcwildcard.................................................................. 194

  • ipstermid ................................................................... 194 add-ipstermid................................................................... 194 del-ipstermid.................................................................... 196 get-ipstermid ................................................................... 196 get-ipswildcard ................................................................. 197

    rtppar........................................................................ 198 mod-rtppar-mpr ............................................................... 198 get-rtppar-mpr ................................................................. 201 mod-rtppar-mprb.............................................................. 202 get-rtppar-mprb ............................................................... 205 mod-rtppar-miro............................................................... 206 get-rtppar-miro ................................................................ 207

    expar ........................................................................ 207 mod-expar-mpr ................................................................ 207 get-expar-mpr.................................................................. 210 mod-expar-mprb .............................................................. 211 get-expar-mprb ................................................................ 212

    tline .......................................................................... 213 get-tlineinfo ..................................................................... 213 mod-tlinegroup................................................................. 214

    trunk......................................................................... 214 del-trunkslctermid............................................................. 214 add-trunkslctermid............................................................ 215 get-trunkslctermid ............................................................ 216 get-trunkslcattrib.............................................................. 217 mod-trunkuser ................................................................. 218

    fixtonechip ................................................................. 219 mod-fixtonechip................................................................ 219 get-fixtonechip ................................................................. 219

    tonpro ....................................................................... 220 add-tonpro....................................................................... 220 del-tonpro ....................................................................... 220 mod-tonpro...................................................................... 221 get-tonpro ....................................................................... 222

    tonlst ........................................................................ 223 add-tonlst........................................................................ 223 del-tonlst......................................................................... 225 mod-tonlst....................................................................... 225

  • get-tonlst......................................................................... 227

    tonlab ....................................................................... 228 add-tonlab ....................................................................... 228 del-tonlab ........................................................................ 229 mod-tonlab ...................................................................... 230 get-tonlab ........................................................................ 230 get-slcstatus..................................................................... 231 block-slc .......................................................................... 232 unblock-slc....................................................................... 233

    ips ............................................................................ 234 get-ipsstatus .................................................................... 234 block-ips .......................................................................... 235 unblock-ips ...................................................................... 235

    conf .......................................................................... 236 get-confstatus .................................................................. 236 block-conf ........................................................................ 237 unblock-conf..................................................................... 238

    dsp ........................................................................... 239 get-dspstatus ................................................................... 239 block-dsp ......................................................................... 240 unblock-dsp ..................................................................... 241

    cardstat..................................................................... 242 get-cardstat-ips ................................................................ 242 get-cardstat-conf .............................................................. 243 get-cardstat-dsp ............................................................... 244

    bdstat ....................................................................... 244 get-bdstat-s ..................................................................... 245 get-bdstat-c ..................................................................... 245

    ts ............................................................................. 246 get-tsstatus...................................................................... 246 block-ts ........................................................................... 247 unblock-ts........................................................................ 247

    statistic ..................................................................... 248 get-slcstatistic .................................................................. 248 get-ipsstatistic .................................................................. 249

    get-sunitinfo .............................................................. 249

    get-tsconninfo ............................................................ 250

    get-slnconninfo........................................................... 250

  • get-resourcestat ......................................................... 251

    get-board-slc.............................................................. 251

    get-hwmap ................................................................ 252

    get-hwset .................................................................. 252

    get-unitinfo ................................................................ 253

    init-agcmd-cfg ............................................................ 253

    Appendix A...................................................................255

    Abbreviations...............................................................255

    Figures..........................................................................257

    Tables...........................................................................259

    Index............................................................................261

  • This page is intentionally blank.

  • Confidential and Proprietary Information of ZTE CORPORATION xvii

    About this Manual

    Purpose

    This manual provides commands and guidelines that support the operation of the ZXMSG 5200 Multiplex Service Gateway.

    Intended Audience

    This document is intended for engineers and technicians who perform operation activities on the ZXMSG 5200 Multiplex Service Gateway.

    Prerequisite Skill and Knowledge

    To use this document effectively, users should have a general understanding of wireless telecommunications technology. Familiarity with the following is helpful:

    ZXMSG 5200 system and its various components

    User interfaces in ZXMSG 5200 (V2.0.2)

    What is in This Manual

    This manual contains the following chapters:

    T AB L E 1 C H A P T E R S U M M AR Y

    Chapter Summary

    Chapter 1 Introduction Describes general information on MSG5200, login and user modes, general command syntax, command parameters, global commands.

    Chapter 2 Common User Mode Commands

    Describes the commands available under common user mode.

    Chapter 3 Basic Configuration Commands

    Describes the commands necessary for basic configuration.

  • ZXMSG 5200 (V2.0.2) Multiplex Service Gateway Command Manual (Vol I)

    xviii Confidential and Proprietary Information of ZTE CORPORATION

    Chapter Summary

    Chapter 4 MG System Commands

    Describes commands necessary for MG system.

    Chapter 5 System Configuration Commands

    Describes the commands necessary for system configuration.

    Chapter 6 Service Configuration Commands

    Describes the commands necessary for providing services such as PSTN, ISDN and DDN.

    Chapter 7 Miscellaneous Commands

    Describes the commands that are necessary for system maintenance.

    Related Documentation

    The following documentation is related to this manual:

    ZXMSG 5200 Multiplex Service Gateway Documentation Guide

    Technical Category:

    ZXMSG 5200 Multiplex Service Gateway Technical Manual

    ZXMSG 5200 Multiplex Service Gateway Hardware Manual

    Installation Category:

    ZXMSG 5200 Multiplex Service Gateway Hardware Installation Manual (OUT30)

    ZXMSG 5200 Multiplex Service Gateway Hardware Installation Manual (OUT50C/D)

    ZXMSG 5200 Multiplex Service Gateway Hardware Installation Manual (19D06H20)

    ZXMSG 5200 Multiplex Service Gateway Hardware Installation Manual (ONU100)

    Operation Category:

    ZXMSG 5200 Multiplex Service Gateway Operation Manual

    ZXMSG 5200 Multiplex Service Gateway Command Manual

    Maintenance Category:

    ZXMSG 5200 Multiplex Service Gateway Maintenance Manual (Routine)

    ZXMSG 5200 Multiplex Service Gateway Maintenance Manual (Troubleshooting)

  • About this Manual

    Confidential and Proprietary Information of ZTE CORPORATION xix

    Conventions

    ZTE documents employ the following typographical conventions.

    T AB L E 2 TY P O G R AP H I C A L C O N V E N T I O N S

    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.

    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.

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

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

    T AB L E 3 M O U S E OP E R AT I O N C O N V E N T I O N S

    Typeface Meaning

    Click Refers to clicking the primary mouse button (usually the left 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 (usually the right mouse button) once.

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

    Typographical Conventions

    Mouse Operation

    Conventions

  • ZXMSG 5200 (V2.0.2) Multiplex Service Gateway Command Manual (Vol I)

    xx Confidential and Proprietary Information of ZTE CORPORATION

    How to Get in Touch

    The following sections provide information on how to obtain support for the documentation and the software.

    If you have problems, questions, comments, or suggestions regarding 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.

    ZTE welcomes your comments and suggestions on the quality and usefulness of this document. For further questions, comments, or suggestions on the documentation, you can contact us by e-mail at [email protected]; or you can fax your comments and suggestions to (86) 755 26772236. You can also browse our website at http://support.zte.com.cn, which contains various interesting subjects like documentation, knowledge base, forum and service request.

    Customer Support

    Documentation Support

  • Confidential and Proprietary Information of ZTE CORPORATION 1

    C h a p t e r 1

    Introduction

    This chapter covers the following topics: Introduction

    Login Modes

    User Modes

    General Command Syntax

    Common Variables

    Global Commands

    Introduction MSG5200 provides a rich set of commands for convenient operation. Three access modes exist to login into ZXMSG 5200 (V2.0.2). The modes are:

    Network Management System (NMS)

    Telnet

    HyperTerminal

    NMS provides a Graphical User Interface (GUI) access. Telnet and HyperTerminal, however provide a command line access to MSG5200. This manual emphasizes on the command line operation. Refer to ZXMSG 5200 Multiplex Service Gateway Operation Manual for GUI operations.

    Login Modes This section describes the three login modes: HyperTerminal, Telnet and NetNumen N31.

  • ZXMSG 5200 (V2.0.2) Multiplex Service Gateway Command Manual (Vol I)

    2 Confidential and Proprietary Information of ZTE CORPORATION

    HyperTerminal

    HyperTerminal provides a convenient way of logging into ZXMSG 5200. ZXMSG 5200 comes with a cross-over serial port cable for accessing HyperTerminal.

    Connect the X31 serial port with PC's serial port. Start HyperTerminal after making connection. Figure 1 shows HyperTerminal startup window.

    F I G U R E 1 HY P E R TE R M I N AL S T AR T U P W I N D O W

    Input a connection name for current session and click OK. Connect To interface displays as Figure 2 shows.

    F I G U R E 2 CO N N E C T TO I N T E R F AC E

    Description

    Access Method

  • Chapter 1 Introduction

    Confidential and Proprietary Information of ZTE CORPORATION 3

    Choose an appropriate COM port (that connects PC to ZXMSG 5200) against Connect using and click OK. COM Properties interface displays as Figure 3 shows.

    F I G U R E 3 COM1 P R O P E R T I E S I N T E R F AC E

    Click Restore Defaults on COM Properties interface. Figure 3 shows default parameter settings. Click OK when done. HyperTerminal command line interface displays as Figure 4 shows.

    F I G U R E 4 HY P E R TE R M I N AL C O M M AN D L I N E I N T E R F AC E

    Input an appropriate username and password to login

  • ZXMSG 5200 (V2.0.2) Multiplex Service Gateway Command Manual (Vol I)

    4 Confidential and Proprietary Information of ZTE CORPORATION

    Telnet

    Telnet is another simple way to access ZXMSG 5200. Out-band management uses maintenance port on ICS card and in-band management uses service uplink traffic channel.

    To access ZXMSG 5200 via Telnet, set the IP address of the PC and ZXMSG 5200 in a same IP subnet. Verify connectivity between ZXMSG 5200 and PC using ping command. Figure 5 shows an example of ping command. A reply from ZXMSG 5200 implies an established connection.

    F I G U R E 5 P I N G C O M M AN D

    Once a connection is established, click Start Run and type telnet A.B.C.D, where A.B.C.D is ZXMSG 5200s in-band or out-band management IP address. Figure 6 shows telnet command.

    F I G U R E 6 TE L N E T C O M M A N D

    Telnet session starts in response to Telnet request. Figure 7 shows the Telnet command line interface.

    Description

    Access Method

  • Chapter 1 Introduction

    Confidential and Proprietary Information of ZTE CORPORATION 5

    F I G U R E 7 TE L N E T C O M M AN D L I N E I N T E R F AC E

    Input an appropriate username and password to login.

    Note: Telnet disconnects an idle session after six minutes.

    NetNumen N31

    NetNumen provides a graphical access to ZXMSG 5200. NetNumen also provides an integrated Telnet facility. To login ZXMSG 5200 by using NetNumen, a valid username and password is required. When accessing using NetNumen, start NMS Server first and then NMS Client.

    Start NMS server first by selecting Start Programs NetNumen N31 Server as Figure 8.

    F I G U R E 8 ST AR T I N G NMS S E R V E R

    Description

    Access Method

  • ZXMSG 5200 (V2.0.2) Multiplex Service Gateway Command Manual (Vol I)

    6 Confidential and Proprietary Information of ZTE CORPORATION

    NMS Server starts loading as Figure 9 shows.

    F I G U R E 9 NMS S E R V E R ST AR T U P W I N D O W

    Note: NMS Server startup process may take several minutes depending upon the hardware configuration of the machine. Please allow NMS Server to finish loading before starting NMS Client.

    After NMS Server has successfully started, the command prompt window remains visible as Figure 10 shows.

    F I G U R E 10 NMS S E R V E R S T AR T U P W I N D O W

    Start NMS Client after NMS Server has started. Choose Start Programs NetNumen N31 Client as Figure 11 shows.

  • Chapter 1 Introduction

    Confidential and Proprietary Information of ZTE CORPORATION 7

    F I G U R E 11 S T AR T I N G NMS C L I E N T

    Login window pops up as Figure 12 shows.

    F I G U R E 12 LO G I N W I N D O W

    Enter User name, Password, and Server Address and click OK.

    User Modes ZXMSG 5200 supports the following access modes:

    Common User Mode

    Management Mode

    f Management User Mode

    f Management User Configuration Mode

  • ZXMSG 5200 (V2.0.2) Multiplex Service Gateway Command Manual (Vol I)

    8 Confidential and Proprietary Information of ZTE CORPORATION

    Super Mode

    Debug Mode

    Common User Mode

    Common user mode provides the least set of privileges and allows execution of most common commands. Usually, a command able to be executed in Common User Mode is necessarily also available (for execution) in higher modes. This command manual specifies the least-privileged mode for command execution.

    Common User Mode does not allow configuration and advanced operations. The prompt for Common User Mode is >.

    Enter Common User Mode by inputting Common User Modes username (zte) and password (zte). Log out from Common User Mode by inputting logout command. Figure 13 shows Common User Mode.

    F I G U R E 13 C O M M O N U S E R M O D E

    Management Mode

    Management mode provides management operations. Management mode provides higher level of privileges than Common User Mode. Management mode is divided into following two sub-modes:

    Management User Mode

    Management User Configuration Mode

    Description

    Login and Logout

    Description

  • Chapter 1 Introduction

    Confidential and Proprietary Information of ZTE CORPORATION 9

    Management User Mode

    Management User Mode inputting privileges to execute advanced commands and operations. The prompt for Management User Mode is #. Enter Management User Mode by providing Management User Modes username (root) and password (root). Log out by inputting logout command. Figure 14 shows Management User Mode.

    F I G U R E 14 M AN AG E M E N T U S E R M O D E

    Management User Configuration Mode

    Configuration in Management Mode is done under Management User Configuration Mode.

    Once in Management User Mode, give command config to enter Management User Configuration mode. The prompt for Management User Configuration Mode is (config)#. Use end command to exit Management User Configuration Mode. Note that the end command exits Management User Configuration Mode and switches back to Management User Mode. Figure 15 shows Management User Configuration Mode.

    Description

    Login and Logout

    Description

    Entering and Exiting

  • ZXMSG 5200 (V2.0.2) Multiplex Service Gateway Command Manual (Vol I)

    10 Confidential and Proprietary Information of ZTE CORPORATION

    F I G U R E 15 M AN AG E M E N T U S E R C O N F I G U R AT I O N M O D E

    Super Mode

    Super Mode is the mode with all privileges. All commands can be executed under Super Mode.

    Log into Super Mode by inputting enable command and enable password (zxa10). The prompt for Super Mode is $. Use logout command to exit Super Mode. Figure 16 shows Super Mode.

    F I G U R E 16 S U P E R M O D E

    Description

    Login and Logout

  • Chapter 1 Introduction

    Confidential and Proprietary Information of ZTE CORPORATION 11

    Debug Mode

    Debug Mode is used for debugging and troubleshooting purpose.

    Enter Debug Mode by using debug command and Debug-Mode password (debug). The prompt for Debug Mode is %. Log out from Debug Mode by using logout command. Figure 17 shows Debug Mode.

    F I G U R E 17 D E B U G M O D E

    Note: While being in any of the modes, press to get help on commands.

    General Command Syntax All commands issued under ZXMSG 5200 follow a general command syntax. The general command syntax is as follows:

    command

    Where;

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

    parameter is a (mandatory or optional) sub-command after main command. Parameter (sub-command) is usually inputted after the main command. There may be a none, single or multiple parameters in a command. Parameter(s) execute as a part of main command.

    variable provides a means of inputting a value (from specified range) for a parameter. Commands usually require a value (such as a VLAN identifier). Choose an appropriate value for variable

    Description

    Login and Logout

  • ZXMSG 5200 (V2.0.2) Multiplex Service Gateway Command Manual (Vol I)

    12 Confidential and Proprietary Information of ZTE CORPORATION

    wherever needed. There may be a none, single or multiple variables in a command. Variables are shown in italics.

    Following symbols are used in command systax.

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

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

    n1|n2|...nn: Where n can be a parameter, variable or a combination of both; included within braces or square brackets. The symbol implies an exlusive-OR logic operation on n1 upto nn. Choose a single n only (from n1 upto nn).

    Examples

    Following examples clarify the general command syntax and use of symbols.

    dsl port ingress-filter {enable portlist [pvc pvcno] | disable portlist [pvc pvcno]}

    dsl port atmpvc {portlist {pvc pvcno vpi vpino vci vcino | vpi vpino vci vcino} | remoteportlist {pvc pvcno vpi vpino vci vcino | vpi vpino vci vcino}}

    alarm {resend timer timervalue | output {enable | disable}}

    Note: Use key to auto-complete a command. Recall a command issued earlier by using up-arrow key.

    Common Variables Table 4 lists common variables for commands.

    T AB L E 4 C O M M O N C O M M AN D V AR I AB L E S

    Common Variables Description

    unitid 0 when only one shelf is present.

    slotid Format: unitid/slotid. Example: 0/3

    linkid Format: unitid/slotid/linked. Example: 0/3/1

  • Chapter 1 Introduction

    Confidential and Proprietary Information of ZTE CORPORATION 13

    Common Variables Description

    portid Format: unitid/slotid/portid. Example: 0/3/2

    portlist Appears as portid or portid, portid or portid, and portid-portid.

    vlanid VLAN identifier value. Range: 1 ~ 4094

    vlanlist VLAN List value. Appears as vlanid or vlanid, vlanid or vlanid, vlanid-vlanid.

    vpi VPI Value. Range: 0 ~ 255

    vci VCI Value. Range: 0 ~ 65535

    pvclist PVC List

    profilename Configuration file name

    Global Commands This section describes information regarding MSG5200s global commands.

    Command List Boot commands are executed in boot mode. Prompt for boot mode is [ICS Boot]. Login into MSG5200 through a console port and restart ICS card. To enter boot mode, press s to stop auto-boot (Press s when U300 gives Press s to stop auto-boot prompt). Pressing s terminates loading system version and enters boot mode. Refer to the following commands list for help on boot time commands.

    Command Description

    ? Show command.

    @ Download and run main CPU version from FTP.

    p Show boot parameters.

    c Modify boot parameters. Mainly for outband network management (IP and FTP parameters).

    l Load boot file.

    D Show files present in version and data file disks.

    T Download version file(s) using FTP.

    X Download data file(s) using FTP.

    C Reset bootline parameters to defalt configuration.

  • ZXMSG 5200 (V2.0.2) Multiplex Service Gateway Command Manual (Vol I)

    14 Confidential and Proprietary Information of ZTE CORPORATION

    Command Description

    E Perform low-level format for version disk c or data disk d.

    F Perform high-level format for version disk c or data disk d.

    R Delete (remove) files.

    L Load and run main CPU version from flash.

    M Modify outbands ports MAC address.

    i Show and set date/time.

    w Show version file attributes.

    W Swap main CPU version.

    Y Show all versions.

    u Download boot verson files.

    Command Introduction This section provides a brief introduction of general boot-time commands.

    c

    This command in boot mode is designed to modify boot line parameters. Command format is [ICS Boot]: c. Use this command to modify all boot parameters including parameters related with system update. For example: network address, FTP configuration, filename etc. Modify a parameter by giving a new value for it. Simply press Enter if modification is not required. Following is an example of the command.

  • Chapter 1 Introduction

    Confidential and Proprietary Information of ZTE CORPORATION 15

    T

    This command in boot mode is designed to download running version of ICS and other cards. Command format is [ICS Boot]: T VerFileName. Copy the version file to FTP default directory. Open FTP server, confirm that link between MSG5200 and FTP server is up. The VerFileName parameter is version file name on FTP server. If version name is specified (using V command), use local specified version name. if version name is not specified (using V command), then use remote file name as vesions name. The transmitted version must have version head.

    u

    This command is designed to download boot program of ICS card. Command format is [ICS Boot]: u. Copy the version file to default directory of FTP server. Open FTP server , confirm that link between MSG5200 and FTP is up. Following is an example of the command.

    System gives the message Attached TCP/IP interface to motfcc0 implying that the network communication is OK. After the system verifies that transmitted version is correct, the system begins to transmit verson file. The HyperTerminal interface shows transmission rate. The system prompts done when transmission is complete. System also shows version files size.

  • ZXMSG 5200 (V2.0.2) Multiplex Service Gateway Command Manual (Vol I)

    16 Confidential and Proprietary Information of ZTE CORPORATION

    W

    Version file of main CPU is saved in two disks. Use this command to swap the version of main CPU. Command format is [ICS Boot]: W.

    L

    This command is designed to load main CPU version. Command format is [ICS Boot]: L. The flash disk can save two CPU versions at same time. Version swapping works in toggle mode.

    M

    This command is designed to view and modify MAC address. Format to view MAC address is [ICS Boot]: M. Format to modify MAC address is [ICS Boot]: M . A MAC address is 48 bits (6 bytes) long. The first four bytes are not modifiable (i.e. 00:d0:d0:20). Default MAC address of main control cards debug network port is 00-D0-D0-20-00-00. In order to avoid MAC address conflict between debug network port, modify the default MAC address while configuring NE.

    Usual practice is to change the MAC address as the serial number using the input serial number modifying MAC address. When boot-ROM mode starts, it shows the currently configured cards serial number. Confirm this serial number, same as of the cards.

    For example, ICS0256 means the card serial number is 256. Therefore set the MAC address should to 00-D0-D0-20-01-00. Here, the command to set MAC address is M 256.

    Note: Commands and filenames are case-sensitive. Also, changes are automatically saved onto the flash.

  • Confidential and Proprietary Information of ZTE CORPORATION 17

    C h a p t e r 2

    Common User Mode Commands

    This chapter covers commands related to common user mode. The + command gives a list of commands available under common user mode.

    telnet telnet adsl-modem portid To telnet an ADSL port (modem)

    The following table provides parameter description.

    Parameter Description

    adsl-modem Telnet an ADSL modem.

    Telnet command provides remote access. The following table provides variable description.

    Variable Description

    portid Port identifier value

    MSAG> The following example shows telnet command.

    None

    Syntax

    Purpose

    Syntax Description

    Usage Guidelines

    Mode

    Examples

    Related Commands

  • ZXMSG 5200 (V2.0.2) Multiplex Service Gateway Command Manual (Vol I)

    18 Confidential and Proprietary Information of ZTE CORPORATION

    config config To enter Management User Configuration Mode

    None

    When in Management User Mode, use this command to enter Management User Configuration Mode. Exit Management User Configuration Mode using end command. MSAG# The following example shows config command.

    None

    debug debug To enter Debug Mode

    None

    Use debug command and Debug-Mode password (debug) to enter Debug Mode. Execute this command while being in any of the user modes. Exit Debug Mode using ndebug command. All modes

    The following example shows debug command.

    ndebug

    Syntax

    Purpose

    Syntax Description

    Usage Guidelines

    Mode

    Examples

    Related Commands

    Syntax

    Purpose

    Syntax Description

    Usage Guidelines

    Mode

    Examples

    Related Commands

  • Chapter 2 Common User Mode Commands

    Confidential and Proprietary Information of ZTE CORPORATION 19

    ndebug ndebug To end (exit) Debug Mode

    None

    When in Debug Mode, use this command to exit Debug Mode.

    MSAG% The following example shows ndebug command.

    debug

    disable disable To exit from Super Mode

    None

    When in Super Mode, use this command to exit the Super Mode.

    MSAG$ The following example shows disable command.

    enable

    enable enable To enter super mode

    None

    Syntax

    Purpose

    Syntax Description

    Usage Guidelines

    Mode

    Examples

    Related Commands

    Syntax

    Purpose

    Syntax Description

    Usage Guidelines

    Mode

    Examples

    Related Commands

    Syntax

    Purpose

    Syntax Description

  • ZXMSG 5200 (V2.0.2) Multiplex Service Gateway Command Manual (Vol I)

    20 Confidential and Proprietary Information of ZTE CORPORATION

    Use enable command and enable password (zxa10) to enter Super Mode. This command can be issued in Common User Mode or Management Mode.

    MSAG> The following example shows enable command.

    disable

    end end To exit management user configuration mode

    None

    When in Management User Configuration Mode, use this command to exit Management User Configuration Mode.

    MSAG(config)# The following example shows end command.

    exit

    exit exit To exit from intermediate states (config-show and ag mode) None

    Exit config-show and ag mode by exit command.

    MSAG(config-show)# The following example shows exit command in config-show mode.

    Usage Guidelines

    Mode

    Examples

    Related Commands

    Syntax

    Purpose

    Syntax Description

    Usage Guidelines

    Mode

    Examples

    Related Commands

    Syntax

    Purpose

    Syntax Description

    Usage Guidelines

    Mode

    Examples

  • Chapter 2 Common User Mode Commands

    Confidential and Proprietary Information of ZTE CORPORATION 21

    The following example shows exit command in ag mode.

    end

    help help [edit | commands] To get help on commands

    The following table provides syntax description.

    Parameter Description

    edit Show editing keys. commands Show system help.

    The edit and commands parameters are optional. Use help command or help command to get help on all commands. Use help edit command to get help on available editing keystrokes. help and help commands commands are similar to command (when is executed as a main command). All modes

    The following example shows help command.

    The following example shows help edit command.

    Related Commands

    Syntax

    Purpose

    Syntax Description

    Usage Guidelines

    Mode

    Examples

  • ZXMSG 5200 (V2.0.2) Multiplex Service Gateway Command Manual (Vol I)

    22 Confidential and Proprietary Information of ZTE CORPORATION

    The following example shows help commands command (similar to help command).

    None

    history history To view command history

    None

    The history command displays all commands issued in a session and sorts commands in order they are executed. All modes

    Related Commands

    Syntax

    Purpose

    Syntax Description

    Usage Guidelines

    Mode

  • Chapter 2 Common User Mode Commands

    Confidential and Proprietary Information of ZTE CORPORATION 23

    The following example shows history command.

    None

    logout logout To logout from telnet session

    None

    The logout command disconnects an established telnet session.

    All modes except ag mode The following example shows logout command in common user mode.

    telnet

    ping ping ipaddr To test layer-3 connectivity with a system

    None

    The following table provides variable description.

    Variable Description

    ipaddr IP address value

    MSAG# The following example shows ping command in management user mode.

    Examples

    Related Commands

    Syntax

    Purpose

    Syntax Description

    Usage Guidelines

    Mode

    Examples

    Related Commands

    Syntax

    Purpose

    Syntax Description

    Usage Guidelines

    Mode

    Examples

  • ZXMSG 5200 (V2.0.2) Multiplex Service Gateway Command Manual (Vol I)

    24 Confidential and Proprietary Information of ZTE CORPORATION

    None

    save save To save data to flash

    None

    Save operation saves configuration changes to permanent storage (flash storage). Press y to save data. Press n to cancel save operation.

    All modes

    The following example shows save command in common user mode.

    None

    show show command To view configuration information for a command

    None

    Most show commands can be executed in Common User Mode or Management Mode with few exceptions that execute only in Super Mode such as show users. The following table provides variable description.

    Related Commands

    Syntax

    Purpose

    Syntax Description

    Usage Guidelines

    Mode

    Examples

    Related Commands

    Syntax

    Purpose

    Syntax Description

    Usage Guidelines

  • Chapter 2 Common User Mode Commands

    Confidential and Proprietary Information of ZTE CORPORATION 25

    Variable Description

    command Command parameter (after main command)

    MSAG> The following example shows show snmp command in common user mode.

    None

    sleep sleep seconds To put ZXMSG 5200 in sleep mode for a specified time

    None

    Sleep time is in seconds. The following table provides variable description.

    Variable Description

    seconds Sleep time in seconds. Range: 0 ~ 4294967295

    MSAG> The following example shows sleep command in common user mode.

    None

    Mode

    Examples

    Related Commands

    Syntax

    Purpose

    Syntax Description

    Usage Guidelines

    Mode

    Examples

    Related Commands

  • ZXMSG 5200 (V2.0.2) Multiplex Service Gateway Command Manual (Vol I)

    26 Confidential and Proprietary Information of ZTE CORPORATION

    who who To view currently logged-in user(s)

    None

    View user(s) currently logged into ZXMSG 5200 along with related login information.

    MSAG> The following example shows who command.

    None

    write write recipient message To write text message to another user

    None

    The following table provides variable description.

    Variable Description

    recipient Recipient name

    message Text message

    MSAG> The following example shows write command.

    None

    Syntax

    Purpose

    Syntax Description

    Usage Guidelines

    Mode

    Examples

    Related Commands

    Syntax

    Purpose

    Syntax Description

    Usage Guidelines

    Mode

    Examples

    Related Commands

  • Chapter 2 Common User Mode Commands

    Confidential and Proprietary Information of ZTE CORPORATION 27

    ag ag To enter MSAG (Access Gateway) mode

    None

    Configure shelf and related functions in this mode. To exit ag mode, input exit command. All modes

    The following example shows ag mode command.

    None

    Syntax

    Purpose

    Syntax Description

    Usage Guidelines

    Mode

    Examples

    Related Commands

  • ZXMSG 5200 (V2.0.2) Multiplex Service Gateway Command Manual (Vol I)

    28 Confidential and Proprietary Information of ZTE CORPORATION

    This page is intentionally blank.

  • Confidential and Proprietary Information of ZTE CORPORATION 29

    C h a p t e r 3

    Basic Configuration Commands

    This chapter covers the basic configuration commands.

    globalconst This section describes globalconst commands.

    mod-globalconst

    mod-globalconst [slcbrdnum slcbrdnum] [voipbrdnum voipbrdnum] [dasnum dasnum] [dnalnum dnalnum] [dydasnum dydasnum] [dydnalnum dydnalnum] [toneidnum toneidnum] [termidnum termidnum] [bbcbrdnum bbcbrdnum] To configure global constant information

    The following table describes syntax description.

    Parameter Description

    slcbrdnum Assign ASLC card number. voipbrdnum Assign VOIP card number. dasnum Assign static DAS maximum number. dnalnum Assign dynamic DAS maximum number. dydasnum Assign dynamic DAS maximum number. dydnalnum Assign dynamic DNAL maximum number. toneidnum Assign service tone maximum number. termidnum Assign termination ID maximum number. bbcbrdnum Assign broadband card number.

    Syntax

    Purpose Syntax

    Description

  • ZXMSG 5200 (V2.0.2) Multiplex Service Gateway Command Manual (Vol I)

    30 Confidential and Proprietary Information of ZTE CORPORATION

    The following table describes variables of mod-globalconst command.

    Variable Description

    slcbrdnum ASLC card number. Range: 0 ~ 58 (default: 24)

    voipbrdnum VOIP card number. Range: 0 ~ 3 (default: 2)

    dasnum Maximum number of static DAS. Range: 0 ~ 254 (default: 100)

    dnalnum Maximum number of static DNAL. Range: 0 ~ 1024 (default: 512)

    dydasnum The maximum number of dynamic DAS. Range: 0 ~ 2048 (default: 512)

    dydnalnum The maximum number of dynamic DNAL. Range: 0 ~ 4095 (default: 4095)

    toneidnum Maximum number of service tone. Range: 0 ~ 1000

    termidnum Maximum number of termination ID. Range: 0 ~ 4096 (default: 4096)

    bbcbrdnum Broadband card number. Range: 0 ~ 60

    MSAG(ag)# The following example shows how to configure global constants.

    get-globalconst add-globalconst

    get-globalconst

    get-globalconst To display global constant information

    None

    This command is used to get the global constant information.

    MSAG(ag)#

    Usage Guidelines

    Mode

    Examples

    Related Command

    Purpose

    Syntax Description

    Usage Guidelines

    Mode

  • Chapter 3 Basic Configuration Commands

    Confidential and Proprietary Information of ZTE CORPORATION 31

    The following example shows how to display global constants information.

    mod-globalconst

    snmpcfg This section describes snmpcfg commands.

    add-snmpcfg

    add-snmpcfg {smpid smpid} [smpinfo smpinfo] {smpport smpport | smpip smpip} [comro comro] [comrw comrw]To add SNMP server configuration

    The following table describes add-snmpcfg command syntax in detail.

    Parameter Description

    smpid Assign SNMP ID. smpinfo Assign SNMP extra flag. smpport Assign SNMP port number. smpip Assign SNMP IP address. comro Assign read only community string, such as public. comrw Assign read-write community string, such as public.

    The following table describes add-snmpcfg command variables.

    Variable Description

    smpid SNMP ID. Range: 1 ~ 1

    smpinfo SNMP extra flag: 0 - no IP filter, 1 - IP filter

    Example

    Related Commands

    Syntax

    Purpose Syntax

    Description

    Usage Guidelines

  • ZXMSG 5200 (V2.0.2) Multiplex Service Gateway Command Manual (Vol I)

    32 Confidential and Proprietary Information of ZTE CORPORATION

    Variable Description

    smpport SNMP port number. Range: 0 ~ 65535

    smpip SNMP IP address: A.B.C.D

    comro Read only community: String

    comrw Read-write community: String

    MSAG(ag)# The following example shows how to add SNMP server configuration.

    del-snmpcfg mod-snmpcfg get-snmpcfg

    del-snmpcfg

    del-snmpcfg {smpid smpid}To delete SNMP server configuration

    The following table describes del-snmpcfg command syntax in detail.

    Parameter Description

    smpid Assign SNMP ID.

    The following table describes del-snmpcfg command variables.

    Variable Description

    smpid SNMP ID. Range: 1 ~ 16

    MSAG(ag)# The following example shows how to delete SNMP server configuration.

    mod-snmpcfg add-snmpcfg

    Mode

    Example

    Related Commands

    Syntax

    Purpose

    Syntax Description

    Usage Guidelines

    Mode

    Example

    Related Commands

  • Chapter 3 Basic Configuration Commands

    Confidential and Proprietary Information of ZTE CORPORATION 33

    get-snmpcfg

    mod-snmpcfg

    mod-snmpcfg {smpid smpid} [smpinfo smpinfo] {smpport smpport | smpip smpip} [comro comro] [comrw comrw]To modify SNMP server configuration

    The following table describes mod-snmpcfg command syntax in detail.

    Parameter Description

    smpid Assign SNMP ID. smpinfo Assign SNMP extra flag. smpport Assign SNMP port number. smpip Assign SNMP IP address. comro Assign read only community string, such as public. comrw Assign read-write community string, such as 'public.

    The following table describes mod-snmpcfg command variables. Variable Description

    smpid SNMP ID. Range: 1 ~ 16

    smpinfo SNMP extra flag: 0 - no IP filter, 1 - IP filter

    smpport SNMP port number. Range: 0 ~ 65535

    smpip SNMP IP address: A.B.C.D

    comro Read only community: String

    comrw Read-write community: String

    MSAG(ag)# The following example shows how to modify SNMP server configuration.

    del-snmpcfg add-snmpcfg get-snmpcfg

    Syntax

    Purpose

    Syntax Description

    Usage Guidelines

    Mode

    Example

    Related Commands

  • ZXMSG 5200 (V2.0.2) Multiplex Service Gateway Command Manual (Vol I)

    34 Confidential and Proprietary Information of ZTE CORPORATION

    get-snmpcfg

    get-snmpcfg [smpid smpid]To display SNMP server configuration

    The following table describes get-snmpcfg command syntax in detail.

    Parameter Description

    smpid Assign SNMP ID.

    The following table describes get-snmpcfg command variables.

    Variable Description

    smpid Assign SNMP ID. Range: 1 ~ 16

    MSAG(ag)# The following example shows how to display SNMP server configuration.

    del-snmpcfg mod-snmpcfg add-snmpcfg

    ctrlport This section describes ctrlport commands.

    add-ctrlport

    add-ctrlport {ctrlid ctrlid} [info info] {port port}To add SNMP UDP, TCP, Telnet port, or others

    Syntax

    Purpose

    Syntax Description

    Usage Guidelines

    Mode

    Example

    Related Commands

    Syntax

    Purpose

  • Chapter 3 Basic Configuration Commands

    Confidential and Proprietary Information of ZTE CORPORATION 35

    The following table describes add-ctrlport command syntax in detail.

    Parameter Description

    ctrlid Assign control ID. info Assign port information. port Assign port number.

    The following table describes add-ctrlport command variables.

    Variable Description

    ctrlid Control id: 1 - SNMP PORT, 2 - TELNET PORT, 3 - CLOCK PORT

    info Port information: 0 - UDP, 1 - TCP port Port number. Range: 0 ~ 65535

    MSAG(ag)# The following example shows how to add Telnet port configuration.

    del-ctrlport mod-ctrlport get-ctrlport

    del-ctrlport

    del-ctrlport {ctrlid ctrlid}To delete SNMP UDP, TCP or Telnet port

    The following table describes del-ctrlport command syntax in detail.

    Parameter Description

    ctrlid Assign control ID.

    The following table describes del-ctrlport command variables.

    Variable Description

    ctrlid Control ID. Range: 2 ~ 40

    Syntax Description

    Usage Guidelines

    Mode

    Example

    Related Commands

    Syntax

    Purpose

    Syntax Description

    Usage Guidelines

  • ZXMSG 5200 (V2.0.2) Multiplex Service Gateway Command Manual (Vol I)

    36 Confidential and Proprietary Information of ZTE CORPORATION

    MSAG(ag)# The following example shows how delete control ID 2.

    add-ctrlport mod-ctrlport get-ctrlport

    mod-ctrlport

    mod-ctrlport {ctrlid ctrlid}[info info] [port port]To modify SNMP UDP, TCP or Telnet port

    The following table describes mod-ctrlport command syntax in detail.

    Parameter Description

    ctrlid Assign control ID. info Assign port information. port Assign port number.

    The following table describes mod-ctrlport command variables.

    Variable Description

    ctrlid Control ID. Range: 2 ~ 40 info Port information: 1 - UDP, 2 - TCP port Port number. Range: 0 ~ 65535

    MSAG(ag)# The following example shows how to modify Telnet port configuration.

    del-ctrlport add-ctrlport get-ctrlport

    Mode

    Example

    Related Commands

    Syntax

    Purpose

    Syntax Description

    Usage Guidelines

    Mode

    Example

    Related Commands

  • Chapter 3 Basic Configuration Commands

    Confidential and Proprietary Information of ZTE CORPORATION 37

    get-ctrlport

    get-ctrlport {ctrlid ctrlid}To display SNMP UDP, TCP or Telnet port

    The following table describes get-ctrlport command syntax in detail.

    Parameter Description

    ctrlid Assign control ID.

    The following table describes get-ctrlport command variables.

    Variable Description

    ctrlid Control ID. Range: 2 ~ 40

    MSAG(ag)# The following example shows how display port configuration information.

    add-ctrlport mod-ctrlport del-ctrlport

    subnet This section describes subnet commands.

    add-subnet

    add-subnet {type type|innet innet|inmask inmask} To add subnet

    The following table describes add-subnet command syntax in detail.

    Syntax

    Purpose

    Syntax Description

    Usage Guidelines

    Mode

    Example

    Related Commands

    Syntax

    Purpose

    Syntax Description

  • ZXMSG 5200 (V2.0.2) Multiplex Service Gateway Command Manual (Vol I)

    38 Confidential and Proprietary Information of ZTE CORPORATION

    Parameter Description

    type Assign IP address type. innet Assign subnet address. inmask Assign subnet mask.

    The following table describes add-subnet command variables.

    Variable Description

    type IP address type: 1 -CONTROL IP, 2 - MEDIA IP innet Subnet address: A.B.C.D inmask Subnet mask: A.B.C.D

    MSAG(ag)# The following example shows how to add subnet.

    del-subnet mod-subnet get-subnet

    del-subnet

    del-subnet {type type}To delete subnet

    The following table describes del-subnet command syntax in detail.

    Parameter Description

    type Assign IP address type.

    The following table describes del-subnet command variables.

    Variable Description

    type IP address type: 1 - CONTROL IP, 2 - MEDIA IP

    MSAG(ag)# The following example shows how to delete subnet.

    Usage Guidelines

    Mode

    Example

    Related Commands

    Syntax

    Purpose

    Syntax Description

    Usage Guidelines

    Mode

    Example

  • Chapter 3 Basic Configuration Commands

    Confidential and Proprietary Information of ZTE CORPORATION 39

    add-subnet mod-subnet get-subnet

    mod-subnet

    mod-subnet {type type | innet innet | inmask inmask} To modify subnet

    The following table describes mod-subnet command syntax in detail.

    Parameter Description

    Type Assign IP address type. Innet Assign subnet address. Inmask Assign subnet mask.

    The following table describes mod-subnet command variables.

    Parameter Description

    Type IP address type: 1 - CONTROL IP, 2 - MEDIA IP Innet Subnet address: A.B.C.D Inmask Subnet mask: A.B.C.D

    MSAG(ag)# The following example shows how to modify subnet.

    add-subnet del-subnet get-subnet

    get-subnet

    get-subnet [type type]To display the subnet

    Related Commands

    Syntax

    Purpose

    Syntax Description

    Usage Guidelines

    Mode

    Example

    Related Commands

    Syntax

    Purpose

  • ZXMSG 5200 (V2.0.2) Multiplex Service Gateway Command Manual (Vol I)

    40 Confidential and Proprietary Information of ZTE CORPORATION

    The following table describes get-subnet command syntax in detail.

    Parameter Description

    type Assign IP address type.

    The following table describes get-subnet command variables. Variable Description

    type IP address type. 1 - CONTROL IP, and 2 - MEDIA IP

    MSAG(ag)# The following example shows how to display subnet.

    add-subnet del-subnet mod-subnet

    multi-ip This section describes multi-ip commands.

    add-multi-ip

    add-multi-ip {type type | ipaddr ipaddr | submask submask | ipnum ipnum}To add multiple IP addresses

    The following table describes add-multi-ip command syntax in detail.

    Parameter Description

    type Assign IP address type. ipaddr Assign IP address. submask Assign subnet mask.

    Syntax Description

    Usage Guidelines

    Mode

    Example

    Related Commands

    Syntax

    Purpose

    Syntax Description

  • Chapter 3 Basic Configuration Commands

    Confidential and Proprietary Information of ZTE CORPORATION 41

    Parameter Description

    ipnum Assign IP address number that the user wants to create.

    The following table describes add-multi-ip command variables.

    Variable Description

    type IP address type: 1 - CONTROL IP, 2- MEDIA IP, and 3 - EXTERN IP

    ipaddr IP address: A.B.C.D submask Subnet Mask: A.B.C.D ipnum IP address number. Range: 1 ~ 20

    MSAG(ag)# The following example shows how to add multiple IP address.

    del-multi-ip

    del-multi-ip

    del-multi-ip {type type | ipaddr ipaddr | ipnum ipnum} To delete multiple IP addresses

    The following table describes del-multi-ip command syntax in detail.

    Parameter Description

    type Assign IP address type. ipaddr Assign IP address. ipnum Assign IP address number that user want to

    delete.

    The following table describes del-multi-ip command variables.

    Variable Description

    type IP address type: 1 - CONTROL IP, 2 - MEDIA IP, 3 - EXTERN IP

    ipaddr IP address: A.B.C.D ipnum IP address number. Range: 1 ~ 20

    Usage Guidelines

    Mode

    Example

    Related Commands

    Syntax

    Purpose

    Syntax Description

    Usage Guidelines

  • ZXMSG 5200 (V2.0.2) Multiplex Service Gateway Command Manual (Vol I)

    42 Confidential and Proprietary Information of ZTE CORPORATION

    MSAG(ag)# The following example shows how to delete multiple IP address.

    add-multi-ip

    inipaddr This section describes inipaddr commands.

    add-inipaddr

    add-inipaddr {type type | ipaddr ipaddr}To add an inner IP address to the pool

    The following table describes add-inipaddr command syntax in detail.

    Parameter Description

    Type Assign IP address type. Ipaddr Assign IP address.

    The following table describes add-inipaddr command variables. Variable Description

    type IP address type: 1 - CONTROL IP, 2 - MEDIA IP ipaddr IP address: A.B.C.D

    MSAG(ag)# The following example shows how to add an inner IP address to the pool.

    del-inipaddr

    Mode

    Example

    Related Commands

    Syntax

    Purpose

    Syntax Description

    Usage Guidelines

    Mode

    Example

    Related Commands

  • Chapter 3 Basic Configuration Commands

    Confidential and Proprietary Information of ZTE CORPORATION 43

    del-inipaddr

    del-inipaddr {type type | ipaddr ipaddr}To delete an inner IP address from the IP pool

    The following table describes del-inipaddr command syntax in detail.

    Parameter Description

    Type Assign IP address type. Ipaddr Assign IP address.

    The following table describes del-inipaddr command variables.

    Variable Description

    type IP address type: 1 - CONTROL IP, 2 - MEDIA IP ipaddr IP address: A.B.C.D

    MSAG(ag)# The following example shows how to delete an inner IP address from the IP pool.

    add-inipaddr

    exipaddr This section describes exipaddr commands.

    add-exipaddr

    add-exipaddr {type type |ipaddr ipaddr | submask submask}To add an external IP address to the pool

    The following table describes add-exipaddr command syntax in detail.

    Parameter Description

    type Assign IP address type. ipaddr Assign IP address. submask Assign subnet mask.

    Syntax

    Purpose

    Syntax Description

    Usage Guidelines

    Mode

    Example

    Related Commands

    Syntax

    Purpose

    Syntax Description

  • ZXMSG 5200 (V2.0.2) Multiplex Service Gateway Command Manual (Vol I)

    44 Confidential and Proprietary Information of ZTE CORPORATION

    The following table describes add-exipaddr command variables. Variable Description

    type IP address type: 3 - EXTERNAL IP ipaddr IP address: A.B.C.D submask Subnet mask: A.B.C.D

    MSAG(ag)# The following example shows how to add an external IP address to the pool.

    del-exipaddr

    del-exipaddr

    del-exipaddr {type type | ipaddr ipaddr}To delete an external IP address from the pool

    The following table describes del-exipaddr command syntax in detail.

    Parameter Description

    type Assign IP address type. ipaddr Assign IP address.

    The following table describes del-exipaddr command variables.

    Variable Description

    type IP address type: 3 - EXTERNAL IP ipaddr IP address: A.B.C.D

    MSAG(ag)# The following example shows how to delete an external IP address from the pool.

    add-exipaddr

    Usage Guidelines

    Mode

    Example

    Related Commands

    Syntax

    Purpose

    Syntax Description

    Usage Guidelines

    Mode

    Example

    Related Commands

  • Chapter 3 Basic Configuration Commands

    Confidential and Proprietary Information of ZTE CORPORATION 45

    get-ipaddr

    get-ipaddr {type type} [issue issue]To show an IP address of a pool, whether it is an idle or in use

    The following table describes get-ipaddr command syntax in detail.

    Parameter Description

    type Assign IP address type. Issue The IP address is used or not.

    The following table describes get-ipaddr command variables.

    Variable Description

    Type IP address type: 1 - CONTROL IP, 2- MEDIA IP,3 - EXTERN IP

    issue IP address is used or not: 0 - IDLE, 1 - USE

    MSAG(ag)# The following example shows how to show IP address of a pool, which is idle IP address.

    None

    multi-mac This section describes multi-mac commands.

    add-multi-mac

    add-multi-mac {macaddr macaddr | macnum macnum}To add multiple Mac addresses

    Syntax

    Purpose

    Syntax Description

    Usage Guidelines

    Mode

    Example

    Related Commands

    Syntax

    Purpose

  • ZXMSG 5200 (V2.0.2) Multiplex Service Gateway Command Manual (Vol I)

    46 Confidential and Proprietary Information o