command-line interface (cli) - audiocodes · reference guide audiocodes family of multi-service...

801
Reference Guide AudioCodes Family of Multi-Service Business Routers (MSBR) Command-Line Interface (CLI) Mediant™ MSBRs Version 7.2

Upload: others

Post on 23-Oct-2020

13 views

Category:

Documents


0 download

TRANSCRIPT

  • Reference Guide

    AudioCodes Family of Multi-Service Business Routers (MSBR)

    Command-Line Interface (CLI) Mediant™ MSBRs

    Version 7.2

  • Reference Guide Contents

    Version 7.2 3 Mediant MSBR

    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 Adding New Rows ................................................................................................... 35 3.5.2 Adding New Rows to Specific Indices..................................................................... 36 3.5.3 Changing Index Position of Rows ........................................................................... 37 3.5.4 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 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

    5.6.2 debug capture trim .................................................................................................. 59 5.6.3 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

  • Command-Line Interface

    Reference Guide 4 Document #: LTRT-17939

    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 Contents

    Version 7.2 5 Mediant MSBR

    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 show network access-list ...................................................................................... 139 6.6.2 show network arp .................................................................................................. 140 6.6.3 show network dhcp clients .................................................................................... 140 6.6.4 show network interface ......................................................................................... 140 6.6.5 show network network-dev ................................................................................... 141 6.6.6 show network nqm ................................................................................................ 141 6.6.7 show network route ............................................................................................... 142 6.6.8 show network tls .................................................................................................... 142 6.6.9 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

  • Command-Line Interface

    Reference Guide 6 Document #: LTRT-17939

    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 Contents

    Version 7.2 7 Mediant MSBR

    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

  • Command-Line Interface

    Reference Guide 8 Document #: LTRT-17939

    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 Contents

    Version 7.2 9 Mediant MSBR

    42.3 dns settings .......................................................................................................... 299 42.4 dns srv2ip ............................................................................................................. 300

    43 hostname ........................................................................................................ 301 44 http-proxy ........................................................................................................ 303

    44.1 http-proxy ems-serv .............................................................................................. 303 44.2 http-proxy http-interface ....................................................................................... 304 44.3 http-proxy http-proxy-host .................................................................................... 305 44.4 http-proxy http-proxy-serv .................................................................................... 306 44.5 http-proxy settings ................................................................................................ 307

    45 interface .......................................................................................................... 309 45.1 interface network-interface ................................................................................... 309 45.2 interface osn ......................................................................................................... 310

    46 nat-translation ................................................................................................. 311 47 network-dev .................................................................................................... 313 48 network-settings ............................................................................................. 315 49 nqm .................................................................................................................. 317

    49.1 nqm probing-table ................................................................................................ 317 49.2 nqm responder-table ............................................................................................ 318 49.3 nqm sender-table ................................................................................................. 319

    50 poe-table ......................................................................................................... 321 51 qos ................................................................................................................... 323

    51.1 qos vlan-mapping ................................................................................................. 323 51.2 qos application-mapping ...................................................................................... 324

    52 security-settings ............................................................................................. 325 53 static ................................................................................................................ 327 54 tftp-server ........................................................................................................ 329 55 tls ..................................................................................................................... 331

    55.1 certificate .............................................................................................................. 332 55.2 private-key ............................................................................................................ 333 55.3 trusted-root ........................................................................................................... 334

    VoIP-Level Commands ......................................................................................... 335

    56 Introduction ..................................................................................................... 337 57 application....................................................................................................... 339 58 coders-and-profiles ........................................................................................ 341

    58.1 allowed-audio-coders-groups ............................................................................... 341 58.1.1 allowed-audio-coders ............................................................................................ 342

    58.2 allowed-video-coders ........................................................................................... 342 58.2.1 allowed-video-coders-groups ................................................................................ 343

  • Command-Line Interface

    Reference Guide 10 Document #: LTRT-17939

    58.3 audio-coders-groups ............................................................................................ 343 58.3.1 audio-coders ......................................................................................................... 344

    58.4 ip-profile ................................................................................................................ 345 58.5 tel-profile ............................................................................................................... 350

    59 gateway ........................................................................................................... 353 59.1 advanced .............................................................................................................. 353 59.2 analog ................................................................................................................... 354

    59.2.1 authentication ........................................................................................................ 354 59.2.2 automatic-dialing ................................................................................................... 355 59.2.3 call-forward ............................................................................................................ 356 59.2.4 call-waiting ............................................................................................................ 356 59.2.5 caller-display-info .................................................................................................. 357 59.2.6 charge-code .......................................................................................................... 358 59.2.7 enable-caller-id ...................................................................................................... 358 59.2.8 enable-did ............................................................................................................. 359 59.2.9 fxo-setting .............................................................................................................. 360 59.2.10 fxs-setting .............................................................................................................. 361 59.2.11 keypad-features .................................................................................................... 362 59.2.12 metering-tones ...................................................................................................... 363 59.2.13 reject-anonymous-calls ......................................................................................... 364 59.2.14 tone-index ............................................................................................................. 364

    59.3 digital .................................................................................................................... 365 59.3.1 rp-network-domains .............................................................................................. 365 59.3.2 settings .................................................................................................................. 366

    59.4 dtmf-supp-service ................................................................................................. 371 59.4.1 dtmf-and-dialing .................................................................................................... 371 59.4.2 isdn-supp-serv ....................................................................................................... 373 59.4.3 supp-service-settings ............................................................................................ 374

    59.5 manipulation ......................................................................................................... 376 59.5.1 calling-name-map-ip2tel ........................................................................................ 377 59.5.2 calling-name-map-tel2ip ........................................................................................ 378 59.5.3 cause-map-isdn2isdn ............................................................................................ 379 59.5.4 cause-map-isdn2sip .............................................................................................. 379 59.5.5 cause-map-sip2isdn .............................................................................................. 380 59.5.6 dst-number-map-ip2tel .......................................................................................... 381 59.5.7 dst-number-map-tel2ip .......................................................................................... 382 59.5.8 phone-context-table .............................................................................................. 382 59.5.9 redirect-number-map-ip2tel ................................................................................... 383 59.5.10 redirect-number-map-tel2ip ................................................................................... 384 59.5.11 settings .................................................................................................................. 385 59.5.12 src-number-map-ip2tel .......................................................................................... 386 59.5.13 src-number-map-tel2ip .......................................................................................... 388

    59.6 routing .................................................................................................................. 389 59.6.1 alt-route-cause-ip2tel ............................................................................................ 389 59.6.2 alt-route-cause-tel2ip ............................................................................................ 390 59.6.3 fwd-on-bsy-trk-dst ................................................................................................. 390 59.6.4 gw-routing-policy ................................................................................................... 391 59.6.5 ip2tel-routing ......................................................................................................... 392 59.6.6 settings .................................................................................................................. 393 59.6.7 tel2ip-routing ......................................................................................................... 394

    59.7 settings ................................................................................................................. 395 59.8 trunk-group ........................................................................................................... 396 59.9 trunk-group-setting ............................................................................................... 396 59.10 voice-mail-setting ................................................................................................. 398

  • Reference Guide Contents

    Version 7.2 11 Mediant MSBR

    60 ids .................................................................................................................... 401 60.1 match .................................................................................................................... 401 60.2 policy .................................................................................................................... 402

    60.2.1 rule ........................................................................................................................ 402

    61 interface .......................................................................................................... 405 61.1 bri ......................................................................................................................... 405 61.2 e1-t1 ..................................................................................................................... 406 61.3 fxs-fxo ................................................................................................................... 409

    62 ip-group ........................................................................................................... 411 63 media ............................................................................................................... 415

    63.1 fax-modem ........................................................................................................... 415 63.2 ipmedia ................................................................................................................. 417 63.3 rtp-rtcp .................................................................................................................. 418 63.4 security ................................................................................................................. 420 63.5 settings ................................................................................................................. 421 63.6 tdm ....................................................................................................................... 422 63.7 voice ..................................................................................................................... 423

    64 message .......................................................................................................... 425 64.1 call-setup-rules ..................................................................................................... 425 64.2 message-manipulations ....................................................................................... 426 64.3 message-policy .................................................................................................... 427 64.4 pre-parsing-manip-sets ........................................................................................ 429

    64.4.1 pre-parsing-manip-rules ........................................................................................ 429

    65 proxy-set ......................................................................................................... 431 65.1 proxy-ip ................................................................................................................. 432

    66 qoe ................................................................................................................... 435 66.1 bw-profile .............................................................................................................. 435 66.2 call-flow-report ...................................................................................................... 436 66.3 qoe-profile ............................................................................................................ 437

    66.3.1 qoe-color-rules ...................................................................................................... 437 66.4 quality-of-service-rules ......................................................................................... 438 66.5 settings ................................................................................................................. 439

    67 realm ................................................................................................................ 441 67.1 realm-extension .................................................................................................... 443 67.2 remote-media-subnet ........................................................................................... 444

    68 sbc ................................................................................................................... 445 68.1 classification ......................................................................................................... 445 68.2 dial-plan ................................................................................................................ 446

    68.2.1 dial-plan-rule ......................................................................................................... 447 68.3 external-media-source .......................................................................................... 448 68.4 malicious-signature-database .............................................................................. 448 68.5 manipulation ......................................................................................................... 449

  • Command-Line Interface

    Reference Guide 12 Document #: LTRT-17939

    68.5.1 ip-inbound-manipulation ........................................................................................ 449 68.5.2 ip-outbound-manipulation ..................................................................................... 451

    68.6 routing .................................................................................................................. 452 68.6.1 condition-table ....................................................................................................... 453 68.6.2 ip-group-set ........................................................................................................... 453

    68.6.2.1 ip-group-set-member ............................................................................. 454 68.6.3 ip2ip-routing .......................................................................................................... 455 68.6.4 sbc-alt-routing-reasons ......................................................................................... 457 68.6.5 sbc-routing-policy .................................................................................................. 458

    68.7 cac-profile ............................................................................................................. 459 68.7.1 cac-rule ................................................................................................................. 459

    68.8 settings ................................................................................................................. 460

    69 sip-definition ................................................................................................... 465 69.1 account ................................................................................................................. 465 69.2 least-cost-routing cost-group ................................................................................ 466

    69.2.1 cost-group-time-bands .......................................................................................... 467 69.3 proxy-and-registration .......................................................................................... 468

    69.3.1 user-info ................................................................................................................ 470 69.4 settings ................................................................................................................. 471 69.5 sip-recording ......................................................................................................... 478

    69.5.1 settings .................................................................................................................. 479 69.5.2 sip-rec-routing ....................................................................................................... 479

    70 sip-interface .................................................................................................... 481 71 srd .................................................................................................................... 483

    Data-Router Level Commands ............................................................................. 485

    72 Introduction ..................................................................................................... 487 73 WAN Access Commands ............................................................................... 489

    73.1 General WAN Commands .................................................................................... 489 73.1.1 interface ................................................................................................................ 489

    73.1.1.1 interface vti ............................................................................................ 491 73.1.1.2 interface vlan ......................................................................................... 491 73.1.1.3 interface t1 ............................................................................................. 492 73.1.1.4 interface serial ....................................................................................... 492 73.1.1.5 interface loopback ................................................................................. 493 73.1.1.6 interface multilink ................................................................................... 493 73.1.1.7 interface gpon ........................................................................................ 494 73.1.1.8 interface gigabitethernet ........................................................................ 494 73.1.1.9 interface fastethernet ............................................................................. 495 73.1.1.10 interface efm .......................................................................................... 495 73.1.1.11 interface e1 ............................................................................................ 496 73.1.1.12 interface bvi ........................................................................................... 496 73.1.1.13 interface pppoe ...................................................................................... 497

    73.1.2 ip address .............................................................................................................. 498 73.1.3 vrrp ........................................................................................................................ 498 73.1.4 description ............................................................................................................. 499 73.1.5 duplex .................................................................................................................... 500 73.1.6 bind ....................................................................................................................... 500

    73.2 Cellular 3G Modem Configuration Commands ..................................................... 502 73.2.1 interface cellular 0/0 .............................................................................................. 502

  • Reference Guide Contents

    Version 7.2 13 Mediant MSBR

    73.2.2 ppp authentication ................................................................................................. 502 73.2.3 apn ........................................................................................................................ 503 73.2.4 phone .................................................................................................................... 503 73.2.5 initstr ...................................................................................................................... 504 73.2.6 tty .......................................................................................................................... 504 73.2.7 pin ......................................................................................................................... 505 73.2.8 pcui ........................................................................................................................ 506 73.2.9 adv ........................................................................................................................ 506

    73.2.9.1 hdlc ........................................................................................................ 506 73.2.9.2 modem-details ....................................................................................... 507 73.2.9.3 option ..................................................................................................... 508 73.2.9.4 usb-modeswitch ..................................................................................... 509

    73.2.10 backup monitoring ................................................................................................. 510 73.2.11 sms ........................................................................................................................ 511

    73.3 ADSL/VDSL Commands ...................................................................................... 512 73.3.1 interface dsl 0/0 ..................................................................................................... 512 73.3.2 Fiber Optic Commands ......................................................................................... 513 73.3.3 interface fiber ........................................................................................................ 513

    73.4 SHDSL Commands .............................................................................................. 514 73.4.1 interface SHDSL 0/0 ............................................................................................. 514 73.4.2 mode ..................................................................................................................... 515 73.4.3 group ..................................................................................................................... 515 73.4.4 pairs ...................................................................................................................... 516 73.4.5 termination ............................................................................................................ 516 73.4.6 linerate .................................................................................................................. 517 73.4.7 annex .................................................................................................................... 518 73.4.8 interface atm ......................................................................................................... 518 73.4.9 pvc ......................................................................................................................... 519 73.4.10 encapsulation ........................................................................................................ 520 73.4.11 ubr / cbr / vbr ......................................................................................................... 521 73.4.12 ppp user ................................................................................................................ 522 73.4.13 T1 WAN Commands ............................................................................................. 523 73.4.14 T1 Physical Interfaces ........................................................................................... 523

    73.4.14.1 channel-group ........................................................................................ 523 73.4.14.2 clock-source ........................................................................................... 524 73.4.14.3 framing-method ...................................................................................... 524 73.4.14.4 line-code ................................................................................................ 525 73.4.14.5 line-buildout-loss .................................................................................... 525 73.4.14.6 max-cable-loss ....................................................................................... 526 73.4.14.7 loopback ................................................................................................ 526 73.4.14.8 ber-test ................................................................................................... 527

    73.4.15 Serial Interfaces .................................................................................................... 529 73.4.15.1 serial-protocol ........................................................................................ 529 73.4.15.2 ip address (HDLC over T1) .................................................................... 530 73.4.15.3 ip dns-server (HDLC over T1) ............................................................... 530 73.4.15.4 ip mtu (HDLC over T1) .......................................................................... 531 73.4.15.5 ip address (PPP over T1) ...................................................................... 531 73.4.15.6 ip dns-server (PPP over T1) .................................................................. 532 73.4.15.7 ip mtu (PPP over T1) ............................................................................. 533 73.4.15.8 authentication chap (PPP/MLP over T1) ............................................... 533 73.4.15.9 authentication pap (PPP/MLP over T1) ................................................. 534 73.4.15.10 authentication ms-chap (PPP/MLP over T1) ................................... 534 73.4.15.11 authentication ms-chap2 (PPP/MLP over T1) ................................. 535 73.4.15.12 authentication username (PPP/MLP over T1) ................................. 535 73.4.15.13 authentication password (PPP/MLP over T1) .................................. 536 73.4.15.14 multilink bundle-id (MLP over T1) .................................................... 537

    73.4.16 Multilink Interfaces (MLP over T1 WAN) ............................................................... 538 73.4.16.1 napt ........................................................................................................ 538 73.4.16.2 ppp bundle-id ......................................................................................... 538

  • Command-Line Interface

    Reference Guide 14 Document #: LTRT-17939

    73.4.16.3 ppp fragments-enable ............................................................................ 539 73.4.16.4 ppp mrru ................................................................................................ 539 73.4.16.5 ip address .............................................................................................. 540 73.4.16.6 ip dns-server .......................................................................................... 541

    73.5 Backup Group Commands ................................................................................... 542 73.5.1 backup-group ........................................................................................................ 542 73.5.2 backup monitoring group ...................................................................................... 543

    74 Layer-2 (LAN) Commands ............................................................................. 545 74.1 Wi-Fi Commands .................................................................................................. 545

    74.1.1 radio shutdown ...................................................................................................... 545 74.2 Data Services Commands .................................................................................... 546

    74.2.1 DNS Server ........................................................................................................... 546 74.2.1.1 ip dns server .......................................................................................... 546 74.2.1.2 ip host .................................................................................................... 547 74.2.1.3 ip flow-export ......................................................................................... 548 74.2.1.4 ip fastpath .............................................................................................. 549 74.2.1.5 dns-view ................................................................................................. 550 74.2.1.6 set server address ................................................................................. 550 74.2.1.7 match source-address ........................................................................... 551 74.2.1.8 set server interface ................................................................................ 551 74.2.1.9 ip name-server ....................................................................................... 552 74.2.1.10 ip max-conn ........................................................................................... 553

    74.2.2 DHCP Server ........................................................................................................ 554 74.2.2.1 ip dhcp-server ........................................................................................ 554 74.2.2.2 option ..................................................................................................... 557 74.2.2.3 service dhcp ........................................................................................... 559

    74.2.3 DHCP Client .......................................................................................................... 560 74.2.3.1 ip address dhcp ..................................................................................... 560 74.2.3.2 ip dhcp-client class-id ............................................................................ 560 74.2.3.3 ip dhcp-client default-route .................................................................... 561 74.2.3.4 ip dhcp-source-address ......................................................................... 562 74.2.3.5 ip dhcp pool ........................................................................................... 563 74.2.3.6 service dhcp ........................................................................................... 574

    74.2.4 shutdown ............................................................................................................... 574 74.2.5 mtu ........................................................................................................................ 575 74.2.6 mss ........................................................................................................................ 575

    74.2.6.1 ip tcp adjust-mss .................................................................................... 576 74.2.7 speed .................................................................................................................... 577 74.2.8 Switch Port Interface Commands ......................................................................... 578

    74.2.8.1 switchport mode ..................................................................................... 578 74.2.8.2 switchport access vlan ........................................................................... 578 74.2.8.3 switchport trunk allowed vlan ................................................................. 579 74.2.8.4 switchport trunk native vlan ................................................................... 580

    74.2.9 network .................................................................................................................. 581 74.2.10 IP Destination Reachability ................................................................................... 582

    74.2.10.1 track ....................................................................................................... 582 74.2.10.2 bfd neighbor ........................................................................................... 584

    74.2.11 ip reassembly ........................................................................................................ 585 74.2.12 service tcp keepalives ........................................................................................... 586 74.2.13 ip dns randomization ............................................................................................. 587

    74.3 Port Monitoring Commands .................................................................................. 588 74.3.1 port-monitor ........................................................................................................... 588

    74.4 Spanning Tree Commands .................................................................................. 589 74.4.1 Spanning Tree General Commands ..................................................................... 589

    74.4.1.1 spanning-tree ......................................................................................... 589 74.4.1.2 spanning-tree priority ............................................................................. 589

  • Reference Guide Contents

    Version 7.2 15 Mediant MSBR

    74.4.1.3 spanning-tree hello-time ........................................................................ 590 74.4.1.4 spanning-tree max-age .......................................................................... 590 74.4.1.5 spanning-tree forward-delay .................................................................. 591

    74.4.2 Spanning Tree Interface Commands .................................................................... 592 74.4.2.1 spanning-tree ......................................................................................... 592 74.4.2.2 spanning-tree priority ............................................................................. 592 74.4.2.3 spanning-tree cost ................................................................................. 593 74.4.2.4 spanning-tree edge ................................................................................ 594 74.4.2.5 spanning-tree point-to-point ................................................................... 594

    74.5 LLDP and LLDP-MED Commands ....................................................................... 596 74.5.1 lldp run .................................................................................................................. 596 74.5.2 lldp holdtime .......................................................................................................... 596 74.5.3 lldp location ........................................................................................................... 597 74.5.4 lldp network-policy................................................................................................. 597 74.5.5 lldp timer ................................................................................................................ 598

    75 Layer-3 Commands ........................................................................................ 599 75.1 IPv6 Commands ................................................................................................... 599

    75.1.1 ipv6 enable ............................................................................................................ 599 75.1.2 IPv6 Static Routes Commands ............................................................................. 600

    75.1.2.1 ipv6 route ............................................................................................... 600 75.1.2.2 ipv6 access-list ...................................................................................... 602

    75.1.3 Acquiring IPv6 Address from DHCPv6 Server ...................................................... 604 75.1.3.1 ipv6 address dhcp.................................................................................. 604

    75.1.4 Acquiring IPv6 Address from Router Advertisement ............................................ 605 75.1.4.1 ipv6 address autoconfig ......................................................................... 605

    75.1.5 IPv6 Router Advertisement Daemon Commands ................................................. 606 75.1.5.1 ipv6 nd managed-config-flag ................................................................ 606 75.1.5.2 ipv6 nd other-config-flag ........................................................................ 606 75.1.5.3 ipv6 nd ns-interval.................................................................................. 607 75.1.5.4 ipv6 nd reachable-time .......................................................................... 607 75.1.5.5 ipv6 nd router-preference ...................................................................... 608 75.1.5.6 ipv6 nd ra ............................................................................................... 608 75.1.5.7 ipv6 nd ra suppress ............................................................................... 609 75.1.5.8 ipv6 nd ra lifetime ................................................................................ 609 75.1.5.9 ipv6 nd ra interval ................................................................................ 610 75.1.5.10 ipv6 nd prefix ......................................................................................... 610 75.1.5.11 ipv6 nd prefix no-advertise ................................................. 611 75.1.5.12 ipv6 dhcp-server dns-server ............................................... 611

    75.1.6 interface ................................................................................................................ 612 75.1.7 QoS Commands ................................................................................................... 613

    75.1.7.1 bandwidth (queue) ................................................................................. 613 75.1.7.2 bandwidth (service-map) ....................................................................... 613 75.1.7.3 qos match-map ...................................................................................... 614 75.1.7.4 match priority ......................................................................................... 615 75.1.7.5 match precedence ................................................................................. 616 75.1.7.6 match length packet .............................................................................. 617 75.1.7.7 match length data .................................................................................. 617 75.1.7.8 match dscp ............................................................................................ 618 75.1.7.9 match any .............................................................................................. 619 75.1.7.10 match access-list ................................................................................... 620 75.1.7.11 set queue ............................................................................................... 620 75.1.7.12 qos service-map .................................................................................... 621 75.1.7.13 qos priority-retain ................................................................................... 621 75.1.7.14 set precedence ...................................................................................... 622 75.1.7.15 set dscp ................................................................................................. 623 75.1.7.16 set priority .............................................................................................. 624 75.1.7.17 policy ...................................................................................................... 625 75.1.7.18 priority .................................................................................................... 625

  • Command-Line Interface

    Reference Guide 16 Document #: LTRT-17939

    75.1.7.19 queue ..................................................................................................... 626 75.1.7.20 priority .................................................................................................... 627

    75.2 Data Routing Commands ..................................................................................... 628 75.2.1 Static Routing Commands .................................................................................... 628

    75.2.1.1 ip route ip address ................................................................................. 628 75.2.1.2 ip route source ....................................................................................... 629 75.2.1.3 ip redirects ............................................................................................. 631 75.2.1.4 ip port-triggering ..................................................................................... 631 75.2.1.5 ip port-map ............................................................................................. 632

    75.2.2 Dynamic Routing Commands ............................................................................... 634 75.2.2.1 router bgp vrf ......................................................................................... 634 75.2.2.2 ip as-path ............................................................................................... 634 75.2.2.3 ip community-list .................................................................................... 635 75.2.2.4 ip extcommunity-list standard ................................................................ 636 75.2.2.5 ip extcommunity-list vrf .......................................................................... 636 75.2.2.6 ip extcommunity-list expanded .............................................................. 638 75.2.2.7 ip pim ..................................................................................................... 638 75.2.2.8 ip prefix-list ............................................................................................. 640 75.2.2.9 ipv6 prefix-list ......................................................................................... 641 75.2.2.10 key chain ................................................................................................ 642 75.2.2.11 router-id ................................................................................................. 643 75.2.2.12 aggregate-address ................................................................................ 643 75.2.2.13 redistribute kernel .................................................................................. 644 75.2.2.14 bgp scan-time ........................................................................................ 645 75.2.2.15 bgp router-id .......................................................................................... 645 75.2.2.16 bgp log-neighbor-changes ..................................................................... 646 75.2.2.17 bgp graceful-restart ............................................................................... 646 75.2.2.18 bgp fast-external-failover ....................................................................... 647 75.2.2.19 bgp enforce-first-as ................................................................................ 647 75.2.2.20 bgp deterministic-med ........................................................................... 648 75.2.2.21 bgp default local-preference .................................................................. 648 75.2.2.22 bgp dampening ...................................................................................... 649 75.2.2.23 bgp confederation peers ........................................................................ 650 75.2.2.24 bgp confederation identifier ................................................................... 650 75.2.2.25 bgp router-id .......................................................................................... 651 75.2.2.26 bgp cluster-id ......................................................................................... 651 75.2.2.27 bgp client-to-client reflection .................................................................. 652 75.2.2.28 bgp bestpath as-path ............................................................................. 652 75.2.2.29 bgp bestpath compare-routerid ............................................................. 653 75.2.2.30 bgp bestpath med confed ...................................................................... 653 75.2.2.31 bgp bestpath med missing-as-worst ...................................................... 654 75.2.2.32 bgp always-compare-med ..................................................................... 654 75.2.2.33 distance ................................................................................................. 655 75.2.2.34 distance bgp .......................................................................................... 655 75.2.2.35 redistribute static .................................................................................... 656 75.2.2.36 redistribute connected ........................................................................... 656 75.2.2.37 redistribute ospf ..................................................................................... 657 75.2.2.38 neighbor remote-as ............................................................................... 657 75.2.2.39 neighbor shutdown ................................................................................ 658 75.2.2.40 neighbor enforce-multihop ..................................................................... 659 75.2.2.41 neighbor dont-capability-negotiate ........................................................ 659 75.2.2.42 neighbor disable-connected-check ........................................................ 660 75.2.2.43 neighbor ebgp-multihop ......................................................................... 660 75.2.2.44 neighbor description .............................................................................. 661 75.2.2.45 neighbor version .................................................................................... 661 75.2.2.46 neighbor interface ifname ...................................................................... 662 75.2.2.47 neighbor next-hop-self ........................................................................... 663 75.2.2.48 neighbor update-source ......................................................................... 663 75.2.2.49 neighbor unsuppress-map ..................................................................... 664

  • Reference Guide Contents

    Version 7.2 17 Mediant MSBR

    75.2.2.50 neighbor transparent-nexthop ............................................................... 665 75.2.2.51 neighbor transparent-as ........................................................................ 665 75.2.2.52 neighbor timers ...................................................................................... 666 75.2.2.53 neighbor soft-reconfiguration inbound ................................................... 667 75.2.2.54 neighbor default-originate ...................................................................... 667 75.2.2.55 neighbor capability route-refresh ........................................................... 668 75.2.2.56 neighbor port .......................................................................................... 669 75.2.2.57 neighbor send-community ..................................................................... 669 75.2.2.58 neighbor route-server-client .................................................................. 670 75.2.2.59 neighbor route-reflector-client ............................................................... 670 75.2.2.60 neighbor remove-private-AS ................................................................. 671 75.2.2.61 neighbor weight ..................................................................................... 671 75.2.2.62 neighbor passive.................................................................................... 672 75.2.2.63 neighbor password ................................................................................ 673 75.2.2.64 neighbor override-capability .................................................................. 673 75.2.2.65 neighbor maximum-prefix ...................................................................... 674 75.2.2.66 neighbor route-map name ..................................................................... 674 75.2.2.67 neighbor peer-group .............................................................................. 675 75.2.2.68 neighbor local-as ................................................................................... 676 75.2.2.69 neighbor interface .................................................................................. 676 75.2.2.70 neighbor strict-capability-match ............................................................. 678 75.2.2.71 neighbor attribute-unchanged ................................................................ 678 75.2.2.72 neighbor allowas-in ................................................................................ 679 75.2.2.73 neighbor advertisement-interval ............................................................ 680 75.2.2.74 neighbor activate .............................................................