VLAN and GVRP Configuration

Quick Scroll to:

About VLANs

VLANs are a method for segmenting a network into related groups, improving the efficiency of traffic flow and limiting the propagation of multicast and broadcast messages. Traffic between VLANs is blocked unless the VLANs are connected by a router, increasing security.

A VLAN is a group of ports designated by the switch as belonging to the same broadcast domain. That is, all ports carrying traffic for a particular subnet address would belong to the same VLAN. Using a VLAN, you can group users by logical function instead of physical location. This helps to control bandwidth usage by allowing you to group high-bandwidth users on low-traffic segments and to organize users from different LAN segments according to their need for common resources. You can use the switch's console interface to configure up to 30 port-based, IEEE 802.1Q-compliant VLANs. This enables you to use the same port for two or more VLANs and still allows interoperation with older switches that require a separate port for each VLAN. 

About GVRP

The GARP VLAN Registration Protocol (GVRP) is an 802.1Q-compliant method for facilitating automatic VLAN membership configuration. GVRP-enabled switches can exchange VLAN configuration information with other GVRP-enabled switches. Unnecessary broadcast traffic and unicast traffic also can be reduced. 

Policy rules or other network management methods can determine who is admitted to a VLAN. When a node requests admission to a specific VLAN, GVRP handles the registration of the node with GVRP-enabled switches and maintains that information. 

The GVRP protocol is described in the IEEE 802.1p standard.

For a more detailed description of how to use and configure VLANs, refer to the Management and Configuration Guide for your switch.

Devices supported:

Note: If a switch is a Commander, the Stack options will appear at the top of the page. 

Note: When multiple VLANs exist on a switch, only one VLAN can be untagged for each port. (In the default configuration, this is VLAN 1, the DEFAULT_VLAN.) When you add a second VLAN to a switch, the default setting on that VLAN is No for all ports. Using the Web browser interface, if you then reconfigure a port to Untagged for a new VLAN while there is an Untagged setting on another VLAN for the same port, the switch automatically reconfigures the other VLAN setting to No. For example, if you configure Port A1 as Untagged for the 2nd VLAN, then the switch automatically reconfigures DEFAULT_VLAN for port A1 as No

The Primary VLAN

Because certain features and management functions, such as single IP-address stacking, run on only one VLAN in the switch, and because DHCP and Bootp can run per-VLAN, there is a need for a "dedicated management VLAN" to ensure that multiple instances of DHCP or Bootp on different VLANs do not result in conflicting configuration values for the switch. The primary VLAN is the VLAN the switch uses to run and manage these features and data. In the factory-default configuration, the switch designates the default VLAN (DEFAULT_VLAN) as the primary VLAN. However, to provide more control in your network, you can designate another VLAN as primary. To view the primary VLAN setting, use the VLAN Information screen in the menu interface or the SHOW VLANS command in the CLI. To change the primary VLAN setting, use the VLAN Information screen in the menu interface or the PRIMARY VLAN command in the CLI.

How To...

Access the VLAN Configuration Page from HP TopTools

  1. Click on the Devices button in the navigation frame.
  2. Select Device Types from the menu.
  3. Select Networking Devices.
  4. Double-click on the device in the device list.
  5. In the Status page click on the Configuration tab. The device's configuration page displays.
  6. Select the VLAN Configuration button. The VLAN Configuration page displays.

Access the VLAN Configuration page using the Web Agent

  1. Click on the Configuration tab.
  2. Select the VLAN Configuration button. The VLAN Configuration page displays.

Assign Ports to a VLAN

From the Main menu of the switch console:

  1. Select 2. Switch Configuration
  2. Select 7. VLAN Menu
  3. Select 3. VLAN Port Assignment
  4. Select Edit
  5. Use the space bar to toggle through the possible configuration values for each port.

Add a VLAN

  1. Click on the Add/Remove VLANs button at the bottom of the table in the VLAN Configuration page. The Add/Remove VLAN page displays. 
  2. Enter a name for the new VLAN in VLAN Name field below the Current VLAN Definitions list box.
  3. Enter the 802.1Q ID (an unused number between 1 and 4094) in the field labeled 802.1Q VLAN ID.
  4. Click on the Add VLAN button. The VLAN appears in the Current VLAN Definitions box. 

Rename a VLAN

  1. Click on the Add/Remove VLANs button at the bottom of the table in the VLAN Configuration page. The Add/Remove VLAN page displays.
  2. Select the VLAN to be renamed from the Current VLAN Definitions list. 
  3. Enter a name for the selected VLAN in the New VLAN Name field.
  4. Click on the Rename Selected VLAN button to save the new name.

Remove a VLAN

  1. Click on the Add/Remove VLANs button at the bottom of the table in the VLAN Configuration page. The Add/Remove VLAN page displays.
  2. Select the VLAN to remove from the Current VLANS box.
  3. Click on the Remove Selected VLAN button.
  4. Confirm removal of the VLAN.

Modify Port VLAN Configuration

To modify ports in a VLAN:

  1. In the VLAN table, click on the Modify button for the VLAN whose ports you want to modify. The  Modify Port VLAN Configuration page displays.
  2. Select the port to be modified.
  3. Select the Mode, for example, Tagged.  
  4. Click on the Apply button. 

The modes are:

Enable GVRP and (Optionally) Change the GVRP Mode for a Port

The VLAN table includes a GVRP Enabled check box. If a check appears in this box, GVRP is enabled and the GVRP Mode button is active. To enable GVRP and view the current GVRP mode assignments for individual ports:

  1. In the VLAN table, click on the GVRP Enabled check box to activate the GVRP Mode button.
  2. In the VLAN table, click on the GVRP button to display the GVRP Mode page.
  3. Select the ports for which you want to assign a different GVRP mode. Hold down the Shift key to select multiple ports.
  4. In the drop-down list box, select the mode. The choices are:
  5. Do one of the following:

 

Related Topics

VLAN operation with:


openbook.gif Back to Contents

Copyright © 2001-2002 by Hewlett-Packard Company