Setting MRP timers
To avoid frequent VLAN registrations and deregistrations, use the same MRP timers throughout the network.
Each port maintains its own Periodic, Join, and LeaveAll timers, and each attribute of a port maintains a Leave timer.
To set MRP timers:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter Layer 2 Ethernet interface view or Layer 2 aggregate interface view. | interface interface-type interface-number | N/A |
3. Set the LeaveAll timer. | mrp timer leaveall timer-value | Optional. The default setting is 1000 centiseconds. |
4. Set the Join timer. | mrp timer join timer-value | Optional. The default setting is 20 centiseconds. |
5. Set the Leave timer. | mrp timer leave timer-value | Optional. The default setting is 60 centiseconds. |
6. Set the Periodic timer. | mrp timer periodic timer-value | Optional. The default setting is 100 centiseconds. You can restore the Periodic timer to the default at any time. |
Table 15 shows the value ranges for Join, Leave, and LeaveAll timers and their dependencies.
If you set a timer to a value beyond the allowed value range, your configuration fails. You can set a timer by tuning the value of any other timer. The value of each timer must be an integer multiple of 20 centiseconds and in the range defined in Table 15.
As a best practice, restore the timers in the order of Join, Leave, and LeaveAll.
Table 15: Dependencies of the Join, Leave, and LeaveAll timers
Timer | Lower limit | Upper limit |
---|---|---|
Join | 20 centiseconds | Half the Leave timer |
Leave | Twice the Join timer | LeaveAll timer |
LeaveAll | Leave timer on each port | 32760 centiseconds |