S1>en
S1#conf t
enter configuration commands,one per line. End with CNTL/Z
S1(config)#vlan 10
S1(config-vlan)#vlan 20
S1(config-vlan)#vlan 30
S1(config-vlan)#vlan 40
S1(config-vlan)#vlan 50
S1(config-vlan)#vlan 60
S1(config-vlan)#vlan 70
S1(config-vlan)#vlan 80
S1(config-vlan)#vlan 99
S1(config-vlan)#int range f0/1-4
S1(config-if-range)#switchport mode trunk
S1(config-if-range)#switchport trunk native 99
S1(config)#int vlan 99
S1(config-if)ip add 172.17.99.11 255.255.255.0
S1(config-if)no shut
S1(config)#spanning-tree mode rapid-pvst
S1(config)#spanning-tree vlan 1,10,30,50,70 root primary
Konfigurasi switch 2
S1>en
S1#conf t
enter configuration commands,one per line. End with CNTL/Z
S1(config)#int fa0/11
S1(config-if)#switchport mode access
S1(config-if)#switchport access vlan 10
S1(config-if)#spanning-tree bpduguard enable
S1(config-if)#spanning-tree portfast
S1(config-if)#no shut
S1(config)#int fa0/6
S1(config-if)#switchport mode access
S1(config-if)#switchport access vlan 30
S1(config-if)#spanning-tree bpduguard enable
S1(config-if)#spanning-tree portfast
S1(config-if)#no shut
S1(config-if)#vlan 10
S1(config-vlan)#vlan 20
S1(config-vlan)#vlan 30
S1(config-vlan)#vlan 40
S1(config-vlan)#vlan 50
S1(config-vlan)#vlan 60
S1(config-vlan)#vlan 70
S1(config-vlan)#vlan 80
S1(config-vlan)#vlan 99
S1(config-vlan)#ex
S1(config)int vlan 99
S1(config-if)ip add 172.17.99.12 255.255.255.0
S1(config-if)no shut
S1(config-if)ex
S1(config)spanning-tree vlan 1,10,20,30,40,50,60,70,80,99 root secondary
S1(config)spanning-tree mode rapid-pvst
Konfigurasi switch 3
S1>en
S1#conf t
enter configuration commands,one per line. End with CNTL/Z
S1(config)#vlan 10
S1(config-vlan)#vlan 20
S1(config-vlan)#vlan 30
S1(config-vlan)#vlan 40
S1(config-vlan)#vlan 50
S1(config-vlan)#vlan 60
S1(config-vlan)#vlan 70
S1(config-vlan)#vlan 80
S1(config-vlan)#vlan 99
S1(config-vlan)#int range f0/1-4
S1(config-if-range)#switchport mode trunk
S1(config-if-range)#switchport trunk native 99
S1(config)#spanning-tree mode rapid-pvst
S1(config)#spanning-tree vlan 20,40,60,80,99 root primary
S1(config)#int vlan 99
S1(config-if)#ip address 172.17.99.13 255.255.255.0
S1(config-if)#no shut
0 komentar:
Posting Komentar