5 validation commands – CANOGA PERKINS 9171 Configuration Guide User Manual

Page 39

Advertising
background image

CanogaOS Configuration Guide

7-3

DUT# configure terminal

Enter the Configure mode.

is 32768.

DUT(config)# interface eth-0-1

Specify the interface (eth-0-1)to be
configured and enter the Interface mode

DUT(config-if)# spanning-tree path-cost 200

Configure the cost for an interface.

DUT(config-if)# exit

Exit the Interface mode and enter the
Configure mode.

DUT(config)# spanning-tree enable

Enable spanning tree protocol.

The default is enable

7.5 Validation Commands

Verify the STP port state on Bridge1

DUT#show spanning-tree brief
Rapid spanning tree protocol Enabled
Root ID Priority 4096 (0x1000)
Address 6c92.fe12.4901
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 4096 (0x1000)
Address 6c92.fe12.4901
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300 sec

Interface Role State Cost Priority.Number Type
------------------------------------------------------------------------
eth-0-1 Designated Forwarding 200 128.1 P2p
eth-0-2 Designated Forwarding 20000 128.2 P2p
eth-0-3 Designated Forwarding 20000 128.3 P2p
eth-0-4 Designated Forwarding 20000 64.4 P2p


Verify the STP port state on Bridge2

DUT#show spanning-tree brief
Rapid spanning tree protocol Enabled
Root ID Priority 4096 (0x1000)
Address 6c92.fe12.4901
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 12288 (0x3000)
Address 7242.652d.4001
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300 sec
Interface Role State Cost Priority.Number Type
------------------------------------------------------------------------
eth-0-1 Designated Forwarding 20000 128.1 P2p
eth-0-2 Designated Forwarding 20000 128.2 P2p
eth-0-3 Alternate Discarding 20000 128.3 P2p
eth-0-4 Rootport Forwarding 20000 128.4 P2p


Verify the STP port state on Bridge3

DUT#show spanning-tree brief
Rapid spanning tree protocol Enabled
Root ID Priority 4096 (0x1000)
Address 6c92.fe12.4901
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 32768 (0x8000)
Address 94c5.1f0a.4e01
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec

Advertising
This manual is related to the following products: