Removing VLANs
Step Command Description
Step 1 configure terminal Enter the configuration mode
Step 2 no vlan <vlan-list>
Remove VLANs using the no vlan
command.
vlan-list – may be any vlan number or
list of vlan numbers. Multiple vlan
numbers can be provided as comma
separated list. Consecutive vlan
numbers can be provided as ranges like
5-10.
Step 3 show vlan To display the configured VLANs
Step 4 write startup-config Optional step – Save these VLAN
configuration to be part of startup
configuration.
The below examples show sample ways to remove VLANs.
Delete a VLAN with identifier 10
SMIS# configure terminal
SMIS(config)# no vlan 10
Delete VLANs with identifier 20 to 30, 50 and 100
SMIS# configure terminal
SMIS(config)# no vlan 20-30,50,100
SMIS(config-vlan)# exit
VLAN Name
VLANs can be associated with a label name string for easier configuration and identification.
Follow the steps below to add or modify a name string to any VLAN in Supermicro switches.
VLAN Configuration Guide
Step Command Description
Step 1 configure terminal Enters the configuration mode.
Step 2 vlan <vlan-list>
Enters the VLAN configuration mode.
vlan-list – may be any VLAN number or
list of VLAN numbers. Multiple VLAN
numbers can be provided as commaseparated
values. Consecutive VLAN
numbers can be provided as a range,
such as 5-10.
If multiple VLANs are provided, the
same name string provided in next step
will be associated with all these VLANs.
Step 3 name <vlan-name-string> Associates a name string to this VLAN
using the name command.
vlan-name-string is any alphanumeric
string up to 32 characters.
Step 4 show vlan Displays the configured VLANs
Step 5 write startup-config Optional step – saves this VLAN
configuration to be part of startup
configuration.
The example below shows the necessary steps to associate a name string to a VLAN.
Associate name main_user_vlan to VLAN 50.
No comments:
Post a Comment