VLAN Fundations
- logicaly group users
- segments broadcast domains
- subnet correlations
- access control
- quality of service
Create VLANs
Test_Lab01#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Test_Lab01(config)#vlan 185
Test_Lab01(config-vlan)#name Web_Backend
Test_Lab01(config-vlan)#vlan 3
Test_Lab01(config-vlan)#name Distribution
Test_Lab01(config-vlan)#vlan 208
Test_Lab01(config-vlan)#name Ad_Test
Test_Lab01(config-vlan)#^Z
Test_Lab01#
Add Interfaces to VLAN
Test_Lab01(config)#int gi1/0/1
Test_Lab01(config-if)#switchport mode access
Test_Lab01(config-if)#switchport access vlan 13
Test_Lab01(config-if)#no shut
Test_Lab01(config)#int gi1/0/2
Test_Lab01(config-if)#switchport mode access
Test_Lab01(config-if)#switchport access Vlan 13
Test_Lab01(config-if)#no shut
Test_Lab01(config)#int gi1/0/3
Test_Lab01(config-if)#switp
Test_Lab01(config-if)#switchport mode access
Test_Lab01(config-if)#switchport access vlan 13
Test_Lab01(config-if)#no shut
Test_Lab01(config-if)#int gi1/0/4
Test_Lab01(config-if)#switchpo
Test_Lab01(config-if)#switchport mode access
Test_Lab01(config-if)#switchport access vlan 185
Test_Lab01(config-if)#no shut
Test_Lab01(config-if)#int gi1/0/5
Test_Lab01(config-if)#switchport mode access
Test_Lab01(config-if)#switchport access vlan 185
Test_Lab01(config-if)#no shut
Test_Lab01(config-if)#int gi1/0/6
Test_Lab01(config-if)#switchport mode access
Test_Lab01(config-if)#switchport access vlan 185
Test_Lab01(config-if)#no shut
Multiple interface in VLAN
Test_Lab01#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Test_Lab01(config)#int range gi1/0/7 -9
Test_Lab01(config-if-range)#switchport mode access
Test_Lab01(config-if-range)#switchport access vlan 3
Test_Lab01(config-if-range)#no shut
Test_Lab01(config-if-range)#exit
Test_Lab01(config)#exit
Test_Lab01#w
Test_Lab01(config)#int range gi1/0/10 -12
Test_Lab01(config-if-range)#switchport mode access
Test_Lab01(config-if-range)#switchport access vlan 3
Test_Lab01(config-if-range)#no shut
Test_Lab01(config-if-range)#exit
Test_Lab01(config)#exit
Test_Lab01#
00:32:43: %SYS-5-CONFIG_I: Configured from console by console
Test_Lab01#wr
Building configuration...
[OK]
Test_Lab01#
VALIDATE Config
Test_Lab01#sh vlan
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active
3 Distribution active Gi1/0/7, Gi1/0/8, Gi1/0/9
Gi1/0/10, Gi1/0/11, Gi1/0/12
13 Server_Farm active Gi1/0/1, Gi1/0/2, Gi1/0/3
185 Web_Backend active Gi1/0/4, Gi1/0/5, Gi1/0/6
208 Ad_Test active
1002 fddi-default act/unsup
1003 trcrf-default act/unsup
1004 fddinet-default act/unsup
1005 trbrf-default act/unsup
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1 enet 100001 1500 - - - - - 0 0
3 enet 100003 1500 - - - - - 0 0
13 enet 100013 1500 - - - - - 0 0
185 enet 100185 1500 - - - - - 0 0
208 enet 100208 1500 - - - - - 0 0
1002 fddi 101002 1500 - - - - - 0 0
1003 trcrf 101003 4472 1005 3276 - - srb 0 0
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1004 fdnet 101004 1500 - - - ieee - 0 0
1005 trbrf 101005 4472 - - 15 ibm - 0 0
VLAN AREHops STEHops Backup CRF
---- ------- ------- ----------
1003 7 7 off
Remote SPAN VLANs
------------------------------------------------------------------------------
Primary Secondary Type Ports
------- --------- ----------------- ------------------------------------------
Test_Lab01#
No comments:
Post a Comment