Definion
Layer 2 Broadcast Address Virtual switches inside the main physical device By default all ports on a switch belong to VLAN1 Number of VLANs on a device: VLAN1 - VLAN4094 VLAN1 - VLAN1005: Normal VLANs Implementatioons: ,

Reasons

Benefits

VLAN Trunking

VLAN Tagging

Using

Commands

Configuration

Old way

Create

1
2
3
4
5
sw1> enable
sw1> vlan database
sw1 (vlan)# vlan 50 <name>
sw1 (vlan)# exit
sw1 (vlan)# show vlan brief

Delete

1
sw1> no vlan 1000 name test

New way

Create

1
2
3
4
sw1> enable
sw1 (config)# vlan 100
sw1 (config-vlan)# name ccna
sw1 (config-vlan)# do show vlan brief

Delete

1
2
sw1>conf t
sw1 (config)# no vlan 100

or

1
sw>delete vlan.dat

Management VLAN

Configure IP access to switch for VLAN 1:

1
2
3
4
5
s1 (config)# interface vlan 1
s1 (config-if)# ip address 10.10.10.254 255.255.255.0
s1 (config-if)# no shutdown
s1 (config-if)# exit
s1 (config)# ip default-gateway 192.168.0.1