Wednesday, January 13, 2010

STP what, where and How Used

Dear Friends!!
Here you some stuff regarding STP.





Switch Configurations:

Connected to Dynamips VM "SW3" (ID 5, type c3600) - Console port


SW3#show run
SW3#show running-config
Building configuration...

Current configuration : 1279 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname SW3
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
!
!
ip cef
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
spanning-tree portfast bpduguard
spanning-tree vlan 1 priority 1
!
!
!
!
!
interface FastEthernet0/0
!
interface FastEthernet0/1
!
interface FastEthernet0/2
spanning-tree portfast
!
interface FastEthernet0/3
spanning-tree portfast
!
interface FastEthernet0/4
spanning-tree portfast
!
interface FastEthernet0/5
spanning-tree portfast
!
interface FastEthernet0/6
spanning-tree portfast
!
interface FastEthernet0/7
spanning-tree portfast
!
interface FastEthernet0/8
spanning-tree portfast
!
interface FastEthernet0/9
spanning-tree portfast
!
interface FastEthernet0/10
spanning-tree portfast
!
interface FastEthernet0/11
spanning-tree portfast
!
interface FastEthernet0/12
spanning-tree portfast
!
interface FastEthernet0/13
spanning-tree portfast
!
interface FastEthernet0/14
spanning-tree portfast
!
interface FastEthernet0/15
spanning-tree portfast
!
interface Vlan1
no ip address
!
ip http server
!
ip forward-protocol nd
!
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
!
!
end

SW3#

Connected to Dynamips VM "SW3" (ID 5, type c3600) - Console port


SW3#show spanning-tree brief

VLAN1
Spanning tree enabled protocol ieee
Root ID Priority 1
Address cc05.0638.0000
This bridge is the root
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec

Bridge ID Priority 1
Address cc05.0638.0000
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300

Interface Designated
Name Port ID Prio Cost Sts Cost Bridge ID Port ID
-------------------- ------- ---- ----- --- ----- -------------------- -------
FastEthernet0/0 128.1 128 19 FWD 0 1 cc05.0638.0000 128.1
FastEthernet0/1 128.2 128 19 FWD 0 1 cc05.0638.0000 128.2

SW3#

Connected to Dynamips VM "SW2" (ID 3, type c3600) - Console port

SW2#show running-config
Building configuration...

Current configuration : 1224 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname SW2
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
!
!
ip cef
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
spanning-tree portfast bpduguard
spanning-tree uplinkfast
!
!
!
!
!
interface FastEthernet0/0
!
interface FastEthernet0/1
!
interface FastEthernet0/2
spanning-tree portfast
!
interface FastEthernet0/3
spanning-tree portfast
!
interface FastEthernet0/4
spanning-tree portfast
!
interface FastEthernet0/5
spanning-tree portfast
!
interface FastEthernet0/6
spanning-tree portfast
!
interface FastEthernet0/7
spanning-tree portfast
!
interface FastEthernet0/8
spanning-tree portfast
!
interface FastEthernet0/9
spanning-tree portfast
!
interface FastEthernet0/10
spanning-tree portfast
!
interface FastEthernet0/11
spanning-tree portfast
!
interface FastEthernet0/12
spanning-tree portfast
!
interface FastEthernet0/13
spanning-tree portfast
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface Vlan1
no ip address
!
ip http server
!
ip forward-protocol nd
!
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
!
!
end

SW2#
Connected to Dynamips VM "SW2" (ID 3, type c3600) - Console port


SW2#show spanning-tree brief

VLAN1
Spanning tree enabled protocol ieee uplinkfast enabled
Root ID Priority 1
Address cc05.0638.0000
Cost 3019
Port 1 (FastEthernet0/0)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec

Bridge ID Priority 49152
Address cc03.0638.0000
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300

Interface Designated
Name Port ID Prio Cost Sts Cost Bridge ID Port ID
-------------------- ------- ---- ----- --- ----- -------------------- -------
FastEthernet0/0 128.1 128 3019 FWD 0 1 cc05.0638.0000 128.1
FastEthernet0/1 128.2 128 3019 BLK 0 1 cc05.0638.0000 128.2
FastEthernet0/14 128.15 128 3019 FWD 3019 49152 cc03.0638.0000 128.15
FastEthernet0/15 128.16 128 3019 FWD 3019 49152 cc03.0638.0000 128.16

SW2#

Connected to Dynamips VM "SW1" (ID 4, type c3600) - Console port


*Mar 1 00:30:32.047: %SYS-5-CONFIG_I: Configured from console by console
SW1#show run
SW1#show running-config
Building configuration...

Current configuration : 938 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname SW1
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
!
!
ip cef
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
spanning-tree portfast bpduguard
spanning-tree backbonefast
!
!
!
!
!
interface FastEthernet0/0
!
interface FastEthernet0/1
!
interface FastEthernet0/2
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface Vlan1
no ip address
!
ip http server
!
ip forward-protocol nd
!
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
!
!
end

SW1#

Connected to Dynamips VM "SW1" (ID 4, type c3600) - Console port


SW1#show spa
SW1#show spanning-tree brief

VLAN1
Spanning tree enabled protocol ieee
Root ID Priority 1
Address cc05.0638.0000
Cost 3038
Port 15 (FastEthernet0/14)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec

Bridge ID Priority 32768
Address cc04.0638.0000
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300

Interface Designated
Name Port ID Prio Cost Sts Cost Bridge ID Port ID
-------------------- ------- ---- ----- --- ----- -------------------- -------
FastEthernet0/14 128.15 128 19 FWD 3019 49152 cc03.0638.0000 128.15
FastEthernet0/15 128.16 128 19 BLK 3019 49152 cc03.0638.0000 128.16

SW1#
Connected to Dynamips VM "SW1" (ID 4, type c3600) - Console port


SW1#show spa
SW1#show spanning-tree brief

VLAN1
Spanning tree enabled protocol ieee
Root ID Priority 1
Address cc05.0638.0000
Cost 3038
Port 15 (FastEthernet0/14)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec

Bridge ID Priority 32768
Address cc04.0638.0000
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300

Interface Designated
Name Port ID Prio Cost Sts Cost Bridge ID Port ID
-------------------- ------- ---- ----- --- ----- -------------------- -------
FastEthernet0/14 128.15 128 19 FWD 3019 49152 cc03.0638.0000 128.15
FastEthernet0/15 128.16 128 19 BLK 3019 49152 cc03.0638.0000 128.16

SW1#






Connected to Dynamips VM "SW1" (ID 4, type c3600) - Console port


SW1#show spa
SW1#show spanning-tree brief

VLAN1
Spanning tree enabled protocol ieee
Root ID Priority 1
Address cc05.0638.0000
Cost 3038
Port 15 (FastEthernet0/14)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec

Bridge ID Priority 32768
Address cc04.0638.0000
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300

Interface Designated
Name Port ID Prio Cost Sts Cost Bridge ID Port ID
-------------------- ------- ---- ----- --- ----- -------------------- -------
FastEthernet0/14 128.15 128 19 FWD 3019 49152 cc03.0638.0000 128.15
FastEthernet0/15 128.16 128 19 BLK 3019 49152 cc03.0638.0000 128.16

SW1#

No comments:

Post a Comment