NOTE:
•
For more information about the
port link-type trunk
and
port trunk permit vlan all
commands, see the
chapter “VLAN configuration commands.”
•
In an MSTP network, GVRP can run on only the CIST. Blocked ports on the CIST cannot receive or send
GVRP packets.
Do not enable both GVRP and remote port mirroring. Otherwise, GVRP might register the remote probe
VLAN to unexpected ports, which would cause the monitor port to receive undesired duplicates. For
more information about port mirroring, see the
Network Management and Monitoring Configuration
Guide.
•
Enabling GVRP on a Layer 2 aggregate interface enables both the aggregate interface and all selected
member ports in the corresponding link aggregation group to participate in dynamic VLAN registration
and deregistration.
Configuring GARP timers
The LeaveAll timer is configured in system view and takes effect on all ports, but the other GARP timers
are configured on a port basis.
Follow these steps to configure GARP timers:
To do…
Use the command…
Remarks
Enter system view
system-view
––
Configure the GARP LeaveAll timer
garp timer leaveall
timer-value
Optional
The default is 1000
centiseconds.
Enter Ethernet or
Layer 2 aggregate
interface view
interface
interface-type
interface-number
Enter Ethernet
interface
view, Layer 2
aggregate
interface
view, or port
group view
Enter port group
view
port-group manual
port-group-name
Required
Perform either of the commands.
Depending on the view that you
accessed, the subsequent
configuration takes effect on a
port or all ports in a port group.
Configure the Hold timer
garp timer hold
timer-value
Optional
10 centiseconds by default
Configure the Join timer
garp timer join
timer-value
Optional
20 centiseconds by default
Configure the Leave timer
garp timer leave
timer-value
Optional
60 centiseconds by default
As shown in
, the value ranges for GARP timers are dependent on one another; use the following
guidelines to configure GARP timers:
•
If you want to set a value beyond the value range for a timer, you can change the value range by
tuning the value of another related timer.
•
If you want to restore the default settings of the timers, restore the Hold timer first, followed by the
Join, Leave, and LeaveAll timers.
130