First page Back Continue Last page Image

Cisco Commands to Create VLANs

You create VLANs in the global configuration mode

Task

IOS Command

Enter global configuration mode.

Switch# configure terminal

Create a VLAN with a valid ID number.

Switch(config)# vlan vlan-id

Specify a unique name to identify the VLAN.

Switch(config-vlan)# name vlan-name

Return to the privileged EXEC mode.

Switch(config-vlan)# end

Enter global configuration mode.

Switch# configure terminal

VLAN details are stored in the vlan.dat file