Configuring Virtual LANs (VLANs)
December 2005 © Foundry Networks, Inc. 11 - 19
• Enable or disable STP.
Removing a Port-Based VLAN
Suppose you want to remove VLAN 5 from the example in Figure 11.10. To do so, use the following procedure.
1. Access the global CONFIG level of the CLI on FESX-A by entering the following commands:
FESX424 Switch-A> enable
No password has been assigned yet...
FESX424 Switch-A# configure terminal
FESX424 Switch-A(config)#
2. Enter the following command:
FESX424 Switch-A(config)# no vlan 5
FESX424 Switch-A(config)#
3. Enter the following commands to exit the CONFIG level and save the configuration to the system-config file on
flash memory:
FESX424 Switch-A(config)#
FESX424 Switch-A(config)# end
FESX424 Switch-A# write memory
FESX424 Switch-A#
4. Repeat steps 1 – 3 on FESX-B.
Syntax: no vlan <vlan-id> by port
Removing a Port from a VLAN
Suppose you want to remove port 11 from VLAN 4 on FESX-A shown in Figure 11.10. To do so, use the following
procedure.
1. Access the global CONFIG level of the CLI on FESX424 Switch-A by entering the following command:
FESX424 Switch-A> enable
No password has been assigned yet...
FESX424 Switch-A# configure terminal
FESX424 Switch-A(config)#
2. Access the level of the CLI for configuring port-based VLAN 4 by entering the following command:
FESX424 Switch-A(config)#
FESX424 Switch-A(config)# vlan 4
FESX424 Switch-A(config-vlan-4)#
3. Enter the following commands:
FESX424 Switch-A(config-vlan-4)#
FESX424 Switch-A(config-vlan-4)# no untag ethernet 11
deleted port ethe 11 from port-vlan 4.
FESX424 Switch-A(config-vlan-4)#
4. Enter the following commands to exit the VLAN CONFIG mode and save the configuration to the system-
config file on flash memory:
FESX424 Switch-A(config-vlan-4)#
FESX424 Switch-A(config-vlan-4)# end
FESX424 Switch-A# write memory
You can remove all the ports from a port-based VLAN without losing the rest of the VLAN’s configuration.
However, you cannot configure an IP address on a virtual routing interface unless the VLAN contains ports. If the