Uploaded by balakumar ragavan

Router-on-a-stick

advertisement
VLAN 10 ICT-50 192.168.7.0/26 VLAN 20 BIO-29192.168.7.64/27 VLAN 30 VOICE-13 192.168.7.96/28
VLAN 99 MANAGE-5192.168.7.112/29
R1
------------------
enable
conf t
hostname R1
interface gi0/0/0
no shutdown
exit
interface gi0/0/0.10
ip address 192.168.7.1 255.255.255.192
encapsulation dot1q 10
exit
interface gi0/0/0.20
ip address 192.168.7.65 255.255.255.224
encapsulation dot1q 20
exit
interface gi0/0/0.30
ip address 192.168.7.97 255.255.255.240
encapsulation dot1q 30
exit
interface gi0/0/0.99
ip address 192.168.7.113 255.255.255.248
encapsulation dot1q 99
exit
SW1
enable
conf t
hostname SW1
vlan 10
name ICT
vlan 20
name BIO
vlan 30
name VOICE
vlan 99
name management
interface gi0/1
switchport mode trunk
switchport trunk allowed vlan 10,20,30,99
switchport trunk native vlan 99
interface gi0/2
switchport modeaccess
switchport access vlan 10
exit
int vlan 99
ip address 192.168.7.114 255.255.255.248
ip default-gateway 192.168.7.113
interface range fa0/19-24
switchport modeaccess
switchport access vlan 99
exit
interface range fa0/05-18
switchport modeaccess
mls qos trust cos
switchport voice vlan 30
switchport access vlan 20
exit
interface range fa0/1-4
switchport modeaccess
switchport access vlan 20
exit
interface gi0/2
switchport modeaccess
switchport access vlan 10
exit
SW2
--------------------
enable
conf t
hostname SW2
vlan 99
name management
vlan 10
name ICT
int vlan 99
ip address 192.168.7.115 255.255.255.248
ip default-gateway 192.168.7.113
interface range fa0/1-23
switchport modeaccess
switchport access vlan 10
exit
interface range gi0/1-2
switchport modeaccess
switchport access vlan 10
exit
interface fa0/24
switchport modeaccess
switchport access vlan 99
exit
SW3
--------------------------
enable
conf t
hostname SW3
vlan 99
name management
vlan 10
name ICT
int vlan 99
ip address 192.168.7.116 255.255.255.248
ip default-gateway 192.168.7.113
interface range fa0/1-24
switchport modeaccess
switchport access vlan 10
exit
interface range gi0/1-2
switchport modeaccess
switchport access vlan 10
exit
interface fa0/24
switchport modeaccess
switchport access vlan 99
exit
SW4
--------------------------------
enable
conf t
hostname SW4
vlan 99
name management
vlan 20
name BIO
int vlan 99
ip address 192.168.7.117 255.255.255.248
ip default-gateway 192.168.7.113
interface range fa0/1-24
switchport modeaccess
switchport access vlan 20
exit
interface range gi0/1-2
switchport modeaccess
switchport access vlan 20
exit
interface fa0/24
switchport modeaccess
switchport access vlan 99
exit
Download