LTRT 31617 Mediant MSBR Basic System Setup Cli Configuration Guide Ver 72
LTRT 31617 Mediant MSBR Basic System Setup Cli Configuration Guide Ver 72
Mediant MSBR
Basic System Setup through CLI
Version 7.2
Version 6.8
Document # LTRT-31607
Configuration Guide Contents
Table of Contents
1 Introduction...................................................................................................................... 9
2 CLI Management Interface ......................................................................................... 11
2.1 Examples ..................................................................................................................14
2.1.1 Accessing the MSBR ....................................................................................... 14
2.1.2 Using the "do" Command ................................................................................. 14
2.1.3 Accessing the Data Configuration Mode ............................................................ 14
2.1.4 Exiting the Data Configuration Mode ................................................................. 14
2.1.5 Accessing the MSBR through WAN Port ........................................................... 15
5 NetFlow ........................................................................................................................... 25
5.1 CLI Commands .........................................................................................................25
5.2 Examples ..................................................................................................................25
6 Copy Methods ............................................................................................................... 27
6.1 CLI Commands .........................................................................................................27
6.2 Examples ..................................................................................................................28
6.2.1 Copying Firmware from TFTP Server ................................................................ 28
6.2.2 Copying Configuration from HTTP Server.......................................................... 28
6.2.3 Using Startup-Script ......................................................................................... 29
6.2.4 Export Device Configuration ............................................................................. 29
7 USB Functionality ........................................................................................................ 31
7.1 USB Commands .......................................................................................................31
7.2 USB Auto-Run ..........................................................................................................31
7.3 Examples of USB Commands ..................................................................................31
7.4 Examples of USB Auto-Run .....................................................................................32
8 Upgrading the MSBR................................................................................................... 35
8.1 Upgrading the MSBR via CLI ...................................................................................35
8.2 Example ....................................................................................................................35
8.3 Upgrading from Version 6.6......................................................................................35
8.4 Example ....................................................................................................................36
9 Automatic Update......................................................................................................... 37
9.1 Example ....................................................................................................................38
18 Syslog.............................................................................................................................. 67
18.1 Examples ..................................................................................................................67
21 PacketSmart................................................................................................................... 81
21.1 Configuring the Device for PacketSmart ..................................................................83
21.1.1 Configuring the PacketSmart Agent through CLI ................................................ 83
21.1.2 Viewing PacketSmart Statistics......................................................................... 84
Notice
Information contained in this document is believed to be accurate and reliable at the time of
printing. However, due to ongoing product improvements and revisions, AudioCodes cannot
guarantee accuracy of printed material after the Date Published nor can it accept responsibility
for errors or omissions. Before consulting this document, check the corresponding Release
Notes regarding feature preconditions and/or specific support in this release. In cases where
there are discrepancies between this document and the Release Notes, the information in the
Release Notes supersedes that in this document. Updates to this document and other
documents as well as software files can be downloaded by registered customers at
http://www.audiocodes.com/downloads.
This document is subject to change without notice.
Date Published: October-22-2017
WEEE EU Directive
Pursuant to the WEEE EU Directive, electronic and electrical waste must not be disposed
of with unsorted waste. Please contact your local recycling authority for disposal of this
product.
Customer Support
Customer technical support and services are provided by AudioCodes or by an authorized
AudioCodes Service Partner. For more information on how to buy technical support for
AudioCodes products and for contact information, please visit our Web site at
www.audiocodes.com/support.
LTRT Description
Documentation Feedback
AudioCodes continually strives to produce high quality documentation. If you have any
comments (suggestions or errors) regarding this document, please fill out the
Documentation Feedback form on our Web site at http://www.audiocodes.com/downloads.
1 Introduction
This document describes the configuration of the system functionality of AudioCodes
Mediant Multi-Service Business Routers (MSBR), using the command-line interface (CLI).
The document describes many of the administration aspects of the MSBR such as CLI
management, SNMP management, uploading and downloading of software files to and
from remote servers (such as HTTPS and an attached USB device), clock features,
management access authorization, authentication and accounting, password recovery
process, configuration reload, packet capturing and many others.
The document describes the CLI commands required for configuring each aspect including
typical configuration examples. The document also describes the configuration of third-
party applications (such as RADIUS server) where necessary.
Command Description
Enable Enters the Enabled mode
Exit When in the Basic or Enabled mode, the command exits the CLI and the CLI
awaits for the username to be entered again.
Leaves the current command-set and returns one level up.
Quit While in the Basic or Enabled mode, the command exits the CLI and the CLI
awaits for the username to be entered again.
To improve the work of the network administrator, the CLI allows the use of the following
keyboard shortcuts:
Up arrow Re-displays the previously entered command. If you continue pressing the up
arrow key, it will cycle through all the previously entered commands, starting
with the most recent.
Tab Pressing the Tab key after entering a partial (but unique) command completes
the command, displays it on the command prompt line, and waits for further
input.
Pressing the Tab key after entering a partial and non-unique command displays
all completing options.
? Displays a list of all subcommands in the current mode.
Displays a list of available commands beginning with certain letter(s).
Obtains syntax help for the commands.
Displays the range of values and a brief description of the next parameter
expected for that particular command.
If there is a command that can be invoked (all its arguments are inserted),
using the question mark at its end displays "<cr>".
CTRL + A Jumps to the beginning of the displayed command line.
CTRL + E Jumps to the end of the displayed command line.
CTRL + U Clears the current displayed command line.
CTRL + Z Returns to the Enabled mode prompt "#".
If sufficient letters are entered to identify a command, the auto-finish function of the CLI
identifies the command and there is no need to write the entire command. For example,
instead of typing the entire command "enable", you can simply type "en".
To access the MSBR, Use the default username and password, as listed in the following
table:
Username Admin
Password Admin
Enable password Admin
CLI management of the MSBR is available using SSH, Telnet or the console. To access
the console port, use the following RS-232 terminal emulation configuration for any
terminal client (e.g., PuTTY, Tera Term, and HyperTerminal):
115200 Baud rate
8 Data bits
No parity
1 Stop bits
No flow control
By default, Telnet access to the management interface is allowed. Use any Telnet client
(such as Telnet or PuTTY) to access the MSBR. The default MSBR address is
192.168.0.1.
By default, SSH access to the management interface is disabled. Use the following
commands to enable or disable SSH or Telnet access to the MSBR:
Command Description
# configure system Enters system configuration level.
(config-system)# cli- Enters cli-terminal configuration level.
terminal
(config-system)# set Enables Telnet to the MSBR.
telnet enable
(config-system)# set Disables Telnet to the MSBR.
telnet disable
(config-system)# set Enables SSH to the MSBR.
ssh on
(config-system)# set Disables SSH to the MSBR.
ssh off
By default, the device administration through the WAN port is disabled. Use the following
command to enable device administration through the WAN port:
Command Description
set wan- Enables Telnet to the MSBR through the WAN port.
telnet-allow
Command Description
do Executes commands in the Enable mode without the need to exit the current
command set.
no Undoes an issued command or disables a feature.
list Displays a list of the available command(s) of the current command set.
history Displays a list of previously run commands.
exit Leaves the current command set and returns one level up.
The configuration of the device is divided into five configuration set levels:
System: Contains the general and system oriented configuration command of the
MSBR
VoIP: Contains VoIP-oriented configuration commands.
Data: Contains all configuration tasks relating to the data entity of the MSBR.
Network: VoIP Network configuration commands.
Troubleshoot: Troubleshooting oriented commands.
The following commands enter these different configuration levels:
Command Description
2.1 Examples
Username: Admin
Password: *****
MSBR> ena
Password: *****
MSBR#
configure voip
coders-and-profiles coders-group-0set p-time 20
activate
exit
interface network-if 0
MSBR(config-data)#
MSBR#
The module slot number also depends on the MSBR assembly; however some of the slot
numbers are always fixed for the same module types. The following table describes the
module types and the numbers assigned to the ports:
WAN 0
LAN 1,4,5
VOICE 2,3
The port numbers are assigned to ports according to the number of ports in each module.
To view the modules installed in the MSBR, use the following command:
Command Description
show system assembly Displays installed modules and port types.
3.1 Examples
MSBR#
The output of the show system assembly command displays every slot, port and module type
of the ports installed on the MSBR. The "Slot No." column displays the slot number of a
port; the "Ports" column displays the port number; the "Module Type" displays the port
type.
4 SNMP Management
The MSBR supports Simple Network Management Protocol (SNMP) for configuration and
management. The MSBR supports SNMPv2c and SNMPv3 for access and for sending
traps.
The SNMP engine – the process which responds to SNMP requests and sends SNMP
traps – runs on the VoIP CPU. Therefore, SNMP requests need to be sent to the VoIP
CPU.
4.1 SNMPV2C
To configure SNMPv2 read-only access to the MSBR, use the following commands:
Command Description
Command Description
(snmp)# rw-community-string Sets the read-write community string with the index 0 to "rw-
0 rw-P@ssw0rd P@ssw0rd". The index can be a value from 0 to 4 and
therefore, there can be only five read-write community
strings.
4.2 SNMPV3
To configure SNMPv3, use the following commands:
Command Description
MSBR# configure system Enters the System configuration level.
(config-system)# snmp v3- Enters the configuration level of an SNMPv3 user with the
users 0 index 0. If a user with index 0 does not exist, a new user at
index 0 will be created. If a user with index 0 does exist, this
user configuration will be modified.
Use new instead of an index number, and a new user will
be created at the first available index.
Use display instead of the index number and users
configuration will be displayed.
(v3-users-0)# set username Sets the SNMPv3 username to "Tim".
Command Description
(v3-users-0)# auth-protocol Sets the authentication protocol for the user to sha-1. Other
sha-1 options include md-5 and none for not using authentication.
(v3-users-0)# auth-key Sets the authentication key to "P@ssw0rd".
P@ssw0rd
(v3-users-0)# group read- Assigns the user to the read-write group. Other options are
write to assign the user to the read-only group and to the trap
group. Assignment of the user to the trap group is described
in the SNMPv3 traps section.
To emphases the encryption of the SNMPv3 packets, see the below captured SNMPv3
packet. The packet is an MSBR response to SNMPv3 Get of the system location MIB
value. The next captured packet shows the NoAuth-NoPriv operation mode. The MIB value
is sent unencrypted.
Figure 4-1: SNMP Packet in NoAuth-NoPriv mode
The screenshot below displays a captured packed using the AuthPriv mode. The MIB value
is sent encrypted.
Command Description
(snmp)# sys-name "AudioCodes" Sets system name.
(snmp)# sys-location Sets system location. The brackets are required if
"AudioCodes main office" spaces are used.
(snmp)# sys-contact "AudioCodes Sets the system contact.
Inc"
(snmp)# wan-snmp-allow on Allows SNMP access on the WAN interface.
(snmp)# port 2162 Sets the MSBR to use port 2162 for SNMP.
(snmp)# snmp-acl community- Sets ACL called snmp-acl for RO community
string P@ssw0rd ro snmp-acl P@ssw0rd. It is recommended to use either the snmp-
acl command or trusted-managers command, but
not both.
(snmp)# trusted-managers 0 Allows the IP address of 192.168.0.3 to access the
192.168.0.3 SNMP. It is recommended to use either the snmp-acl
command or trusted-managers command, not both
of them.
(snmp)# sys-oid <string> Changes the system OID value.
(snmp)# engine-id <Engine ID> Changes the engine ID value for SNMPv3.
Command Description
MSBR# configure system Enters the System configuration level.
(config-system)# snmp trap Accesses the SNMP trap configuration level.
(snmp-trap)# community-string Sets the community string for traps to "P@ssw0rd".
P@ssw0rd
(config-system)# snmp trap Sets the number of SNMP trap destinations. The 0
destination 0 represents the index, meaning the number of the
SNMP trap destination to edit. The index can be
between 0 and 4 and therefore, there can be only five
destinations for sending traps.
Use the display keyword instead of the index number
to display IP destinations configuration.
(trap-destination 0)# ip- Sets the IP address 192.168.1.3 as the trap
address 192.168.0.3 destination.
(trap-destination 0)# trap-user Enables SNMPv3 traps, assuming an SNMPv3 user
Tim called "Tim" was configured. Traps will be sent using
this user.
For SNMPv2C traps, do not configure any user. The
traps are sent using the community string configured
above.
(trap-destination 0)# send-trap Enables the sending traps from the MSBR device.
enable
4.5 Examples
MSBR(config-system)# snmp
Note: Changes to parameters will take effect when applying the
'activate' or 'exit' command
MSBR(snmp)# exit
MSBR(config-system)# exit
MSBR#
Use an SNMP MIB browser to access the MSBR to get System Name, System Location,
System Contact:
Values received
using SNMPv2C
get
Use the SNMP MIB browser to set the System Location to The Front Office:
5 NetFlow
NetFlow is a feature that provides the ability to collect IP network traffic. The NetFlow
records are generated from the firewall statistics. Since the NetFlow information is taken
from the firewall, you must activate firewall capabilities on the monitored interface.
Command Description
5.2 Examples
This example activates the firewall and NAT. The MSBR WAN IP address is obtained from
a DHCP server located on the WAN subnet.
configure data
ip flow-export enable
ip flow-export destination 10.4.40.144 2055
ip flow-export version 5 enable
ip flow-export version 9 enable
ip flow-export source-address interface GigabitEthernet 0/0
interface GigabitEthernet 0/0
ip address dhcp
mtu auto
desc "WAN Ethernet"
speed auto
duplex auto
no service dhcp
ip dns server auto
napt
firewall enable
no shutdown
exit
6 Copy Methods
The MSBR allows you to copy files using HTTP, HTTPS, TFTP and NFS.
Command Description
Copy <file> from <URL> source Copies a file from a server using HTTP, HTTPS, TFTP
[data | voip] [[interface | or NFS.
source-address | vrf] | voip]
The following files can be copied from the server using the copy command:
File Description
The voice configuration and cli-script can also be exported using the following command:
Command Description
The cli-script is the complete configuration of the MSBR. Therefore, to export the
cli-script means to export the entire device configuration.
When cli-config is copied to the MSBR, the configuration is appended to the current
device configuration. When the startup-script is copied to the device, the device
configuration is cleared, and the device resets. After the reset, the new configuration from
the startup script is applied and the device resets again.
When using the copy command, please note that the HTTP server timeout is greater than
the TFTP server timeout. Therefore, it is recommended to use a TFTP server to copy from
or to the LAN and an HTTP server to copy to or from the WAN.
To upload a file to an HTTP server, the Web-based Distributed Authoring and Versioning
(WebDAV) extensions to HTTP protocols must be used. WebDAV is a set of extensions to
the HTTP protocol which allows users to collaboratively edit and manage files on remote
Web servers. Basically, it allows the MSBR to upload files to an HTTP server. The MSBR
does not send a username and password. The WebDAV server should be configured
without username and password.
6.2 Examples
If the HTTP port is 80, it is not necessary to add the port number. However, if the port
number is different, then the port number should be added to the syntax.
…output omitted
7 USB Functionality
7.1 USB Commands
Command Description
# Backup configuration
MSBR# copy cli-script to usb:///config_back_up_27apr2014.cfg
Sending file...done
MSBR#
Username: Admin
Password:
MSBR> en
Password:
MSBR# configure data
MSBR(config-data)# exit
MSBR(config-system)# cli-terminal
MSBR(cli-terminal)#
activate defaults exit help
history list pwd quit
set
MSBR(cli-terminal)# ssh on
MSBR(cli-terminal)#
activate defaults exit help
history list pwd quit
set
MSBR(cli-terminal)# wan-ssh-allow on
Note: Setting this parameter requires a reset.
MSBR(cli-terminal)*# exit
MSBR(config-system)*# exit
MSBR*# write
Writing configuration...done
MSBR*#
Command Description
MSBR# copy firmware from Copies software from http
http://10.31.2.7/MP500_MSBG_SIP_F6.80.264.cmp server
MSBR# copy firmware from Copies software from https
http://10.31.2.7/MP500_MSBG_SIP_F6.80.264.cmp server
MSBR# copy firmware from Copies software from tftp
tftp://10.31.2.7/MP500_MSBG_SIP_F6.80.264.cmp server
After issuing the copy command, the device will load the software version and reboot.
8.2 Example
MSBR # copy firmware from http://10.180.1.215
/MP500_MSBG_SIP_F6.80A.281.004.cmp
To upgrade from Version 6.6 to Version 6.8 in order to upgrade the ADSL
component:
1. Upgrade from Version 6.6 to Version 6.8 using the steps described in Section 8.1 on
page 35. The device will reboot.
2. Perform the upgrade again to the same image as described in Section 8.1 on page 35.
The image will be loaded and the ADSL component will be upgraded. A reboot of the
MSBR is not required, and the MSBR will not reboot by itself.
It is also possible to upgrade the A/VDSL image before upgrading to Version 6.8. This is
sometimes useful, when the upgrade is performed via the DSL link itself(*). In this case,
the upgrade of Version 6.8 is required to be done only once. The command for uploading
the A/VDSL image is copy adsl-firmware from http://adress/file. As with MSBR software,
the URL can be HTTP, HTTPS or TFTP server.
Note: The exact upgrade technique, especially between major versions, has to be
carefully planned and verified at the customer lab, before applied to the field.
Command Description
MSBR# copy adsl-firmware from Copy ADSL software from http server
http://10.31.2.7/ADSL_A_F6.80.281.004.img
This command is only available in Version 6.6.
8.4 Example
This example describes the output of upgrading from image
MP500_MSBG_SIP_F6.80A.281.004.cmp to the same image
MP500_MSBG_SIP_F6.80A.281.004.cmp.
MSBR# copy firmware from http://
10.180.1.215/MP500_MSBG_SIP_F6.80A.281.004.cmp
9 Automatic Update
The Automatic Update feature allows you to download a configuration file or an image file
from a server. If the file is different from the file currently on the MSBR, it will be applied
using the same rules as the copy command. In other words, configuration of the "cli-script"
is added to the current configuration, and the "startup-script" will then rewrite the
configuration and the MSBR will reset twice.
To configure Automatic Update, use the following commands:
Command Description
MSBR# configure system Accesses the System configuration level.
(config-system)# automatic-update Accesses the Automatic -Update configuration
level.
(automatic-update)# set <file> Sets file to check for update. This file is checked
from <URL> at the URL and will be applied if it is different
than the file on the MSBR.
(automatic-update)# set update- Sets the frequency for checking for an update.
frequency <minutes>
The <file> for the Automatic Update can be one of the following:
File Description
adsl-firmware ADSL firmware file
call-progress-tones Call progress tones file
cas-table CAS configuration table file
cli-script CLI configuration file
coder-table Code table file
data-configuration Data configuration file
dial-plan Dial plan file
firmware Firmware, burn and reload
nqm-history Export Network Quality Monitoring history file
prerecorded-tones Prerecorded tones file
startup-script CLI configuration file
tls-cert TLS certificate file
tls-private-key TLS private key file
tls-root-cert TLS trusted root certificate file
user-info User info file
voice-configuration Voice configuration file (ini file)
voice-prompts Voice prompts file
voice-xml Voice xml file
web-logo WEB logo file
9.1 Example
In this example, Auto-Update will be configured to get the cli-script file from HTTP server,
with a frequency of one minute. Later on, the hostname in the fetched configuration file will
be changed.
tim@Server:~$ ssh [email protected]
Welcome to AudioCodes CLI
[email protected]'s password:
Last login: Wed Mar 26 2014 at 10:52:14
MSBR> en
Password:
MSBR#
MSBR(config-system)# automatic-update
MSBR(automatic-update)#
MSBR(automatic-update)# set update-frequency 1
Note: Changes to this parameter will take effect when applying the
'activate' or 'exit' command
MSBR(automatic-update)# activate
MSBR(automatic-update)# exit
MSBR(config-system)# exit
MSBR#
Now the hostname in the file cli-conf.txt at the HTTP server is changed to "MSBR-2". After
one minute, the hostname will be changed.
tim@Server:~$ ssh [email protected]
Welcome to AudioCodes CLI
[email protected]'s password:
Last login: Wed Mar 26 2014 at 10:52:14
MSBR-2> en
The hostname changed to "MSBR-2".
Command Description
10 NTP
The MSBR supports NTP clock synchronization. To configure NTP, use the following
commands:
Command Description
Command Description
(ntp)# source data int g 0/0 Select interface g 0/0 as source for NTP requests
(ntp)# source voip Select voice as a source for NTP requests
Command Description
10.1 Examples
The following example configures NTP:
ntp
set secondary-server "192.168.0.3"
set primary-server "192.168.0.199"
activate
Output of the "show system ntp-status" command
MSBR# show system ntp-status
Configured NTP server #1 is 192.168.0.199
Configured NTP server #2 is 192.168.0.3
NTP is synchronized, stratum 0, reference is INIT
** Precision 0.00000 seconds
** Root delay 0.00000 seconds
** Root dispersion 0.01824 seconds
** Reference time 00000000.00000000 (2036-02-07 06:28:16 UTC)
** UTC offset 0 seconds
Current local time: 2014-03-16 10:49:03
The output contains synchronization status, synchronization data, and a synchronized
clock.
11 Banner Message
The banner message appears when the administrator connects to the MSBR. To configure
the banner message, use the following commands:
Command Description
11.1 Example
This example below configures a short banner message:
MSBR# configure system
MSBR(config-system)# welcome-msg 0
MSBR(welcome-msg-0)# exit
MSBR(config-system)#
MSBR# exitConnection closed by foreign host.
tim@Server:~$
Property of AudioCodes
Username: Admin
Password:
MSBR>
12 RADIUS Configuration
MSBR supports the RADIUS protocol. Use the following configuration steps to configure
the MSBR to authenticate using RADIUS with an external RADIUS server.
Command Description
You can also use an internal RADIUS server in the MSBR. To configure an internal
RADIUS server, use the following configuration step:
Command Description
12.1 Example
13 TACACS+ Configuration
MSBR supports the TACACS+ protocol. Use the following configuration steps to configure
the MSBR to authenticate using TACACS+.
Command Description
The MSBR sends packets to the TACACS+ server from its VoIP CPU. If the TACACS+
server is installed on the LAN side, no problems are experienced, because the VoIP CPU
IP address is local. However, if the TACACS+ server is on the WAN side, the packets,
originating from the VoIP CPU's local IP address, need to be NAT'ed. Use the NATP
enable command or preferably, a NAT rule to make sure that the packets that are arriving
to the TACACS+ server come from the same IP address. In this case, the NAT IP address
needs to be configured as the host address. From version 6.8, the source address for the
TACACS+ server can be configured using CLI.
Remember to restart the TACACS+ service on the server, using the following command:
root@server-VirtualBox:~# sudo service tacacs_plus restart
* Restarting TACACS+ authentication daemon tacacs+
[ OK ]
root@server-VirtualBox:~#
MSBR configuration:
Conf data
MSBR2# conf data
cmd = dns {
permit .*
}
cmd = ether-group {
permit .*
}
cmd = exit {
permit .*
}
cmd = gw {
permit .*
}
cmd = help {
permit .*
}
cmd = history {
permit .*
}
cmd = interface {
permit .*
}
cmd = ip-media {
permit .*
}
cmd = ldap {
permit .*
}
cmd = list {
permit .*
}
cmd = media {
permit .*
}
cmd = physical-port {
permit .*
}
cmd = pwd {
permit .*
}
cmd = qos {
permit .*
}
cmd = quit {
permit .*
}
cmd = rba {
permit .*
}
cmd = routing {
permit .*
}
cmd = sas {
permit .*
}
cmd = sbc {
permit .*
}
cmd = services {
permit .*
}
cmd = sip-definition {
permit .*
}
cmd = tdm {
permit .*
}
cmd = do {
permit .*
}
cmd = no {
permit .*
}
}
#data group
group = data-admin {
cmd = configure {
permit data
}
cmd = enable {
permit .*
}
cmd = aaa {
permit .*
}
cmd = access-list {
permit .*
}
cmd = backup-group {
permit .*
}
cmd = crypto {
permit .*
}
cmd = exit {
permit .*
}
cmd = help {
permit .*
}
cmd = history {
permit .*
}
cmd = interface {
permit .*
}
cmd = ip {
permit .*
}
cmd = key {
permit .*
}
cmd = l2tp-server {
permit .*
}
cmd = list {
permit .*
}
cmd = lldp {
permit .*
}
cmd = pptp-server {
permit .*
}
cmd = pwd {
permit .*
}
cmd = qos {
permit .*
}
cmd = quit {
permit .*
}
cmd = route-map {
permit .*
}
cmd = router {
permit .*
}
cmd = router-id {
permit .*
}
cmd = service {
permit .*
}
cmd = spanning-tree {
permit .*
}
cmd = tacacs-server {
permit .*
}
cmd = track {
permit .*
}
cmd = vpn-users {
permit .*
}
cmd = web-restrict {
permit .*
}
cmd = do {
permit .*
}
cmd = no {
permit .*
}
}
14 Recovery Procedures
14.1 Password Recovery Procedure
If the login password for accessing the device’s management interface has been forgotten,
the Password Recovery procedure can be used to gain access to the MSBR. Press the
MSBR's reset button for 15 to 30 seconds. The MSBR's configuration is deleted and the
username and password are set to "Admin". The enable password is also set to "Admin".
15 Factory Setting
To delete the MSBR's configuration, use the following command:
Command Description
MSBR# write factory Clears configuration and resets the MSBR.
The MSBR's configuration can also be cleared be pressing the reset button for a period of
15 to 30 seconds.
16 MSBR Reload
To reload the MSBR, enter the following command:
Command Description
An alternative method to reload the MSBR is by pressing the reset button for a period of
one to fifteen seconds.
17 Certificates
To import certificates, use the following command:
Command Description
MSBR# copy <cert file> from Copies the certificate file from the server.
<server>
File Description
17.1 Example
This example uses the copy command to download the certificate from the TFTP server to
the MSBR.
MSBR# copy tls-cert from tftp://192.168.0.3/cert.pem
Copying file... 0 bytes
done.
use 'write' command in order to burn to NV memory
MSBR# write
Writing configuration...done
MSBR#
18 Syslog
The MSBR supports remote logging. To configure the remote Syslog server, use the
following commands:
Command Description
The configurable debug levels are from 0 to 7. The most common option is level 1, where
the VoIP debug is enabled. At level 0, the VoIP debug is disabled, however at level 1, VoIP
debugging is enabled.
18.1 Examples
The following is an example of the Syslog configuration:
MSBR# conf syst
MSBR(config- troubleshoot)# logging
MSBR(logging)# set syslog-ip 192.168.0.3
Note: Changes to this parameter will take effect when applying the
'activate' or 'exit' command
MSBR(logging)# set debug-level 0
MSBR(logging)# activate
Log messages received at the Syslog server for state changes in interface Gig0/0:
Mar 16 13:10:31 192.168.0.2 [S=354] RAISE-
ALARM:acDataInterfaceStatus; Textual Description: Data interface
GigabitEthernet 0/0 is DOWN; Severity:indeterminate; Source:;
Unique ID:6;
19.1 Overview
The NQM feature is designed for monitoring the quality of a current network path between
two network NQM terminations, a ‘Sender termination’ and a 'Responder termination'.
The quality is measured according to the following criteria:
Round trip time
Packet jitter
Packet loss rate
1
Listener quality MOS as per ITU-T spec. .
2
Conversation quality MOS as per ITU-T spec .
The figure below illustrates the network paths between the Responder and the Sender
termination points.
Responder 1
Sender
Responder 2
Monitoring SW
Responder 3
1
Available only when packets sent are a valid g711 stream in terms of payload size and packet
interval. – see table in Section 19.1.1 for valid g711 parameter values.
2
See note 1 above.
5 60
10 100
20 180
40 340
60 500
80 660
100 820
120 980
Note: The chosen WAN interface should be the interface on which the NQM packets are
planned to flow bi-directionally and binding is necessary to create the corresponding
static NAT rules.
If the NQM session is planned to flow within the LAN, then no binding is needed and this
step can be skipped.
Note: A Responder termination defined by the pair <target IP address, target port> can
be defined only once for a single sender line. Two or more senders can’t be defined to
send packets to the same Responder termination.
Configure a Probe name – name of probing line previously configured to be used by this
sender:
MSBR(sender-table-0)# probe-name voip_probe_1
Note: A single probe line in the probing table may be shared by several senders thereby
sharing and simplifying common attributes configuration.
Configure a Source network interface name – name of network interface to send packets:
MSBR(sender-table-0)# source-interface-name OAM_IF
Note: If you wish to output packets to the WAN interface, simply set NQM_WAN as the
source interface name, otherwise set the interface name to be a specific interface name
found in the network interface table.
Note: The chosen WAN interface should be the interface on which the NQM packets are
planned to flow bi-directionally and binding is necessary to create the corresponding
static NAT and port forwarding rules.
If the NQM session is planned to flow within the LAN, then no binding is required and
therefore this step can be skipped.
Note: Make sure the local-port value is in-sync with the target-port value set for the
corresponding Sender termination.
Configure the source network interface name – name of network interface to listen for
incoming packets:
MSBR(sender-table-0)# source-interface-name OAM_IF
Note: If you wish to listen to the WAN interface, simply set NQM_WAN as the source
interface name, otherwise set the interface name to be a specific interface name found in
the Network Interface table
Note: Make sure the network interface that the Responder termination is listening upon
is in-sync with the target-ip value set for the corresponding Sender termination.
| Probe Time | Valid | RTT | PL | PL | Total | Jit. | Jit. | Total | MOS | MOS |
| | | | Tx | Rx | PL | Tx | Rx | Jit. | CQ | LQ |
|-------------------|-------|-----|------|------|-------|------|------|-------|-----|-----|
|01-01-2010@02:46:24| yes | 7| 0| 0| 0| 0| 17| 17| 0.0| 0.0|
|01-01-2010@02:47:24| yes | 10| 0| 0| 0| 30| 1| 31| 0.0| 0.0|
|01-01-2010@02:48:25| yes | 9| 0| 0| 0| 31| 20| 51| 0.0| 0.0|
|01-01-2010@02:49:25| yes | 6| 0| 0| 0| 32| 4| 36| 0.0| 0.0|
|01-01-2010@02:50:25| yes | 5| 0| 0| 0| 0| 5| 5| 0.0| 0.0|
|01-01-2010@02:51:25| yes | 5| 0| 0| 0| 15| 15| 30| 0.0| 0.0|
|01-01-2010@02:52:25| yes | 6| 0| 0| 0| 32| 7| 39| 0.0| 0.0|
|01-01-2010@02:53:25| yes | 6| 0| 0| 0| 30| 5| 35| 0.0| 0.0|
MSBR#
Parent: acSysNqmStatus
First child: acSysNqmHistoryEntry
Command Description
MSBR# debug capture data physical Sets the Ethernet interface as a source for
eth-lan capturing packets.
Interface eth-lan was added to the
debug capture rules
MSBR# debug capture data physical Sets the destination for the captured packet file
target tftp as a TFTP server.
MSBR# debug capture data physical Starts capturing files.
start
Note: The capture data is collected locally, and
NOTE: Debug capture data will be only then sent to the PC later on.
collected locally, and later
sent to a PC via TFTP/FTP.
Please make sure that
VLAN 1 is defined and the PC
is accessible through it.
MSBR# debug capture data physical The command stops capturing files and then
stop 192.168.0.3 uploads the file to a TFTP server with IP address
Trying to send capture to TFTP/FTP 192.168.0.3.
server , filename debug-capture-
data-16032014-154400
Finished
MSBR#
MSBR# debug capture data physical There is an ability to stop the capture and send
stop 192.168.0.3 VRF MGMT the captured traffic from a specific VRF, in this
Trying to send capture to TFTP/FTP example, the VRF is called MGMT.
server , filename debug-capture-
data-16032014-154400
Finished
MSBR#
Source Description
cellular-wan Cellular WAN interface.
eth-lan LAN Ethernet interfaces.
eth-wan WAN Ethernet interfaces.
fiber-wan WAN fiber interface.
xdsl-wan Any DSL interface (ADSL, VDSL) that is installed
on the MSBR.
Command Description
MSBR# debug capture data <interface>: interface to capture the data on.
interface <interface> <proto | <proto | ipsec>: if IPSec is selected, it is decrypted
ipsec> <all | arp | icmp | ip and captured.
| ipv6 | tcp | udp> host <IP |
<all | arp | icmp | ip | ipv6 | tcp | udp>: selects
IPv6 | all> <cr | port> <any |
protocol for capturing.
1-65535 <cr | ftp | tftp> IP
host <IP | IPv6 | all>: select traffic to capture using
the IP or IPv6 address as a filter.
<cr | port> <any | 1 – 65535>: select the port to
capture or press Enter. If you press Enter, the
packets are displayed in the console.
<cr | ftp | tftp> IP: press Enter to display the
captured packets on screen, or send captured
packets to TFTP or FTP server.
Command Description
The captured file is written to the root directory of the USB drive.
21 PacketSmart
This chapter describes how to setup the BroadSoft’s BroadCloud PacketSmart embedded
agent that is bundled with AudioCodes Mediant 500, Mediant 500L and Mediant 800
Gateway and E-SBC products.
PacketSmart is a powerful toolkit used for network assessments. Comprised of
Assessment, Verification, Diagnostics and Monitoring, PacketSmart is a lifecycle
management solution that ensures VoIP services are deployed correctly, accepted by
customers and monitored to meet customer satisfaction.
PacketSmart Monitoring observes customer networks and live calls to identify the source of
local area network (LAN) and wide area network (WAN) issues that may impact VoIP
quality.
PacketSmart uses proactive alerting with automated reporting that enables service
providers to address issues prior to customer complaints arising into support groups,
thereby reducing overall trouble tickets.
Notes:
• You must configure the Gateway or SBC before enabling PacketSmart. Refer to
the Mediant 800B Gateway and E-SBC User's Manual Ver.7.0.
• PacketSmart functionality requires a Feature key.
The following figures show typical deployment models for the SBC and Gateway.
Figure 21-2: SBC in DMZ Model
Notes:
• The parameters become active only after RESET (Off Line Mode).
• The network interface is usually the WAN interface that is configured on the
MSBR.
Command Description
configure system Go to system configuration context
(config-system)# packetsmart Enables the embedded PacketSmart agent.
enable
Statistics
BroadSoft
Devices
5. Confirm that the SBC devices are connected to the BroadSoft server.
AudioCodes Inc.
27 World’s Fair Drive,
Somerset, NJ 08873
Tel: +1-732-469-0880
Fax: +1-732-469-2298
©2017 AudioCodes Ltd. All rights reserved. AudioCodes, AC, HD VoIP, HD VoIP Sounds Better, IPmedia, Mediant,
MediaPack, What’s Inside Matters, OSN, SmartTAP, User Management Pack, VMAS, VoIPerfect, VoIPerfectHD, Your
Gateway To VoIP, 3GX, VocaNom, AudioCodes One Voice and CloudBond are trademarks or registered trademarks of
AudioCodes Limited. All other products or trademarks are property of their respective owners. Product specifications
are subject to change without notice.
Document #: LTRT-31617
www.audiocodes.com