Configuring Dynamic VLANs

GVRP Configuration describes the configuration of dynamic VLANs using the GARP (Generic Attribute Registration Protocol) VLAN Registration Protocol (GVRP). MVRP Configuration describes the configuration of dynamic VLANs using the Multiple VLAN Registration Protocol (MVRP). Both GVRP and MVRP are enabled globally and disabled at the port level. A port can only be enabled for GVRP or MVRP, but not both. Whichever dynamic VLAN protocol you are using, it must be globally enabled and also enabled on specific ports in order to generate and process the appropriate GVRP or MVRP advertisement frames. The dynamic VLAN protocol must be enabled on the VLAN for the appropriate advertisement frames to be processed. Dynamic VLAN creation can be disabled per VLAN using the VLAN restriction feature supported by both GVRP and MVRP.

Note

Note

Refer to Dynamic VLAN Support for conceptual information about both GVRP and MVRP.
Caution

Caution

Caution: The setting of GARP or MRP timers is critical and should only be changed by personnel familiar with 802.1Q standards.
Click to expand in new window

GVRP Configuration

Step Task Command(s)
1 Show existing GVRP configuration for a port or list of ports. If no port-string is entered, the global GVRP configuration and all port GVRP configurations are displayed. show gvrp [port-string]
2 Enable GVRP on those ports assigned to a VLAN. GVRP is disabled at the port level by default. set gvrp enable port-string
3 Optionally, disable GVRP processing on specified VLANs. set gvrp vlan vlan-list restricted disable
4 Display GVRP status for system VLANs. show gvrp vlan {vlan-list | all} restricted
5 Display the existing GARP timer values. show garp timer [port-string]
6 Optionally, set the GARP join, leave, and leaveall timer values. Each timer value is in centiseconds. set garp timer {[join timer-value] [leave timer-value] [leaveall timer-value]} port-string
Click to expand in new window

MVRP Configuration

Step Task Command(s)
1 Show existing MVRP configuration for a port or list of ports.

If no port-string is entered, the global MVRP configuration and all port MVRP configurations are displayed.

show mvrp [port-string]
2 Enable MVRP on those ports assigned to a VLAN. MVRP is disabled at the port level by default. set mvrp enable port-string
3 Optionally, disable MVRP processing on specified VLANs. set mvrp vlan vlan-list restricted disable
4 Display MVRP status for system VLANs. show mvrp vlan {vlan-list | all} restricted
5 Display the existing MRP timer values. show mrp timer [port-string]
6 Optionally, set the MRP join, leave, and leaveall timer values or enable or disable the periodic timer which has a fixed interval of 1 second. Each timer value is in centiseconds. set mrp timer {[join timer-value] [leave timer-value] [leaveall timer-value] [periodic {enable | disable} port-string