Using the History Command

You can display a list of the previous 12 commands by pressing the period (.) key; this command has a privilege level of 6. You can select which command to repeat by entering a number from 1 through 12. (Entering “1” repeats the most current command, “5” repeats the command five back in the list, and so on.) After you enter the number, the previous command is copied to the command line. You can edit the command or parameters before issuing the command. Use the arrow keys to move along the command line, and use the backspace key to erase the character to the left of the cursor.

Displaying a Summary of All Card Modules

The dspcds command displays a summary of all the modules. The privilege level for this command is 6. The information is generated by the switch and does not need to be configured. The command displays the front card’s name and revision code, the back card’s name and revision code, and the status of the card. The revision code indicates the model, hardware revision, and firmware revision.

Displaying Detailed Information for a Card Module

To display more detailed information about the card module, use the dspcd command followed by a space and the module number. This is a privilege level 6 command. The command provides the card serial numbers, card features, features supported, number of connections supported, buffer size, memory size, and software version.

Displaying the Power and Temperature of a Switch

The dsppwr command provides the status of the power supply and the cabinet temperature. The privilege level for this command is 6. This command’s display is different on the IGX than on the BPX. The IGX displays the power supply type and status, actual cabinet temperature, temperature alarm threshold, and monitor status; the BPX displays the ASM status, AC power supply and status, and fan speed.

Displaying the ASM Statistics for BPX

To have the BPX’s ASM provide environment information and statistics, use the dspasm command; it has a privilege level of 6. The statistics count displays the successful polling of the environmental conditions. The statistics timeout displays the unsuccessful attempts.

Configuring the ASM Setting for BPX

The command cofasm is used to change the Alarm Service Monitor alarm thresholds and to configure alarm notification. It has a privilege level of 1. When you enter “cofasm” on the command line, a list of current settings is displayed. The command line will prompt you for the selection and setting. You can set the alarm level for the temperature threshold, power deviation from −48, polling interval, fan threshold, power voltage, and power failure.

Logging Out

To log out of the CLI session, use the bye command; it has a privilege level of 6. If you are using Telnet, your session will be disconnected. On the control port or auxiliary port, you will see the logon screen.

Resetting the Switch

The clear configuration command, clrcnf, will erase the connections, trunks, circuit lines, and other network settings. This is a fast way to clear settings if you’re moving the switch to another location. The switch name, IP address, user, and other function settings are maintained. To change all the settings back to their factory defaults, use the clrallcnf command; this is a service−level command. You must be logged in at the superuser,

63

Page 79
Image 79
Cisco Systems RJ-45-to-AUX manual Using the History Command, Displaying a Summary of All Card Modules, Logging Out