SPANNING-TREE PROTOCOL

Task 1: Portfast
Switch:
(config)# int f0/2
(config-if)# spanning-tree portfast

Task 2: PVST
Switch:
# sh spanning-tree
Switch-A menjadi Root Bridge karena MAC-address lebih kecil
Di Switch-B, port Fa0/12 blocking karena ID-nya lebih besar dari port Fa0/11

PC-A:
C:> ping 10.1.1.20 –t

Switch-B (dijadikan Root Bridge):
(config)# spanning-tree vlan 1 priority 0
 ATAU
(config)# spanning-tree vlan 1 root primary

Task 3: PVRST
Switch:
# sh spanning-tree
# conf t
(config)# spanning-tree mode rapid-pvst
(config)# end

# sh spanning-tree

Task 4: Etherchannel
Switch:
# conf t
(config)# int range f0/11 – 12
(config-if-range)# speed 100
(config-if-range)# duplex full
(config-if-range)# switchport mode access
(config-if-range)# switchport access vlan 1
(config-if-range)# channel-group 1 mode on
(config-if-range)# end

# sh etherchannel summary
# sh port-channel

0 Comment for " "

Back To Top