Hi aljob.luis,
Good day!!
In Figure, a Layer 2 circuit is established between routers PE1 and PE2 to deliver Layer 2 traffic between customer routers CE1 and CE2. A Layer 2 circuit VC connection is configured on the PE routers only. No special configuration is required on the CE routers, and the provider core P0 router only requires MPLS and LDP on the appropriate interfaces to enable labels to be shared between the PE routers.
On Router CE1, configure the Fast Ethernet interface to handle VLAN traffic. Be sure to use the same VLAN ID both here and on the Fast Ethernet interface of Router CE2.
Router CE1
content_copyzoom_out_map
[edit]
interfaces {
fe-1/1/2 {
description "to PE1 fe-1/1/0";
vlan-tagging;
unit 600 {
vlan-id 600; # Be sure this VLAN ID matches the VLAN ID of your CE neighbor.
family inet {
address 10.1.1.1/24;
}
}
}
}
On Router PE1, configure the Ethernet-based CE-facing interface with the CCC encapsulation type of your choice. If you use VLAN CCC, include the vlan-tagging statement at the [edit interfaces ethernet-interface-fpc/pic/port] hierarchy level. Also, include the encapsulation vlan-ccc statement at both the [edit interfaces ethernet-interface-fpc/pic/port] and [edit interfaces ethernet-interface-fpc/pic/port unit unit-number] hierarchy levels.
Establish your Layer 2 circuit with configuration of the l2circuit statement at the [edit protocols] hierarchy level. Remember to include in your Layer 2 circuit configuration the IP address of your remote PE neighbor (usually the loopback address of the neighbor), the interface connected to the CE router, and a virtual circuit identifier for this VC. Then, configure MPLS, LDP, and an IGP (such as OSPF) to enable signaling for your Layer 2 circuit.
Please refer below document for better understanding.
Ethernet-Based Layer 2 Circuit Configuration
CCC, TCC, and Layer 2.5 Switching Configuration
Please mark "Accepted Solution" if this helps you solve your query. Kudos are always appreciated.
Thanks
Suraj