garp timer leave

Syntax

garp timer leave timer-value

undo garp timer leave

View

Ethernet interface view, Layer-2 aggregate interface view, port group view

Default level

2: System level

Parameters

timer-value: Leave timer (in centiseconds), which must be a multiple of 5 and range from twice the Join timer (exclusive) to the LeaveAll timer (exclusive).

Description

Use garp timer leave to set the GARP Leave timer for an Ethernet port, Layer-2 aggregate interface, or all ports in a port group.

Use undo garp timer leave to restore the default of the GARP Leave timer. This may fail if the default is beyond the valid value range for the Leave timer.

By default, the Leave timer is set to 60 centiseconds.

Related commands: display garp timer, garp timer join, and garp timer leaveall.

Examples

# Set the GARP Leave timer to 100 centiseconds, assuming that both the Join timer and the LeaveAll timer are using the default.

<Sysname> system-view
[Sysname] interface ethernet 1/0/1
[Sysname-Ethernet1/0/1] garp timer leave 100