Professional Documents
Culture Documents
Command Reference
Issue Date Part Number 01 2010-11-26 00540457
Huawei Technologies Co., Ltd. provides customers with comprehensive technical support and service. For any assistance, please contact our local office or company headquarters.
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, and recommendations in this document do not constitute the warranty of any kind, express or implied.
Contents
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
Issue 01 (2010-11-26)
Contents
HUAWEI UAP2100 Command Reference 2.3.2 list....................................................................................................................................................2-12 2.3.3 show history ....................................................................................................................................2-18
3 Configuration Commands........................................................................................................3-1
3.1 config add am ..............................................................................................................................................3-2 3.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-32 3.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
ii
Issue 01 (2010-11-26)
Contents
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-76 3.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
Issue 01 (2010-11-26)
iii
Contents
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-111 3.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
iv
Issue 01 (2010-11-26)
Contents
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-172 3.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
Issue 01 (2010-11-26)
Contents
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
vi
Issue 01 (2010-11-26)
Contents
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-53 4.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
Issue 01 (2010-11-26)
vii
Contents
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-99 4.90 show version..........................................................................................................................................4-100 4.91 show vp .................................................................................................................................................4-101
viii
Issue 01 (2010-11-26)
Contents
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
Issue 01 (2010-11-26)
ix
Figures
Figures
Figure 1-1 Connecting the UAP2100 host for logging in to CLI locally..........................................................1-2 Figure 1-2 Connecting the UAP2100 host for logging in to CLI remotely ......................................................1-3
Issue 01 (2010-11-26)
xi
Tables
Tables
Table 1-1 Mapping between operation mode and user level.............................................................................1-4 Table 1-2 Symbols in the syntax of the command line .....................................................................................1-5 Table 1-3 Parameter type in a command line....................................................................................................1-6
Issue 01 (2010-11-26)
xiii
1 CLI Usage
1
About This Chapter
Section 1.1 Logging In to CLI 1.2 Mode and Level 1.3 Syntax Convention 1.4 Operation Guide Describes
CLI Usage
By using the Command Line Interface (CLI), you can enter commands on a computer and get the result of carrying out the commands. Therefore, you can manage the device easily. Before detailing the device configuration and maintenance commands, this chapter describes the CLI access method, related concepts and operation guide. The following table lists the contents of this chapter.
Describes the method of logging in to the CLI locally through the serial interface and logging in to the CLI through Telnet. Describes the CLI operation mode, the user level, and the mapping between CLI operation mode and user level. Describes the command structure, symbol description and parameter definition. Describes the method of complementing a command, abbreviating a command, and getting a command.
Issue 01 (2010-11-26)
1-1
1 CLI Usage