configure l2vpn peer

configure l2vpn [vpls vpls_name ] peer ipaddress [limit-learning number | unlimited-learning]

Description

Configures the maximum number of MAC SAs (Source Addresses) that can be learned for a given VPLS or VPWS peer.

Syntax Description

vpls_name

Identifies the VPLS within the switch (character string).

ipaddress

Specifies the IP address for the peer node that is the endpoint of the PW-LSP. This option applies only to VPLS peers.

limit-learning

Specifies a limit to the number of MAC SAs to be learned for the specified VPLS and peer.

number

The maximum number of MAC SAs that can be learned for the specified VPLS and peer.

unlimited-learning

Specifies no limit to the number of MAC SAs to be learned for the specified VPLS and peer.

Default

Unlimited.

Usage Guidelines

This parameter can only be modified when the specified VPLS is disabled. The unlimited-learning keyword can be used to specify that there is no limit. The default value is unlimited-learning.

The l2vpn keyword was introduced in ExtremeXOS Release 12.4 and is required when configuring a VPWS instance. For backward compatibility, the l2vpn keyword is optional when configuring a VPLS instance. However, this keyword will be required in a future release, so we recommend that you use this keyword for new configurations and scripts.

Example

The following example causes no more than 20 MAC addresses to be learned on VPLS1‘s PW to 1.1.1.202:

configure vpls vpls1 peer 1.1.1.202 limit-learning 20

History

This command was first available in ExtremeXOS 11.6.

The l2vpn and vpws keywords were first available in ExtremeXOS 12.4.

Platform Availability

This command is available only on the platforms that support MPLS (Multiprotocol Label Switching) as described in the ExtremeXOS 22.4 Feature License Requirements document.