evpn mpls id
Use this command to set the VPN identifier to create an EVPN MPLS tunnel.
To set the VPN identifier for an E-LAN, use the evpn mpls id
command. For creating an E-LINE/XConnect, use the evpn mpls xconnect
command with source and target identifiers.
Use the no
parameter of this command to delete the EVPN MPLS ID for the MPLS tunnel.
Command Syntax
evpn mpls id <1-16777215> (| xconnect target-mpls-id <1-16777215>) (|control-word) (|etree-leaf)
no evpn mpls id <1-16777215>
Parameters
evpn mpls id <1-16777215>
Specifies the EVPN-MPLS tenant identifier. This is a numeric value ranging from 1 to 16777215.
xconnect target-mpls-id <1-16777215>
Enables E-LINE Xconnect. Specifies the target EVID for E-LINE Xconnect. This is a numeric value within the range from 1 to 16777215.
control-word
Enables control-word egress or ingress options for the given EVPN Instance (E-LAN or E-LINE). Requires the command hardware-profile filter evpn-mpls-cw to be enabled.
etree-leaf
(Optional) Configures the device as a leaf node within the E-Tree topology.
Command Mode
Configure mode
Applicability
Introduced in OcNOS version 3.0. Introduced xconnect target-mpls-id <1-16777215>
parameter in the OcNOS version 4.0, control-word
parameter in the OcNOS version 6.0.0, and etree-leaf
parameter in the OcNOS version 6.5.1.
Example
(config)#evpn mpls id 10
(config-evpn-mpls)#exit
(config)#no evpn mpls id 10
(config)#evpn mpls id 100 xconnect target-mpls-id 200
(config-evpn-mpls)#exit
(config)#no evpn mpls id 100
(config)#evpn mpls id 300 xconnect target-mpls-id 400 control-word
(config-evpn-mpls)#exit
(config)#no evpn mpls id 300
Use the following command to configure the leaf node as an E-Tree leaf in a MPLS EVPN network.
(config)#evpn mpls id 10 etree-leaf
(config-evpn-mpls)#exit