Application STP
1) Nombre de ports bloqué=4
Nbre ligne =8
Nbre swit=5
Nbre port bloque= (8-5)+1=4
2) Commutateur racine= ?
SW4 est le commutateur racine : il posséde @MAC la plus petite
3) Chemin emprunté lors d’une requête ICMP Entre
a) PC21-----PC41 (SW2---SW1----SW4)
b) PC31-----PC41 (SW3----SW4)
4) Afficher la table MAC de SW4 et SW5
5) Changer la priorité de SW5 à 4096
6) Commutateur racine= ?
SW4#show mac address-table SW5#show mac address-table
Mac Address Table Mac Address Table
------------------------------------------- -------------------------------------------
Vlan Mac Address Type Ports Vlan Mac Address Type Ports
---- ----------- -------- ----- ---- ----------- -------- -----
1 0001.43c0.386b DYNAMIC Fa2/1 1 000c.8510.15ad DYNAMIC Fa1/1
1 0004.9ab5.74d2 DYNAMIC Fa0/1 1 00d0.bc32.3e03 DYNAMIC Fa0/1
1 00d0.582e.e628 DYNAMIC Fa1/1
SW1#show spanning-tree
VLAN0001
Spanning tree enabled protocol ieee
Root ID Priority 32769
Address 0001.978D.B7A7
Cost 19
Port 1(FastEthernet0/1)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 32769 (priority 32768 sys-id-ext 1)
Address 000C.85B5.9D6D
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 20
Interface Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/1 Desg FWD 19 128.2 P2p
Fa2/1 Desg FWD 19 128.3 P2p
Fa3/1 Desg FWD 19 128.4 P2p
Fa0/1 Root FWD 19 128.1 P2p
SW2#show spanning-tree
VLAN0001
Spanning tree enabled protocol ieee
Root ID Priority 32769
Address 0001.978D.B7A7
Cost 38
Port 1(FastEthernet0/1)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 32769 (priority 32768 sys-id-ext 1)
Address 0090.0C03.A148
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 20
Interface Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa0/4 Desg FWD 19 128.4 P2p
Fa0/3 Altn BLK 19 128.3 P2p
Fa0/2 Altn BLK 19 128.2 P2p
Fa0/1 Root FWD 19 128.1 P2p
SW3#sh spanning-tree
VLAN0001
Spanning tree enabled protocol ieee
Root ID Priority 32769
Address 0001.978D.B7A7
Cost 19
Port 2(FastEthernet1/1)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 32769 (priority 32768 sys-id-ext 1)
Address 00D0.BA92.BAED
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 20
Interface Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa0/1 Desg FWD 19 128.1 P2p
Fa1/1 Root FWD 19 128.2 P2p
Fa3/1 Desg FWD 19 128.4 P2p
Fa2/1 Desg FWD 19 128.3 P2p
SW4#sh spanning-tree
VLAN0001
Spanning tree enabled protocol ieee
Root ID Priority 32769
Address 0001.978D.B7A7
This bridge is the root
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 32769 (priority 32768 sys-id-ext 1)
Address 0001.978D.B7A7
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 20
Interface Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa2/1 Desg FWD 19 128.3 P2p
Fa3/1 Desg FWD 19 128.4 P2p
Fa0/1 Desg FWD 19 128.1 P2p
Fa1/1 Desg FWD 19 128.2 P2p
SW5#show spanning-tree
VLAN0001
Spanning tree enabled protocol ieee
Root ID Priority 32769
Address 0001.978D.B7A7
Cost 19
Port 2(FastEthernet1/1)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 32769 (priority 32768 sys-id-ext 1)
Address 00E0.A322.E09C
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 20
Interface Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/1 Root FWD 19 128.2 P2p
Fa2/1 Altn BLK 19 128.3 P2p
Fa3/1 Altn BLK 19 128.4 P2p
Fa0/1 Desg FWD 19 128.1 P2p
SW1 SW2 SW3 SW4 SW5
Priority 32769 32769 32769 32769 32769
MAC 000C.85B5.9D6D 0090.0C03.A148 00D0.BA92.BAED 0001.978D.B7A7 00E0.A322.E09C
SW5(config)#spanning-tree vlan 1 priority 64
% Bridge Priority must be in increments of 4096.
% Allowed values are:
0 4096 8192 12288 16384 20480 24576 28672
32768 36864 40960 45056 49152 53248 57344 61440
SW5#show spanning-tree
VLAN0001
Spanning tree enabled protocol ieee
Root ID Priority 4097
Address 00E0.A322.E09C
This bridge is the root
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 4097 (priority 4096 sys-id-ext 1)
Address 00E0.A322.E09C
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 20
Interface Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/1 Desg FWD 19 128.2 P2p
Fa2/1 Desg FWD 19 128.3 P2p
Fa3/1 Desg FWD 19 128.4 P2p
Fa0/1 Desg FWD 19 128.1 P2p