how to add vlan to switch code example
Example: add new vlan to cisco switch
To create a VLAN, perform this task:
switch# configure terminal
Enters configuration mode.
switch(config)# vlan { vlan-id | vlan-range }
To create a VLAN, perform this task:
switch# configure terminal
Enters configuration mode.
switch(config)# vlan { vlan-id | vlan-range }