Configuring garp timers – H3C Technologies H3C S12500 Series Switches User Manual
Page 189

176
Step Command
Remarks
3.
Enter 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.
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 on ports.
7.
Configure the GVRP registration mode on
the ports.
gvrp registration { fixed |
forbidden | normal }
Optional.
The default setting is
normal.
When you set the GVRP
registration mode to
forbidden, H3C
recommends that you
make sure the port
allows packets from
VLAN 1 to pass through.
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