163
gvrp registration
Syntax
gvrp
registration
{
fixed
|
forbidden
|
normal
}
undo gvrp
registration
View
Ethernet interface view, Layer-2 aggregate interface view, port group view
Default 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.
Description
Use the
gvrp
registration
command to configure the GVRP registration mode on a port (in Ethernet or
Layer-2 aggregate interface view) or all ports in a port group (in port group view).
Use the
undo gvrp
registration
command to restore the default on a port, or on all ports in a port group
depending on the view the command is executed.
The default GVRP registration mode is normal.
Note that, this command is only available on trunk ports.
Related commands:
display garp statistics
.
Examples
# Set the GVRP registration mode to
fixed
on port GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] port link-type trunk
[Sysname-GigabitEthernet1/0/1] gvrp registration fixed
reset garp statistics
Syntax
reset garp statistics
[
interface
interface-list
]
View
User view
Default level
2: System level
Parameters
interface
interface-list
: Specifies one or multiple ports for which the GARP statistics are to be cleared. You
can provide 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