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

Accessing the MGX 8850 and 8220

The MGX 8850 has a control port, maintenance port, and LAN port. The control port is an EIA/TIA−232 Data Communications Equipment (DCE) interface. To access the control, you must use a terminal or a PC with a terminal emulation program. The maintenance port is an EIA/TIA−232 DCE interface that utilizes Serial Line Internet Protocol (SLIP). You must configure an IP address to the interface before it can be used. The LAN port is a DB15 attachment unit interface (AUI). You must have the appropriate media converter.

The MGX 8220 also has the control port and maintenance port. The ports are the reverse of those on the MGX 8850—you use SLIP to connect to the control port and you use a terminal to connect to the maintenance port.

The MGX series’ CLI is different from that on the IGX and BPX. The inputs are entered one line at a time, and the results scroll up the screen. MGX commands are case sensitive; most of the commands are lowercase, except for Help.

Adding New Users

The adduser command will create a new user who can access the switch:

MGX.1.3.ASC.a > adduser user 2

MGX.1.3.ASC.a >

The user must have a lower privilege level than the user creating the account. The privilege level for this command is 6.

Changing Passwords

The MGX 8220 and MGX 8850 use different commands for changing user passwords. You can change the password of the user account you are logged in to. The password must be 6 to 15 characters. The privilege level for this command is 6.

To change the password on an MGX 8220, use cnfpwd followed by the old password and the new password twice:

MGX.1.3.ASC.a > cnfpwd oldpassword newpassword newpassword

The password for user is newpassword

This screen will self−destruct in ten seconds

To change the password on an MGX 8850, use the command passwd. The new password follows the command twice:

MGX.1.3.ASC.a > passwd newpassword newpassword

Assigning a Switch Hostname

Use the command cnfname to assign a hostname for the switch:

MGX.1.3.ASC.a > cnfname MGX2

MGX2.1.3.ASC.a >

The name is case sensitive and must be unique on the network. The command has a privilege level of 1.

65

Displaying a Summary of All Modules

The command dspcds will display the summary information of all the modules. This is a level 6 command. The card number, card status, card type, switch name, date, time, time zone, and IP address are all displayed. The information is displayed one screen at a time. Press the Enter key to display a second screen, and press Q to stop the display.

Displaying Detailed Information for the Current Card

The command dspcd will display detailed information for the current card. The information displayed includes the slot number, active state, type, serial number, hardware revision, firmware revision, line module type, line module state, and fabrication number. The privilege level for this command is 6.

Note To switch between cards, use the command cc followed by the card number.

Changing the Time and Date

In the MGX series, changing the time and date requires two different commands. Both commands have a privilege level of 0, equivalent to the superuser and service account. The time and date are not distributed out to the network.

To change the switch’s time, use cnftime. The format must use a 24−hour clock:

MGX2.1.3.ASC.a > cnftime cnftime "hh:mm:ss"

Time = hh:mm:ss

MGX2.1.3.ASC.a > cnftime 15:23:00

To change the date on the switch, use the command cnfdate followed by the date in month−first format:

MGX2.1.3.ASC.a > cnfdate cnfdate "mm/dd/yyyy" Date = mm/dd/yyyy

MGX2.1.3.ASC.a > cnfdate 09/24/2000

Displaying the Configuration of the Maintenance and Control Ports

The command xdsplns with the parameter −rs232 displays the port, type, status, and baud rate for both the maintenance port and the control port.

To display the information on a specific port, use the command xdspln. One of the following parameters must be used with this command:

−rs232—Information on the control or maintenance port

−ds3—Information on the Broadband Network Module (BNM) DS3 line characteristics

−plcp—Information on the BNM Physical layer convergence procedure line characteristics

−srmds3—Information on the Single Route Explorer (SRE) DS3 line characteristics

The parameter is followed by a number identifying the control port (1) or maintenance port (2). Both the xdsplns and xdspln commands have a privilege level of 6.

Displaying the IP Address

The command dspifip displays the IP address, interface, netmask, and broadcast address. It will only display the interface that is configured. This command has a privilege level of 6.

66

Configuring the IP Interface

The command cnfifip is used to set the IP address, netmask, and broadcast address. Each parameter must be entered one at a time. The parameters are as follows:

−if—The interface (26 for Ethernet, 28 for SLIP, or 37 for ATM)

−ip—The IP address

−msk—The network mask

−bc—The broadcast address

This command has a privilege level of 1.

Displaying the Alarm Level of the Switch

The command dspshelfalm is used to display the alarm level and current status of the temperature, power supply, fans, and voltage. This is a level 6 command.

This command provides the following information for each alarm type: the threshold, severity, measurable (temperature−related or not), current value, and status.

67

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