mrp timer leaveall

Use mrp timer leaveall to set the LeaveAll timer.

Use undo mrp timer leaveall to restore the default.

Syntax

mrp timer leaveall timer-value

undo mrp timer leaveall

Default

The LeaveAll timer is 1000 centiseconds.

Views

Layer 2 Ethernet interface view

Layer 2 aggregate interface view

Predefined user roles

network-admin

mdc-admin

Parameter

timer-value: Specifies the LeaveAll timer value (in centiseconds). The LeaveAll timer must meet the following requirements:

Usage guidelines

Each time the LeaveAll timer of a port expires, all attributes of the MSTIs on the port are deregistered throughout the network. To prevent this type of deregistration from affecting the network, do not set the LeaveAll timer to less than its default value.

To keep the dynamic VLANs learned through MVRP stable, do not set the LeaveAll timer less than its default value.

The device randomly changes the LeaveAll timer within a certain range when an MRP participant restarts its LeaveAll timer. This prevents the LeaveAll timer of a particular participant from always expiring first.

Examples

# Set the LeaveAll timer to 1500 centiseconds. (In this example, the Leave timer on each port uses the default setting.)

<Sysname> system-view
[Sysname] interface ten-gigabitethernet 1/0/1
[Sysname-Ten-GigabitEthernet1/0/1] mrp timer leaveall 1500

Related commands

display mvrp running-status

mrp timer leave