Console Interface
Â
Working in shell is very powerful and flexible, but also dangerous
A system can be corrupted, formatted, erased if user makes a mistake.
Â
Â
Connect via SSH
Use default SSH clients on any desktop
Windows – putty
Linux – native ssh
Â
On login promptÂ
Username: root
Password: < your custom password >
Â
Â
Connect via USB Serial
USB to Serial cable
Use supplied usbtoserial cable
Configure Terminal Client on Laptop
Windows HyperTerminal
Linux –mincomm
Serial Settings
115200, N, 8, 1 vt100
Press enter a few times until a login prompt appears.
Loginvia: username: root, password:sangomaÂ
Bash Shell
Once successfully logged into the system, either via sshorusb serial, user will be offered a bash prompt.
SBCÂ system is based on Linux
The initial console after login will be a bash shell
System Commands
System commands are based on Linux operating systems.Â
Listed here aresomemost useful debugging commands.
tcpdump
Provides network capture to a pcap file
Can be analyzed usingwiresharkon Desktop or Laptop.
ethtool
Provides detail network interface information, like Ethernet link status.
Run:ethtool for all the options
Eg: ethtool eth0 – show Ethernet status
Ifconfig
Network interface statistics tool
Shows error counters on Ethernet and TDM interfaces.
Notice the error and overrun counters onwanpipew1g1 interfaces.
nsc_cli
Provides SBC CLI
Refer to the appendix for all System Commands
Â
SBC CLI – nsc_cli
First log into the System Console (bash)
Once on bash prompt: run
nsc_cli
Â
The SBC gateway must be running and started in Control Panel.
Â
Â
Command Description
status | Shows SBC Status |
showchannels | List all active calls |
log[debug, error,crit] | Set log level to debugloglevelcritical |