Lucent Technologies PortMaster Manual Do Utilizador

Página de 364
Configuring Global Settings
3-23
Displaying the Routing Table
Viewing SNMP Settings
Settings for SNMP monitoring, read and write community strings, and read and write 
hosts are stored in the SNMP table.
To display the SNMP table, enter the following command: 
Command> show table snmp 
Monitoring SNMP Alarms
When an interface or modem fails, the SNMP agent traps the error message generated 
by the failure and sends it to the SNMP Manager. 
To view the status of failed modems or interfaces from the command line interface, 
enter the following command:
Command> show alarm 
The output of this command lists alarm messages and associated alarm identification 
numbers. For details about a specific alarm, enter the following command:
Command> show alarm [alarm-id]
To clear alarms from the SNMP alarm table, enter the following command:
Command> clear alarm alarm-id|all
Refer to the PortMaster Command Line Reference for more information.
Displaying the Routing Table
Use the following command to display the IP routing table entries:
Command> show routes [String|Prefix/NM]
You can replace String with ospf or bgp to display only OSPF or BGP routes. Replacing 
Prefix/NM with an IP address prefix and netmask displays only routes to that destination. 
Enter the IP address prefix in dotted decimal format and the netmask as a number from 
1 to 32, preceded by a slash—for example, /24. The netmask indicates the number of 
high-order bits in the IP prefix.