Configuration procedure, Configuring the garp timers – H3C Technologies H3C WX5500E Series Access Controllers User Manual
Page 174
163
Configuration procedure
To configure GVRP functions on a trunk port:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enable GVRP
globally.
gvrp
By default, GVRP is globally
disabled.
3.
Enter Ethernet
interface 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 one of the commands.
4.
Configure the link
type of the ports as
trunk.
port link-type trunk
The default setting is access.
For more information about the port
link-type trunk command, see Layer
2—LAN Switching Command
Reference.
5.
Assign the trunk
ports to all VLANs.
port trunk permit vlan all
By default, a trunk port is assigned to
VLAN 1 only.
For more information about the port
trunk permit vlan all command, see
Layer 2—LAN Switching Command
Reference.
6.
Enable GVRP on the
ports.
gvrp
By default, GVRP is disabled.
7.
Configure the GVRP
registration mode on
the port.
gvrp registration { fixed | forbidden |
normal }
Optional.
The default setting is normal.
Configuring the 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.
The LeaveAll timer applies to all ports.
To keep the dynamic VLANs learned
through GVRP stable, do not set the
LeaveAll timer smaller than its default
value, 1000 centiseconds.