14-22
Port-Based Virtual LANs (VLANs) and GVRP
Port-Based Virtual LANs (Static VLANs)
Port-Based Virtual LANs
(VLANs) and GVRP
(For information on dynamic VLAN and GVRP operation, se e GVRP on
page 14-30.)
For example, suppose you have a VLAN named VLAN100 with a VID of 100,
and all ports are set to No for this VLAN. To change the VLA N name to
Blue_Team and set ports 1-5 to Tagged, you could do so with these com-
mands:
HP4108(config)# vlan 100 name Blue_Team
HP4108(config)# vlan 100 tagged 1-5
To move to the vlan 100 context level and execute the same co mmands:
HP4108(config)# vlan 100
HP4108(vlan-100)# name Blue_Team
HP4108(vlan-100)# tagged 1-5
Similarly, to change the tagged ports in the abo ve examples to No (or Auto, if
GVRP is enabled), you could use either of the following commands.
At the config level, use:
HP4108(config)# no vlan 100 tagged 1-5
- or -
At the VLAN 100 context level, use:
HP4108(vlan-100)# no tagged 1-5
Note You cannot use these commands with dynamic VLANs. Attempting to do so
results in the message VLAN already exists. and no change occurs.
Web: Viewing and Configuring VLAN Parameters
In the web browser interface you can do the following:
Add VLANs
Rename VLANs
Remove VLANs
Configure GVRP mode
Select a new Primary VLAN
To configure static VLAN port parameters, you will need to use the menu
interface (available by Telnet from the web browser interface) or the CLI.
1. Click on the Configuration tab.
2. Click on [VLAN Configuration].