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

Disabling PortFast on a CLI−Based IOS Switch

To disable PortFast on a Cisco IOS command−based switch, use this Interface Configuration mode command:

no spantree start−forwarding

Verifying the PortFast Configuration

To verify the PortFast configuration on a Set/Clear command−based switch, enter the following Privileged mode command:

show spantree <module/port>

To verify module 3 and port 8, do the following:

show spantree 3/8

Enabling UplinkFast on a Set/Clear Command−Based Switch

To enable UplinkFast on a Set/Clear command−based switch, use the following Privileged mode command:

catalyst5000> (enable) set spantree uplinkfast ?

disable

Disable spanning tree uplink fast

enable

Enable spanning tree uplink fast

catalyst5000> (enable) set spantree uplinkfast enable ?

all−protocols

Enable uplink fast for all protocols

rate

Specify uplink fast rate

<cr>

 

catalyst5000> (enable) set spantree uplinkfast enable all−protocols ?

off

All

protocols

off

on

All

protocols

on

catalyst5000> (enable) set spantree uplinkfast enable all−protocols on VLANs 1−1005 bridge priority set to 49152.

The port cost and portvlancost of all ports set to above 3000. Station update rate set to 15 packets/100ms.

uplinkfast update packets enabled for all protocols. uplinkfast enabled for bridge.

Tip

The set spantree uplinkfast command has other options, such as adding a station update rate or

 

adding the on or off syntax for all protocols. The station update rate value is the number of

 

multicast packets transmitted per 100 milliseconds (by default, it is set to 15 packets per

 

millisecond). For more information on how to execute a change in the station update rate, use the

 

Help command on the console.

Disabling UplinkFast on a Set/Clear Command−Based Switch

To disable UplinkFast on a Set/Clear command−based switch, use the following Privileged mode command:

catalyst5000> (enable) set spantree uplinkfast disable uplinkfast disabled for bridge.

Use clear spantree uplinkfast to return stp parameters to default.

224

You must clear the port and bridge costs modified by UplinkFast using the clear spantree uplinkfast command shown below:

catalyst5000> (enable) clear spantree uplinkfast

This command will cause all portcosts, portvlancosts, and the bridge priority on all vlans to be set to default.

Do you want to continue (y/n) [n]? y VLANs 1−1005 bridge priority set to 32768.

The port cost of all bridge ports set to default value. The portvlancost of all bridge ports set to default value. uplinkfast all−protocols field set to off.

uplinkfast disabled for bridge.

Verifying the UplinkFast Configuration

To verify the UplinkFast configuration on a Set/Clear command−based switch, you can use the following Privileged mode command:

show spantree uplinkfast

You should get output similar to the following—notice that the VLANs followed by a comma, module number, and port number are forwarding to 3/1:

station

update rate set to 15

packets/100ms.

uplinkfast all−protocol field

set to off.

VLAN

port list

 

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

13/1(fwd)

23/2(fwd),3/1

2

3/3(fwd),3/1

5

3/4(fwd),3/1

Enabling UplinkFast on a Cisco IOS Command−Based Switch

To enable UplinkFast on a Cisco IOS command−based switch, use this command in Global Configuration mode:

uplink−fast

Disabling UplinkFast on a Cisco IOS Command−Based Switch

To disable UplinkFast on a Cisco IOS command−based switch, use this command in Global Configuration mode:

no uplink−fast

225

Viewing the UplinkFast Configuration on an IOS−Based Switch

To view the UplinkFast configuration on an IOS command−based switch, enter the following Privileged mode command:

show uplink−fast

Viewing UplinkFast Statistics on an IOS−Based Switch

To view UplinkFast statistics, use this Privileged mode command:

show uplink−fast statistics

Enabling BackboneFast on a Set/Clear Command−Based Switch

To enable BackboneFast on a Set/Clear command−based switch, enter the following Privileged mode command:

set spantree backbonefast enable

Disabling BackboneFast on a Set/Clear Command−Based Switch

To disable BackboneFast on a Set/Clear command−based switch, enter the following Privileged mode command:

set spantree backbonefast disable

Viewing the BackboneFast Configuration

To view the BackboneFast configuration on a Set/Clear command−based switch, use the following Privileged mode command:

show spantree backbonefast

The output for this command is fairly simple:

Backbonefast is enabled.

Catalyst5002> (enable)

226

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