Konfigurasi pada Switch
S1
S1>ena
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)#exit
S1(config-vlan)#int vlan 99
S1(config-if)#ip
address 172.17.99.11 255.255.255.0
S1(config)#int
range fa0/1-4
S1(config-if-range)#sw
S1(config-if-range)#switchport
mode trunk
S1(config-if-range)#switchport
trunk native vlan 99
S1(config-if-range)#end
S1#ping
172.17.99.12
S1#ping
172.17.99.13
S1#conf t
S1(config)#spanning-tree mode
rapid-pvst
S1(config)#spanning-tree vlan 1
root primary
S1(config)#spanning-tree
vlan 10 root primary
S1(config)#spanning-tree
vlan 30 root primary
S1(config)#spanning-tree
vlan 50 root primary
S1(config)#spanning-tree vlan 70 root primary
S2
S2>ena
S2#conf t
Enter
configuration commands, one per line. End with CNTL/Z.
S2(config)#int
range fa0/11, fa0/18, fa0/6
S2(config-if-range)#switchport
mode access
S2(config-if-range)#no
shutdown
S2(config-if-range)#exit
S2(config)#vlan
10
S2(config-vlan)#vlan
20
S2(config-vlan)#vlan
30
S2(config-vlan)#vlan
40
S2(config-vlan)#vlan
50
S2(config-vlan)#vlan
60
S2(config-vlan)#vlan
70
S2(config-vlan)#vlan
80
S2(config-vlan)#vlan
99
S2(config-vlan)#exit
S2(config)#int
fa0/6
S2(config-if)#switchport
access vlan 30
S2(config-if)#int
fa0/18
S2(config-if)#switchport
access vlan 20
S2(config-if)#int
fa0/11
S2(config-if)#switchport
access vlan 10
S2(config-if)#exit
S2(config)#int
vlan 99
S2(config-if)#ip
address 172.17.99.12 255.255.255.0
S2(config-if)#end
S2#show vlan brief
S2#conf t
S2(config)#int
range fa0/1-4
S2(config-if-range)#switchport
mode trunk
S2(config-if-range)#switchport
trunk native vlan 99
S2(config-if-range)#exit
S2(config)#spanning-tree
mode rapid-pvst
S2(config)#spanning-tree
vlan 1 root secondary
S2(config)#spanning-tree
vlan 10 root secondary
S2(config)#spanning-tree
vlan 20 root secondary
S2(config)#spanning-tree
vlan 30 root secondary
S2(config)#spanning-tree
vlan 40 root secondary
S2(config)#spanning-tree
vlan 50 root secondary
S2(config)#spanning-tree
vlan 60 root secondary
S2(config)#spanning-tree
vlan 70 root secondary
S2(config)#spanning-tree
vlan 80 root secondary
S2(config)#spanning-tree vlan 99
root secondary
S2(config)#int range fa0/11,
fa0/18, fa0/6
S2(config-if-range)#spanning-tree
portfast
S2(config-if-range)#int range
fa0/11, fa0/18, fa0/6
S2(config-if-range)#spanning-tree bpduguard enable
S3
S3>ena
S3#conf t
Enter
configuration commands, one per line. End with CNTL/Z.
S3(config)#vlan
10
S3(config-vlan)#vlan
20
S3(config-vlan)#vlan
30
S3(config-vlan)#vlan
40
S3(config-vlan)#vlan
50
S3(config-vlan)#vlan
60
S3(config-vlan)#vlan
70
S3(config-vlan)#vlan
80
S3(config-vlan)#vlan
99
S3(config-vlan)#exit
S3(config)#int vlan 99
S3(config-if)#ip
address 172.17.99.13 255.255.255.0
S3(config-if)#exit
S3(config)#int range fa0/1-4
S3(config-if-range)#switchport
mode trunk
S3(config-if-range)#switchport
trunk native vlan 99
S3(config-if-range)#exit
S3(config)#spanning-tree
mode rapid-pvst
S3(config)#spanning-tree vlan 20
root primary
S3(config)#spanning-tree
vlan 40 root primary
S3(config)#spanning-tree
vlan 60 root primary
S3(config)#spanning-tree
vlan 80 root primary
S3(config)#spanning-tree vlan 99 root primary
Tidak ada komentar:
Posting Komentar