Configuring VLANs

Modifying a Port-Based VLAN

You can make the following modifications to a port-based VLAN:

Add or delete a VLAN port.

Change its priority.

Enable or disable STP.

Removing a Port-Based VLAN

Suppose you want to remove VLAN 5 from the example in Figure 16.10. To do so, use the following procedure.

USING THE CLI

1.Access the global CONFIG level of the CLI on 6208M-SX A by entering the following commands:

HP6208-A> enable

No password has been assigned yet...

HP6208-A# configure terminal HP6208-A(config)#

2.Enter the following command:

HP6208-A(config)# no vlan 5 HP6208-A(config)#

3.Enter the following commands to exit the CONFIG level and save the configuration to the system-config file on flash memory:

HP6208-A(config)# HP6208-A(config)# end HP6208-A# write memory HP6208-A#

4.Repeat steps 1 – 3 on 6208M-SX 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 6208M-SX A shown in Figure 16.10. To do so, use the following procedure.

USING THE CLI

1.Access the global CONFIG level of the CLI on 6208M-SX A by entering the following command:

HP6208-A> enable

No password has been assigned yet...

HP6208-A# configure terminal HP6208-A(config)#

2.Access the level of the CLI for configuring port-based VLAN 4 by entering the following command:

HP6208-A(config)# HP6208-A(config)# vlan 4 HP6208-A(config-vlan-4)#

3.Enter the following commands:

HP6208-A(config-vlan-4)# HP6208-A(config-vlan-4)# no untag ethernet 11 deleted port ethe 11 from port-vlan 4. HP6208-A(config-vlan-4)#

16 - 17