IP Control Module Diagnostics
Enabling the debug environment
Enabling the debug environment
To access the debug environment, log in using the default super (super-user) profile.
For example: admin> auth super
Password:
The default password for this account is Ascend . If the password has not been changed, you should change it now to prevent unauthorized super-user access to the system.
The debug environment contains many hidden commands and parameters that are not intended for general use. The debug environment is not supported, and the documentation provided here is not comprehensive.
Caution Under most circumstances, debug commands are not required for monitoring Stinger IP DSLAM operations, and under some circumstances, these commands might produce undesirable results. Use the information with caution.
Contact Alcatel-Lucent OnLine Customer Support at http://www.lucent.com/support with questions or concerns.
Gigabit Ethernet diagnostics
The gmac command provides diagnostic output about the Gigabit Ethernet media access controller (GMAC) driver.
gmac
Description Provide diagnostics on the Gigabit Ethernet (GigE) driver.
Permission level system
Usage gmac [options]
Command element
-v
-i [-u/d]
-n
-s
Description
Show gmac version.
With no additional option, initialize/reset the
GigE port.
-i -u Force GigE link up.
-i -d Force GigE link down.
Set up network processor to communicate with
GMAC.
Set up a SAR channel for communicating with
GMAC.
A-2 Stinger® IP Control Module Configuration Guide
IP Control Module Diagnostics gmac
Command element
-l [-i/e/d/p]
-p
-r
-w
-d [-c/a/e]
-t
-?
Description
Loopback.
-l -i Set port for internal loopback.
-l -e Set port for external loopback.
-l -d Set port for no loopback
-l -p Run loopback test for Ethernet poweron self test (POST).
Ping test.
Read a PHY register.
Write to a PHY register.
With no additional option, display all statistics.
-d -c Clear GMAC statistics.
-d -a Display ATM statistics.
-d -e Display Ethernet statistics.
Set debug level (0 through 3).
Display a summary of commands.
Example The gmac -n command sets up the network processor for communication with the GMAC port: super> gmac -n
NP setup for gmac done.
Example The gmac -s command sets up a SAR channel for communicating with the
GMAC port: super> gmac -s
GMAC: SAR conn. open with vpi = 0, vci = 200
Example The gmac -v command displays the GMAC version: super> gmac -v
GMAC version : 0x0b
Example The gmac -i command resets the Gigabit Ethernet port: super> gmac -i gigE port reset.
Example The gmac -d command displays the total transmit and receive statistics for the GigE interface of the IP control module. For details about the gmac -d output
fields, see the descriptions of MIB objects in “Total transmit statistics” on page A-30
and “Total receive statistics” on page A-32. For example, the following command
displays the current GMAC statistics: super> gmac -d
Gigabit Ethernet port statistics : txOctetsLow = 1040 txOctetsHigh = 0 txGoodPackets = 4
Stinger® IP Control Module Configuration Guide A-3