configure elrp-client dynamic-vlans action

configure elrp-client dynamic-vlans {mvrp |netlogin |vm-tracking |all} [{intervalsec} {action [{log |trap |log-and-trap} {disable-port {[{egress |ingress} {duration seconds | permanent}] |none}}]}]

Description

This command sets actions to be taken after Extreme Loop Recognition Protocol (ELRP) on dynamic VLAN (Virtual LAN)s detects a loop.

Syntax Description

dynamic-vlans ELRP configuration options for dynamically created VLANs.
mvrp Specifies that the command applies to dynamic VLANs created by Multiple VLAN Registration Protocol (MVRP) only.
netlogin Specifies that the command applies to dynamic VLANs created by Network Login only.
vm-tracking Specifies that the command applies to dynamic VLANs created by virtual machine MAC tracking only.
all (Default) Specifies that the command applies to all types of dynamic VLANs.
interval Specifies setting the time interval between successive ELRP polls.
sec Sets the time interval in seconds between successive ELRP polls. Range is 1–600. Default = 1.
action Action to be taken after ELRP poll result.
log Print ELRP poll result to system log.
trap Send SNMP trap.
log-and-trap Print ELRP poll result to system log and send SNMP trap.
disable-port Disable port where looped PDU was transmitted or received.
egress Disable port where looped PDU was transmitted.
ingress Disable port where looped PDU was received (default).
duration Specifies setting the time period that the port is kept disabled before re-enabling.
seconds Sets the time in seconds that the port is kept disabled before re-enabling. Range is 15–600. Default = 30.
permanent Keep port disabled permanently. You must intervene to re-enable.
none Removes any previously set actions.

Default

If the type of dynamic VLAN is not specified, the command applies to all types of dynamic VLANs.

If the time duration is not set for the period between ELRP polls, the default is one second.

If not specified, the port that the looped PDU was received on is disabled.

If not specified, the disabled port is kept disabled for 30 seconds before it is re-enabled.

Example

The following example enables ELRP for all types of dynamic VLANs with a time interval between ELRP polls of 2 seconds:

configure elrp-client dynamic-vlans interval 2

The following example enables ELRP for MVRP VLANs with SNMP trap set when a loop is detected:

configure elrp-client dynamic-vlans mvrp action trap

The following example enables ELRP for all types of dynamic VLANs and disables the egress port where the loop is detected permanently:

configure elrp-client dynamic-vlans action disable-port egress permanent

The following example enables ELRP for VM-tracking VLANs and disables the ingress port where the loop is detected for 100 seconds:

configure elrp-client dynamic-vlans vm-tracking action disable-port ingress duration 100

History

This command was first available in ExtremeXOS 22.3.

Platform Availability

This command is available on the Summit X450-G2, X460-G2, X670-G2, X770, and ExtremeSwitching X440-G2, X590, X620, X690, X870 series switches.