mrp timer leaveall

Syntax

mrp timer leaveall timer-value

undo mrp timer leaveall

View

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

Default level

2: System level

Parameter

timer-value: LeaveAll timer value (in centiseconds). The LeaveAll timer must be greater than any Leave timer on each port, no greater than 32760, and a multiple of 20.

Description

Use mrp timer leaveall to set the LeaveAll timer.

Use undo mrp timer leaveall to restore the default.

By default, the LeaveAll timer is 1000 centiseconds.

You will fail to restore the default LeaveAll timer if the default LeaveAll timer is not greater than any Leave timer on each port.

Each time when the LeaveAll timer of a port expires, all attributes of the MSTIs on the port are deregistered throughout the network, and such a deregistration affects a large portion of the network. Do not set too small a value for the LeaveAll timer, and make sure that the LeaveAll timer is greater than any Leave timer on each port.

To keep the dynamic VLANs learned through MVRP stable, do not set the LeaveAll timer smaller than its default value (1000 centiseconds).

To avoid the case that the LeaveAll timer of a fixed participant always first expires, the switch randomly changes the LeaveAll timer within a certain range when the MRP participant restarts its LeaveAll timer.

Related commands: display mvrp running-status and mrp timer leave.

Examples

# Set the LeaveAll timer to 1500 centiseconds. (Suppose the Leave timer is restored to the default)

<Sysname> system-view
[Sysname] interface ethernet 1/0/1
[Sysname-Ethernet1/0/1] mrp timer leaveall 1500