To do ...
Use the command ...
Remarks
Enter system view
system-view
—
Enable GVRP globally
gvrp
Required
By default, GVRP is disabled
globally.
Enter Ethernet port view
interface interface-type
interface-number
—
Enable GVRP on the port
gvrp
Required
By default, GVRP is disabled
on the port.
z
After you enable GVRP on a trunk port, you cannot change the port to a different type.
z
Use the
port trunk permit all
command to permit the traffic of all dynamically registered VLANs to
pass through a trunk port with GVRP enabled.
Configuring GVRP Timers
Follow these steps to configure GVRP timers:
To do ...
Use the command ...
Remarks
Enter system view
system-view
—
Configure the LeaveAll timer
garp timer leaveall
timer-value
Optional
By default, the LeaveAll timer is
set to 1,000 centiseconds.
Enter Ethernet port view
interface interface-type
interface-number
—
Configure the Hold, Join, and
Leave timers
garp timer
{
hold
|
join
|
leave
}
timer-value
Optional
By default, the Hold, Join, and
Leave timers are set to 10, 20,
and 60 centiseconds
respectively.
Note that:
z
The setting of each timer must be a multiple of 5 (in centiseconds).
z
The timeout ranges of the timers vary depending on the timeout values you set for other timers. If
you want to set the timeout time of a timer to a value out of the current range, you can set the
timeout time of the associated timer to another value to change the timeout range of this timer.
The following table describes the relations between the timers:
11-5