CLI Reference Guide - AudioCodes

MediantTM 800 MSBG MediantTM 1000 MSBG SIP Protocol

CLI Reference Guide

For System and VoIP Functionalities

Version 6.4

January 2012 Document # LTRT-17940

CLI Reference Guide

Contents

Table of Contents

1 Introduction....................................................................................................... 11

2 Getting Started.................................................................................................. 13

2.1 Connecting to the CLI .......................................................................................... 13

2.1.1 RS-232 .................................................................................................................... 13 2.1.2 SSH ......................................................................................................................... 13 2.1.3 Telnet ...................................................................................................................... 13

2.2 CLI Structure ....................................................................................................... 14

2.2.1 Authentication ......................................................................................................... 14 2.2.2 Understanding Configuration Modes ...................................................................... 14

2.2.2.1 Basic Command Mode ............................................................................ 14

2.2.3 2.2.4 2.2.5

2.2.2.2 Enable Command Mode .......................................................................... 14 2.2.2.3 Understanding Configurations ................................................................. 15 Using CLI Shortcuts ................................................................................................ 16 Common CLI Functions .......................................................................................... 17 Understanding CLI Error Messages........................................................................ 18

3 General Commands.......................................................................................... 19

3.1 configure system.................................................................................................. 19 3.2 configure data ...................................................................................................... 20 3.3 copy (auxiliary file) ............................................................................................... 21 3.4 copy (configuration file)........................................................................................ 23 3.5 copy cli-script ....................................................................................................... 24 3.6 copy firmware ...................................................................................................... 25 3.7 Debug Commands ............................................................................................... 26

3.7.1 debug log ................................................................................................................ 26 3.7.2 debug speedtest...................................................................................................... 27 3.7.3 debug capture data physical ................................................................................... 29

3.8 dir ........................................................................................................................ 31 3.9 disable ................................................................................................................. 32 3.10 enable.................................................................................................................. 33 3.11 enable password.................................................................................................. 34 3.12 erase ................................................................................................................... 35 3.13 reload .................................................................................................................. 36 3.14 telnet.................................................................................................................... 37 3.15 username administrator ....................................................................................... 38 3.16 write ..................................................................................................................... 39 3.17 write factory ......................................................................................................... 40

4 System Commands .......................................................................................... 41

4.1 NTP ..................................................................................................................... 41 4.2 cli-terminal ........................................................................................................... 42 4.3 clock .................................................................................................................... 44

4.3.1 summer-time ........................................................................................................... 45

4.4 logging ................................................................................................................. 46 4.5 mgmt-access-list.................................................................................................. 47 4.6 radius................................................................................................................... 49 4.7 web ...................................................................................................................... 50 4.8 snmp.................................................................................................................... 51

Version 6.4

3

January 2012

System and VoIP Functionalities

4.9 snmp trap............................................................................................................. 52 4.10 snmp trap destination........................................................................................... 53 4.11 snmp v3-users ..................................................................................................... 54 4.12 tls......................................................................................................................... 55

5 VoIP Commands ............................................................................................... 57

5.1 interface............................................................................................................... 57

5.1.1 5.1.2 5.1.4 5.1.5

E1/T1, bri................................................................................................................. 57 fxs-fxo...................................................................................................................... 59 enm ......................................................................................................................... 61 debug capture voip.................................................................................................. 63

5.2 Network Interface Configuration........................................................................... 65

5.2.1 5.2.2 5.2.3 5.2.4 5.2.5 5.2.6 5.2.7 5.2.8

interface network-if.................................................................................................. 65 interface vlan ........................................................................................................... 67 application_type ...................................................................................................... 68 ip address................................................................................................................ 69 ip gateway ............................................................................................................... 70 ip name-server ........................................................................................................ 71 desc......................................................................................................................... 72 show mode.............................................................................................................. 73

5.3 routing static ........................................................................................................ 74

5.4 qos vlan-mapping ................................................................................................ 75

5.5 qos application mapping ...................................................................................... 76

5.6 coders-and-profiles coders-group ........................................................................ 77

5.7 coders-and-profiles ip-profile................................................................................ 78

5.8 coders-and-profiles tel-profile............................................................................... 80

5.9 control-network .................................................................................................... 82

5.9.1 5.9.2 5.9.3 5.9.4 5.9.5 5.9.6 5.9.7 5.9.8

NATTranslation ....................................................................................................... 82 dns Dns2Ip .............................................................................................................. 83 dns Srv2Ip ............................................................................................................... 84 ip-group ................................................................................................................... 85 proxy-ip ................................................................................................................... 86 proxy-set ................................................................................................................. 87 sip-interface............................................................................................................. 88 srd ........................................................................................................................... 89

5.10 ip-media ip-media-settings ................................................................................... 90

5.11 ldap...................................................................................................................... 91

5.12 SAS ..................................................................................................................... 92

5.12.1 stand-alone-survivability ......................................................................................... 92

5.13 sip-definition ........................................................................................................ 94

5.13.1 account.................................................................................................................... 94 5.13.2 account setting ........................................................................................................ 95 5.13.3 advanced settings ................................................................................................... 96 5.13.4 general settings....................................................................................................... 98 5.13.5 proxy and registration............................................................................................ 100

5.14 sbc..................................................................................................................... 102

5.14.1 allowed-coders-group............................................................................................ 102 5.14.2 general-setting ...................................................................................................... 103 5.14.3 manipulations ip-inbound-manipulation ................................................................ 104 5.14.4 manipulations ip-outbound-manipulation .............................................................. 105

5.15 routing ............................................................................................................... 106

5.15.1 classification .......................................................................................................... 106 5.15.2 condition-table ....................................................................................................... 107

CLI Reference Guide

4

Document #: LTRT-17940

CLI Reference Guide

Contents

5.15.3 ip2ip-routing .......................................................................................................... 108 5.15.4 sbc-alternative-routing-reasons ............................................................................ 109

5.16 gw...................................................................................................................... 110

5.16.1 advance-application .............................................................................................. 110 5.16.2 analoggw ............................................................................................................... 112

5.16.2.1 chargecode ............................................................................................ 112 5.16.2.2 fxo-setting .............................................................................................. 113 5.16.2.3 keypad-features ..................................................................................... 114 5.16.2.4 metering-tones....................................................................................... 115 5.16.3 digitalgw ................................................................................................................ 116 5.16.3.1 digital-gw-parameters ............................................................................ 116 5.16.4 dtmf-and-suppl dtmf-and-dialing ........................................................................... 118 5.16.5 dtmf-and-suppl supplementary-services ............................................................... 119 5.16.6 hunt-or-trunk-group ............................................................................................... 121 5.16.7 hunt trunk-group-setting ........................................................................................ 122 5.16.8 manipulations ........................................................................................................ 123 5.16.8.1 CauseMapIsdn2Sip ............................................................................... 123 5.16.8.2 CauseMapSip2Isdn ............................................................................... 124 5.16.8.3 NumberMapIp2Tel ................................................................................. 125 5.16.8.4 NumberMapTel2Ip ................................................................................. 126 5.16.8.5 SourceNumberMapIp2Tel ..................................................................... 127 5.16.8.6 SourceNumberMapTel2Ip ..................................................................... 128 5.16.8.7 calling-name-map-ip2tel ........................................................................ 129 5.16.8.8 calling-name-map-tel2ip ........................................................................ 130 5.16.8.9 general-setting ....................................................................................... 131 5.16.8.10 phone-context-table ............................................................................... 132 5.16.8.11redirect-number-map-ip2tel ................................................................... 133 5.16.8.12redirect-number-map-tel2ip ................................................................... 134

5.17 Configuring Voice Settings................................................................................. 135

5.17.1 media voice-processing ........................................................................................ 135

5.18 Configuring Fax/Modem..................................................................................... 137

5.18.1 media fax-modem t38 ........................................................................................... 137 5.18.2 media fax-modem V1501 ...................................................................................... 138 5.18.3 media fax-modem bypass ..................................................................................... 139

5.19 Configuring RTP/RTCP Settings ........................................................................ 140

5.19.1 media RTP-RTCP ................................................................................................. 140

5.20 Configuring IPM-Detectors Settings ................................................................... 141

5.20.1 media IPM-detectors ............................................................................................. 141

5.21 Configuring General Media Settings: ................................................................. 142

5.21.1 media general ....................................................................................................... 142

5.22 Configuring Media Realm Settings..................................................................... 143

5.22.1 media realm .......................................................................................................... 143

5.23 Configuring Media Security Settings .................................................................. 144

5.23.1 media security ....................................................................................................... 144

5.24 Configuring RTP Payload Types Settings .......................................................... 145

5.24.1 media RTP-payload-types .................................................................................... 145

5.25 Configuring QoE Settings .................................................................................. 146

5.25.1 media QoE ............................................................................................................ 146

5.26 Configuring In-band Signaling Settings .............................................................. 147

5.26.1 media in-band-signaling ........................................................................................ 147

6 Show Commands ........................................................................................... 149

6.1 show system ...................................................................................................... 149

6.1.1 show system version............................................................................................. 149

Version 6.4

5

January 2012

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

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

Google Online Preview   Download