You are on page 1of 2

vlan 10

name Mgmt
vlan 20
name Data
vlan 30
name data
vlan 40
name Wireless
vlan 50
Guest

exit

int vlan 10
no shutdown
ip add 10.0.0.3 255.255.255.0

int vlan 20
no shutdown
ip add 20.0.0.3 255.255.255.0

int vlan 30
no shutdown
ip add 30.0.0.3 255.255.255.0

int vlan 40
no shutdown
ip add 40.0.0.3 255.255.255.0

int vlan 50
no shutdown
ip add 50.0.0.3 255.255.255.0

exit

----------------------------------------------------------------------
SW1

int f0/3
no shutdown
switchport mode trunk
switchport trunk native vlan 10
switchport trunk allowed vlan all

exit

int f0/4

switchport mode access


switchport access vlan 20

exit

int f0/5
switchport voice vlan 30
switchport mode access
switchport access vlan 20
exit
-----------------------------------------
SW2

int f0/5
no shutdown
switchport mode trunk
switchport trunk native vlan 10
switchport trunk allowed vlan all

exit

int f0/3

switchport mode access


switchport access vlan 20

exit

int f0/4
switchport voice vlan 30
switchport mode access
switchport access vlan 20

exit

---------------------------------------------------
int rang f0/2-3
no shut
channel-group 1 mode active

do sh ip int b

exit

int port-channel 1
no shut
switchport mode trunk
switchport trunk allowed vlan all
exit

You might also like