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

sp+B0: 10001030 10001030 10000BD0 10000AD0 sp+C0: 10000B28 10001030 10001030 10001030 sp+D0: 10001030 10001030 10001030 10001030 sp+E0: 10001030 10001030 10001030 10001030 sp+F0: 10001030 10001030 10001030 493798E4

D0: 00000000, D1: 00000004, D2: 00000030, D3: 00005C05 D4: 11000000, D5: 11000000, D6: 10FF0008, D7: 11000000 A0: 68000000, A1: 00000000, A2: 10357A90, A3: 103C182C A4: 103C182C, A5: 64000000, A6: 10FFFF8C, sp: 10FFFF6C

NVRAM log:

Module

2 Log:

 

Reset

Count:

1

Reset

History: Fri Aug 04 2000, 8:07:12

Note There is no comparable command on the 1900EN series switches.

Configuring SPAN for Port Monitoring on a Set/Clear Command−Based IOS

To configure the Set/Clear command−based IOS switch for SPAN, follow these steps:

1. To enable SPAN, use the set span enable command. The syntax for this command is as follows:

set span enable|disable

2.To enable SPAN for port monitoring, you must identify the source module, source port, destination module, destination port, and (optionally) whether you want it to monitor received frames, transmitted frames, or both. The syntax for the command is as follows:

set span <source module/source port> <destination module/ destination port> [rx|tx|both]

Note RX stands for Receive, TX stands for Transmit.

Configuring SPAN for VLAN Monitoring on a Set/Clear Command−Based IOS

To configure a Set/Clear command−based IOS switch for SPAN, follow these steps:

1. To enable SPAN, use the set span enable command. The syntax for this command is as follows:

set span enable|disable

2.To enable SPAN for VLAN monitoring, you must identify the source VLAN, destination module, destination port, and (optionally) whether you want it to monitor received frames, transmitted frames, or both. The syntax for the command is as follows:

set span <source VLAN> <destination module/ destination port> [rx|tx|both]

Launching the Diagnostic Console on a Cisco 1900 or 2820 Series Switch

To launch the Diagnostic Console on the 1900 or 2820 series switch, follow these steps:

1. Attach a terminal or PC to the console port.

337

2.Press and hold down the Mode button, as shown in Figure 16.5, while cycling the power on the switch.

Figure 16.5: The Mode button on a 1900 Series switch. 3. Proceed through the following options:

———————————————————————————————————————————————————

Cisco Systems Diagnostic Console Copyright(c) Cisco Systems, Inc. 1997 All rights reserved.

Ethernet Address: 00−30−80−54−6C−00

———————————————————————————————————————————————————

Press enter to continue.

Diagnostic Console − Systems Engineering

Operation firmware version: 8.01.02 Status: valid

Boot firmware version: 3.10

[C] Continue with standard system start up [U] Upgrade operation firmware (XMODEM) [S] System debug interface

Enter Selection:

Using the Diagnostic Console to Upgrade the Firmware on a Cisco 1900 or 2820 Series Switch

Follow these steps to upgrade the firmware on a Cisco 1900 or 2820 series switch:

1.Press the Mode button on the front of the switch while booting, to enter the Diagnostic Console, as shown here:

———————————————————————————————————————————————————

Cisco Systems Diagnostic Console Copyright(c) Cisco Systems, Inc. 1997 All rights reserved.

Ethernet Address: 00−30−80−54−6C−00

———————————————————————————————————————————————————

Press enter to continue.

Diagnostic Console − Systems Engineering

Operation firmware version: 8.01.02 Status: valid

Boot firmware version: 3.10

338

[C] Continue with standard system start up [U] Upgrade operation firmware (XMODEM) [S] System debug interface

Enter Selection:

2.Use the [U] Upgrade Operation Firmware (XMODEM) option to upgrade the firmware (you must be using X−Modem compatible software on the network node attached to the switch):

Enter Selection: U

The XMODEM protocol will be used to perform this firmware upgrade. The user must initiate an XMODEM file transfer from the terminal side using an appropriate terminal application specific command.

Do you wish to continue with the download process, [Y]es or [N]o?

3.By answering [Y]es here, the switch immediately deletes the IOS from the Flash. It doesn’t give you any warning. The configuration is left to run on the new IOS that is installed:

Erasing invalid flash − may take up to 1 minute.

Erasure completed.

4.You now need to select the speed at which to upload the IOS. If you are using the console cable it should be 9600. If you are using a modem you can upload a new image at 57,600Kbps:

Do you wish to upgrade at [9]600 (console speed) or [5]7600? 9600

Waiting for image at the configured baud rate…

Using the Diagnostic Console for Debugging the Firmware and Hardware

Follow these steps to start debugging on the switch:

1.To enter the Diagnostic Console, press the Mode button on the front of the switch while booting.

2.Use the [S] System option to enter the debug interface, as follows:

Enter Selection: S

Diagnostic Console − System debug interface

[G] Generic I/O

[M] Memory (CPU) I/O

[F] Return system to factory defaults

[R] Reset main console RS232 interface to 9600,8,1,N [V] View management console password

[X] Exit to Previous MenuEnter Selection:

Here is an example of the output from the [G] Generic I/O option:

Enter Selection: G

Diagnostic Console − Generic I/O

————————————————Settings————————————————

[A] Autoincrement address

Yes

 

[F] From address location

0000H

(0)

[L] Length in 16−bit words

0001H

(1)

339

[T]

Toggle byte/word display

Word

[V]

Value for output

0000H (0)

————————————————Actions————————————————

[I] Input

[O] Output

[X] Exit to Previous Menu

Enter Selection:

Here is an example of the output from the [M] Memory (CPU) I/O option:

Enter Selection: M

Diagnostic Console − Memory (CPU) I/O

————————————————Settings————————————————

[F] From offset location

0000H

(0)

[L] Length in 16−bit words

0001H

(1)

[T] Toggle byte/word display

Word

 

[V] Value for output

0000H

(0)

————————————————Actions————————————————

[I] Input

[O] Output

[X] Exit to Previous Menu

Enter Selection:

Here is an example of the output from the [F] Return System To Factory Defaults option:

Enter Selection: F

Reset system with factory defaults, [Y]es or [N]o? Yes

Here is an example of the output from the [R] Reset Main Console RS232 Interface To 9600,8,1,N option:

Enter Selection: R

Reset main console RS232 interface to 9600,8,1,N, [Y]es or [N]o? Yes

Here is an example of the output from the [V] View management console password option:

Enter Selection: V

The current management console password is: 62592

Press any key to continue.

340

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