Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Cisco Switching Black Book - Sean Odom, Hanson Nottingham.pdf
Скачиваний:
87
Добавлен:
24.05.2014
Размер:
2.89 Mб
Скачать

the network while highlighting any local problems.

Connection Management—Provides a graphic interface to configure WAN switches. It provides templates to minimize the work in setting up many connections. All interface modules are supported, including VoIP/VoATM setups.

Performance and Accounting Data Management—Controls the collection of SNMP information from the network. The statistics collected are stored in an Informix database. Reports can be generated by the built−in report generator or by SQL.

Element Management—Provides a reactive response to events on the network. It can forward information to HP Open View and IBM NetView (CiscoWorks is an integrated part of Cisco WAN Manager). External action is also supported; a page or an email can be sent when a specific event happens on the network.

Accessing and Setting Up IGX and BPX Switches

The setup and the interface of IGX and BPX switches are very similar. During initial setup, you will have to attach a terminal or computer with a terminal program to the DB25 control port or DB25 auxiliary port with a straight−through EIA/TIA−232 cable. The terminal must be set at 9600bps, with no parity, eight data bits, one stop bit, and no flow control (hardware or software).

Adding New Users

Anyone can add a user account. The new user must have a lower privilege level than the user account’s creator. User accounts and passwords are global in the network—when you create a user account on one node, that user account can access any other node in the network.

To add a user, use the adduser command. This command has a privilege level of 5. Figure 3.8 displays a login screen.

Figure 3.8: The adduser command.

Displaying a User’s Password

You can display the password of a current user and any user with a lower privilege level than the current user by using the dsppwd command, which has a privilege level of 6. The passwords will be displayed for 10 seconds.

Changing a User’s Password

To change your password, use the cnfpwd command; it has a privilege level of 6. When you enter “cnfpwd” on the command line, the system will prompt you for your current password. You must enter the new password twice for the system to save it. The password must be between 6 and 15 characters long, and it is case sensitive.

You cannot change the password of any other user. To change another user’s password, you must log in as that user. You can use the dsppwd command to view another user’s password and log in as that user.

62

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

service, or StrataCom level.

Displaying Other Switches

To display a list of known switches, use the dspnds command. This command is privilege level 6. You should see only the one switch on the display until connectivity is established with other switches. You can add the optional parameter +n to display the switch number.

Setting the Switch Name

You can configure a name by which the switch will be known in the network using the command cnfname followed by the hostname. The switch name will be distributed automatically on the network. The name is case sensitive and must be unique on the network. This is a level 1 command.

Setting the Time Zone

The command cnftmzn will set the local time zone for the switch. This command ensures that the switch has the correct local time. The time zone is identified by an abbreviation after the command (PST, EST, or GMT). You can also set the time zone to an offset from GMT (for example, g−8). This is a privilege level 1 command.

Configuring the Time and Date

The cnfdate command has network−wide effects; the new time and date are automatically distributed to other switches on the network. It has a privilege level of 1. To set the time and date, use cnfdate followed by the year, month, day, hour, minute, and second. The format of the time must use a 24−hour clock. The switch will prompt you for confirmation before executing the command.

Configuring the Control and Auxiliary Ports

The command cnfterm sets the transmission characteristics of the control port and auxiliary port. You can set the baud rate, parity, data bits, stop bits, and flow control. You cannot change just one parameter—you must enter all the parameters after the command separated by spaces. This is a privilege level 6 command.

Modifying the Functions of the Control and Auxiliary Ports

The command cnftermfunc is used to modify the control port and auxiliary port. You can modify the control port’s terminal emulation or disable switch−initiated transmission. On the auxiliary port, you can set the printer type, autodial of the modem, and terminal emulation. This is a privilege level 0 command, equivalent to the superuser and service account.

Configuring the Printing Function

You can print log messages and error messages on a printer. The printer can be directly connected on the auxiliary port or connected to another switch’s auxiliary port on the network. To change the setting, use the command cnfprt. The parameter can specify no printing, local printing, or remote printing. For remote printing, the remote hostname must be set up on the network. This is a privilege level 6 command.

Configuring the LAN Interface

The cnflan command is used to set up the 10Mbps Ethernet port. You can set the IP address, subnet mask, default gateway, and service port (the port used by WAN Manager). The maximum LAN transmit units and MAC addresses will be displayed but cannot be changed. This is a privilege level 0 command, equivalent to the superuser and service account.

64

Соседние файлы в предмете Программирование