configure elrp-client one-shot

configure elrp-client one-shot vlan_name ports [ports | all] interval sec retry count [log | print | print-and-log]

Description

Starts one-time, non-periodic ELRP packet transmission on the specified ports of the VLAN using the specified count and interval.

Syntax Description

vlan_name Specifies a VLAN name.
ports Specifies the set of VLAN ports for packet transmission.
all Specifies all ports of this VLAN for packet transmission.
sec Specifies the interval (in seconds) between consecutive packet transmissions. The range is 1 to 600 seconds. The default is 1 second.
count Specifies the number of times ELRP packets must be transmitted. The range is 1 to 255 times. The default is 3 times.
log Specifies that a message should be logged in the system log file when ELRP packets are received back indicating detection of network loop, or no packets are received within the specified duration.
print Specifies that a message should be printed to the console when ELRP packets are received back indicating detection of network loop, or no packets are received within the specified duration.
print-and-log Specifies that a message should be logged in the system log file and printed to the console when ELRP packets are received back indicating detection of network loop, or no packets are received within the specified duration.

Default

sec—The interval between consecutive packet transmissions is 1 second.

count—The number of times ELRP packets must be transmitted is 3.

Usage Guidelines

This command starts one-time, non-periodic ELRP packet transmission on the specified ports of the VLAN using the specified count and interval. If any of these transmitted packets is returned, indicating loopback detection, the ELRP client can perform a configured action such as logging a message in the system log file or printing a log message to the console. There is no need to send a trap to the SNMP manager for non-periodic requests.

Note

Note

This command is backward compatible with Extreme Networks switches running ExtremeWare. If your network contains switches running only ExtremeXOS, you can also use the run elrp vlan_name {portsports} {intervalsec} {retrycount} to perform one-time ELRP packet transmission.

Use the configure elrp-client periodic command to configure periodic transmission of ELRP packets.

The ELRP client must be enabled globally in order for it to work on any VLANs. Use the enable elrp-client command to globally enable the ELRP client.

The ELRP client can be disabled globally so that none of the ELRP VLAN configurations take effect. Use the disable elrp-client command to globally disable the ELRP client.

Example

The following example starts one-time, non-periodic ELRP packet transmission on all ports of the VLAN sales, uses the default interval and transmission times, and sends messages to the console:

configure elrp-client one-shot sales ports all interval 1 retry 3 print

History

This command was first available in ExtremeXOS 11.1.

Platform Availability

This command is available on all platforms.