Dell PowerConnect 3324/3348 Switch CLI Guide
GVRP, or GARP VLAN Registration Protocol, is an industry-standard protocol designed to circulate VLAN information from device to device. With GVRP, a single switch is manually configured with all desired VLANs for the network, and all other switches on the network learn these VLANs dynamically.
The gvrp enable global configuration command enables GVRP globally. To disable GVRP globally on the switch, use the no form of this command.
gvrp enable
no gvrp enable
GVRP is globally disabled.
Global Configuration Mode
There are no user guidelines for this command.
The following example globally enables GVRP on the device.
Console (config)# gvrp enable |
The gvrp enable interface configuration command enables GVRP on an interface. To disable GVRP on an interface, use the no form of this command.
gvrp enable
no gvrp enable
GVRP is disabled on all interfaces by default.
Interface Configuration (Ethernet, port-channel) Mode
The default port state is access, which is a port that belongs to a single, untagged VLAN. GVRP cannot join a port with state as access. To modify the port state, see the command switchport mode.
The following example enables GVRP on port 1/e8.
Console (config)# interface ethernet 1/e8 Console (config-if)# gvrp enable |
Use the garp timer interface configuration command to adjust the GARP application join, leave, and leaveall GARP timer values. To reset the timer to default values, use the no form of this command.
garp timer {join | leave | leaveall} timer_value
no garp timer
The default timer values are as follows:
Interface Configuration (Ethernet, port-channel) Mode
The following relationship must be maintained for the various timer values:
Set the same GARP timer values on all Layer 2-connected devices. If the GARP timers are set differently on Layer 2-connected devices, GARP applications will not operate successfully.
The following example sets the leave timer for port 1/e8.
Console (config)# interface ethernet 1/e8 Console (config-if)# garp timer leave 900 |
Use the gvrp vlan-creation-forbid interface configuration command to disable dynamic VLAN creation. To enable dynamic VLAN creation, use the no form of this command.
gvrp vlan-creation-forbid
no gvrp vlan-creation-forbid
Dynamic VLAN creation is enabled by default.
Interface Configuration (Ethernet, port-channel) Mode
There are no user guidelines for this command.
The following example disables dynamic VLAN creation on port 1/e8.
Console (config)# interface ethernet 1/e8 Console (config-if)# gvrp vlan-creation-forbid |
Use the gvrp registration-forbidden interface configuration command to de-register all VLANs and prevent dynamic VLAN registration on the port. To allow dynamic registering for VLANs on a port, use the no form of this command.
gvrp registration-forbid
no gvrp registration-forbid
Dynamic registering and deregistering for each VLAN on the port is allowed.
Interface Configuration (Ethernet, port-channel) Mode
There are no user guidelines for this command.
The following example shows how default dynamic registering and deregistering is forbidden for each VLAN on port 1/e8.
Console (config)# interface ethernet 1/e8 Console (config-if)# gvrp registration-forbid |
Use the clear gvrp statistics global configuration command to clear all the GVRP statistics information.
clear gvrp statistics [ethernet interface | port-channel port-channel-number]
This command has no default configuration.
Privileged EXEC Mode
There are no user guidelines for this command.
The following example clears all the GVRP statistics information on port 1/e8.
Console # clear gvrp statistics ethernet 1/e8 |
Use the show gvrp configuration privileged EXEC command to display GVRP configuration information, including timer values, whether GVRP and dynamic VLAN creation is enabled, and which ports are running GVRP.
show gvrp configuration [ethernet interface | port-channel port-channel-number]
This command has no default configuration.
Privileged EXEC Mode
There are no user guidelines for this command.
The following example displays GVRP configuration information.
Use the show gvrp statistics privileged EXEC command to display GVRP statistics.
show gvrp statistics [ethernet interface | port-channel port-channel-number]
This command has no default configuration.
Privileged EXEC Mode
There are no user guidelines for this command.
The following example displays GVRP statistics information.
Use the show gvrp error-statistics privileged EXEC command to display GVRP error statistics.
show gvrp error-statistics [ethernet interface | port-channel port-channel-number]
This command has no default configuration.
Privilege EXEC Mode
There are no user guidelines for this command.
The following example displays GVRP statistics information.