uap2100 command reference(v100r002c05_01)

Upload: aimenrg

Post on 07-Aug-2018

212 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/21/2019 UAP2100 Command Reference(V100R002C05_01)

    1/370

    HUAWEI UAP2100 Universal Access Platform

    V100R002C05

    Command Reference

    Issue 01

    Date 2010-11-26

    Part Number 00540457

    Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

  • 8/21/2019 UAP2100 Command Reference(V100R002C05_01)

    2/370

    Huawei Technologies Co., Ltd. provides customers with comprehensive technical support and service. Forany assistance, please contact our local office or company headquarters.

    Huawei Technologies Co., Ltd.

    Address: Huawei Industrial Base

    Bantian, Longgang

    Shenzhen 518129

    People's Republic of China

    Website: http://www.huawei.com

    Email: [email protected]

    Copyright Huawei Technologies Co., Ltd. 2010. All r ights reserved.

    No part of this document may be reproduced or transmitted in any form or by any means without priorwritten consent of Huawei Technologies Co., Ltd.

    Trademarks and Permissions

    and other Huawei trademarks are trademarks of Huawei Technologies Co., Ltd. All other trademarksand trade names mentioned in this document are the property of their respective holders.

    Notice

    The information in this document is subject to change without notice. Every effort has been made in the

    preparation of this document to ensure accuracy of the contents, but all statements, information, andrecommendations in this document do not constitute the warranty of any kind, express or implied.

    Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    http://www.huawei.com/mailto:[email protected]:[email protected]://www.huawei.com/
  • 8/21/2019 UAP2100 Command Reference(V100R002C05_01)

    3/370

    HUAWEI UAP2100

    Command Reference Contents

    Issue 01 (2010-11-26) Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    i

    Contents

    1 CLI Usage.....................................................................................................................................1-1

    1.1 Logging In to CLI........................................................................................................................................1-2

    1.1.1 Logging In to CLI Locally Through Serial Interface ........................................................................ 1-2

    1.1.2 Logging In to CLI Through Telnet .............................................................. ......................................1-3

    1.2 Mode and Level...........................................................................................................................................1-4

    1.3 Syntax Convention ...................................................... ............................................................... .................1-4

    1.3.1 Command Structure...........................................................................................................................1-5

    1.3.2 Symbol Description...........................................................................................................................1-5

    1.3.3 Parameter Type..................................................................................................................................1-6

    1.4 Operation Guide .......................................................... ............................................................... .................1-6

    1.4.1 Complementing a Command.............................................................................................................1-7

    1.4.2 Abbreviating a Command..................................................................................................................1-7

    1.4.3 Getting a Command ..........................................................................................................................1-8

    2 Basic CLI Commands ................................................................................................................2-1

    2.1 CLI Environment Setting Commands .........................................................................................................2-2

    2.1.1 clear...................................................................................................................................................2-2

    2.1.2 enable ................................................................ ............................................................... .................2-2

    2.1.3 exit.....................................................................................................................................................2-3

    2.1.4 quit ....................................................................................................................................................2-4

    2.1.5 set idle-timeout..................................................................................................................................2-4

    2.1.6 show idle-timeout..............................................................................................................................2-5

    2.1.7 terminal .............................................................................................................................................2-6

    2.2 CLI User Management Commands ............................................................. ................................................ 2-6

    2.2.1 config add cliuser ........................................................ ................................................................ ......2-6

    2.2.2 config delete cliuser ..........................................................................................................................2-7

    2.2.3 config modify enablepassword..........................................................................................................2-8

    2.2.4 config modify loginpassword............................................................................................................2-9

    2.2.5 show cliuser.......................................................................................................................................2-9

    2.2.6 who..................................................................................................................................................2-10

    2.2.7 who am i..........................................................................................................................................2-11

    2.3 CLI Help Commands.................................................................................................................................2-11

    2.3.1 help..................................................................................................................................................2-11

  • 8/21/2019 UAP2100 Command Reference(V100R002C05_01)

    4/370

    Contents

    HUAWEI UAP2100

    Command Reference

    ii Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    Issue 01 (2010-11-26)

    2.3.2 list....................................................................................................................................................2-12

    2.3.3 show history ...................................................... ............................................................... ...............2-18

    3 Configuration Commands........................................................................................................3-1

    3.1 config add am.............................................................. ............................................................... .................3-23.2 config add anonymouscall...........................................................................................................................3-3

    3.3 config add batch sipue.................................................................................................................................3-3

    3.4 config add callpurview .......................................................... ................................................................ ......3-5

    3.5 config add callsource...................................................................................................................................3-6

    3.6 config add card slot type atu........................................................................................................................3-7

    3.7 config add card slot type dtu .......................................................................................................................3-8

    3.8 config add cassignal ....................................................................................................................................3-9

    3.9 config add cp ............................................................... ............................................................... ...............3-10

    3.10 config add cti...........................................................................................................................................3-11

    3.11 config add fp............................................................................................................................................3-12

    3.12 config add hostprefix...............................................................................................................................3-13

    3.13 config add line report...............................................................................................................................3-14

    3.14 config add line send.................................................................................................................................3-15

    3.15 config add localseat ............................................................. ................................................................ ....3-16

    3.16 config add logserver ............................................................ ................................................................ ....3-17

    3.17 config add mg..........................................................................................................................................3-18

    3.18 config add mpu type at0 officeno................................................................... .........................................3-20

    3.19 config add mra.........................................................................................................................................3-21

    3.20 config add nfs ............................................................ ............................................................... ...............3-22

    3.21 config add nirc prefix .......................................................... ................................................................ ....3-23

    3.22 config add numdeal ............................................................. ................................................................ ....3-24

    3.23 config add office......................................................................................................................................3-25

    3.24 config add office selectcode ........................................................... ......................................................... 3-27

    3.25 config add peercomponent ......................................................................................................................3-28

    3.26 config add pralink....................................................................................................................................3-29

    3.27 config add predeal index changetype delete............................................................................................3-30

    3.28 config add predeal index changetype insert.............................................................................................3-31

    3.29 config add predeal index changetype modify..........................................................................................3-323.30 config add prefix dn callcategory ................................................................... .........................................3-33

    3.31 config add prefix intess ...........................................................................................................................3-37

    3.32 config add pstndeal..................................................................................................................................3-38

    3.33 config add reanalysis prefix.....................................................................................................................3-39

    3.34 config add ringrelate................................................................................................................................3-41

    3.35 config add ringservice ......................................................... ................................................................ ....3-47

    3.36 config add ringtype..................................................................................................................................3-48

    3.37 config add sipselect ............................................................. ................................................................ ....3-51

    3.38 config add sipue.......................................................................................................................................3-53

  • 8/21/2019 UAP2100 Command Reference(V100R002C05_01)

    5/370

    HUAWEI UAP2100

    Command Reference Contents

    Issue 01 (2010-11-26) Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    iii

    3.39 config add staticgw..................................................................................................................................3-54

    3.40 config add subbox ...................................................................................................................................3-55

    3.41 config add subscriber domainname ................................................................ .........................................3-56

    3.42 config add subscriber eid.........................................................................................................................3-57

    3.43 config add subscriber mpu dn..................................................................................................................3-59

    3.44 config add subscriber subbox .............................................................. .................................................... 3-60

    3.45 config add tgld.........................................................................................................................................3-61

    3.46 config add tts connectpara.......................................................................................................................3-62

    3.47 config add tts textpara .............................................................................................................................3-63

    3.48 config add vp...........................................................................................................................................3-65

    3.49 config autosave........................................................................................................................................3-66

    3.50 config cancelisolate card ..................................................... ................................................................ ....3-67

    3.51 config cancelisolate mpu..................................................... ................................................................ ....3-68

    3.52 config ccm billforat0 ........................................................... ................................................................ ....3-68

    3.53 config cdsp ..............................................................................................................................................3-69

    3.54 config cdsp dtmf......................................................................................................................................3-70

    3.55 config cdsp fax .......................................................... ............................................................... ...............3-71

    3.56 config cdsp rfc2198............................................................. ................................................................ ....3-72

    3.57 config cdsp rfc2833............................................................. ................................................................ ....3-73

    3.58 config createbill.......................................................................................................................................3-73

    3.59 config delete am ......................................................................................................................................3-74

    3.60 config delete anonymouscall ............................................................... .................................................... 3-75

    3.61 config delete batch sipue ..................................................... ................................................................ ....3-763.62 config delete batch sptfile........................................................................................................................3-77

    3.63 config delete callpurview ........................................................................................................................3-78

    3.64 config delete callsource ....................................................... ................................................................ ....3-78

    3.65 config delete card ....................................................................................................................................3-79

    3.66 config delete cassignal.............................................................................................................................3-80

    3.67 config delete cp .......................................................................................................................................3-81

    3.68 config delete cti ......................................................... ............................................................... ...............3-82

    3.69 config delete fp........................................................................................................................................3-82

    3.70 config delete hostprefix....................................................... ................................................................ ....3-83

    3.71 config delete line report...........................................................................................................................3-84

    3.72 config delete line send.............................................................................................................................3-85

    3.73 config delete localseat ......................................................... ................................................................ ....3-86

    3.74 config delete logserver ............................................................................................................................3-87

    3.75 config delete mg ........................................................ ............................................................... ...............3-88

    3.76 config delete mpu type at0 ......................................................................................................................3-88

    3.77 config delete mra.....................................................................................................................................3-89

    3.78 config delete nfs ......................................................................................................................................3-90

    3.79 config delete nirc prefix...........................................................................................................................3-91

    3.80 config delete numdeal..............................................................................................................................3-92

  • 8/21/2019 UAP2100 Command Reference(V100R002C05_01)

    6/370

    Contents

    HUAWEI UAP2100

    Command Reference

    iv Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    Issue 01 (2010-11-26)

    3.81 config delete office..................................................................................................................................3-93

    3.82 config delete office selectcode.................................................................................................................3-93

    3.83 config delete peercomponent...................................................................................................................3-94

    3.84 config delete pralink................................................................................................................................3-95

    3.85 config delete predeal................................................................................................................................3-96

    3.86 config delete prefix..................................................................................................................................3-96

    3.87 config delete pstndeal..............................................................................................................................3-97

    3.88 config delete ringrelate............................................................................................................................3-98

    3.89 config delete ringservice..........................................................................................................................3-99

    3.90 config delete ringtype............................................................................................................................3-100

    3.91 config delete sipselect............................................................................................................................3-101

    3.92 config delete sipue.................................................................................................................................3-102

    3.93 config delete staticgw............................................................................................................................3-102

    3.94 config delete subbox..............................................................................................................................3-103

    3.95 config delete subscriber dn....................................................................................................................3-104

    3.96 config delete subscriber domainname ...................................................................................................3-105

    3.97 config delete subscriber mpu.................................................................................................................3-106

    3.98 config delete subscriber subboxno ........................................................................................................3-106

    3.99 config delete tgld...................................................................................................................................3-107

    3.100 config delete tts connectpara ........................................................ ....................................................... 3-108

    3.101 config delete tts textpara......................................................................................................................3-109

    3.102 config delete vp ....................................................... ............................................................... ............. 3-110

    3.103 config download...................................................... ............................................................... ............. 3-1113.104 config isolate card................................................................................................................................3-113

    3.105 config isolate mpu ............................................................. ................................................................ ..3-114

    3.106 config localgw......................................................... ............................................................... ............. 3-114

    3.107 config mfpstop.....................................................................................................................................3-115

    3.108 config modify at0tkc card slot portinboard .........................................................................................3-116

    3.109 config modify at0tkc mpu portinboard................................................................................................3-117

    3.110 config modify batch sipue ...................................................................................................................3-118

    3.111 config modify callpurview...................................................................................................................3-120

    3.112 config modify card slot type atu portincard.........................................................................................3-121

    3.113 config modify card slot type trunkport .............................................................. ..................................3-122

    3.114 config modify card slot type tkcincard .............................................................. ..................................3-124

    3.115 config modify cassignal.......................................................................................................................3-125

    3.116 config modify hostprefix .............................................................. ....................................................... 3-126

    3.117 config modify interface .......................................................................................................................3-127

    3.118 config modify localcrbt .......................................................................................................................3-129

    3.119 config modify localvpchannel ...................................................... ....................................................... 3-129

    3.120 config modify mg domainname...........................................................................................................3-130

    3.121 config modify mg ip .......................................................... ................................................................ ..3-132

    3.122 config modify mpu type at0 portincard ............................................................. ..................................3-134

  • 8/21/2019 UAP2100 Command Reference(V100R002C05_01)

    7/370

    HUAWEI UAP2100

    Command Reference Contents

    Issue 01 (2010-11-26) Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    v

    3.123 config modify nfs ................................................................................................................................3-135

    3.124 config modify notefile ....................................................... ................................................................ ..3-136

    3.125 config modify office no incomingright................................................................................................3-138

    3.126 config modify office no officeselectcode ............................................................................................3-139

    3.127 config modify office selectcode...........................................................................................................3-141

    3.128 config modify peercomponent.............................................................................................................3-142

    3.129 config modify pralink..........................................................................................................................3-143

    3.130 config modify prefix............................................................................................................................3-144

    3.131 config modify reanalysis prefix...........................................................................................................3-150

    3.132 config modify ringrelate............................................................... ....................................................... 3-151

    3.133 config modify ringservice....................................................................................................................3-158

    3.134 config modify ringtype........................................................................................................................3-158

    3.135 config modify sip parameter................................................................................................................3-162

    3.136 config modify sipue.............................................................................................................................3-163

    3.137 config modify sptfile ......................................................... ................................................................ ..3-164

    3.138 config modify staticgw........................................................................................................................3-165

    3.139 config modify statpara.........................................................................................................................3-166

    3.140 config modify statswitch .....................................................................................................................3-167

    3.141 config modify subbox no aulaw .............................................................. ............................................ 3-168

    3.142 config modify subscriber directdial disable.........................................................................................3-169

    3.143 config modify subscriber directdial dn portinmainboard.....................................................................3-170

    3.144 config modify subscriber directdial dn slot portinboard......................................................................3-171

    3.145 config modify subscriber dn................................................................................................................3-1723.146 config modify subscriber dn newdn ....................................................................................................3-176

    3.147 config modify subscriber domainname ...............................................................................................3-177

    3.148 config modify sysmid..........................................................................................................................3-178

    3.149 config modify tdmintesstimer..............................................................................................................3-179

    3.150 config modify tgld ............................................................. ................................................................ ..3-179

    3.151 config modify tts connectpara ...................................................... ....................................................... 3-181

    3.152 config modify tts textpara....................................................................................................................3-182

    3.153 config modify tts voicepara.................................................................................................................3-184

    3.154 config modify tts voicepara setdefault.................................................................................................3-185

    3.155 config patch activate............................................................................................................................3-186

    3.156 config patch deactivate........................................................................................................................3-186

    3.157 config patch delete...............................................................................................................................3-187

    3.158 config patch load ............................................................... ................................................................ ..3-188

    3.159 config patch save ............................................................... ................................................................ ..3-189

    3.160 config potscp dtmf send mode.............................................................................................................3-189

    3.161 config pra huawei .............................................................. ................................................................ ..3-190

    3.162 config pra pseudo alerting ............................................................ ....................................................... 3-191

    3.163 config protocol at0...............................................................................................................................3-192

    3.164 config protocol cassignal.....................................................................................................................3-193

  • 8/21/2019 UAP2100 Command Reference(V100R002C05_01)

    8/370

    Contents

    HUAWEI UAP2100

    Command Reference

    vi Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    Issue 01 (2010-11-26)

    3.165 config protocol h323 disable officeno ............................................................... ..................................3-194

    3.166 config protocol h323 officeno domainname........................................................................................3-195

    3.167 config protocol h323 signalport...........................................................................................................3-196

    3.168 config protocol pra ..............................................................................................................................3-197

    3.169 config protocol sip disable officeno ....................................................................................................3-198

    3.170 config protocol sip officeno.................................................................................................................3-199

    3.171 config siplocalgenerate disable............................................................................................................3-200

    3.172 config siplocalgenerate enable.............................................................................................................3-201

    3.173 config system clocksource oscillator...................................................................................................3-202

    3.174 config system clocksource primaryslot ...............................................................................................3-203

    3.175 config system supportcodetype ...........................................................................................................3-204

    3.176 config system domainname.......................................................... ....................................................... 3-204

    3.177 config system gateway ........................................................................................................................3-205

    3.178 config system hostip............................................................................................................................3-206

    3.179 config system ip...................................................................................................................................3-207

    3.180 config upload.......................................................................................................................................3-208

    4 Display Commands ...................................................................................................................4-1

    4.1 display cp by................................................................................................................................................4-2

    4.2 display cpchannel ........................................................ ............................................................... .................4-3

    4.3 display fp by ................................................................ ............................................................... .................4-5

    4.4 display fpchannel.........................................................................................................................................4-6

    4.5 display vp by ...............................................................................................................................................4-8

    4.6 display vpchannel........................................................................................................................................4-9

    4.7 show aminfo ................................................................ ............................................................... ............... 4-11

    4.8 show anonymouscall .................................................................................................................................4-12

    4.9 show at0tkc card........................................................................................................................................4-13

    4.10 show at0tkc mpu......................................................................................................................................4-14

    4.11 show autosave switch .......................................................... ................................................................ ....4-15

    4.12 show callpurview.....................................................................................................................................4-15

    4.13 show callsourceno ...................................................................................................................................4-16

    4.14 show card.................................................................................................................................................4-17

    4.15 show ccm billforat0 ............................................................. ................................................................ ....4-184.16 show cdsp argu .......................................................... ............................................................... ...............4-18

    4.17 show component......................................................................................................................................4-19

    4.18 show component domainname ................................................................................................................4-20

    4.19 show component type..............................................................................................................................4-21

    4.20 show cp....................................................................................................................................................4-23

    4.21 show createbill switch ......................................................... ................................................................ ....4-24

    4.22 show ctinfo ................................................................ ............................................................... ...............4-24

    4.23 show device ............................................................... ............................................................... ...............4-26

    4.24 show disconnectrecord ........................................................ ................................................................ ....4-27

  • 8/21/2019 UAP2100 Command Reference(V100R002C05_01)

    9/370

    HUAWEI UAP2100

    Command Reference Contents

    Issue 01 (2010-11-26) Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    vii

    4.25 show dspchannel......................................................................................................................................4-27

    4.26 show fp ........................................................... ................................................................ .........................4-29

    4.27 show hostprefix .......................................................................................................................................4-30

    4.28 show interface..........................................................................................................................................4-31

    4.29 show license ............................................................................................................................................4-33

    4.30 show line report.......................................................................................................................................4-35

    4.31 show line send ........................................................... ............................................................... ...............4-36

    4.32 show localcrbt..........................................................................................................................................4-37

    4.33 show localgw...........................................................................................................................................4-38

    4.34 show localvpchannel ...............................................................................................................................4-39

    4.35 show logserverinfo .............................................................. ................................................................ ....4-39

    4.36 show mfpstop overtime ...........................................................................................................................4-40

    4.37 show mg ..................................................................................................................................................4-41

    4.38 show mpu ................................................................................................................................................4-42

    4.39 show mrainfo...........................................................................................................................................4-43

    4.40 show net alarm.........................................................................................................................................4-44

    4.41 show nfs...................................................................................................................................................4-46

    4.42 show nirc prefix.......................................................................................................................................4-48

    4.43 show numdeal..........................................................................................................................................4-49

    4.44 show office ................................................................ ............................................................... ...............4-50

    4.45 show office selectcode.............................................................................................................................4-51

    4.46 show peercomponent...............................................................................................................................4-52

    4.47 show potscp dtmf send ........................................................ ................................................................ ....4-534.48 show pra huawei......................................................................................................................................4-53

    4.49 show pra pseudo alerting mode ........................................................... .................................................... 4-54

    4.50 show pralink .............................................................. ............................................................... ...............4-55

    4.51 show predeal............................................................................................................................................4-56

    4.52 show prefix..............................................................................................................................................4-56

    4.53 show prefix callcategory..........................................................................................................................4-57

    4.54 show protocol ............................................................ ............................................................... ...............4-60

    4.55 show pstndeal ............................................................ ............................................................... ...............4-61

    4.56 show ringrelate .......................................................... ............................................................... ...............4-62

    4.57 show ringservice......................................................................................................................................4-63

    4.58 show ringtype ............................................................ ............................................................... ...............4-64

    4.59 show running time ............................................................... ................................................................ ....4-65

    4.60 show seatno ............................................................... ............................................................... ...............4-65

    4.61 show sip parameter..................................................................................................................................4-67

    4.62 show siplocalgenerate..............................................................................................................................4-67

    4.63 show sipselect..........................................................................................................................................4-68

    4.64 show sipue...............................................................................................................................................4-70

    4.65 show sptfile relation ................................................................................................................................4-70

    4.66 show staticgw ............................................................ ............................................................... ...............4-72

  • 8/21/2019 UAP2100 Command Reference(V100R002C05_01)

    10/370

    Contents

    HUAWEI UAP2100

    Command Reference

    viii Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    Issue 01 (2010-11-26)

    4.67 show statpara ............................................................. ............................................................... ...............4-72

    4.68 show statswitch........................................................................................................................................4-73

    4.69 show subbox............................................................................................................................................4-74

    4.70 show subscriber ......................................................... ............................................................... ...............4-76

    4.71 show subscriber by callsourceno .................................................................... .........................................4-77

    4.72 show subscriber by pbxgroupno..............................................................................................................4-78

    4.73 show subscriber dn type ...................................................... ................................................................ ....4-78

    4.74 show subscriber domainname..................................................................................................................4-80

    4.75 show subscriber filter ..............................................................................................................................4-81

    4.76 show subscriber pots................................................................................................................................4-83

    4.77 show subscriber state...............................................................................................................................4-85

    4.78 show subscriber subbox...........................................................................................................................4-86

    4.79 show system clocksource information.....................................................................................................4-88

    4.80 show system information.........................................................................................................................4-88

    4.81 show system media consult switch..........................................................................................................4-89

    4.82 show system time ....................................................................................................................................4-90

    4.83 show tdmintesstimer................................................................................................................................4-91

    4.84 show tgld ........................................................ ................................................................ .........................4-92

    4.85 show tkc slot............................................................................................................................................4-93

    4.86 show tkc slot portinboard ............................................................... ......................................................... 4-95

    4.87 show tts connectpara................................................................................................................................4-97

    4.88 show tts textpara......................................................................................................................................4-98

    4.89 show tts voicepara ............................................................... ................................................................ ....4-994.90 show version..........................................................................................................................................4-100

    4.91 show vp .................................................................................................................................................4-101

    5 Maintenance Commands..........................................................................................................5-1

    5.1 block subscriber dn......................................................................................................................................5-2

    5.2 block subscriber domainname.......................................................... ........................................................... 5-2

    5.3 config system date time...............................................................................................................................5-3

    5.4 ping..............................................................................................................................................................5-4

    5.5 reboot...........................................................................................................................................................5-5

    5.6 reset board ........................................................ ................................................................ ...........................5-65.7 reset card .....................................................................................................................................................5-6

    5.8 reset mc51 ...................................................................................................................................................5-7

    5.9 resource trace start board mpu.....................................................................................................................5-8

    5.10 resource trace start dsp mpu ........................................................... ........................................................... 5-9

    5.11 resource trace start e1.......................................................... ................................................................ ......5-9

    5.12 resource trace stop board mpu.................................................................................................................5-10

    5.13 resource trace stop dsp mpu ....................................................................................................................5-11

    5.14 resource trace stop e1 .......................................................... ................................................................ ....5-11

    5.15 save..........................................................................................................................................................5-12

  • 8/21/2019 UAP2100 Command Reference(V100R002C05_01)

    11/370

    HUAWEI UAP2100

    Command Reference Contents

    Issue 01 (2010-11-26) Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    ix

    5.16 start load subbox......................................................................................................................................5-13

    5.17 switch workmode ....................................................................................................................................5-14

    5.18 telnet........................................................................................................................................................5-14

    5.19 unblock subscriber dn..............................................................................................................................5-15

    5.20 unblock subscriber domainname .................................................................... .........................................5-16

  • 8/21/2019 UAP2100 Command Reference(V100R002C05_01)

    12/370

    HUAWEI UAP2100

    Command Reference Figures

    Issue 01 (2010-11-26) Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    xi

    Figures

    Figure 1-1Connecting the UAP2100 host for logging in to CLI locally.......................................................... 1-2

    Figure 1-2Connecting the UAP2100 host for logging in to CLI remotely ...................................................... 1-3

  • 8/21/2019 UAP2100 Command Reference(V100R002C05_01)

    13/370

    HUAWEI UAP2100

    Command Reference Tables

    Issue 01 (2010-11-26) Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    xiii

    Tables

    Table 1-1Mapping between operation mode and user level.............................................................................1-4

    Table 1-2Symbols in the syntax of the command line .......................................................... ...........................1-5

    Table 1-3Parameter type in a command line....................................................................................................1-6

  • 8/21/2019 UAP2100 Command Reference(V100R002C05_01)

    14/370

    HUAWEI UAP2100Command Reference 1 CLI Usage

    Issue 01 (2010-11-26) Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    1-1

    1 CLI UsageAbout Thi

    Command Line Interface (CLI), you can enter commands on a computer and getthe result of carrying out the commands. Therefore, you can manage the device easily. Befored e device configur intenance commands, this chapter describes the CLIaccess method, related concepts and operation guide. The following table lists the contents oft

    s Chapter

    By using the

    etailing th ation and ma

    his chapter.

    Section Describes

    1.1 Logging In to CLI ht.Describes the method of logging in to the CLI locally througthe serial interface and logging in to the CLI through Telne

    1.2 Mode and Level ation mode, the user level, and theDescribes the CLI opermapping between CLI operation mode and user level.

    1.3 Syntax Convention n andparameter definition.Describes the command structure, symbol descriptio

    1.4 Operation Guide Describes the method of complementing a command,abbreviating a command, and getting a command.

  • 8/21/2019 UAP2100 Command Reference(V100R002C05_01)

    15/370

    1 CLI Usage HUAWEI UAP2100Command Reference

    1-2 Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    Issue 01 (2010-11-26)

    1.1 Logging In to CLI

    Before configuring the device, you need to log in to CLI through a personal computer (PC).For UAP2100, you can log in to CLI in any of the following two methods:

    Logging in to CLI locally through serial interface

    Logging in to CLI remotely through Telnet

    1.1.1 Logging In to CLI Locally Through Serial Interface

    Step 1 Make sure that the COM port on the PC is properly connected to the CONSOLE port on theUAP2100 host through a serial cable, as shown in Figure 1-1.

    Figure 1-1Connecting the UAP2100 host for logging in to CLI locally

    Operation

    TerminalUAP2100

    Serial Cable

    For UAP2100 host, the CONSOLE port is on the front panel of the cabinet and the port flag isCONSOLE.

    Step 2 Start the HyperTerminal or other serial interface terminal software of the Windows system onthe PC.

    Step 3 Set up a connection and set the COM port based on the following items: Baud rate: 9600

    Data bit: 8

    Parity check: None

    Stop bit: 1

    Traffic control: None

    Step 4 After setting up the connection, make sure that the device information is displayed on thescreen of the PC.Step 5 Enter the user name and password. If the screen displays the prompt with the device model, it

    means that you have logged in to CLI successfully. For example,

    [ . l ogi n . ] Logi n: >admi n

    [ . password . ] Password: >******

    [ . resul t . ] succeed

    [ %UAP2100] >

  • 8/21/2019 UAP2100 Command Reference(V100R002C05_01)

    16/370

    HUAWEI UAP2100Command Reference 1 CLI Usage

    Issue 01 (2010-11-26) Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    1-3

    The user name and password are case-sensitive. When logging in to CLI, by default, you need to enterthe user name adminand the password huawei. Then the administrator can change the password of theuser adminand create another user. For the command, see section 2.2 "CLI User ManagementCommand."

    ---- End

    1.1.2 Logging In to CLI Through Telnet

    To log in to CLI through Telnet, you need to enter command lines of the Windows system orrun the Telnet terminal software. This section describes how to log in to CLI through Telnetby entering command lines of the Windows system.

    Step 1 Make sure that the PC and the UAP2100 host have accessed the LAN (as shown in Figure 1-2), and they are assigned the IP address.

    Figure 1-2Connecting the UAP2100 host for logging in to CLI remotely

    Operation

    Terminal UAP2100

    Make sure that the UAP2100 host is connected to the network properly when you test the

    UAP2100 host by carrying out the ping command.Step 2 Access the command line window on the PC.

    Enter the telnet command to connect the UAP2100 host. When the screen displays the deviceinformation, it means that the UAP2100 host is connected successfully to the network. Forexample,

    t el net 192. 168. 1. 37

    Tr yi ng 192. 168. 1. 37. . .

    Connect ed t o 192. 168. 1. 37.

    Escape char act er i s ' ] ' .

    UAP OS V100R002******* ( bui l t on Apr 13 2007) on UAP2100

    Step 3 Enter the user name and password. When the screen displays the prompt with the devicemodel, it means that you have logged in to CLI successfully. For example,

    [ . l ogi n . ] Logi n: >admi n

    [ . password . ] Password: >******

    [ . resul t . ] succeed

    [ %UAP2100] >

  • 8/21/2019 UAP2100 Command Reference(V100R002C05_01)

    17/370

    1 CLI Usage HUAWEI UAP2100Command Reference

    1-4 Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    Issue 01 (2010-11-26)

    The user name and password are case-sensitive. When logging in to CLI, by default, you need to enterthe user name adminand the password huawei. Then the administrator can change the password of theuser adminand create another user. For the command, see section 2.2 "CLI User ManagementCommand."

    ---- End

    1.2 Mode and Level

    The UAP2100 CLI supports two operation modes, which are described as follows:

    View mode

    By default, a user logs in to CLI in View mode. In this case, the user can carry out theshow command and the general command (for example, clear, help, list, exit) of CLI. InView mode, the command prompt is the angle bracket >.

    Config mode

    The Config mode is adopted after you to switch from the View mode. In Config mode, auser can carry out all the commands in View mode. In addition, the user can carry out theconfig command and the device maintenance command (for example, reboot and reset).In Config mode, the command prompt is the symbol #.

    The following two user levels are specified for UAP2100 CLI.

    Normal user

    A normal user is created by the administrator. He can access the View mode only andcarry out all the commands in View mode.

    Administrator

    The administrator is created by the former administrator. By default, the administrator isadmin. After accessing the View mode, the administrator can carry out all the commandsin View mode. He can also switch from the View mode to the Config mode by carryingout the enable command. In addition, he can carry out all the commands in Config mode.

    Table 1-1shows the mapping between operation mode and user level.

    Table 1-1Mapping between operation mode and user levelUser Level View Mode Config Mode

    Normal Allowed Not allowed

    Administrator Allowed Allowed

    1.3 Syntax Convention

    Before carrying out the UAP2100 commands, you must be familiar to the conventions of theirsyntax, which includes the following three aspects:

    Command structure

  • 8/21/2019 UAP2100 Command Reference(V100R002C05_01)

    18/370

    HUAWEI UAP2100Command Reference 1 CLI Usage

    Issue 01 (2010-11-26) Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    1-5

    Symbol description

    Parameter type

    1.3.1 Command Structure

    For UAP2100 command lines, all the command description is based on the specified syntax.

    Command description = Command header + Parameter body

    Parameter body = Parameter 1 + Parameter 2 + Parameter 3 +...

    Parameter = Key word + Value

    For example,config add officeno0officeselectcode 1

    In the preceding command line, the command header is config add office, the parameter bodyis no 0 officeselectcode 1. In the parameter body, parameter 1 is no 0, and parameter 2 isofficeselectcode 1. For parameter 1, the key word is noand the value is 0.

    1.3.2 Symbol Description

    You can find various symbols in the command. These symbols show how to enter a commandrather than the command itself. Table 1-2details the description of the symbols used in thecommand line.

    Table 1-2Symbols in the syntax of the command lineSymbol Description

    < > Indicates that a value is mandatory in this section for a command.

    For example, in the config delete office no command, you mustenter a value from 0 to 254 in .

    [ ] Indicates that the value in this section is optional.

    For example, in the config add office no officeselectcode [incomingright ] command,incomingright is optional.

    | Functions similarly as the logical OR. The options separated by thevertical bar | are in the logical relation OR.

    For example, the config add office no officeselectcode [incomingright ] command can befollowed by inter,local,localtoll,ddd or idd after you enter the key wordincomingrightl.

    & The options separated by & can be entered separately or together.

    For config modify callpurview k [purview], when purview is entered, it can be followed by inter, inter&local,nationaltoll&internationaltoll, and so on.

  • 8/21/2019 UAP2100 Command Reference(V100R002C05_01)

    19/370

    1 CLI Usage HUAWEI UAP2100Command Reference

    1-6 Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    Issue 01 (2010-11-26)

    1.3.3 Parameter Type

    The values in a command line can be used for one or more types of parameter. Table 1-3shows the definition and example of each type of parameter.

    Table 1-3Parameter type in a command lineParameter Definition Example

    IP Address A.B.C.D 192.168.0.1

    IP Mask A.B.C.D/M 192.168.0.1/24. The value 24indicates the mask255.255.255.0.

    Integer

    . The value 1is the minimum value andthe value 60000is the maximum value.

    String . A string with blank space cannot be

    taken as the parameter value. For example, the string"The software needs testing" cannot be taken as theparameter value.

    Date

    2006-08-17

    Time 14:00:00

    List For < list (1-8)>. The values 1-3, 6, 7, 8are valid,but the values 0-9are invalid. The value allcan betaken as the value. In this case, the value allindicates 1-8.

    Enumerativetype

    For , any of ag1032, tg1000and oamcan be entered.

    Flag < Flag name0&Flag name1&Flag name 2>

    For , mgcpor mgcp&h.248can be entered.

    MAC Address

    20-2B-3A-00-00-8A

    If the A, B, C or D of IP Address and IP Mask starts with 0, it is an octal numeral rather than a decimalnumeral. For example, 011 indicates not 11, but 9.

    1.4 Operation Guide

    This section describes the method and tips of carrying out the CLI command, including:

  • 8/21/2019 UAP2100 Command Reference(V100R002C05_01)

    20/370

    HUAWEI UAP2100Command Reference 1 CLI Usage

    Issue 01 (2010-11-26) Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    1-7

    Complementing a Command

    Abbreviating a command

    Getting a command

    1.4.1 Complementing a CommandYou can press the Tab key to enable the function of complementing a command. That is, afterentering some information and from which you can known the command, you can press theTab key to complement the command.

    If several commands match the entered information, a list of the possible commands isshown for your choice.

    If only one command matches the entered information, it is complemented automaticallyin the command line. In this case, the cursor moves to the end of the command line.

    For example,

    [ %UAP2100( conf i g) ] # conf i g add / / Press t he Tab key. Then t he screen di spl ays al lr i ngr el at e r i ngt ype

    r i ngser vi ce cal l pur vi ew

    cal l source cl i user

    pbxgr oup t gl d

    board chgnum

    h323endpoi nt mg

    of f i ce otmn

    peercomponent pi ckupgroup

    pr edeal pr ef i x

    pral i nk r emotegk

    r epl acenum st ati cgw

    subscri ber[ %UAP2100( conf i g) ] # conf i g add cal l / / Pr ess t he Tab key. Then t he syst em

    compl ement s of f t o cal l sour ce aut omati cal l y.

    [ %UAP2100( conf i g) ] # conf i g add cal l sour ce / / Press t he Tab key. Then t he

    syst emcompl ement s t he key word no aut omat i cal l y.

    [ %UAP2100( conf i g) ] # conf i g add cal l sour ce no / / Press t he Tab key. Then t he

    syst em does not compl ement t he key word.

    [ %UAP2100( conf i g) ] # conf i g add cal l sour ce no

    1.4.2 Abbreviating a Command

    You can enter a word of a command or the first few letters of the key word if the enteredinformation is understood correctly.

    For example, to display the device information, you can enter any of the followingabbreviated commands:

    sh sys infor

    s s i

    The preceding abbreviated commands map the full command of show system information.

    You cannot enter a command that is too short (for example, the command s s i) unless you are sure thatthe abbreviated command is the one you want to carry out.

  • 8/21/2019 UAP2100 Command Reference(V100R002C05_01)

    21/370

    1 CLI Usage HUAWEI UAP2100Command Reference

    1-8 Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    Issue 01 (2010-11-26)

    1.4.3 Getting a Command

    You can enter the question mark ?to display the descriptive information (namely, the syntaxof the command at the current position) of the CLI command. By getting the prompt

    information while you enter a command, you can complete the command line until you get acommand that can be carried out.

    For example,

    [ %UAP2100( conf i g) ] # conf i g add

    / / Af t er ent eri ng t he charact ers, you can ent er t he quest i on mark ?. Then t he

    syst emdi spl ays t he pr ompt i nf ormati on of t he command synt ax af t er conf i g add.

    board

    cal l pur vi ew

    cal l sour ce

    chgnum

    cl i user

    h323endpoi nt

    mg

    of f i ce

    ot mn

    pbxgr oup

    peercomponent

    pi ckupgroup

    pr edeal

    prefi x

    pral i nk

    r emot egk

    r epl acenum

    ri ngrel ate

    r i ngser vi ce

    r i ngt ype

    st ati cgw

    subscri ber

    t gl d

    vuscri pt

    [ %UAP2100( conf i g) ] # conf i g add cal l sour ce

    / / Af t er ent eri ng t he charact ers, you can ent er t he quest i on mark ?. Then t he

    syst emdi spl ays t he prompt i nf ormat i on of t he command syntax af t er conf i g add

    cal l source.

    no

    [ %UAP2100( conf i g) ] # conf i g add cal l sour ce no

    / / Af t er ent eri ng t he charact ers, you can ent er t he quest i on mark ?. Then t hesyst emdi spl ays t he prompt i nf ormat i on of t he command syntax af t er conf i g add

    cal l sour ce no.

    If the last line of the prompt information is Just Press Enter to Execute command!, it means thatyou can press the Enter key to carry out the command.

  • 8/21/2019 UAP2100 Command Reference(V100R002C05_01)

    22/370

    HUAWEI UAP2100Command Reference 2 Basic CLI Commands

    Issue 01 (2010-11-26) Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    2-1

    2 Basic CLI CommandsAbout Thi

    T ten

    s Chapter

    he following table lists the con ts of this chapter.

    Section Describes

    2.1 CLI Environment SettinCommands

    g

    .Describes the function, Syntax, parameters, modes, usage

    guidelines, examples and related commands of the CLIenvironment setting commands

    2.2 CLI User ManagementCommands

    commands.Describes the function, Syntax, parameters, modes, usage

    guidelines, examples and related commands of the CLI

    user management

    2.3 CLI Help Commands Describes the function, Syntax, parameters, modes, usage

    guidelines, examples and related commands of the CLIhelp commands.

  • 8/21/2019 UAP2100 Command Reference(V100R002C05_01)

    23/370

    2 Basic CLI Commands

    HUAWEI UAP2100

    Command Reference

    2-2 Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    Issue 01 (2010-11-26)

    2.1 CLI Environment Setting Commands

    2.1.1 clear

    Function

    This command is used to clear the information on the screen.

    Syntax

    clear

    Parameters

    None.

    Modes

    View.

    Usage Guidelines

    Use this command to clear the information on the screen.

    Examples

    To clear all the information on the screen, carry out the following command:

    [ %UAP2100]> cl ear

    Related Commands

    None.

    2.1.2 enable

    Function

    The command is used to switch View mode to Config mode.

    Syntax

    enable

    Parameters

    None.

  • 8/21/2019 UAP2100 Command Reference(V100R002C05_01)

    24/370

    HUAWEI UAP2100Command Reference 2 Basic CLI Commands

    Issue 01 (2010-11-26) Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    2-3

    Modes

    View.

    Usage GuidelinesA password is required after the command is carried out. View mode switch to Config mode

    after successful authentication.

    Examples

    Run the following command to switch View mode to Config mode:

    [ %UAP2100] > enabl e

    [ . password . ] Password: >

    [ . resul t . ] succeed

    [ %UAP2100(conf i g)] #

    Related Commands

    exit

    2.1.3 exit

    Function

    This command is used to exit from the current mode.

    Syntaxexit

    Parameters

    None.

    Modes

    View.

    Usage Guidelines If the current mode is Config, carry out the command to return to View mode. If the current mode is View, carry out the command to exit the command line system.

    Examples

    To exit from Config mode to View mode, carry out the following command:

    [ %UAP2100( conf i g) ] # exi t

    [ %UAP2100] >

  • 8/21/2019 UAP2100 Command Reference(V100R002C05_01)

    25/370

    2 Basic CLI Commands

    HUAWEI UAP2100

    Command Reference

    2-4 Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    Issue 01 (2010-11-26)

    Related Commands

    enable

    2.1.4 quitFunction

    This command is used to quit the system.

    Syntax

    quit

    Parameters

    None.

    Modes

    View.

    Usage Guidelines

    Use this command to quit the system to the initial state.

    Examples

    To quit the system to the initial state, carry out the following command:

    [ %UAP2100]> qui t

    Related Commands

    None.

    2.1.5 set idle-timeout

    Function

    This command is used to set the idle-timeout.

    Syntax

    set idle-timeout

    Parameters

    Parameter and Value Description Default Valueidle-timeout Indicates the idle-timeout, in minute. None

  • 8/21/2019 UAP2100 Command Reference(V100R002C05_01)

    26/370

    HUAWEI UAP2100Command Reference 2 Basic CLI Commands

    Issue 01 (2010-11-26) Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    2-5

    Modes

    Config.

    Usage GuidelinesUse this command to set the idle-timeout. If there is no operation to serial port during the

    timeout, the system automatically quits to the initial state.

    If the value of idle-timeoutis set to0, the system does not automatically quit to the initialstate.

    Examples

    To set the value of idle-timeout to 2000, carry out the following command:

    [ %UAP2100( conf i g) ] # set i dl e- t i meout 20000

    Related Commands

    show idle-timeout

    2.1.6 show idle-timeout

    Function

    This command is used to view the setting of connection timeout.

    Syntaxshow idle-timeout

    Parameters

    None.

    Modes

    View.

    Usage GuidelinesUse this command to view the setting of connection timeout.

    Examples

    To view the setting of connection timeout, carry out the following command:

    [ %UAP2100]> show i dl e- t i meout

    I dl e t i me out i s set t o 20000 mi nut es 0 seconds.

    Related commands

    set idle-timeout

  • 8/21/2019 UAP2100 Command Reference(V100R002C05_01)

    27/370

    2 Basic CLI Commands

    HUAWEI UAP2100

    Command Reference

    2-6 Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    Issue 01 (2010-11-26)

    2.1.7 terminal

    Function

    This command is used to configure the maximum number of showed lines of the outputresults.

    Syntax

    terminal length

    Parameters

    Parameter and Value Description Default Valuelength Indicates the number of displayed lines None

    Modes

    View.

    Usage Guidelines

    If the lines of the output results exceeds n that is set, the system stops after showing n linesand prompts "Press any key to continue Ctrl+Cto stop". Press any key to show the later

    information and press Ctrl+Cto stop.

    Examples

    The configuration information can be showed up to 20 lines.

    [ %UAP2100]> t ermi nal l ength 20

    Related Commands

    None.

    2.2 CLI User Management Commands

    2.2.1 config add cliuser

    Function

    This command is used to add the command line user.

    Syntax

    config add cliuser name loginpassword [enablepassword]

  • 8/21/2019 UAP2100 Command Reference(V100R002C05_01)

    28/370

    HUAWEI UAP2100Command Reference 2 Basic CLI Commands

    Issue 01 (2010-11-26) Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    2-7

    Parameters

    Parameter and Value Description Default Valuename Indicates the user name Noneloginpassword Indicates the login password for accessing

    to the Viewmode Noneenablepassword Indicates the password for switching from

    the Viewmode to the Configmode None

    Modes

    Config.

    Usage Guidelines The user name must be equal to or greater than 4 digits; and the password is not smaller

    than 6 digits.

    Do not set the enablepasswordparameter when adding a common user. Set theenablepasswordparameter when adding an administrator user.

    Examples

    To add an administrator user: the user name is abcd, loginpasswordis shenzhen andenablepasswordis huawei. Carry out the following command:

    [ %UAP2100(conf i g) ] # conf i g add cl i user name abcd l ogi npassword shenzhen enabl epassword

    huawei

    Related Commands

    config delete cliuser

    show cliuser

    2.2.2 config delete cliuser

    FunctionThis command is used to remove the command line user.

    Syntax

    config delete cliuser name

    Parameters

    Parameter and Value Description Default Valuename Indicates the user name None

  • 8/21/2019 UAP2100 Command Reference(V100R002C05_01)

    29/370

    2 Basic CLI Commands

    HUAWEI UAP2100

    Command Reference

    2-8 Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    Issue 01 (2010-11-26)

    Modes

    Config.

    Usage GuidelinesUse this command to remove only the exit command line user. Use the show cliuser

    command can view whether the user to be removed exits.

    Examples

    To remove the cliuser aaaa, carry out the following command:

    [ %UAP2100( conf i g) ] # conf i g del ete cl i user name aaaa

    Related Commands

    config add cliuser

    show cliuser

    2.2.3 config modify enablepassword

    Function

    This command is used to change the current user password for accessing to the Config mode.

    Syntax

    config modify enablepassword

    Parameters

    None.

    Modes

    Config.

    Usage Guidelines

    Run the command and press Enter. The system prompts to enter a new password. Whenyou enter a new password, the system prompts to enter the new password again forchecking.

    The passwords you enter twice must be the same.

    Examples

    To change the current user password for accessing to the Config mode, carry out the

    following command:

    [ %UAP2100(conf i g)] # conf i g modi f y enabl epassword.

  • 8/21/2019 UAP2100 Command Reference(V100R002C05_01)

    30/370

    HUAWEI UAP2100Command Reference 2 Basic CLI Commands

    Issue 01 (2010-11-26) Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    2-9

    Related Commands

    config add cliuser

    2.2.4 config modify loginpasswordFunction

    This command is used to remove the login password of the current user.

    Syntax

    config modify loginpassword

    Parameters

    None.

    Modes

    Config.

    Usage Guidelines Run the command and press Enter. The system prompts to enter a new password. When

    you enter a new password, the system prompts to enter the new password again forchecking.

    The passwords you enter twice must be the same.

    Examples

    To change the login password of the current user, carry out the following command:

    [ %UAP2100( conf i g) ] # conf i g modi f y l ogi npassword

    Related Commands

    config add cliuser

    2.2.5 show cliuser

    Function

    This command is used to show all the command line users.

    Syntax

    show cliuser

    Parameters

    None.

  • 8/21/2019 UAP2100 Command Reference(V100R002C05_01)

    31/370

    2 Basic CLI Commands

    HUAWEI UAP2100

    Command Reference

    2-10 Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    Issue 01 (2010-11-26)

    Modes

    View.

    Usage GuidelinesNone.

    Examples

    To show all the command line users, carry out the following command:

    [ %UAP2100]> show cl i user

    User Name Type

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

    admi n admi n

    Related Commands

    config delete cliuser

    config add cliuser

    2.2.6 who

    Function

    This command is used to show the users who have logged in.

    Syntax

    who

    Parameters

    None.

    Modes

    View.

    Usage Guidelines

    Use this command to show the user name, IP address and current command mode of the user.

    Examples

    To show the user who has logged in, carry out the following command:

    [ %UAP2100] > who

    Sessi onI D UserName Locat i on Mode Establ i sh Ti me El apse( s)

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

    33 admi n 172. 20. 3. 70 VI EW( That ' s me. ) 2007- 02- 11 23: 23: 25 100

  • 8/21/2019 UAP2100 Command Reference(V100R002C05_01)

    32/370

    HUAWEI UAP2100Command Reference 2 Basic CLI Commands

    Issue 01 (2010-11-26) Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    2-11

    Related Commands

    None.

    2.2.7 who am iFunction

    This command is used to show the information of the current user.

    Syntax

    who am i

    Parameters

    None.

    Modes

    View.

    Usage Guidelines

    Use this command to view the information of the current user.

    Examples

    [ %UAP2100] > who am iI am Sessi on [ 33] : user admi n connect ed f r om172. 20. 3. 70

    Related Commands

    None.

    2.3 CLI Help Commands

    2.3.1 help

    Function

    This command is used to query helpinformation.

    Syntax

    help

    Modes

    View.

  • 8/21/2019 UAP2100 Command Reference(V100R002C05_01)

    33/370

    2 Basic CLI Commands

    HUAWEI UAP2100

    Command Reference

    2-12 Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    Issue 01 (2010-11-26)

    Parameters

    None.

    Usage GuidelinesCarry out the command. The system prompts the following two methods for help:

    Type?directly to view the commands, the parameters and the description. Type the listcommand and then press Enterto view the command list.

    Examples

    To query help information, carry out the following command.

    [ %UAP2100] > hel p

    OMU Cl i ent provi des hel p f eat ure as descr i bed bel ow.

    1. Anyt i me you need hel p, j ust pr ess "?" and don' tpress Ent er , you can see each possi bl e command ar gument

    and i t s descri pt i on.

    2. You can al so i nput "l i st " and then pr ess Ent er

    t o execut e thi s hel pf ul command t o vi ew t he l i st of

    commands you can use.

    Related Commands

    None.

    2.3.2 list

    Function

    This command is used to show all the available commands in the current mode.

    Syntax

    list[string]

    Parameters

    Parameter and Value

    Description

    Default Value

    string Indicates the character string None

    Modes

    View.

    Usage Guidelines

    If parameter string is not typed, use this command to show all the commands in the current

    mode.

  • 8/21/2019 UAP2100 Command Reference(V100R002C05_01)

    34/370

    HUAWEI UAP2100Command Reference 2 Basic CLI Commands

    Issue 01 (2010-11-26) Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    2-13

    If parameter string is typed, use this command to show the commands in the current modewhich include parameter value.

    Examples

    To view all the commands in the current mode, carry out the following command:

    [ %UAP2100]>l i st

    Command Li st

    conf i g syst emdat e t i me

    show cl i user

    show di gi t map def aul t [ prot ocol ]

    show di gi t map [ prot ocol ]

    show l ocal vpchannel

    show t one125pr edeal

    show ums [ no ]

    show wmxchar gepar ashow ag bi l l i ng

    show al l f i l es

    show ami nf o

    show anonymouscal l

    show at0 overl apsend t i merl en

    show at0 sendr emoteof f hookcondi t i on

    show at0 t onect r f l ag

    show at0t kc card sl ot

    show at 0t kc mpu

    show aut osave swi t ch

    show bi l l pool f ul l bi l l di scard

    show bl ackandwhi t e cal l t ype [ gr oupt ype

  • 8/21/2019 UAP2100 Command Reference(V100R002C05_01)

    35/370

    2 Basic CLI Commands

    HUAWEI UAP2100

    Command Reference

    2-14 Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    Issue 01 (2010-11-26)

    show col or r i ng f i l e

    show col orr i ng par ameter

    show component domai nname

    show component t ype [ compi d ] [ number ]

    show component [ compi d ] [ number ]

    show conf er ence [ r oomno ]

    show cp

    show creat ebi l l swi t ch

    show ct i nf o

    show def aul t cal l f or ward [dn ] [ t ype ]

    show devi ce

    show di sconnect r ecord