R3303-HP HSR6800 Routers Layer 2 - LAN Switching Command Reference
147
Default command level
2: System level
Parameters
fixed: Sets the GVRP registration mode to fixed.
forbidden: Sets the GVRP registration mode to forbidden.
normal: Sets the GVRP registration mode to normal.
Usage guidelines
Settings in system view take effect globally. Settings in Ethernet view or Layer 2 aggregate interface take
effect on the current interface. Settings in port group view take effect on all ports in the port group.
This command is only available on trunk ports.
Examples
# Set the GVRP registration mode to fixed on port GigabitEthernet 4/0/1.
<Sysname> system-view
[Sysname] interface GigabitEthernet 4/0/1
[Sysname-GigabitEthernet4/0/1] port link-type trunk
[Sysname-GigabitEthernet4/0/1] gvrp registration fixed
Related commands
display garp statistics
reset garp statistics
Use reset garp statistics to clear the GARP statistics on the specified ports. If no ports are specified, this
command clears the GARP statistics on all ports.
Syntax
reset garp statistics [ interface interface-list ]
Views
User view
Default command level
2: System level
Parameters
interface interface-list: Clears the GARP statistics of one or multiple ports. You can specify up to 10 port
lists, by each of which you can specify a single port in the form of interface-type interface-number, or a
port range in the form of interface-type interface-number1 to interface-type interface-number2, where
the end port number specified by interface-number2 must be greater than the start port number specified
by interface-number1.
Usage guidelines
The cleared statistics include the statistics about GVRP PDUs sent, received, and dropped.
Examples
# Clear the GARP statistics on all ports.
<Sysname> reset garp statistics