![H3C S5120-SI Series Скачать руководство пользователя страница 173](http://html2.mh-extra.com/html/h3c/s5120-si-series/s5120-si-series_command-reference-manual_3713315173.webp)
162
Use the
undo garp timer leaveall
command to restore the default. This may fail if the default is beyond
the valid value range for the LeaveAll timer.
By default, the setting of the LeaveAll timer is 1000 centiseconds.
Related commands:
display garp timer
and
garp timer leave
.
Examples
# Set the leaveall timer to 100 centiseconds, assuming that the Leave timer on every port is set to 60
centiseconds.
<Sysname> system-view
[Sysname] garp timer leaveall 100
gvrp
Syntax
gvrp
undo gvrp
View
System view, Ethernet interface view, Layer-2 aggregate interface view, port group view
Default level
2: System level
Parameters
None
Description
Use the
gvrp
command to enable GVRP.
Use the
undo gvrp
command to disable GVRP.
By default, GVRP is disabled.
Note that:
•
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.
•
To enable GVRP on a port, enable GVRP globally first and then on the port.
•
You can use this command on trunk ports only.
•
You cannot change the link type of a GVRP-enabled trunk port.
Related commands:
display gvrp status
.
Examples
# Enable GVRP globally.
<Sysname> system-view
[Sysname] gvrp
GVRP is enabled globally.