Quick Reference Guide

220 | VLANs
www.dell.com | support.dell.com
GARP Commands
In Global Config mode, you can enable GVRP, or GMRP, or both for the switch:
gvrp adminmode enable
gmrp adminmode enable: enables GARP Multicast Registration Protocol
(GMRP) on the system
gmrp interfacemode enable all: enables GARP Multicast Registration Protocol on
all interfaces
In Interface Config mode, enable GVRP for a port:
gvrp interfacemode enable
In Interface Config, Global Config, or Interface Range mode, set the timer values in centiseconds. For
interface-level changes, go to the individual interfaces to apply changes.
set garp timer join <10-100> The default is 20.
set garp timer leave <20-600> The default is 60.
set garp timer leaveall <200-6000> The default is 1000.
Using GVRP
GVRP is used to exchange a VLAN number—in this example, VLAN 3—dynamically from the switch on
which it is configured to the switch on which GVRP is enabled.
GVRP must be enabled globally and on selected interfaces.
One end must have a VLAN configured on an interface in order to establish a dynamic VLAN
connection on the other end. In the following example, R2 has VLAN 3 configured.
Two switches link through a port, 1/0/2 in this case.
Enabling Dynamic VLANs with GVRP
Use the following command sequence on each switch participating in the dynamic VLAN:
Step Command Syntax Command Mode Usage
1 gvrp adminmode enable Global Config
Enable GVRP on each switch and on each port that
is to be part of the GVRP VLAN.
2
interface vlan vlan_id Global Config Specify a new or existing VLAN by VLAN number,
from 2–4094.
3 tagged unit/slot/port
Interface VLAN
Config
Add one or more ports to the VLAN.
4
no shutdown Interface VLAN
Config
Enable each port added to the VLAN.
5
show garp Privileged Exec Verify the GARP admin mode.