You are on page 1of 4

'S1 - switch

en
conf t
hostname S1
no ip domain-lookup
enable secret class
bann motd &AUTHORIZED ACCESS ONLY!&
li co 0
logging sync
pass cisco
login
li vty 0 15
logging sync
pass cisco
login
exit
ip default-gateway 172.17.99.1
int vlan 99
ip add 172.17.99.11 255.255.255.0
exit
int range f0/1 - 24
shu
exit
int range f0/1-4
sw mode trunk
sw trunk native vlan 99
no shu
exit
int f0/5
sw m trunk
no shu
exit
vtp mode server
vtp domain cisco
vtp pass cisco
vlan 10
name faculty-staff
vlan 20
name students
vlan 30
name guest
vlan 99
name management
exit
spanning-tree mode rapid-pvst
spanning-tree vlan 10,20,30,99 root pri
exit
'S2 - switch
en
conf t
hostname S2
no ip domain-lookup
enable secret class
bann motd &AUTHORIZED ACCESS ONLY!&
li co 0
logging sync
pass cisco
login
li vty 0 15
logging sync
pass cisco
login
exit
ip default-gateway 172.17.99.1
int vlan 99
ip add 172.17.99.12 255.255.255.0
exit
int range f0/1 - 24
shu
exit
int range f0/1 - 4
sw m trunk
sw trunk native vlan 99
no shu
exit
int range f0/6 - 10
sw mo acc
sw acc vlan 30
no shu
exit
int range f0/11 - 17
sw mo acc
sw acc vlan 10
no shu
exit
int range f0/18 - 24
sw mo acc
sw acc vlan 20
no shu
exit
vtp mode client
vtp domain cisco
vtp pass cisco
spanning-tree mode rapid-pvst
exit
'S3 - switch
en
conf t
hostname S3
no ip domain-lookup
enable secret class
bann motd &AUTHORIZED ACCESS ONLY!&
li co 0
logging sync
pass cisco
login
li vty 0 15
logging sync
pass cisco
login
exit
ip default-gateway 172.17.99.1
int vlan 99
ip add 172.17.99.13 255.255.255.0
exit
int range f0/1 - 24
shu
exit
int range f0/1 - 4
sw m trunk
sw trunk native vlan 99
no shu
exit
vtp mode client
vtp domain cisco
vtp pass cisco
spanning-tree mode rapid-pvst
exit

'R1 - router
en
conf t
hostname R1
no ip domain-lookup
enable secret class
bann motd &AUTHORIZED ACCESS ONLY!&
li co 0
logging sync
pass cisco
login
li vty 0 4
logging sync
pass cisco
login
exit
int fa0/1
no shu
int f0/1.10
en dot 10
ip add 172.17.10.1 255.255.255.0
int f0/1.20
en dot 20
ip add 172.17.20.1 255.255.255.0
int f0/1.30
en dot 30
ip add 172.17.30.1 255.255.255.0
int f0/1.9
en dot 99 native
ip add 172.17.99.1 255.255.255.0
end

You might also like