MGC Command Reference
There are two commands shells:
- The OAM (Operations and Maintenance) shell is required when registering to the UCM with
joinsecdomain
. - The LDB (Local DeBug) shell is required when clearing (
mgcIPClear
), or rebooting a Media Gateway Card.
Open an SSH (or serial: 9600,8,N,1) session with the MGC, and login (see below). Use the OAM shell command mgcinfoshow
to display the MGC configuration data, including IP addresses, uptime, registration status, and superloop information.
Default Passwords:
<Ctrl>OAM | Username | Password |
---|---|---|
Unregistered: | admin2 | 0000 |
Registered: | admin | <single-sign-on> |
<Ctrl>LDB | Username | Password |
---|---|---|
Unregistered: | pdt2 | 2tdp22ler |
Registered: | admin | <single-sign-on> |
Command Reference:
Local DeBug commands (<Ctrl>LDB
) listed alphabetically. They are Case Sensitive.
Command | Description |
---|---|
dbhwshow | Display the model and revision numbers for installed DBs. |
diskformat | Formats the Compact Flash card erasing all stored Loadware and any stored passwords etc.
Card will boot from the Gold Image if the Compact Flash is empty. |
diskshow | Display the total, used, and available disk space on the internal flash card. |
displayshow | Display the information currently showing on the faceplate display, eg loop and shelf. |
dspnumshow <status> | Display the number of DSP channels for each DSP DB in the specified mode. |
dspchanstateshow | List the state (busy, idle, disabled, or unequipped) for all channels on the DSP DBs. |
dsphwcheck | Perform a basic DSP hardware diagnostic check, testing for any hardware failures. |
dsplooptest card1 channel card2 channel2 | Perform a DSP loopback test on idle channels. |
ethportmirror <to> <from> | Capture traffic from a specified port to a mirrored port (LDB). |
ethportshow | Display the Ethernet port settings for the external and internal interfaces. |
ethspeedshow | Display the port speed and duplex setting of the embedded Ethernet switch currenlty running. |
help | Displays available help commands. eg, help vgw for help on vgw/dsp commands. |
isecIkeShowPAll | Display all protection suites (inbound and outbound IPsecSecurity association pairs). |
isecIpsecShowIf | The following example shows command output. |
joinsecdomain | Registers Media Gateway with the UCM. |
macshow | Display all MAC addresses associated with the Ethernet ports (both internal and external) on the embedded Ethernet switch. |
memshow | Display the total, used, and available RAM memory on the card. |
mgcdbshow card_number | Display information about the DSP DB.card_number can be 0, 11, 12, or 13. |
mgcinfoshow | Display configuration, including IP addresses, uptime, registration status, and superloop information. |
mgcIPClear | Clears the Non-Volatile ram on the card erasing all of the stored IP information. |
mgcsetup | Prompts you with the current IP Address Settings and allows you to make changes. |
mspversionshow | Display MSP Device type, ARM code, Voice DSP Revision, and T.38 version. |
ommshow | Print the current OM data to the console. |
reboot | Reboots the controller e.g. a cold restart (-1). |
rmonstatresetall | Reset all RMON statistics counters for all ports on the embedded Ethernet switch. |
rmonstatshow port | Display the RMON stats collected by the embedded Ethernet switch for the specified port. |
rmonstatshowall | Display the RMON statistics collected by the embedded Ethernet switch for all ports. |
sshKeyShow | Display the SSH key. |
swversionshow | Display the software version. |
testalarm | Send an SNMP trap. |
version | Display the VxWorks software version. |
vgwcardshow cardnum | Display all channel information for the specified card. |
vgwshow | Show information about busy channels. |
vgwshowall | Display information about all channels. |