You are on page 1of 2

R1

en
conf t
hostname R1
int f0/0
ip address 172.17.50.1 255.255.255.0
no shut
exit
int f0/1.10
encapsulation dot1q 10
ip address 172.17.10.1 255.255.255.0
exit
int f0/1.20
encapsulation dot1q 20
ip address 172.17.20.1 255.255.255.0
exit
int f0/1.30
encapsulation dot1q 30
ip address 172.17.30.1 255.255.255.0
exit
int f0/1.99
encapsulation dot1q 99 native vlan 99
ip address 172.17.99.1 255.255.255.0
exit
int f0/1
no shut
exit
end
cop r s
s1
en
conf t
hostname S1
vtp mode server
vtp domain CCNA
vtp password cisco
interface vlan 99
ip address 172.17.99.11 255.255.255.0
no shut
ip default-gateway 172.17.99.1
vlan 10
name Faculty/Staff
exit
vlan 20
name Students
exit
vlan 30
name Guest(Default)
exit
vlan 99
name Management&Native
exit
int vlan 99
ip add 172.17.99.31 255.255.255.0
exit
int range fa0/1-5
switchport mode trunk
switchport trunk native vlan 99
no shut
exit
spanning-tree vlan 1,10,20,30,99 priority 4096
s3
en
conf t
hostname S3
int vlan 99
ip add 172.17.99.33 255.255.255.0
no shut
exit
ip default-gateway 172.17.99.1
vtp mode client
vtp domain CCNA
vtp password cisco
interface range fa0/1-5
switchport mode trunk
switchport trunk native vlan 99
exit
end
s2
en
conf t
hostname S2
int vlan 99
ip address 172.17.99.32 255.255.255.0
exit
vtp mode client
vtp password cisco
vtp domain CCNA
ip default-gateway 172.17.99.1
int range fa0/1-5
switchport mode trunk
switchport trunk native vlan 99
no shut
end
conf t
int f0/6
switchport mode access
switchport access vlan 30
int f0/11
switchport mode access
switchport access vlan 10
int f0/18
switchport mode access
switchport access vlan 20
end
cop r s

You might also like