Command-Line Interface (CLI) - AudioCodes

Reference Guide

AudioCodes Family of Multi-Service Business Routers (MSBR)

Command-Line Interface (CLI)

MediantTM MSBRs

Version 7.2

Reference Guide

Contents

Table of Contents

1 Introduction....................................................................................................... 23

Getting Started ........................................................................................................ 25

2 Accessing the CLI ............................................................................................ 27

3 CLI Structure..................................................................................................... 29

3.1 CLI Command Modes ............................................................................................29

3.1.1 Basic User Mode..................................................................................................... 29 3.1.2 Privileged User Mode.............................................................................................. 29 3.1.3 Switching between Command Modes..................................................................... 30

3.2 CLI Configuration Wizard .......................................................................................30

3.3 CLI Shortcut Keys ..................................................................................................31

3.4 Common CLI Commands.......................................................................................32

3.5 Working with Tables ...............................................................................................35

3.5.1 3.5.2 3.5.3 3.5.4

Adding New Rows................................................................................................... 35 Adding New Rows to Specific Indices..................................................................... 36 Changing Index Position of Rows ........................................................................... 37 Deleting Table Rows ............................................................................................... 37

3.6 CLI Error Messages ...............................................................................................38

3.7 Typographical Conventions ....................................................................................38

Root-Level Commands........................................................................................... 39

4 Introduction....................................................................................................... 41

5 Debug Commands ............................................................................................ 43

5.1 debug adsl-connection ...........................................................................................45

5.2 debug adsl-firmware ...............................................................................................46

5.3 debug auxilary-files ................................................................................................46

5.3.1 debug auxilary-files dial-plan .................................................................................. 47 5.3.2 debug auxilary-files user-info .................................................................................. 48

5.4 debug bfd ...............................................................................................................49

5.5 debug bgp ..............................................................................................................49

5.6 debug capture ........................................................................................................50

5.6.1

5.6.2 5.6.3

debug capture data ................................................................................................. 51 5.6.1.1 debug capture data interface................................................................... 51 5.6.1.2 debug capture data physical clear........................................................... 53 5.6.1.3 debug capture data physical start............................................................ 53 5.6.1.4 debug capture data physical stop vrf....................................................... 54 5.6.1.5 debug capture data physical insert-pad .................................................. 55 5.6.1.6 debug capture data physical target ......................................................... 55 5.6.1.7 debug capture data physical autostop..................................................... 56 5.6.1.8 debug capture data physical ................................................ 58 debug capture trim .................................................................................................. 59 debug capture voip ................................................................................................. 59 5.6.3.1 debug capture voip interface ................................................................... 60 5.6.3.2 debug capture voip physical .................................................................... 61

5.7 debug cli delayed-command ..................................................................................63

5.8 debug cwmp send-connection-request ..................................................................64

Version 7.2

3

Mediant MSBR

Command-Line Interface

5.9 debug data-syslog ..................................................................................................64 5.10 debug debug-recording ..........................................................................................65 5.11 debug dhcpv6_client ..............................................................................................66 5.12 debug dhcpv6_server .............................................................................................67 5.13 debug dial plan .......................................................................................................67 5.14 debug dot11radio ...................................................................................................68 5.15 debug dynamic-routing...........................................................................................69 5.16 debug ethernet .......................................................................................................70 5.17 debug exception-info ..............................................................................................71 5.18 debug fax................................................................................................................72 5.19 debug ipv6-ra .........................................................................................................73 5.20 debug log................................................................................................................74 5.21 debug ospf..............................................................................................................75 5.22 debug ospf6............................................................................................................76 5.23 debug phy-err-injection...........................................................................................78 5.24 debug pstn..............................................................................................................79 5.25 debug reset-history.................................................................................................80 5.26 debug rip ................................................................................................................81 5.27 debug ripng ............................................................................................................82 5.28 debug rmx-serial.....................................................................................................83 5.29 debug serial-port ....................................................................................................84 5.30 debug sip................................................................................................................85 5.31 debug speedtest.....................................................................................................86 5.32 debug syslog ..........................................................................................................87 5.33 debug syslog-server ...............................................................................................88 5.34 debug test-call ........................................................................................................89 5.35 debug usb...............................................................................................................90 5.36 debug usb-3g .........................................................................................................91 5.37 debug voip..............................................................................................................92 5.38 debug vrf ................................................................................................................93 5.39 debug zebra ...........................................................................................................94

6 Show Commands ............................................................................................. 95

6.1 show activity-log .....................................................................................................95 6.2 show admin state ...................................................................................................96 6.3 show data ...............................................................................................................96

6.3.1 show data access-lists ............................................................................................ 98 6.3.2 show data arp.......................................................................................................... 98 6.3.3 show data backup-group......................................................................................... 98 6.3.4 show data bfd neighbors ....................................................................................... 100 6.3.5 show data bgp....................................................................................................... 101 6.3.6 show data bridge-configuration............................................................................. 102 6.3.7 show data cellular ................................................................................................. 102 6.3.8 show data crypto ................................................................................................... 103 6.3.9 show data ddns ..................................................................................................... 105 6.3.10 show data debugging ............................................................................................ 106 6.3.11 show data dns-views............................................................................................. 107 6.3.12 show data dot11radio............................................................................................ 108 6.3.13 show data dot1x-status ......................................................................................... 110 6.3.14 show data dsl ........................................................................................................ 111

Reference Guide

4

Document #: LTRT-17939

Reference Guide

Contents

6.3.15 show data ethernet ............................................................................................... 112 6.3.16 show data f-path rate ............................................................................................ 113 6.3.17 show data hosts .................................................................................................... 115 6.3.18 show data interface ............................................................................................... 116 6.3.19 show data ip .......................................................................................................... 119 6.3.20 show data ipv6 ...................................................................................................... 124 6.3.21 show data l2tp-server............................................................................................ 126 6.3.22 show data lldp ....................................................................................................... 126 6.3.23 show data mac-address-table ............................................................................... 127 6.3.24 show data port-monitor ......................................................................................... 128 6.3.25 show data port-security ......................................................................................... 129 6.3.26 show data pptp-server .......................................................................................... 130 6.3.27 show data qos ....................................................................................................... 131 6.3.28 show data route-map ............................................................................................ 132 6.3.29 show data spanning-tree....................................................................................... 133 6.3.30 show data tacacs .................................................................................................. 134 6.3.31 show data track ..................................................................................................... 135 6.3.32 show data vrrp....................................................................................................... 136

6.4 show ini-file...........................................................................................................137

6.5 show last-cli-script-log ..........................................................................................138

6.6 show network .......................................................................................................139

6.6.1 6.6.2 6.6.3 6.6.4 6.6.5 6.6.6 6.6.7 6.6.8 6.6.9

show network access-list ...................................................................................... 139 show network arp .................................................................................................. 140 show network dhcp clients .................................................................................... 140 show network interface ......................................................................................... 140 show network network-dev ................................................................................... 141 show network nqm ................................................................................................ 141 show network route ............................................................................................... 142 show network tls.................................................................................................... 142 show network wan-bindings .................................................................................. 143

6.7 show running-config .............................................................................................144

6.8 show startup-script ...............................................................................................145

6.9 show storage-history ............................................................................................146

6.10 show system.........................................................................................................147

6.10.1 show system alarms.............................................................................................. 147 6.10.2 show system alarms-history.................................................................................. 148 6.10.3 show system assembly ......................................................................................... 148 6.10.4 show system clock ................................................................................................ 149 6.10.5 show system cpu-util............................................................................................. 149 6.10.6 show system cwmp ............................................................................................... 149 6.10.7 show system fax-debug-status ............................................................................. 150 6.10.8 show system feature-key ...................................................................................... 150 6.10.9 show system interface osn.................................................................................... 151 6.10.10 show system log.................................................................................................... 151 6.10.11 show system ntp-status ........................................................................................ 152 6.10.12 show system radius servers status ....................................................................... 152 6.10.13 show system uptime.............................................................................................. 153 6.10.14 show system utilization ......................................................................................... 153 6.10.15 show system version............................................................................................. 154

6.11 show users ...........................................................................................................156

6.12 show voip .............................................................................................................157

6.12.1 show voip calls ...................................................................................................... 157 6.12.1.1 show voip calls active ............................................................................ 158 6.12.1.2 show voip calls history ........................................................................... 159 6.12.1.3 show voip calls statistics........................................................................ 159

6.12.2 show voip channel-stats........................................................................................ 161 6.12.3 show voip coders-stats ......................................................................................... 162

Version 7.2

5

Mediant MSBR

Command-Line Interface

6.12.4 show voip cpu-stats............................................................................................... 162 6.12.5 show voip dsp ....................................................................................................... 163

6.12.5.1 show voip dsp perf................................................................................. 163 6.12.5.2 show voip dsp status ............................................................................. 163 6.12.6 show voip e911 ..................................................................................................... 164 6.12.7 show voip ids......................................................................................................... 165 6.12.8 show voip interface ............................................................................................... 166 6.12.9 show voip ip-group ................................................................................................ 167 6.12.10 show voip ldap ...................................................................................................... 168 6.12.11 show voip other-dialog statistics ........................................................................... 169 6.12.12 show voip proxy sets status .................................................................................. 169 6.12.13 show voip realm .................................................................................................... 170 6.12.14 show voip register ................................................................................................. 170 6.12.15 show voip subscribe.............................................................................................. 173 6.12.16 show voip tdm ....................................................................................................... 174

7 Clear Commands ............................................................................................ 175

7.1 clear alarms-history ..............................................................................................175 7.2 clear counters.......................................................................................................175 7.3 clear data..............................................................................................................177 7.4 clear debug-file.....................................................................................................178 7.5 clear ip..................................................................................................................178 7.6 clear ipv6 ..............................................................................................................179 7.7 clear l2tp-server....................................................................................................180 7.8 clear pptp-server ..................................................................................................180 7.9 clear qos counters ................................................................................................181 7.10 clear storage-history.............................................................................................181 7.11 clear system .........................................................................................................182 7.12 clear system-log ...................................................................................................182 7.13 clear user..............................................................................................................183 7.14 clear voip ..............................................................................................................184

7.14.1 clear voip calls....................................................................................................... 184 7.14.2 clear voip ids blacklist ........................................................................................... 185 7.14.3 clear voip register db sbc ...................................................................................... 185 7.14.4 clear voip statistics ................................................................................................ 186

8 General Root Commands .............................................................................. 187

8.1 admin....................................................................................................................187 8.1.1 admin register|unregister ...................................................................................... 187 8.1.2 admin state............................................................................................................ 188 8.1.3 admin streaming.................................................................................................... 189

8.2 copy......................................................................................................................190 8.3 dir .........................................................................................................................193 8.4 erase ....................................................................................................................194 8.5 ethernet ................................................................................................................195 8.6 nslookup ...............................................................................................................196 8.7 output-format ........................................................................................................197 8.8 ping.......................................................................................................................198 8.9 pstn nfas-group-switch-activity .............................................................................200 8.10 reload ...................................................................................................................200 8.11 run-startup-script ..................................................................................................201 8.12 srd-view ................................................................................................................201

Reference Guide

6

Document #: LTRT-17939

Reference Guide

Contents

8.13 telnet.....................................................................................................................202 8.14 traceroute .............................................................................................................203 8.15 undebug ...............................................................................................................204 8.16 usb........................................................................................................................205 8.17 write......................................................................................................................205 8.18 write-and-backup..................................................................................................206

System-Level Commands .................................................................................... 207

9 Introduction..................................................................................................... 209 10 automatic-update............................................................................................ 211

10.1 Files......................................................................................................................212 10.2 http-user-agent .....................................................................................................214 10.3 template-files-list ..................................................................................................214 10.4 template-url ..........................................................................................................215

11 cli-settings....................................................................................................... 217 12 clock ................................................................................................................ 219 13 configuration-version..................................................................................... 221 14 cwmp ............................................................................................................... 223 15 feature-key ...................................................................................................... 225 16 floating-license ............................................................................................... 227 17 http-services ................................................................................................... 229

17.1 http-remote-services.............................................................................................230 17.1.1 http-remote-hosts .................................................................................................. 231

18 ldap .................................................................................................................. 233

18.1 ldap ldap-configuration .........................................................................................233 18.1.1 ldap ldap-servers-search-dns ............................................................................... 234 18.1.2 ldap mgmt-ldap-groups ......................................................................................... 235

18.2 ldap ldap-server-groups .......................................................................................236 18.3 ldap settings .........................................................................................................237

19 mgmt-access-list ............................................................................................ 239 20 mgmt-auth ....................................................................................................... 241 21 ntp .................................................................................................................... 243 22 packetsmart .................................................................................................... 245 23 performance-profile........................................................................................ 247 24 radius............................................................................................................... 249

24.1 radius servers.......................................................................................................249 24.2 radius settings ......................................................................................................249

25 snmp ................................................................................................................ 251

25.1 snmp settings .......................................................................................................251

Version 7.2

7

Mediant MSBR

Command-Line Interface

25.2 snmp trap .............................................................................................................252 25.3 snmp trap-destination...........................................................................................253 25.4 snmp v3-users......................................................................................................254

26 user .................................................................................................................. 255 27 web .................................................................................................................. 257 28 welcome-msg.................................................................................................. 259

Troubleshoot-Level Commands .......................................................................... 261

29 Introduction..................................................................................................... 263 30 activity-log ...................................................................................................... 265 31 activity-trap ..................................................................................................... 267 32 cdr .................................................................................................................... 269

32.1 cdr-format .............................................................................................................270 32.1.1 gw-cdr-format ........................................................................................................ 270 32.1.2 sb-cdr-format......................................................................................................... 271 32.1.3 show-title ............................................................................................................... 272

33 fax-debug ........................................................................................................ 273 34 logging ............................................................................................................ 275

34.1 logging-filters ........................................................................................................275 34.2 settings .................................................................................................................276

35 pstn-debug ...................................................................................................... 277 36 syslog .............................................................................................................. 279 37 test-call ............................................................................................................ 281

37.1 settings .................................................................................................................281 37.2 test-call-table ........................................................................................................281

Network-Level Commands ................................................................................... 283

38 Introduction..................................................................................................... 285 39 access-list ....................................................................................................... 287 40 bind vrf ............................................................................................................ 289 41 dhcp-server ..................................................................................................... 291

41.1 dhcp-server delete-client ......................................................................................291 41.2 dhcp-server option................................................................................................292 41.3 dhcp-server server ...............................................................................................293 41.4 dhcp-server static-ip .............................................................................................295 41.5 dhcp-server vendor-class .....................................................................................296

42 dns ................................................................................................................... 297

42.1 dns dns-to-ip.........................................................................................................298 42.2 dns override..........................................................................................................299

Reference Guide

8

Document #: LTRT-17939

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download