
112
Step Command
Remarks
6.
Enable GVRP on the ports.
gvrp
By default, GVRP is disabled
on a port.
7.
Configure the GVRP registration mode on
the ports.
gvrp registration
{
fixed
|
forbidden
|
normal
}
Optional.
The default setting is
normal
.
NOTE:
•
For more information about the
port link-type trunk
and
port trunk permit vlan all
commands, see
Layer 2—LAN Switching Command Reference.
•
GVRP is mutually exclusive with service loopback.
•
GVRP can work with STP, RSTP, or MSTP CIST. When GVRP runs on the CIST, blocked ports on the CIST
cannot receive/send GVRP packets. For more information about STP, RSTP, and MSTP CIST, see the
chapter “Configuring the spanning tree.”
•
Do not enable both GVRP and remote port mirroring. Otherwise, GVRP may register the remote probe
VLAN to unexpected ports, resulting in undesired duplicates to be received by the monitor port. For
more information about port mirroring, see
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
Among the four GARP timers, the LeaveAll timer is configured in system view and takes effect on all ports,
while the other three are configured on a port basis.
To configure GARP timers:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Configure the GARP LeaveAll
timer.
garp timer leaveall
timer-value
Optional.
The default setting is 1000
centiseconds.
3.
Enter Ethernet interface view,
Layer 2 aggregate interface
view, or port group view.
•
Enter Ethernet interface view or
Layer 2 aggregate interface view
:
interface
interface-type
interface-number
•
Enter port group view
:
port-group manual
port-group-name
Use either command.
Depending on the view you
accessed, the subsequent
configuration takes effect on
a port or all ports in a
port-group.
4.
Configure the Hold timer.
garp timer hold
timer-value
Optional.
The default setting is 10
centiseconds.