OcNOS-SP : Key Features : Enhanced Security and Performance : Single-Home for VxLAN EVPN IRB with OSPF or ISIS
Single-Home for VxLAN EVPN IRB with OSPF or ISIS
Overview
Single Home EVPN-MPLS IRB with OSPF and ISIS feature provides streamline routing and bridging operations within Service Provider (SP) networks. It seamlessly integrates EVPN-MPLS architecture and handles both Layer 3 routing and Layer2 bridging, making it an ideal choice for SP networks. This feature utilizes routing protocols, OSPF and ISIS, known for their efficiency and reliability. It also supports Integrated Routing and Bridging (IRB), enabling the integration of Layer3 IP routing and Layer2 MAC address bridging within the same interface. It simplifies network operations, enhances efficiency, and ensures network reliability for SP in dynamic environments.
Feature Characteristics
The Single Home EVPN-MPLS IRB with OSPF and ISIS feature has the following characteristics:
Integrates with the EVPN-MPLS architecture, providing a comprehensive solution for Layer 3 routing and Layer 2 bridging within the network.
Supports IRB, allowing for the integration of Layer 3 routing and Layer 2 bridging within the same interface.
Benefits
The Single Home EVPN-MPLS IRB with OSPF and ISIS feature has the following benefits:
With OSPF and ISIS support, the network can effortlessly scale to accommodate increased traffic and new network elements.
The use of robust routing protocols like OSPF and ISIS ensures reliable and fault-tolerant network communication, minimizing downtime and enhancing network stability.
The integration of multiple functionalities into a single feature simplifies network management, reducing operational complexity and lowering the risk of configuration errors.
Prerequisites
Router must be up and running.
Topology for OSPF
The network topology includes various network elements such as routers, customer edge (CE) devices, and Provider Edge (PE) routers. The feature enables OSPF on the IRB interfaces, allowing for efficient routing and communication between network devices within the topology.

Single Home EVPN MPLS IRB with OSPF and ISIS
Configuration
Perform the following configurations to set up interfaces, assign IP addresses, configure VLAN encapsulation, establish OSPF routing, and prepare the network for routing and forwarding operations. Please ensure that the subnet mask values are accurate and suitable for your network requirements.
CE1
 
CE1#configure terminal
Enters the configuration mode on the OcNOS device.
CE1(config)#interface po1
Enters the configuration mode for a Port-Channel interface named po1.
CE1(config-if)# load-interval 30
Sets the load interval for the Port-Channel interface to 30 seconds.
CE1(config-if)#interface po1.101
Enters the configuration mode for a subinterface of Port-Channel 1, specifically subinterface 101.
CE1(config-if)# encapsulation dot1q 101
Configures the subinterface to use IEEE 802.1Q encapsulation with VLAN ID 101.
CE1(config-if)# ip address 101.101.101.2/24
Assigns the IP address 101.101.101.2 with a subnet mask of /24 to the subinterface.
CE1(config-if)#interface po1.1001
Enters the configuration mode for another subinterface of Port-Channel 1, specifically subinterface 1001.
CE1(config-if)# encapsulation dot1q 1001
Configures the subinterface with IEEE 802.1Q encapsulation using VLAN ID 1001.
CE1(config-if)# ipv6 address 1001::2/64
Assigns an IPv6 address 1001::2 with a subnet prefix length of /64 to the subinterface.
CE1(config-if)# ipv6 router ospf area 0.0.0.0 tag 1001 instance-id 0
Configures OSPF for IPv6 on the subinterface, specifying area 0.0.0.0 with a tag of 1001 and instance ID 0.
CE1(config-if)# ip address 99.99.99.1/243
Assigns the IP address 99.99.99.1 with a subnet mask of /243 to the Gigabit Ethernet interface. Note: The subnet mask value seems to be incorrect; it should typically be in the format /24.
CE1(config-if)#interface lo
Enters the configuration mode for a loopback interface.
CE1(config-if)# ip address 127.0.0.1/8
Assigns the primary IP address 127.0.0.1 with a subnet mask of /8 to the loopback interface.
CE1(config-if)# ip address 1.1.1.1/32 secondary
Adds a secondary IP address, 1.1.1.1 with a /32 subnet mask, to the loopback interface.
CE1(config-if)# ipv6 address ::1/128
Assigns the IPv6 address ::1 with a subnet prefix length of /128 to the loopback interface.
CE1(config-if)#interface xe7
Enters the configuration mode for Ten Gigabit Ethernet interface 7.
CE1(config-if)# channel-group 1 mode active
Configures the interface to be part of an EtherChannel group with group number 1 and sets the mode to active.
CE1(config-if)#exit
Exits the interface configuration mode.
CE1(config)#router ospf 101
Enters the configuration mode for OSPF (routing process 101.
CE1(config-router)# ospf router-id 1.1.1.1
Sets the OSPF router ID to 1.1.1.1.
CE1(config-router)# redistribute connected
Configures OSPF to redistribute connected routes into the OSPF routing process.
CE1(config-router)# network 101.101.101.0/24 area 0.0.0.0
Specifies that the network 101.101.101.0/24 is part of OSPF Area 0.0.0.0.
CE1(config-router)#router ipv6 ospf 1001
Enters the configuration mode for OSPFv3 (OSPF for IPv6) routing process 1001.
CE1(config-router)# router-id 1.1.1.1
Sets the OSPFv3 router ID to 1.1.1.1.
CE1(config-router)#Exit
Exists from the configurations.
Configure MTU over IRB
 
CE1(config)#int po1
Enters interface configuration mode for port-channel 1 (po1).
CE1(config-if)#mtu 9216
Sets the Maximum Transmission Unit (MTU) for the interface po1 to 9216 bytes, which is a jumbo frame MTU size.
CE1(config-if)#commit
Commit the changes made to the interface configuration.
CE1((config-if)#int po1.101
Enters interface configuration mode for subinterface po1.101.
CE1(config-if)#mtu 9216
Sets the MTU to 9216 bytes.
CE1(config-if)#int po1.1001
Enters interface configuration mode for subinterface po1.1001.
CE1(config-if)#mtu 9216
Sets the MTU to 9216 bytes.
CE1(config-if)#Exit
Exits the interface configuration mode.
PE1
 
PE1#configure terminal
Enters the global configuration mode.
PE1(config)#evpn mpls enable
Enables EVPN-MPLS within the configuration.
PE1(config)#evpn mpls irb
Configures EVPN-MPLS IRB.
PE1(config)#mac vrf MacVrf1
Creates a MAC VRF named MacVrf1.
PE1(config-vrf)# rd 2.2.2.2:100
Defines a RD for MacVrf1 as 2.2.2.2:100.
PE1(config-vrf)# route-target both 100:1
Sets the route target for MacVrf1 to 100:1 for both import and export.
PE1(config-vrf)#ip vrf IpVrf1
Creates an IP VRF named IpVrf1.
PE1(config-vrf)# rd 2.2.2.2:200
Defines an RD for IpVrf1 as 2.2.2.2:200.
PE1(config-vrf)# route-target both 100:100
Sets the route target for IpVrf1 to 100:100 for both import and export.
PE1(config-vrf)# l3vni 100
Configures Layer 3 Virtual Network Identifier (L3VNI) as 100 for IpVrf1.
PE1(config-vrf)#evpn mpls vtep-ip-global 2.2.2.2
Configures the EVPN-MPLS Virtual Tunnel EndPoint (VTEP) IP address as 2.2.2.2.
PE1(config)#evpn mpls id 101
Defines EVPN-MPLS ID as 101.
PE1(config-evpn-mpls)# host-reachability-protocol evpn-bgp MacVrf1
Specifies BGP as the host reachability protocol for MacVrf1.
PE1(config-evpn-mpls)# evpn irb irb101
Associates IRB 101 with EVPN-MPLS.
PE1(config-evpn-mpls)#evpn mpls id 1001
Defines EVPN-MPLS ID as 1001.
PE1(config-evpn-mpls)# host-reachability-protocol evpn-bgp MacVrf1
Specifies BGP as the host reachability protocol for MacVrf1.
PE1(config-evpn-mpls)# evpn irb irb1001
Associates IRB 1001 with EVPN-MPLS.
PE1(config-evpn-mpls)#qos enable
Enables QoS features.
PE1(config)#qos statistics
Configures QoS statistics collection.
PE1(config)#hostname PE1
Sets the hostname of the device to PE1.
PE1(config)#segment-routing
Enters the configuration mode for segment routing.
PE1(config-sr)# mpls sr-prefer
Configures MPLS as the preferred segment routing method.
PE1(config-sr)#exit
Exits the segment routing configuration mode.
PE1(config)#interface po1
Enters the configuration mode for Port-Channel 1.
PE1(config-if)# switchport
Configures the interface as a switchport.
PE1(config-if)# load-interval 30
Sets the load interval to 30 seconds for the interface.
PE1(config-if)#interface po1.101 switchport
Enters the configuration mode for subinterface 101 of Port-Channel 1 and configures it as a switchport.
PE1(config-if)# encapsulation dot1q 101
Configures IEEE 802.1Q encapsulation with VLAN ID 101 for the subinterface.
PE1(config-if)# rewrite pop
Configures packet rewriting for the subinterface.
PE1(config-if)# access-if-evpn
Specifies that this interface is associated with EVPN.
PE1(config-acc-if-evpn)# map vpn-id 101
Maps this interface to VPN ID 101.
PE1(config-acc-if-evpn)#interface po1.1001 switchport
Enters the configuration mode for subinterface 1001 of Port-Channel 1 and configures it as a switchport.
PE1(config-if)# encapsulation dot1q 1001
Configures IEEE 802.1Q encapsulation with VLAN ID 1001 for the subinterface.
PE1(config-if)# rewrite pop
Configures packet rewriting for the subinterface.
PE1(config-if)# access-if-evpn
Specifies that this interface is associated with E
PE1(config-acc-if-evpn)# map vpn-id 1001
Maps this interface to VPN ID 1001.
PE1(config-acc-if-evpn)#exit
Exits the access-if-evpn configuration mode.
PE1(config-if)#interface irb101
Enters the configuration mode for IRB interface 101.
PE1(config-irb-if)# ip vrf forwarding IpVrf1
Associates the IRB interface with the IP VRF IpVrf1.
PE1(config-irb-if)# ip address 101.101.101.1/24
Configures the IP address 101.101.101.1 with a subnet mask of /24 on the IRB interface.
PE1(config-irb-if)#interface irb1001
Enters the configuration mode for IRB interface 1001.
PE1(config-irb-if)# ip vrf forwarding IpVrf1
Associates the IRB interface with the IP VRF IpVrf1.
PE1(config-irb-if)# ipv6 address 1001::1/64
Configures an IPv6 address 1001::1 with a subnet prefix length of /64 on the IRB interface.
PE1(config-irb-if)# ipv6 router ospf area 0.0.0.0 tag IpVrf1 instance-id 0
Configures OSPF for IPv6 on the IRB interface, specifying area 0.0.0.0 with a tag and instance ID.
PE1(config-irb-if)#interface lo
Enters the configuration mode for loopback interface.
PE1(config-if)# ip address 127.0.0.1/8
Configures the primary IP address of the loopback interface as 127.0.0.1 with a subnet mask of /8.
PE1(config-if)# ip address 2.2.2.2/32 secondary
Adds a secondary IP address 2.2.2.2 with a /32 subnet mask to the loopback interface.
PE1(config-if)# ipv6 address ::1/128
Configures an IPv6 address ::1 with a subnet prefix length of /128 on the loopback interface.
PE1(config-if)# prefix-sid index 2
Configures a prefix SID with an index of 2.
PE1(config-if)#interface xe7
Enters the configuration mode for Ten Gigabit Ethernet interface 7.
PE1(config-if)# channel-group 1 mode active
Configures the interface to be part of an EtherChannel group with group number 1 and sets the mode to active.
PE1(config-if)#interface xe10
Enters the configuration mode for Ten Gigabit Ethernet interface 10.
PE1(config-if)# speed 10g
Sets the speed of the interface to 10 gigabits per second.
PE1(config-if)# ip address 10.1.1.1/24
Configures an IP address 10.1.1.1 with a subnet mask of /24 on the interface.
PE1(config-if)# label-switching
Enables label switching on the interface.
PE1(config-if)# exit
Exits the interface configuration mode.
PE1(config)#router ospf 100
Enters the configuration mode for OSPF routing process 100.
PE1(config-router)# ospf router-id 2.2.2.2
Sets the OSPF router ID to 2.2.2.2.
PE1(config-router)# network 2.2.2.2/32 area 0.0.0.0
Configures the network 2.2.2.2/32 within OSPF Area 0.0.0.0.
PE1(config-router)# network 10.1.1.0/24 area 0.0.0.0
Configures the network 10.1.1.0/24 within OSPF Area 0.0.0.0.
PE1(config-router)# segment-routing mpls
Configures MPLS for segment routing.
PE1(config-router)#router ospf 101 IpVrf1
Enters the configuration mode for OSPF routing process 101 within VRF IpVrf.
PE1(config-router)# network 10.1.1.0/24 area 0.0.0.0
Specifies the network 10.1.1.0 with a /24 subnet mask to be included in OSPF Area 0.0.0.0.
PE1(config-router)# segment-routing mpls
Enables MPLS-based segment routing in the OSPF configuration.
PE1(config-router)#router ospf 101 IpVrf1
Enters the configuration mode for OSPF routing process 101 associated with VRF IpVrf1.
PE1(config-router)# ospf router-id 2.2.2.2
Sets the OSPF router ID to 2.2.2.2.
PE1(config-router)# redistribute bgp
Configures the redistribution of BGP routes into OSPF.
PE1(config-router)# network 101.101.101.0/24 area 0.0.0.0
Specifies the network 101.101.101.0 with a /24 subnet mask to be included in OSPF Area 0.0.0.0 for VRF IpVrf1.
PE1(config-router)#router ipv6 vrf ospf IpVrf1
Enters the configuration mode for OSPFv3 (OSPF for IPv6) routing process associated with VRF IpVrf1.
PE1(config-router)# router-id 2.2.2.2
Sets the OSPFv3 router ID to 2.2.2.2.
PE1(config-router)#router bgp 100
Enters the configuration mode for BGP routing process 100.
PE1(config-router)# bgp router-id 2.2.2.2
Sets the BGP router ID to 2.2.2.2.
PE1(config-router)# neighbor 5.5.5.5 remote-as 100
Specifies a BGP neighbor with IP address 5.5.5.5 and assigns it the remote autonomous system number 100.
PE1(config-router)# neighbor 5.5.5.5 update-source lo
Sets the loopback interface as the source for BGP updates to the neighbor.
PE1(config-router)# neighbor 5.5.5.5 advertisement-interval 0
Configures the BGP neighbor's advertisement interval to 0.
PE1(config-router)# address-family l2vpn evpn
Enters the configuration mode for the BGP address family l2vpn evpn.
PE1(config-router-af)# neighbor 5.5.5.5 activate
Activates the BGP neighbor within the l2vpn evpn address family.
PE1(config-router-af)# exit-address-family
Exits the l2vpn evpn address family configuration.
PE1(config-router)# address-family ipv4 vrf IpVrf1
Enters the configuration mode for the BGP address family ipv4 vrf IpVrf1.
PE1(config-router-af)# redistribute ospf 101
Configures the redistribution of OSPF routes from OSPF process 101 into the ipv4 vrf IpVrf1 address family.
PE1(config-router-af)# exit-address-family
Exits the ipv4 vrf IpVrf1 address family configuration.
PE1(config-router)# address-family ipv6 vrf IpVrf1
Enters the configuration mode for the BGP address family ipv6 vrf IpVrf1.
PE1(config-router-af)# redistribute ospf
Configures the redistribution of OSPFv3 routes into the ipv6 vrf IpVrf1 address family.
PE1(config-router-af)# exit-address-family
Exits the ipv6 vrf IpVrf1 address family configuration.
PE1(config-router)#line console 0
Enters the configuration mode for the console line.
PE1(config-line)# exec-timeout 0 0
Sets the console line's execution timeout values to 0 seconds.
PE1(config-line)#line vty 0 871
Enters the configuration mode for virtual terminal lines 0 to 871.
PE1(config-line)# exec-timeout 0 0
Sets the execution timeout values for virtual terminal lines to 0 seconds.
PE1(config-line)# privilege level 16
Specifies the privilege level for users accessing the virtual terminal lines.
PE1(config-line)#commit
Commits the configuration changes.
PE1(config-line)#end
Exits the configuration mode.
Configure MTU over IRB
 
PE1(config)#interface irb101
Enters interface configuration mode for IRB interface 101.
PE1(config-irb-if)#mtu 9216
Sets the MTU to 9216 bytes.
PE1(config-irb-if)#commit
Commit the changes made to the interface configuration.
PE1(config-irb-if)#exit
Exits the IRB interface configuration mode and returns to the global configuration mode.
PE1(config)#interface irb1001
Enters interface configuration mode for IRB interface 1001.
PE1(config-irb-if)#mtu 9216
Sets the MTU to 9216 bytes.
PE1(config-irb-if)#commit
Commit the changes made to the interface configuration.
PE1(config-irb-if)#exit
Exits the IRB interface configuration mode and returns to the global configuration mode.
PE1(config)#interface int po1
Enters interface configuration mode for IRB int po1.
PE1(config-irb-if)#mtu 9216
Sets the MTU to 9216 bytes.
PE1(config-irb-if)#commit
Commit the changes made to the interface configuration.
PE1(config-irb-if)#exit
Exits the IRB interface configuration mode and returns to the global configuration mode.
P1
 
P1#configure terminal
Enters the global configuration mode.
P1(config)#segment-routing
Enters the configuration mode for Segment Routing.
P1(config-sr)# mpls sr-prefer
Configures the preference for MPLS as part of the Segment Routing setup.
P1(config-if)#interface ce50
Enters the configuration mode for interface ce50.
P1(config-if)# ip address 20.1.1.1/24
Assigns an IP address of 20.1.1.1 with a /24 subnet mask to interface ce50.
P1(config-if)# label-switching
Enables label switching for the interface ce50.
P1(config-if)#interface lo
Enters the configuration mode for a loopback interface.
P1(config-if)# ip address 127.0.0.1/8
Assigns an IP address of 127.0.0.1 with a /8 subnet mask to the loopback interface.
P1(config-if)# ip address 3.3.3.3/32 secondary
Adds a secondary IP address of 3.3.3.3 with a /32 subnet mask to the loopback interface.
P1(config-if)# ipv6 address ::1/128
Assigns an IPv6 address of ::1/128 to the loopback interface.
P1(config-if)# prefix-sid index 3
Configures a prefix SID with an index of 3 for the loopback interface.
P1(config-if)#interface xe3
Enters the configuration mode for Ten Gigabit Ethernet interface 3.
P1(config-if)# ip address 10.1.1.2/24
Assigns an IP address of 10.1.1.2 with a /24 subnet mask to interface xe3.
P1(config-if)# label-switching
Enables label switching for interface xe3.
P1(config-if)# exit
Exits the interface configuration.
P1(config-router)#router ospf 100
Enters the configuration mode for OSPF routing process 100.
P1(config-router)# ospf router-id 3.3.3.3
Sets the OSPF router ID to 3.3.3.3.
P1(config-router)# network 3.3.3.3/32 area 0.0.0.0
Specifies the network 3.3.3.3 with a /32 subnet mask to be included in OSPF Area 0.0.0.0.
P1(config-router)# network 10.1.1.0/24 area 0.0.0.0
Specifies the network 10.1.1.0 with a /24 subnet mask to be included in OSPF Area 0.0.0.0.
P1(config-router)# network 20.1.1.0/24 area 0.0.0.0
Specifies the network 20.1.1.0 with a /24 subnet mask to be included in OSPF Area 0.0.0.0.
P1(config-router)# segment-routing mpls
Enables MPLS-based segment routing in the OSPF configuration.
P1(config-router)#line console 0
Enters the configuration mode for the console line.
P1(config-line)# exec-timeout 0 0
Sets the console line's execution timeout values to 0 seconds.
P1(config-line)#line vty 0 871
Enters the configuration mode for virtual terminal lines 0 to 871.
P1(config-line)# exec-timeout 0 0
Sets the execution timeout values for virtual terminal lines to 0 seconds.
P1(config-line)# privilege level 16
Specifies the privilege level for users accessing the virtual terminal lines.
P1(config-line)# Exit
Exits from configuration mode.
P2
 
P2#configure terminal
Enters the global configuration mode.
P2(config)#segment-routing
Enters the configuration mode for Segment Routing.
P2(config-sr)# mpls sr-prefer
Configures the preference for MPLS as part of the Segment Routing setup.
P2(config-sr)#interface ce1
Enters the configuration mode for interface ce1.
P2(config-if)# ip address 20.1.1.2/24
Assigns an IP address of 20.1.1.2 with a /24 subnet mask to interface ce1.
P2(config-if)# label-switching
Enables label switching for interface ce1.
P2(config-if)#interface ce2
Enters the configuration mode for interface ce2.
P2(config-if)# speed 40g
Sets the speed of interface ce2 to 40Gbps.
P2(config-if)# ip address 30.1.1.1/24
Assigns an IP address of 30.1.1.1 with a /24 subnet mask to interface ce2.
P2(config-if)# label-switching
Enables label switching for interface ce2.
P2(config-if)#interface lo
Enters the configuration mode for a loopback interface.
P2(config-if)# ip address 127.0.0.1/8
Assigns an IP address of 127.0.0.1 with a /8 subnet mask to the loopback interface.
P2(config-if)# ip address 4.4.4.4/32 secondary
Adds a secondary IP address of 4.4.4.4 with a /32 subnet mask to the loopback interface.
P2(config-if)# ipv6 address ::1/128
Assigns an IPv6 address of ::1/128 to the loopback interface.
P2(config-if)# prefix-sid index 4
Configures a prefix SID with an index of 4 for the loopback interface.
P2(config)#router ospf 100
Enters the configuration mode for OSPF routing process 100.
P2(config-router)# ospf router-id 4.4.4.4
Sets the OSPF router ID to 4.4.4.4.
P2(config-router)# network 4.4.4.4/32 area 0.0.0.0
Specifies the network 4.4.4.4 with a /32 subnet mask to be included in OSPF Area 0.0.0.0.
P2(config-router)# network 20.1.1.0/24 area 0.0.0.0
Specifies the network 20.1.1.0 with a /24 subnet mask to be included in OSPF Area 0.0.0.0.
P2(config-router)# network 30.1.1.0/24 area 0.0.0.0
Specifies the network 30.1.1.0 with a /24 subnet mask to be included in OSPF Area 0.0.0.0.
P2(config-router)# segment-routing mpls
Enables MPLS-based segment routing in the OSPF configuration.
P2(config-router)#line console 0
Enters the configuration mode for the console line.
P2(config-line)# exec-timeout 0 0
Sets the console line's execution timeout values to 0 seconds.
P2(config-line)#line vty 0 871
Enters the configuration mode for virtual terminal lines 0 to 871.
P2(config-line)# exec-timeout 0 0
Sets the execution timeout values for virtual terminal lines to 0 seconds.
P2(config-line)# privilege level 16
Specifies the privilege level for users accessing the virtual terminal lines.
P2(config-line)#Exit
Exits the configuration.
PE2
 
PE2#configure terminal
Enters the global configuration mode.
PE2(config)#evpn mpls enable
Enables EVPN MPLS.
PE2(config)#evpn mpls irb
Enables EVPN MPLS IRB.
PE2(config)mac vrf MacVrf2
Enters the configuration mode for MAC VRF with the name MacVrf2.
PE2(config-vrf)# rd 5.5.5.5:100
Sets the route distinguisher for the MAC VRF to 5.5.5.5:100.
PE2(config-vrf)# route-target both 100:1
Specifies route targets for import and export for the MAC VRF.
PE2(config-vrf)#ip vrf IpVrf1
Enters the configuration mode for IP VRF with the name IpVrf1.
PE2(config-vrf)# rd 5.5.5.5:200
Sets the route distinguisher for the IP VRF to 5.5.5.5:200.
PE2(config-vrf)# route-target both 100:100
Specifies route targets for import and export for the IP VRF.
PE2(config-vrf)# l3vni 100
Configures an L3VNI with ID 100 for the IP VRF.
PE2(config-vrf)#evpn mpls vtep-ip-global 5.5.5.5
Sets the global VTEP IP address for EVPN MPLS to 5.5.5.5.
PE2(config)#evpn mpls id 201
Configures an EVPN MPLS instance with ID 201.
PE2(config-evpn-mpls)# host-reachability-protocol evpn-bgp MacVrf2
Specifies BGP as the host reachability protocol for EVPN MPLS using MacVrf2.
PE2(config-evpn-mpls)# evpn irb irb101
Configures EVPN MPLS IRB with the IRB interface named irb101.
PE2(config-evpn-mpls)#evpn mpls id 2001
Configures another EVPN MPLS instance with ID 2001.
PE2(config-evpn-mpls)# host-reachability-protocol evpn-bgp MacVrf2
Specifies BGP as the host reachability protocol for EVPN MPLS using MacVrf2.
PE2(config-evpn-mpls)# evpn irb irb1001
Configures EVPN MPLS IRB with the IRB interface named irb1001.
PE2(config-evpn-mpls)#qos enable
Enables QoS features for EVPN MPLS.
PE2(config)qos statistics
Configures statistics for QoS.
PE2(config)#hostname PE2
Sets the hostname of the device to PE2.
PE2(config)#segment-routing
Enters the configuration mode for Segment Routing.
PE2(config-sr)# mpls sr-prefer
Configures the preference for MPLS in Segment Routing.
PE2(config)#interface ce1
Enters the configuration mode for interface ce1.
PE2(config-if)# switchport
Enables the switchport mode for the interface.
PE2(config-if)# load-interval 30
Sets the load interval to 30 seconds for the interface.
PE2(config)#interface ce1.101 switchport
Enters the configuration mode for subinterface ce1.101 and enables the switchport mode.
PE2(config-if)# encapsulation dot1q 101
Specifies VLAN encapsulation with VLAN ID 101 for the subinterface.
PE2(config-if)# rewrite pop
Configures the rewrite operation as "pop" for the subinterface.
PE2(config-if)# access-if-evpn
Configures the subinterface as an access interface for EVPN.
PE2(config-acc-if-evpn)# map vpn-id 201
Maps the subinterface to EVPN with VPN ID 201.
PE2(config-acc-if-evpn)#exit
Exits the access interface configuration.
PE2(config)#interface ce3
Enters the configuration mode for interface ce3.
PE2(config)# ip address 30.1.1.2/24
Assigns the IP address 30.1.1.2 with a subnet mask of 255.255.255.0 to interface ce3.
PE2(config)# label-switching
Enables label-switching on interface ce3.
PE2(config-if)#interface irb101
Enters the configuration mode for interface irb101.
PE2(config-irb-if)# ip vrf forwarding IpVrf1
Associates interface irb101 with the VRF (Virtual Routing and Forwarding) instance IpVrf1.
PE2(config-irb-if)# ip address 201.201.201.1/24
Assigns the IP address 201.201.201.1 with a subnet mask of 255.255.255.0 to interface irb101.
PE2(config-irb-if)# ip router isis 101
Enables ISIS routing protocol on interface irb101.
PE2(config-irb-if)#interface irb1001
Enters the configuration mode for interface irb1001.
PE2(config-irb-if)# ip vrf forwarding IpVrf1
Associates interface irb1001 with the VRF instance IpVrf1.
PE2(config-irb-if)# ipv6 address 2001::1/64
Assigns the IPv6 address 2001::1 with a prefix length of 64 to interface irb1001.
PE2(config-irb-if)# ipv6 router isis 101
Enables ISIS routing protocol for IPv6 on interface irb1001.
PE2(config-irb-if)#interface lo
Enters the configuration mode for the loopback interface.
PE2(config-if)# ip address 127.0.0.1/8
Assigns the IP address 127.0.0.1 with a subnet mask of 255.0.0.0 to the loopback interface.
PE2(config-if)# ip address 5.5.5.5/32 secondary
Assigns the secondary IP address 5.5.5.5 with a subnet mask of 255.255.255.255 to the loopback interface.
PE2(config-if)# ipv6 address ::1/128
Assigns the IPv6 address ::1 with a prefix length of 128 to the loopback interface.
PE2(config-if)# prefix-sid index 5
Configures a prefix SID with an index of 5.
PE2(config-if)#exit
Exits the interface configuration mode.
PE2(config)#router ospf 100
Enters the configuration mode for OSPF with process ID 100.
PE2(config-router)# ospf router-id 5.5.5.5
Sets the OSPF router ID to 5.5.5.5.
PE2(config-router)# network 5.5.5.5/32 area 0.0.0.0
Advertises the network 5.5.5.5/32 into OSPF area 0.0.0.0.
PE2(config-router)# network 30.1.1.0/24 area 0.0.0.0
Advertises the network 30.1.1.0/24 into OSPF area 0.0.0.0.
PE2(config-router)# segment-routing mpls
Enables MPLS for segment routing.
PE2(config-router)#router isis 101 IpVrf1
Enters the configuration mode for ISIS with process ID 101 and VRF instance IpVrf1.
PE2(config-irb-if)#interface lo
Enters the configuration mode for the loopback interface.
PE2(config-if)# ip address 127.0.0.1/8
Assigns the IP address 127.0.0.1 with a subnet mask of 255.0.0.0 to the loopback interface.
PE2(config-if)# ip address 5.5.5.5/32 secondary
Assigns the secondary IP address 5.5.5.5 with a subnet mask of 255.255.255.255 to the loopback interface.
PE2(config-if)# ipv6 address ::1/128
Assigns the IPv6 address ::1 with a prefix length of 128 to the loopback interface.
PE2(config-if)# prefix-sid index 5
Configures a prefix SID with an index of 5.
PE2(config)#router ospf 100
Enters the configuration mode for OSPF with process ID 100.
PE2(config-router)# ospf router-id 5.5.5.5
Sets the OSPF router ID to 5.5.5.5.
PE2(config-router)# network 5.5.5.5/32 area 0.0.0.0
Advertises the network 5.5.5.5/32 into OSPF area 0.0.0.0.
PE2(config-router)# network 30.1.1.0/24 area 0.0.0.0
Advertises the network 30.1.1.0/24 into OSPF area 0.0.0.0.
PE2(config-router)# segment-routing mpls
Enables MPLS for segment routing.
PE2(config-router)#router isis 101 IpVrf1
Enters the configuration mode for ISIS with process ID 101 and VRF instance IpVrf1.
PE2(config-router)# is-type level-2-only
Configures ISIS as a level-2-only routing protocol.
PE2(config-router)# net 49.0001.0000.0000.0005.00
Sets the ISIS NET for this router.
PE2(config-router)# redistribute bgp
Configures redistribution of BGP routes into ISIS.
PE2(config-router)#router bgp 100
Enters the configuration mode for BGP with AS number 100.
PE2(config-router)# bgp router-id 5.5.5.5
Sets the BGP router ID to 5.5.5.5.
PE2(config-router)# neighbor 2.2.2.2 remote-as 100
Configures a BGP neighbor with the remote AS number 100 and IP address 2.2.2.2.
PE2(config-router)# neighbor 2.2.2.2 update-source lo
Specifies the loopback interface as the source for BGP updates to the neighbor.
PE2(config-router)# neighbor 2.2.2.2 advertisement-interval 0
Sets the BGP advertisement interval to 0.
PE2(config-router)# address-family l2vpn evpn
Enters the address-family configuration mode for L2VPN EVPN.
PE2(config-router-af)# neighbor 2.2.2.2 activate
Activates the BGP neighbor for the L2VPN EVPN address family.
PE2(config-router-af)# exit-address-family
Exits the address-family configuration.
PE2(config-router)# address-family ipv4 vrf IpVrf1
Enters the address-family configuration mode for IPv4 with VRF instance IpVrf1.
PE2(config-router-af)# redistribute isis
Configures redistribution of ISIS routes into the IPv4 address family.
PE2(config-router-af)# exit-address-family
Exits the address-family configuration.
 
 
Configure MTU over IRB
 
PE2(config)#interface irb101
Enters interface configuration mode for IRB interface 101.
PE2(config-irb-if)#mtu 9216
Sets the MTU to 9216 bytes.
PE2(config-irb-if)#commit
Commit the changes made to the interface configuration.
PE2(config)#interface irb1001
Enters interface configuration mode for IRB interface 1001.
PE2(config-irb-if)#mtu 9216
Sets the MTU to 9216 bytes.
PE2(config-irb-if)#commit
Commit the changes made to the interface configuration.
PE2(config-irb-if)#exit
Exits the IRB interface configuration mode and returns to the global configuration mode.
PE2(config)#interface ce1
Enters interface configuration mode for IRB interface ce1.
PE2(config-irb-if)#mtu 9216
Sets the MTU to 9216 bytes.
PE2(config-irb-if)#commit
Commit the changes made to the interface configuration.
PE2(config-irb-if)#exit
Exits the IRB interface configuration mode and returns to the global configuration mode.
CE2
 
CE2#Configure Terminal
Enters the configuration mode.
CE2(config)#interface ce1
Enters the configuration mode for interface ce1.
CE2(config-if)# load-interval 30
Sets the load interval for the interface to 30 seconds.
CE2(config-if)#interface ce1.101
Enters the configuration mode for subinterface ce1.101.
CE2(config-if)# encapsulation dot1q 101
Configures 802.1Q encapsulation with VLAN ID 101 for the subinterface.
CE2(config-if)# ip address 201.201.201.2/24
Assigns the IPv4 address 201.201.201.2 with a subnet mask of /24 to the subinterface.
CE2(config-if)# ip router isis 101
Specifies ISIS as the routing protocol for IPv4.
CE2(config-if)#interface ce1.1001
Enters the configuration mode for subinterface ce1.1001.
CE2(config-if)# encapsulation dot1q 1001
Configures 802.1Q encapsulation with VLAN ID 1001 for the subinterface.
CE2(config-if)# ipv6 address 2001::2/64
Assigns the IPv6 address 2001::2 with a /64 prefix length to the subinterface.
CE2(config-if)# ipv6 router isis 101
Specifies ISIS as the routing protocol for IPv6.
CE2(config-if)#interface lo
Enters the configuration mode for the loopback interface.
CE2(config-if)# ip address 127.0.0.1/8
Assigns the primary IPv4 address 127.0.0.1 to the loopback interface with a subnet mask of /8.
CE2(config-if)# ip address 6.6.6.6/32 secondary
Adds a secondary IPv4 address, 6.6.6.6 with a /32 subnet mask, to the loopback interface.
CE2(config-if)# ipv6 address ::1/128
Assigns the primary IPv6 address ::1 to the loopback interface with a /128 prefix length.
CE2(config)#router isis 101
Enters the configuration mode for ISIS with process ID 101.
CE2(config-router)# is-type level-2-only
Configures ISIS as a level-2-only routing protocol.
CE2(config-router)# net 49.0001.0000.0000.0006.00
Sets the ISIS NET for this router.
CE2(config-router)# address-family ipv6
Enters the address-family configuration mode for IPv6.
CE2(config-router-af)# exit-address-family
Exits the address-family configuration for IPv6.
CE2(config)#line console 0
Enters the configuration mode for the console line.
CE2(config-line)# exec-timeout 0 0
Sets the console line's exec-timeout to 0.
CE2(config-line)#line vty 0 871
Enters the configuration mode for VTY lines 0 through 871.
CE2(config-router-af)# exit
Exits the from configuration mode.
Configure MTU over IRB
 
CE2(config)#int ce1
Enters interface configuration mode for int ce1.
CE2(config-irb-if)#mtu 9216
Sets the MTU to 9216 bytes.
CE2(config-irb-if)#commit
Commit the changes made to the interface configuration.
CE2(config-irb-if)#exit
Exits the IRB interface configuration mode and returns to the global configuration mode.
CE2(config)#int ce1.101
Enters interface configuration mode for int ce1.101.
CE2(config-irb-if)#mtu 9216
Sets the MTU to 9216 bytes.
CE2(config-irb-if)#commit
Commit the changes made to the interface configuration.
CE2(config-irb-if)#exit
Exits the IRB interface configuration mode and returns to the global configuration mode.
CE2(config)#int ce1.1001
Enters interface configuration mode for int ce1.1001.
CE2(config-irb-if)#mtu 9216
Sets the MTU to 9216 bytes.
CE2(config-irb-if)#commit
Commit the changes made to the interface configuration.
CE2(config-irb-if)#exit
Exits the IRB interface configuration mode and returns to the global configuration mode.
Implementation Examples
Scenario: Configure OSPF and ISIS protocols on an IRB interface with an assigned IP address.
Validation
CE1#show ip ospf neighbor
 
Total number of full neighbors: 1
OSPF process 101 VRF(default):
Neighbor ID Pri State Dead Time Address Interface Instance ID
2.2.2.2 1 Full/DR 00:00:37 101.101.101.1 po1.101 0
CE1#
CE1#
CE1#show ipv6 ospf neighbor
 
Total number of full neighbors: 1
OSPFv3 Process (1001)
Neighbor ID Pri State Dead Time Interface Instance ID
2.2.2.2 1 Full/DR 00:00:34 po1.1001 0
CE1#
CE1#
CE1#show ip route
Codes: K - kernel, C - connected, S - static, R - RIP, B - BGP
O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2,
ia - IS-IS inter area, E - EVPN,
v - vrf leaked
* - candidate default
 
IP Route Table for VRF "default"
C 1.1.1.1/32 is directly connected, lo, 00:16:58
C 99.99.99.0/24 is directly connected, ge2, 00:16:59
C 101.101.101.0/24 is directly connected, po1.101, 00:14:10
C 127.0.0.0/8 is directly connected, lo, 00:18:23
O E2 201.201.201.0/24 [110/1] via 101.101.101.1, po1.101, 00:06:14
 
Gateway of last resort is not set
CE1#
CE1#
CE1#show ipv6 route
IPv6 Routing Table
Codes: K - kernel route, C - connected, S - static, D- DHCP, R - RIP,
O - OSPF, IA - OSPF inter area, E1 - OSPF external type 1,
E2 - OSPF external type 2, E - EVPN N1 - OSPF NSSA external type 1,
N2 - OSPF NSSA external type 2, i - IS-IS, B - BGP,
v - vrf leaked
Timers: Uptime
 
IP Route Table for VRF "default"
C ::1/128 via ::, lo, 00:18:30
C 1001::/64 via ::, po1.1001, 00:14:17
O E2 2001::/64 [110/20] via fe80::eac5:7aff:fea8:7cb3, po1.1001, 00:03:50
C fe80::/64 via ::, po1.1001, 00:14:17
PE1 :
PE1#show ip ospf neighbor
 
Total number of full neighbors: 1
OSPF process 100 VRF(default):
Neighbor ID Pri State Dead Time Address Interface Instance ID
3.3.3.3 1 Full/DR 00:00:38 10.1.1.2 xe10 0
 
Total number of full neighbors: 1
OSPF process 101 VRF(IpVrf1):
Neighbor ID Pri State Dead Time Address Interface Instance ID
1.1.1.1 1 Full/Backup 00:00:32 101.101.101.2 irb101 0
 
PE1#show ipv6 ospf neighbor
 
Total number of full neighbors: 1
OSPFv3 Process (IpVrf1)
Neighbor ID Pri State Dead Time Interface Instance ID
1.1.1.1 1 Full/Backup 00:00:33 irb1001 0
 
PE1#show evpn mpls tunnel
EVPN-MPLS Network tunnel Entries
Source Destination Status Up/Down Update evpn-id
===================================================================================
2.2.2.2 5.5.5.5 Installed 00:24:13 00:24:13 100
 
Total number of entries are 1
 
PE1#show bgp l2vpn evpn summary
BGP router identifier 2.2.2.2, local AS number 100
BGP table version is 2
1 BGP AS-PATH entries
0 BGP community entries
 
Neighbor V AS MsgRcv MsgSen TblVer InQ OutQ Up/Down State/PfxRcd AD MACIP MCAST ESI PREFIX-ROUTE
5.5.5.5 4 100 20 21 1 0 0 00:04:09 9 0 5 2 0 2
 
Total number of neighbors 1
 
Total number of Established sessions 1
 
PE1#show evpn mpls
EVPN-MPLS Information
=================
Codes: NW - Network Port
AC - Access Port
(u) - Untagged
 
VPN-ID EVI-Name EVI-Type Type Interface ESI VLAN DF-Status Src-Addr Dst-Addr
_______________________________________________________________________________________
100 ---- L3 NW ---- ---- ---- ---- 2.2.2.2 5.5.5.5
101 ---- -- AC po1.101 --- Single Homed Port --- ---- ---- ---- ----
1001 ---- -- AC po1.1001 --- Single Homed Port --- ---- ---- ---- ----
 
Total number of entries are 3
 
Note: Refer sub-interface config for VLAN information.
PE1#
PE1#
PE1#show bgp l2vpn evpn prefix-route
 
RD[5.5.5.5:200]
ESI Eth-Tag Prefix-Length IP-Address GW-IPAddress L3VNID/LABEL Nexthop Encap Router-Mac
0 0 24 201.201.201.0 0.0.0.0 16 5.5.5.5 MPLS e49d:73b1:c301
0 0 64 2001:: :: 16 5.5.5.5 MPLS e49d:73b1:c301
PE1#
PE1#show bgp l2vpn evpn mac-ip
 
RD[2.2.2.2:100] VRF[MacVrf1]:
ESI Eth-Tag Mac-Address IP-Address VNID/LABEL L3VNID Nexthop GW-Type Encap
0 101 9819:2ccd:9320 -- 17 0 2.2.2.2 -- MPLS
0 101 9819:2ccd:9320 101.101.101.2 17 0 2.2.2.2 -- MPLS
0 101 e8c5:7aa8:7cb3 101.101.101.1 17 0 2.2.2.2 -- MPLS
0 201 e49d:73b1:c301 201.201.201.1 17 0 5.5.5.5 -- MPLS
0 201 e8c5:7a76:583b -- 17 0 5.5.5.5 -- MPLS
0 201 e8c5:7a76:583b 201.201.201.2 17 0 5.5.5.5 -- MPLS
0 1001 9819:2ccd:9320 -- 18 0 2.2.2.2 -- MPLS
0 1001 e8c5:7aa8:7cb3 1001::1 18 0 2.2.2.2 -- MPLS
0 2001 e49d:73b1:c301 2001::1 18 0 5.5.5.5 -- MPLS
0 2001 e8c5:7a76:583b -- 18 0 5.5.5.5 -- MPLS
 
RD[5.5.5.5:100]
ESI Eth-Tag Mac-Address IP-Address VNID/LABEL L3VNID Nexthop GW-Type Encap
0 201 e49d:73b1:c301 201.201.201.1 17 0 5.5.5.5 -- MPLS
0 201 e8c5:7a76:583b -- 17 0 5.5.5.5 -- MPLS
0 201 e8c5:7a76:583b 201.201.201.2 17 0 5.5.5.5 -- MPLS
0 2001 e49d:73b1:c301 2001::1 18 0 5.5.5.5 -- MPLS
0 2001 e8c5:7a76:583b -- 18 0 5.5.5.5 -- MPLS
 
PE1#show mpls ftn-table
Primary FTN entry with FEC: 3.3.3.3/32, id: 1, row status: Active, Tunnel-Policy: N/A, State: Installed
Owner: OSPF-SR, distance: 110, Action-type: Redirect to Tunnel, Exp-bits: 0x0, Incoming DSCP: none
Tunnel id: 0, Protected LSP id: 0, LSP-type: Primary, QoS Resource id: 0, Description: N/A, , Color: 0
Cross connect ix: 3, in intf: - in label: 0 out-segment ix: 2
Owner: N/A, Persistent: No, Admin Status: Up, Oper Status: Up
Out-segment with ix: 2, owner: N/A, Stale: NO, out intf: xe10, out label: 3
Nexthop addr: 10.1.1.2 cross connect ix: 3, op code: Push
 
 
Primary FTN entry with FEC: 4.4.4.4/32, id: 2, row status: Active, Tunnel-Policy: N/A, State: Installed
Owner: OSPF-SR, distance: 110, Action-type: Redirect to Tunnel, Exp-bits: 0x0, Incoming DSCP: none
Tunnel id: 0, Protected LSP id: 0, LSP-type: Primary, QoS Resource id: 0, Description: N/A, , Color: 0
Cross connect ix: 4, in intf: - in label: 0 out-segment ix: 4
Owner: OSPF-SR, Persistent: No, Admin Status: Up, Oper Status: Up
Out-segment with ix: 4, owner: OSPF-SR, Stale: NO, out intf: xe10, out label: 16004
Nexthop addr: 10.1.1.2 cross connect ix: 4, op code: Push
 
 
Primary FTN entry with FEC: 5.5.5.5/32, id: 3, row status: Active, Tunnel-Policy: N/A, State: Installed
Owner: OSPF-SR, distance: 110, Action-type: Redirect to Tunnel, Exp-bits: 0x0, Incoming DSCP: none
Tunnel id: 0, Protected LSP id: 0, LSP-type: Primary, QoS Resource id: 0, Description: N/A, , Color: 0
Cross connect ix: 5, in intf: - in label: 0 out-segment ix: 6
Owner: OSPF-SR, Persistent: No, Admin Status: Up, Oper Status: Up
Out-segment with ix: 6, owner: OSPF-SR, Stale: NO, out intf: xe10, out label: 16005
Nexthop addr: 10.1.1.2 cross connect ix: 5, op code: Push
 
PE1#show mpls forwarding-table
Codes: > - installed FTN, * - selected FTN, p - stale FTN, ! - using backup
B - BGP FTN, K - CLI FTN, (t) - tunnel, P - SR Policy FTN, (b) - bypass,
L - LDP FTN, R - RSVP-TE FTN, S - SNMP FTN, I - IGP-Shortcut,
U - unknown FTN, O - SR-OSPF FTN, i - SR-ISIS FTN, k - SR-CLI FTN
(m) - FTN mapped over multipath transport, (e) - FTN is ECMP
 
FTN-ECMP LDP: Disabled
Code FEC FTN-ID Nhlfe-ID Tunnel-id Pri LSP-Type Out-Label Out-Intf ELC Nexthop
O> 3.3.3.3/32 1 3 0 Yes LSP_DEFAULT 3 xe10 No 10.1.1.2
O> 4.4.4.4/32 2 5 0 Yes LSP_DEFAULT 16004 xe10 No 10.1.1.2
O> 5.5.5.5/32 3 7 0 Yes LSP_DEFAULT 16005 xe10 No 10.1.1.2
 
PE1#show mpls ilm-table
Codes: > - installed ILM, * - selected ILM, p - stale ILM, ! - using backup
K - CLI ILM, T - MPLS-TP, s - Stitched ILM
S - SNMP, L - LDP, R - RSVP, C - CRLDP
B - BGP , K - CLI , V - LDP_VC, I - IGP_SHORTCUT
O - OSPF/OSPF6 SR, i - ISIS SR, k - SR CLI
P - SR Policy, U - unknown
 
ILM-ECMP LDP: Disabled
Code FEC/VRF/L2CKT ILM-ID In-Label Out-Label In-Intf Out-Intf/VRF Nexthop pri LSP-Type
B> evpn:1001 5 18 Nolabel N/A N/A 127.0.0.1 Yes LSP_DEFAULT
B> evpn:101 3 17 Nolabel N/A N/A 127.0.0.1 Yes LSP_DEFAULT
B> IpVrf1 1 16 Nolabel N/A N/A N/A Yes LSP_DEFAULT
B> evpn:101 2 26880 Nolabel N/A N/A 127.0.0.1 Yes LSP_DEFAULT
O> 4.4.4.4/32 8 16004 16004 N/A xe10 10.1.1.2 Yes LSP_DEFAULT
O> 3.3.3.3/32 6 16003 3 N/A xe10 10.1.1.2 Yes LSP_DEFAULT
O> 5.5.5.5/32 9 16005 16005 N/A xe10 10.1.1.2 Yes LSP_DEFAULT
B> evpn:1001 4 26881 Nolabel N/A N/A 127.0.0.1 Yes LSP_DEFAULT
O> 10.1.1.2/32 7 27520 3 N/A xe10 10.1.1.2 Yes LSP_DEFAULT
 
PE2 :
=========
 
PE2#show ip ospf neighbor
 
Total number of full neighbors: 1
OSPF process 100 VRF(default):
Neighbor ID Pri State Dead Time Address Interface Instance ID
4.4.4.4 1 Full/DR 00:00:28 30.1.1.1 ce3 0
PE2#
PE2#
PE2#
PE2#show clns is-neighbors
 
Tag 101: VRF : IpVrf1
System Id Interface State Type Priority Circuit Id
0000.0000.0006 irb101 Up L2 64 0000.0000.0006.01
0000.0000.0006 irb1001 Up L2 64 0000.0000.0006.02
PE2#
PE2#
PE2#
PE2#
PE2#show clns is-neighbors detail
 
Tag 101: VRF : IpVrf1
System Id Interface State Type Priority Circuit Id
0000.0000.0006 irb101 Up L2 64 0000.0000.0006.01
L1 Adjacency ID: 1
L2 Adjacency ID: 2
Uptime: 00:11:21
Area Address(es): 49.0001
IP Address(es): 201.201.201.2
Level-2 Protocols Supported: IPv4, IPv6
Adjacency advertisement: Advertise
 
0000.0000.0006 irb1001 Up L2 64 0000.0000.0006.02
L1 Adjacency ID: 1
L2 Adjacency ID: 2
Uptime: 00:11:21
Area Address(es): 49.0001
IPv6 Address(es): fe80::eac5:7aff:fe76:583b
Level-2 Protocols Supported: IPv4, IPv6
Adjacency advertisement: Advertise
 
PE2#show evpn mpls tunnel
EVPN-MPLS Network tunnel Entries
Source Destination Status Up/Down Update evpn-id
===================================================================================
5.5.5.5 2.2.2.2 Installed 00:24:13 00:24:13 100
 
Total number of entries are 1
PE2#
PE2#
PE2#
PE2#show bgp l2vpn evpn summary
BGP router identifier 5.5.5.5, local AS number 100
BGP table version is 4
1 BGP AS-PATH entries
0 BGP community entries
 
Neighbor V AS MsgRcv MsgSen TblVer InQ OutQ Up/Down State/PfxRcd AD MACIP MCAST ESI PREFIX-ROUTE
2.2.2.2 4 100 93 94 3 0 0 00:14:47 12 0 5 2 0 5
 
Total number of neighbors 1
 
Total number of Established sessions 1
PE2#
PE2#
PE2#
PE2#show bgp l2vpn evpn prefix-route
 
RD[2.2.2.2:200]
ESI Eth-Tag Prefix-Length IP-Address GW-IPAddress L3VNID/LABEL Nexthop Encap Router-Mac
0 0 24 99.99.99.0 0.0.0.0 16 2.2.2.2 MPLS e8c5:7aa8:7cb3
0 0 24 101.101.101.0 0.0.0.0 16 2.2.2.2 MPLS e8c5:7aa8:7cb3
0 0 32 1.1.1.1 0.0.0.0 16 2.2.2.2 MPLS e8c5:7aa8:7cb3
0 0 64 1001:: :: 16 2.2.2.2 MPLS e8c5:7aa8:7cb3
0 0 64 9001:: :: 16 2.2.2.2 MPLS e8c5:7aa8:7cb3
PE2#show bgp l2vpn evpn mac-ip
 
RD[2.2.2.2:100]
ESI Eth-Tag Mac-Address IP-Address VNID/LABEL L3VNID Nexthop GW-Type Encap
0 101 9819:2ccd:9320 -- 17 0 2.2.2.2 -- MPLS
0 101 9819:2ccd:9320 101.101.101.2 17 0 2.2.2.2 -- MPLS
0 101 e8c5:7aa8:7cb3 101.101.101.1 17 0 2.2.2.2 -- MPLS
0 1001 9819:2ccd:9320 -- 18 0 2.2.2.2 -- MPLS
0 1001 e8c5:7aa8:7cb3 1001::1 18 0 2.2.2.2 -- MPLS
 
RD[5.5.5.5:100] VRF[MacVrf2]:
ESI Eth-Tag Mac-Address IP-Address VNID/LABEL L3VNID Nexthop GW-Type Encap
0 101 9819:2ccd:9320 -- 17 0 2.2.2.2 -- MPLS
0 101 9819:2ccd:9320 101.101.101.2 17 0 2.2.2.2 -- MPLS
0 101 e8c5:7aa8:7cb3 101.101.101.1 17 0 2.2.2.2 -- MPLS
0 201 e49d:73b1:c301 201.201.201.1 17 0 5.5.5.5 -- MPLS
0 201 e8c5:7a76:583b -- 17 0 5.5.5.5 -- MPLS
0 201 e8c5:7a76:583b 201.201.201.2 17 0 5.5.5.5 -- MPLS
0 1001 9819:2ccd:9320 -- 18 0 2.2.2.2 -- MPLS
0 1001 e8c5:7aa8:7cb3 1001::1 18 0 2.2.2.2 -- MPLS
0 2001 e49d:73b1:c301 2001::1 18 0 5.5.5.5 -- MPLS
0 2001 e8c5:7a76:583b -- 18 0 5.5.5.5 -- MPLS
PE2#show mpls forwarding-table
Codes: > - installed FTN, * - selected FTN, p - stale FTN, ! - using backup
B - BGP FTN, K - CLI FTN, (t) - tunnel, P - SR Policy FTN, (b) - bypass,
L - LDP FTN, R - RSVP-TE FTN, S - SNMP FTN, I - IGP-Shortcut,
U - unknown FTN, O - SR-OSPF FTN, i - SR-ISIS FTN, k - SR-CLI FTN
(m) - FTN mapped over multipath transport, (e) - FTN is ECMP
 
FTN-ECMP LDP: Disabled
Code FEC FTN-ID Nhlfe-ID Tunnel-id Pri LSP-Type Out-Label Out-Intf ELC Nexthop
O> 2.2.2.2/32 1 3 0 Yes LSP_DEFAULT 16002 ce3 No 30.1.1.1
O> 3.3.3.3/32 2 5 0 Yes LSP_DEFAULT 16003 ce3 No 30.1.1.1
O> 4.4.4.4/32 3 7 0 Yes LSP_DEFAULT 3 ce3 No 30.1.1.1
PE2#
PE2#show mpls ilm-table
Codes: > - installed ILM, * - selected ILM, p - stale ILM, ! - using backup
K - CLI ILM, T - MPLS-TP, s - Stitched ILM
S - SNMP, L - LDP, R - RSVP, C - CRLDP
B - BGP , K - CLI , V - LDP_VC, I - IGP_SHORTCUT
O - OSPF/OSPF6 SR, i - ISIS SR, k - SR CLI
P - SR Policy, U - unknown
 
ILM-ECMP LDP: Disabled
Code FEC/VRF/L2CKT ILM-ID In-Label Out-Label In-Intf Out-Intf/VRF Nexthop pri LSP-Type
B> evpn:2001 5 18 Nolabel N/A N/A 127.0.0.1 Yes LSP_DEFAULT
B> evpn:201 3 17 Nolabel N/A N/A 127.0.0.1 Yes LSP_DEFAULT
B> IpVrf1 1 16 Nolabel N/A N/A N/A Yes LSP_DEFAULT
B> evpn:201 2 26880 Nolabel N/A N/A 127.0.0.1 Yes LSP_DEFAULT
O> 3.3.3.3/32 7 16003 16003 N/A ce3 30.1.1.1 Yes LSP_DEFAULT
O> 2.2.2.2/32 6 16002 16002 N/A ce3 30.1.1.1 Yes LSP_DEFAULT
O> 4.4.4.4/32 8 16004 3 N/A ce3 30.1.1.1 Yes LSP_DEFAULT
B> evpn:2001 4 26881 Nolabel N/A N/A 127.0.0.1 Yes LSP_DEFAULT
O> 30.1.1.1/32 9 27520 3 N/A ce3 30.1.1.1 Yes LSP_DEFAULT
PE2#
PE2#
PE2#show mpls ftn-table
Primary FTN entry with FEC: 2.2.2.2/32, id: 1, row status: Active, Tunnel-Policy: N/A, State: Installed
Owner: OSPF-SR, distance: 110, Action-type: Redirect to Tunnel, Exp-bits: 0x0, Incoming DSCP: none
Tunnel id: 0, Protected LSP id: 0, LSP-type: Primary, QoS Resource id: 0, Description: N/A, , Color: 0
Cross connect ix: 3, in intf: - in label: 0 out-segment ix: 2
Owner: OSPF-SR, Persistent: No, Admin Status: Up, Oper Status: Up
Out-segment with ix: 2, owner: OSPF-SR, Stale: NO, out intf: ce3, out label: 16002
Nexthop addr: 30.1.1.1 cross connect ix: 3, op code: Push
 
 
Primary FTN entry with FEC: 3.3.3.3/32, id: 2, row status: Active, Tunnel-Policy: N/A, State: Installed
Owner: OSPF-SR, distance: 110, Action-type: Redirect to Tunnel, Exp-bits: 0x0, Incoming DSCP: none
Tunnel id: 0, Protected LSP id: 0, LSP-type: Primary, QoS Resource id: 0, Description: N/A, , Color: 0
Cross connect ix: 4, in intf: - in label: 0 out-segment ix: 4
Owner: OSPF-SR, Persistent: No, Admin Status: Up, Oper Status: Up
Out-segment with ix: 4, owner: OSPF-SR, Stale: NO, out intf: ce3, out label: 16003
Nexthop addr: 30.1.1.1 cross connect ix: 4, op code: Push
 
 
Primary FTN entry with FEC: 4.4.4.4/32, id: 3, row status: Active, Tunnel-Policy: N/A, State: Installed
Owner: OSPF-SR, distance: 110, Action-type: Redirect to Tunnel, Exp-bits: 0x0, Incoming DSCP: none
Tunnel id: 0, Protected LSP id: 0, LSP-type: Primary, QoS Resource id: 0, Description: N/A, , Color: 0
Cross connect ix: 5, in intf: - in label: 0 out-segment ix: 6
Owner: N/A, Persistent: No, Admin Status: Up, Oper Status: Up
Out-segment with ix: 6, owner: N/A, Stale: NO, out intf: ce3, out label: 3
Nexthop addr: 30.1.1.1 cross connect ix: 5, op code: Push
 
 
CE2#show clns is-neighbors
 
Tag 101: VRF : default
System Id Interface State Type Priority Circuit Id
0000.0000.0005 ce1.101 Up L2 64 0000.0000.0006.01
0000.0000.0005 ce1.1001 Up L2 64 0000.0000.0006.02
 
CE2#show clns is-neighbors detail
 
Tag 101: VRF : default
System Id Interface State Type Priority Circuit Id
0000.0000.0005 ce1.101 Up L2 64 0000.0000.0006.01
L1 Adjacency ID: 1
L2 Adjacency ID: 2
Uptime: 00:13:41
Area Address(es): 49.0001
IP Address(es): 201.201.201.1
Level-2 Protocols Supported: IPv4, IPv6
Adjacency advertisement: Advertise
 
0000.0000.0005 ce1.1001 Up L2 64 0000.0000.0006.02
L1 Adjacency ID: 1
L2 Adjacency ID: 2
Uptime: 00:13:41
Area Address(es): 49.0001
IPv6 Address(es): fe80::e69d:73ff:feb1:c301
Level-2 Protocols Supported: IPv4, IPv6
Adjacency advertisement: Advertise
 
CE2#show ip route
Codes: K - kernel, C - connected, S - static, R - RIP, B - BGP
O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2,
ia - IS-IS inter area, E - EVPN,
v - vrf leaked
* - candidate default
 
IP Route Table for VRF "default"
i L2 1.1.1.1/32 [115/10] via 201.201.201.1, ce1.101, 00:10:22
C 6.6.6.6/32 is directly connected, lo, 00:13:54
i L2 99.99.99.0/24 [115/10] via 201.201.201.1, ce1.101, 00:10:22
i L2 101.101.101.0/24 [115/10] via 201.201.201.1, ce1.101, 00:10:22
C 127.0.0.0/8 is directly connected, lo, 00:18:45
C 201.201.201.0/24 is directly connected, ce1.101, 00:13:54
 
Gateway of last resort is not set
CE2#show ipv6 route
IPv6 Routing Table
Codes: K - kernel route, C - connected, S - static, D- DHCP, R - RIP,
O - OSPF, IA - OSPF inter area, E1 - OSPF external type 1,
E2 - OSPF external type 2, E - EVPN N1 - OSPF NSSA external type 1,
N2 - OSPF NSSA external type 2, i - IS-IS, B - BGP,
v - vrf leaked
Timers: Uptime
 
IP Route Table for VRF "default"
C ::1/128 via ::, lo, 00:18:50
i L2 1001::/64 [115/10] via fe80::e69d:73ff:feb1:c301, ce1.1001, 00:10:27
C 2001::/64 via ::, ce1.1001, 00:13:59
C fe80::/64 via ::, ce1.1001, 00:13:59
Abbreviations
The following are some key abbreviations and their meanings relevant to this document:
 
Acronym
Description
ECMP
Equal-Cost Multipath
EVPN
Ethernet Virtual Private Netwrok
MPLS
Multiprotocol Label Switching
MPLS
Multiprotocol Label Switching
SR
Segment Routing
IRB
Integrated Routing
OSPF
Open Shortest Path First
ISIS
Intermediate System to Intermediate System
Glossary
The following provides definitions for key terms used throughout this document.
 
Single Home EVPN-MPLS
A network architecture that combines EVPN and MPLS to provide efficient and scalable Layer 2 and Layer 3 services within a network, particularly in SP environments.
IRB
A networking feature that enables the integration of Layer 3 IP routing and Layer 2 MAC address bridging within the same interface, simplifying network management and resource utilization.
OSPF
A dynamic and efficient link-state routing protocol used to determine the best path for data packets in an IP network. It is characterized by rapid convergence and adaptability, making it suitable for large and dynamic networks.
ISIS
A routing protocol designed for scalability and stability in computer networks, commonly used in large Service Provider networks. It provides a robust framework for routing information exchange.
Layer 3 Routing
Network routing operations at the Network Layer (Layer 3) of the OSI model, focusing on routing IP packets between different subnets or networks.
Layer 2 Bridging
Network bridging operations at the Data Link Layer (Layer 2) of the OSI model, handling the forwarding of data frames based on MAC addresses within the same network segment.
EVPN
Ethernet VPN, a technology that provides advanced and efficient methods for Layer 2 and Layer 3 services in Ethernet networks, often used in data centers and service provider environments.