Virtual LAN (VLAN)

What is a vlan ?

Virtual Lan separate an exiting physical network into multiple logical network. Thus each vlan create separate Broadcast domain.

Configure a Vlan

ASSW#conf t
ASSW(config)#vlan 10
ASSW(config-vlan)#name DATA

Assigning Vlan on an Access port

We all are familiar configuring vlan on an access port using vlan-id. But From ios version 15.2(3)E2, Cisco IOS XE 16.2.1 and Cisco IOS XE 3.2SE Named VLAN is supported :– Option to specify a VLAN name for access and voice VLAN. On port Gi1/0/6 i am using traditional way of configuring using the Vlan-ID and on Port Gi1/0/11 i use the Vlan-Name. (configuration tried on a 9200 switch)

ASSW#conf t
ASSW(config)#int gigabitEthernet 1/0/6
ASSW(config-if)#switchport access vlan 10

ASSW(config-if)#int gigabitEthernet 1/0/11
ASSW(config-if)#switchport access vlan name DATA

Even though we used the Vlan-Name while configuring port gi1/0/11, switch translated it to vlan-id corresponding to vlan-name.

interface GigabitEthernet1/0/6
description ACCESS-PORT
switchport access vlan 10

interface GigabitEthernet1/0/11
description ACCESS-PORT
switchport access vlan 10

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s