Configuring Pseudowire LSP Sharing
-
To enable or disable LSP sharing for L2VPNs, use
the following commands:
[enable|disable] l2vpn sharing
When LSP sharing is disabled, only one named LSP is used for a PW. When LSP sharing is enabled,up to 16 or 64 Named LSPs, depending on the platform, are used for a PW.
If LSP Sharing is disabled, and more than one Transport LSP is programmed into HW, all but one Transport LSP are removed from HW, and the configuration is preserved.
If LSP Sharing is enabled, and more than one Transport LSP was previously configured, the remaining LSPs are programmed into HW as they become available for use.
-
To configure LSP sharing parameters for PW LSP
sharing, use the following command:
configure sharing address-based custom [ipv4 [L3-and-L4 | source-only | destination-only | source-and-destination] | hash-algorithm [xor | crc-16] crc-32 [lower | upper]]
-
To display if PW LSP sharing is enabled, use the
following command:
show l2vpn sharing
-
To display the status of the L2VPN Sharing
configuration, use the following command:
show vpls detail
If L2VPN Sharing is enabled, and more than one Transport LSP is configured, the output will display the status of each Transport LSP.
-
To display an informational message when multiple transport LSPs are configured
for a VPLS PW, and when LSP sharing is not enabled, use the following
command:
configure vpls vpls1 peer 20.20.20.83 add mpls lsp lsp2
NOTE: To share LSPs in HW, use the command: enable l2vpn sharing.
Note
This message will only be displayed once per switch boot.