configure esrp elrp-premaster-poll enable

configure esrp esrpDomain elrp-premaster-poll enable {count count | interval interval}

Description

Enables the use of ELRP by ESRP in the pre-master state, and configures how many times the switch sends ELRP PDUs and how often the switch sends ELRP PDUS in the pre-master state.

Syntax Description

esrpDomain Specifies an ESRP domain name.
count Specifies the number of times the switch sends ELRP PDUs. The default is 3. The range is 1 to 32.
interval Specifies how often, in seconds, the ELRP PDUs are sent. The default is 1 second. The range is 1 to 32 seconds.

Default

  • Use of ELRP in the pre-master state—disabled

  • Count—3 times

  • Interval—1 second

Usage Guidelines

Use this command to enable the use of ELRP by ESRP in the pre-master state to prevent network loops from occurring. When an ESRP-enabled switch is in the pre-master state (waiting to become the master), and you enable elrp-premaster-poll, the switch periodically sends ELRP PDUs at the configure level for a specified number of times. If there is a loop in the network, the transmitted PDUs are received by the switch. If this happens, the ESRP pre-master switch does not transition to the master state; rather, the switch transitions to the slave state.

We recommend that you enable both premaster and master polling when using ELRP with ESRP. To enable master polling, use the configure esrp esrpDomain elrp-master-poll enable {interval interval} .

If you attempt to configure master polling before premaster polling, the switch displays an error message similar to the following:

ERROR: Premaster-poll should be enabled before enabling master-poll!

If this happens, first configure premaster polling followed by master polling (if required).

If you do not specify the optional count or interval parameters, the default values are used.

If the sender does not receive packets, there is no loop in the network.

Example

The following command enables the use of ELRP—with the default settings—in the pre-master state on ESRP domain elrp1:

configure esrp elrp1 esrp elrp-premaster poll enable

History

This command was first available in ExtremeXOS 11.1.

Platform Availability

This command is available on all platforms.