OcNOS SP : Segment Routing Guide : Segment Routing Configuration : Configuring SRv6 EVPN ELINE
Configuring SRv6 EVPN ELINE
This chapter contains configurations of SRv6 EVPN ELINE Single Homing and Multihoming.
SRv6 EVPN ELINE Single Homing
EVPN E-LINE provides a P2P L2VPN service solution based on the EVPN service architecture. Regarding this solution, a P2P SRv6 tunnel is established between PEs and traverses the backbone network. By binding the AC interface on the user side to the P2P SRv6 tunnel on the network side, traffic can be transmitted between the AC interface and the P2P SRv6 tunnel. As a result, traffic that enters the AC interface is forwarded directly to the peer PE through the P2P SRv6 tunnel. This solution provides a simple Layer 2 packet forwarding mode for the connection between AC interfaces at both ends, avoiding the need to search MAC address entries. This service solution is named Ethernet Line (E-Line).
Topology
Below example shows the SRv6 EVPN ELINE Single Homing configurations.
SRv6 EVPN ELINE Single Homing Topology
SRV6 EVPN ELINE SH Configuration without Policy
PE1
Loopback Interface:
 
PE1#configure terminal
Enter configure mode.
PE1(config)#interface lo
Enter interface mode.
PE1(config-if)#ipv6 address cafe:1:2::11/128
Configure IPv6 address of the loopback interface.
PE1(config-if)#ipv6 router isis 1
Make the interface part of the router ISIS 1 instance.
PE1(config-if)#exit
Exit interface mode.
Global SRv6 EVPN Command:
 
PE1#configure terminal
Enter configure mode.
PE1(config)#evpn srv6 enable
Enable srv6 evpn under config mode
PE1(config)#evpn srv6 ip-global cafe:1:2::11
Configuring SRv6 global IP to loopback IP
PE1(config)#qos enable
Enable qos
Interface Configuration Network Side:
 
PE1(config)#interface ce16
Enter interface mode.
PE1(config-if)#ipv6 address 5001::1/64
Configure the IPv6 address of the interface.
PE1(config-if)#ipv6 router isis 1
Make the interface part of the router ISIS 1 instance.
PE1(config-if)#exit
Exit the interface
ISIS Configuration:
 
PE1(config)#router isis 1
Set the routing process ID as 1
PE1(config-router)#is-type level-2-only
Configure isis level2
PE1(config-router)#metric-style wide
Configure wide metric-style
PE1(config-router)#net 49.0001.0000.0000.0001.00
Configure Network entity title (NET).
PE1(config-router)#address-family ipv6
Enter Address-family IPv6
PE1(config-router-af)#segment-routing srv6
Enter into segment routing SRv6 mode
PE1(config-router-af-srv6)#srv6-locator PE1_locator
Configure SRv6 locator name
PE1(config-router-af-srv6)#exit-srv6
Exit SRv6 mode
PE1(config-router-af)#exit
Exit address family mode
PE1(config-router)#exit
Exit router mode.
BGP Configuration:
 
PE1(config)#router bgp 1000
Configure router BGP in AS 1000
PE1(config-router)#bgp router-id 1.1.1.1
Configure BGP Router ID
PE1(config-router)#neighbor cafe:1:2::22 remote-as 1000
Configure neighbor remote-as 1000
PE1(config-router)#neighbor cafe:1:2::22 update-source lo
Configure neighbor with update-source lo
PE1(config-router)#address-family l2vpn evpn
Configure address-family l2vpn evpn
PE1(config-router-af)#neighbor cafe:1:2::22 activate
Activate neighbor under l2vpn evpn address family
PE1(config-router-af)#exit-address-family
Exit from Address Family configuration mode
PE1(config-router)#exit
Exit router prompt
MAC VRF Configuration:
 
PE1#configure terminal
Enter configure mode.
PE1(config)#mac vrf vrf3
Configure first mac VRF with name vrf3
PE1(config-vrf)#rd 1.1.1.1:30
Configure Route-distinguisher value
PE1(config-vrf)#route-target both 30:30
Configure Route target value
PE1(config-vrf)#exit
Exit to config mode
PE1(config)#mac vrf vrf4
Configure second mac VRF with name vrf4
PE1(config-vrf)#rd 1.1.1.1:40
Configure Route-distinguisher value
PE1(config-vrf)#route-target both 40:40
Configure Route target value
PE1(config-vrf)#exit
Exit to config mode
EVPN and MAC VRF Mapping:
 
PE1#configure terminal
Enter into config mode
PE1(config)#evpn srv6 id 70 xconnect target-srv6-id 80
Configure the EVPN-ELINE identifier with source identifier 70 and target identifier 80
PE1(config-evpn-srv6)# evi-name eline-sh1
Configure evi-name as eline-sh1
PE1(config-evpn-srv6)#host-reachability-protocol evpn-bgp vrf3
Configure host reachable protocol to Ethernet-VPN over BGP
PE1(config-evpn-srv6)#locator PE1_locator
Configure Locator Name
PE1(config-evpn-srv6)#exit
Exit evpn srv6
PE1(config)#evpn srv6 id 71 xconnect target-srv6-id 81
Configure the EVPN-ELINE identifier with source identifier 71 and target identifier 81
PE1(config-evpn-srv6)#evi-name eline-sh2
Configure evi-name as eline-sh2
PE1(config-evpn-srv6)#host-reachability-protocol evpn-bgp vrf4
Configure host reachable protocol to Ethernet-VPN over BGP
PE1(config-evpn-srv6)#locator PE1_locator
Configure Locator Name
PE1(config-evpn-srv6)#exit
Exit evpn srv6
PE1(config)#interface ce15.100 switchport
Creating L2 sub interface of physical interface ce15
PE1(config-if)#encapsulation dot1q 100
Setting Encapsulation to dot1q with VLAN ID 100
Supported Encapsulation: dot1ad, dot1q, untagged, default
PE1(config-if)#access-if-evpn
Create the evpn mpls access-port
PE1(config-acc-if-evpn)#map vpn-id 70
Map vpn-id 70 to interface ce15.100 (ELINE)
PE1(config-acc-if-evpn)#exit
Exit evpn mapping mode
PE1(config-if)#exit
Exit evpn access mode
PE1(config)#interface ce15.101 switchport
Creating L2 sub interface of physical interface ce15
PE1(config-if)#encapsulation untagged
Setting Encapsulation to untagged
Supported Encapsulation: dot1ad, dot1q, untagged, default
PE1(config-if)#access-if-evpn
Create the evpn mpls access-port
PE1(config-acc-if-evpn)#map vpn-id 71
Map vpn-id 71 to interface ce15.101 (ELINE)
PE1(config-acc-if-evpn)#exit
Exit evpn mapping mode
PE1(config-if)#exit
Exit evpn access mode
SRv6 Segment Routing:
 
PE1(config)#segment-routing
Configuring segment-routing
PE1(config-sr)#srv6
Segment-Routing over IPv6 Data-Plane
PE1(config-srv6)#locators
Configure SRv6 locators
PE1(config-srv6-loc)#locator PE1_locator
Locator name as PE1_locator
PE1(config-srv6-loc-conf)#prefix cafe:1:2:a11::/64
IPv6 prefix for locator
PE1(config-srv6-loc-conf)#exit-locator
Exit from locator mode
PE1(config-srv6-loc)#exit-locators
Exit from SRv6 locators configuration mode
PE1(config-srv6)#exit-srv6
Exit from SRv6 configuration mode
PE1(config-sr)#exit
Exit segment routing
P1
Interface Configuration:
 
P1#configure terminal
Enter configure mode.
P1(config)#interface ce51
Enter interface mode.
P1(config-if)#ipv6 address 5001::2/64
Configure the IPv6 address of the interface.
P1(config-if)#ipv6 router isis 1
Make the interface part of the router ISIS 1 instance
P1(config-if)#interface ce50
Enter interface mode.
P1(config-if)#ipv6 address 3001::1/64
Configure the IP address of the interface.
P1(config-if)#ipv6 router isis 1
Make the interface part of the router ISIS 1 instance.
P1(config-if)#exit
Exit interface mode.
ISIS Configuration:
 
P1#configure terminal
Enter configure mode.
P1(config)#router isis 1
Set the routing process ID as 1
P1(config-router)#is-type level-2-only
Configure is-type as level-2
P1(config-router)#metric-style wide
Configure wide metric-style
P1(config-router)#net 49.0001.0000.0000.0002.00
Configure Network entity title (NET).
P1(config-router)#address-family ipv6
Enter Address-family IPv6
P1(config-router-af)#exit-address-family
Exit address family IPv6
P1(config-router)#exit
Exit router mode.
 
PE2
Loopback Interface:
 
PE2#configure terminal
Enter configure mode.
PE2(config)#interface lo
Enter interface mode.
PE2(config-if)#ipv6 address cafe:1:2::22/128
Configure IPv6 address of the loopback interface.
PE2(config-if)#ipv6 router isis 1
Make the interface part of the router ISIS instance 1
PE2(config-if)#exit
Exit interface mode.
Global SRv6 EVPN Command:
 
PE2#configure terminal
Enter configure mode.
PE2(config)#evpn srv6 enable
Enable srv6 evpn under config mode
PE2(config)#evpn srv6 ip-global cafe:1:2::22
Configuring SRv6 global IP to loopback IP
PE1(config)#qos enable
Enable qos
Interface Configuration Network Side:
 
PE2(config)#interface ce4
Enter interface mode.
PE2(config-if)#ipv6 address 3001::2/64
Configure the IPv6 address of the interface.
PE2(config-if)#ipv6 router isis 1
Make the interface part of the router ISIS instance 1
PE2(config-if)#exit
Exit to config mode
ISIS Configuration:
 
PE2(config)#router isis 1
Set the routing process ID as 1
PE2(config-router)#is-type level-2-only
Configure isis level-2
PE2(config-router)#metric-style wide
Configure wide metric-style
PE2(config-router)#net 49.0001.0000.0000.0003.00
Configure Network entity title (NET).
PE2(config-router)#address-family ipv6
Enter Address-family IPv6
PE2(config-router-af)#segment-routing srv6
Configure is-type as level-2
PE2(config-router-af-srv6)#srv6-locator PE2_locator
Name to SRv6 locator
PE2(config-router-af-srv6)#exit-srv6
Exit SRv6 mode
PE2(config-router-af)#exit
Exit address family
PE2(config-router)#exit
Exit router mode.
BGP Configuration:
 
PE2(config)# router bgp 1000
Configure router BGP in AS 1000
PE2(config-router)# bgp router-id 2.2.2.2
Configure BGP Router ID
PE2(config-router)# neighbor cafe:1:2::11 remote-as 1000
Configure neighbor in remote-as 1000
PE2(config-router)#neighbor cafe:1:2::11 update-source lo
Configure neighbor with update-source lo
PE2(config-router)# address-family l2vpn evpn
Enter into l2vpn evpn Address family mode
PE2(config-router-af)#neighbor cafe:1:2::11 activate
Activate neighbor for EVPN under l2vpn address family
PE2(config-router-af)#exit-address-family
Exit from Address Family configuration mode
PE2(config-router)#exit
Exit from router mode
MAC VRF Configuation:
 
PE2#configure terminal
Enter configure mode.
PE2(config)#mac vrf vrf3
Configure first mac VRF with name vrf3
PE2(config-vrf)# rd 2.2.2.2:30
Configure Route-distinguisher value
PE2(config-vrf)# route-target both 30:30
Configure Route target value
PE2(config-vrf)#exit
Exit to config mode
PE2(config)#mac vrf vrf4
Configure second mac VRF with name vrf4
PE2(config-vrf)# rd 2.2.2.2:40
Configure Route-distinguisher value
PE2(config-vrf)# route-target both 40:40
Configure Route target value
PE2(config-vrf)#exit
Exit to config mode
EVPN and MAC VRF Mapping:
 
PE2#configure terminal
Enter into config mode
PE2(config)#evpn srv6 id 80 xconnect target-srv6-id 70
Configure the EVPN-ELINE identifier with source identifier 80 and target identifier 70
PE2(config-evpn-srv6)# evi-name eline-sh1
Configure evi-name as eline-sh1
PE2(config-evpn-srv6)# host-reachability-protocol evpn-bgp vrf3
Configure host reachable protocol to Ethernet-VPN over BGP
PE2(config-evpn-srv6)# locator PE2_locator
Configure Locator Name
PE2(config-evpn-srv6)#exit
Exit evpn srv6
PE2(config)#evpn srv6 id 81 xconnect target-srv6-id 71
Configure the EVPN-ELINE identifier with source identifier 81 and target identifier 71
PE2(config-evpn-srv6)# evi-name eline-sh2
Configure evi-name as eline-sh2
PE2(config-evpn-srv6)# host-reachability-protocol evpn-bgp vrf4
Configure host reachable protocol to Ethernet-VPN over BGP
PE2(config-evpn-srv6)# locator PE2_locator
Configure Locator Name
PE2(config-evpn-srv6)#exit
Exit evpn srv6
PE2(config)#interface ce6.100 switchport
Creating L2 sub interface of physical interface ce6
PE2(config-if)# encapsulation dot1q 100
Setting Encapsulation to dot1q with VLAN ID 100
Supported Encapsulation: dot1ad, dot1q, untagged, default
PE2(config-if)# access-if-evpn
Create the evpn mpls access-port
PE2(config-acc-if-evpn)#map vpn-id 80
Map vpn-id 80 to interface ce6.100 (ELINE)
PE2(config-acc-if-evpn)#exit
Exit evpn mapping mode
PE2(config-if)#exit
Exit evpn access mode
PE2(config)#interface ce6.101 switchport
Creating L2 sub interface of physical interface ce6
PE2(config-if)# encapsulation untagged
Setting Encapsulation to untagged
Supported Encapsulation: dot1ad, dot1q, untagged, default
PE2(config-if)# access-if-evpn
Create the evpn mpls access-port
PE2(config-acc-if-evpn)# map vpn-id 81
Map vpn-id 81 to interface ce6.101 (ELINE)
PE2(config-acc-if-evpn)#exit
Exit evpn mapping mode
PE2(config-if)#exit
Exit evpn access mode
SRv6 Segment Routing:
 
PE2(config)#segment-routing
Configuring segment-routing
PE2(config-sr)#srv6
Segment-Routing over IPv6 Data-Plane
PE2(config-srv6)#locators
Configure SRv6 locators
PE2(config-srv6-loc)#locator PE2_locator
Locator name as PE2_locator
PE2(config-srv6-loc-conf)#prefix cafe:1:2:a22::/64
IPv6 prefix for locator
PE2(config-srv6-loc-conf)#exit-locator
Exit from locator mode
PE2(config-srv6-loc)#exit-locators
Exit from SRv6 locators configuration mode
PE2(config-srv6)#exit-srv6
Exit from SRv6 configuration mode
PE2(config-sr)#exit
Exit segment routing
SRV6 EVPN ELINE Validation without Policy
SRV6 ISIS Route Check
 
PE1#show clns neighbors
 
Total number of L1 adjacencies: 0
Total number of L2 adjacencies: 1
Total number of adjacencies: 1
Tag 1: VRF : default
System Id Interface SNPA State Holdtime Type Protocol
0000.0000.0002 ce16 3c2c.99c9.09ad Up 24 L2 IS-IS
 
PE1#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,
P - SRV6-POLICY,
v - vrf leaked
Timers: Uptime
 
IP Route Table for VRF "default"
C ::1/128 via ::, lo, 00:17:59
i L2 3001::/64 [115/20] via fe80::3e2c:99ff:fec9:9ad, ce16, 00:11:49
C 5001::/64 via ::, ce16, 00:12:55
C cafe:1:2::11/128 via ::, lo, 00:12:55
i L2 cafe:1:2::22/128 [115/30] via fe80::3e2c:99ff:fec9:9ad, ce16, 00:11:49
C cafe:1:2:a11:2::/128, SRV6 END.DX2 SID
via ::, lo, 00:12:55
C cafe:1:2:a11:3::/128, SRV6 END.DX2 SID
via ::, lo, 00:12:55
C cafe:1:2:a11:801::/128, SRV6 END SID
via ::, lo, 00:12:55
C cafe:1:2:a11:1001::/128, SRV6 END SID
via ::, lo, 00:12:55
C cafe:1:2:a11:2001::/128, SRV6 END SID
via ::, lo, 00:12:55
C cafe:1:2:a11:6001::/128, SRV6 END.X SID
via fe80::3e2c:99ff:fec9:9ad, ce16, 00:12:54
i L2 cafe:1:2:a22::/64 [115/21] via fe80::3e2c:99ff:fec9:9ad, ce16, 00:11:49
C fe80::/64 via ::, ce15, 00:12:55
 
PE1#show isis database detail
Tag 1: VRF : default
IS-IS Level-2 Link State Database:
LSPID LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL
0000.0000.0001.00-00* 0x0000000B 0x4560 430 0/0/0
Area Address: 49.0001
NLPID: 0x8E
IPv6 Address: 5001::1
Router Cap: 0.0.0.0
SR-Algorithm:
Algorithm: 0
Maximum SID Depth:
SRH maximum segments left : 4
SRH maximum end pop : 4
SRH maximum H.encaps : 4
SRH maximum decapsulation sids : 4
SRV6 flags: 0
Metric: 10 IS-Extended 0000.0000.0001.01
Metric: 10 IPv6 5001::/64
Metric: 10 IPv6 cafe:1:2::11/128
Metric: 1 IPv6 cafe:1:2:a11::/64
SRV6 Locator: (IPV6)cafe:1:2:a11::/64
Algorithm: 0 flags: 0 metric: 0
END SID: cafe:1:2:a11:2001:: flags:0 End-point behaviour: End with PSP (2)
END SID: cafe:1:2:a11:1001:: flags:0 End-point behaviour: End with USP (3)
END SID: cafe:1:2:a11:801:: flags:0 End-point behaviour: End with USD (28)
0000.0000.0001.01-00* 0x00000001 0x9139 426 0/0/0
Metric: 0 IS-Extended 0000.0000.0001.00
Metric: 0 IS-Extended 0000.0000.0002.00
0000.0000.0002.00-00 0x00000013 0x814F 457 0/0/0
Area Address: 49.0001
NLPID: 0x8E
IPv6 Address: 5001::2
Metric: 10 IS-Extended 0000.0000.0001.01
Metric: 10 IS-Extended 0000.0000.0003.02
Metric: 10 IPv6 5001::/64
Metric: 10 IPv6 3001::/64
0000.0000.0003.00-00 0x00000009 0xA707 462 0/0/0
Area Address: 49.0001
NLPID: 0x8E
IPv6 Address: cafe:1:2::22
Router Cap: 0.0.0.0
SR-Algorithm:
Algorithm: 0
Maximum SID Depth:
SRH maximum segments left : 4
SRH maximum end pop : 4
SRH maximum H.encaps : 4
SRH maximum decapsulation sids : 4
SRV6 flags: 0
Metric: 10 IS-Extended 0000.0000.0003.02
Metric: 10 IPv6 cafe:1:2::22/128
Metric: 10 IPv6 3001::/64
Metric: 1 IPv6 cafe:1:2:a22::/64
SRV6 Locator: (IPV6)cafe:1:2:a22::/64
Algorithm: 0 flags: 0 metric: 0
END SID: cafe:1:2:a22:2001:: flags:0 End-point behaviour: End with PSP (2)
END SID: cafe:1:2:a22:1001:: flags:0 End-point behaviour: End with USP (3)
END SID: cafe:1:2:a22:801:: flags:0 End-point behaviour: End with USD (28)
0000.0000.0003.02-00 0x00000006 0x823E 458 0/0/0
Metric: 0 IS-Extended 0000.0000.0003.00
Metric: 0 IS-Extended 0000.0000.0002.00
 
PE2#show clns neighbors
 
Total number of L1 adjacencies: 0
Total number of L2 adjacencies: 1
Total number of adjacencies: 1
Tag 1: VRF : default
System Id Interface SNPA State Holdtime Type Protocol
0000.0000.0002 ce4 3c2c.99c9.09ac Up 26 L2 IS-IS
 
PE2#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,
P - SRV6-POLICY,
v - vrf leaked
Timers: Uptime
 
IP Route Table for VRF "default"
C ::1/128 via ::, lo, 00:12:30
C 3001::/64 via ::, ce4, 00:06:46
i L2 5001::/64 [115/20] via fe80::3e2c:99ff:fec9:9ac, ce4, 00:06:31
i L2 cafe:1:2::11/128 [115/30] via fe80::3e2c:99ff:fec9:9ac, ce4, 00:06:31
C cafe:1:2::22/128 via ::, lo, 00:06:47
i L2 cafe:1:2:a11::/64 [115/21] via fe80::3e2c:99ff:fec9:9ac, ce4, 00:06:31
C cafe:1:2:a22:2::/128, SRV6 END.DX2 SID
via ::, lo, 00:06:47
C cafe:1:2:a22:3::/128, SRV6 END.DX2 SID
via ::, lo, 00:06:47
C cafe:1:2:a22:801::/128, SRV6 END SID
via ::, lo, 00:06:47
C cafe:1:2:a22:1001::/128, SRV6 END SID
via ::, lo, 00:06:47
C cafe:1:2:a22:2001::/128, SRV6 END SID
via ::, lo, 00:06:47
C cafe:1:2:a22:6001::/128, SRV6 END.X SID
via fe80::3e2c:99ff:fec9:9ac, ce4, 00:06:46
C fe80::/64 via ::, ce4, 00:06:46
 
PE2#show isis database detail
Tag 1: VRF : default
IS-IS Level-2 Link State Database:
LSPID LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL
0000.0000.0001.00-00 0x0000000B 0x4560 760 0/0/0
Area Address: 49.0001
NLPID: 0x8E
IPv6 Address: 5001::1
Router Cap: 0.0.0.0
SR-Algorithm:
Algorithm: 0
Maximum SID Depth:
SRH maximum segments left : 4
SRH maximum end pop : 4
SRH maximum H.encaps : 4
SRH maximum decapsulation sids : 4
SRV6 flags: 0
Metric: 10 IS-Extended 0000.0000.0001.01
Metric: 10 IPv6 5001::/64
Metric: 10 IPv6 cafe:1:2::11/128
Metric: 1 IPv6 cafe:1:2:a11::/64
SRV6 Locator: (IPV6)cafe:1:2:a11::/64
Algorithm: 0 flags: 0 metric: 0
END SID: cafe:1:2:a11:2001:: flags:0 End-point behaviour: End with PSP (2)
END SID: cafe:1:2:a11:1001:: flags:0 End-point behaviour: End with USP (3)
END SID: cafe:1:2:a11:801:: flags:0 End-point behaviour: End with USD (28)
0000.0000.0001.01-00 0x00000001 0x9139 756 0/0/0
Metric: 0 IS-Extended 0000.0000.0001.00
Metric: 0 IS-Extended 0000.0000.0002.00
0000.0000.0002.00-00 0x00000013 0x814F 788 0/0/0
Area Address: 49.0001
NLPID: 0x8E
IPv6 Address: 5001::2
Metric: 10 IS-Extended 0000.0000.0001.01
Metric: 10 IS-Extended 0000.0000.0003.02
Metric: 10 IPv6 5001::/64
Metric: 10 IPv6 3001::/64
0000.0000.0003.00-00* 0x00000009 0xA707 793 0/0/0
Area Address: 49.0001
NLPID: 0x8E
IPv6 Address: cafe:1:2::22
Router Cap: 0.0.0.0
SR-Algorithm:
Algorithm: 0
Maximum SID Depth:
SRH maximum segments left : 4
SRH maximum end pop : 4
SRH maximum H.encaps : 4
SRH maximum decapsulation sids : 4
SRV6 flags: 0
Metric: 10 IS-Extended 0000.0000.0003.02
Metric: 10 IPv6 cafe:1:2::22/128
Metric: 10 IPv6 3001::/64
Metric: 1 IPv6 cafe:1:2:a22::/64
SRV6 Locator: (IPV6)cafe:1:2:a22::/64
Algorithm: 0 flags: 0 metric: 0
END SID: cafe:1:2:a22:2001:: flags:0 End-point behaviour: End with PSP (2)
END SID: cafe:1:2:a22:1001:: flags:0 End-point behaviour: End with USP (3)
END SID: cafe:1:2:a22:801:: flags:0 End-point behaviour: End with USD (28)
0000.0000.0003.02-00* 0x00000006 0x823E 790 0/0/0
Metric: 0 IS-Extended 0000.0000.0003.00
Metric: 0 IS-Extended 0000.0000.0002.00
BGP Validation for EVPN-ELINE SH
 
PE1#show bgp neighbors
BGP neighbor is cafe:1:2::22, remote AS 1000, local AS 1000, internal link
BGP version 4, local router ID 1.1.1.1, remote router ID 2.2.2.2
BGP state = Established, up for 00:12:10
Last read 00:00:12, hold time is 90, keepalive interval is 30 seconds
Neighbor capabilities:
Route refresh: advertised and received (old and new)
Address family L2VPN EVPN: advertised and received
Received 36 messages, 0 notifications, 0 in queue
Sent 35 messages, 0 notifications, 0 in queue
Route refresh request: received 0, sent 0
Minimum time between advertisement runs is 5 seconds
Update source is lo
For address family: L2VPN EVPN
BGP table version 7, neighbor version 7
Index 1, Offset 0, Mask 0x2
Community attribute sent to this neighbor (both)
Large Community attribute sent to this neighbor
2 accepted prefixes
Accepted AD:2 MACIP:0 MCAST:0 ESI:0 PREFIX:0
2 announced prefixes
 
Connections established 1; dropped 0
Local host: cafe:1:2::11, Local port: 37131
Foreign host: cafe:1:2::22, Foreign port: 179
Nexthop: 1.1.1.1
Nexthop global: cafe:1:2::11
Nexthop local: ::
BGP connection: non shared network
 
PE2#show bgp neighbors
BGP neighbor is cafe:1:2::11, remote AS 1000, local AS 1000, internal link
BGP version 4, local router ID 2.2.2.2, remote router ID 1.1.1.1
BGP state = Established, up for 00:06:35
Last read 00:00:13, hold time is 90, keepalive interval is 30 seconds
Neighbor capabilities:
Route refresh: advertised and received (old and new)
Address family L2VPN EVPN: advertised and received
Received 19 messages, 0 notifications, 0 in queue
Sent 20 messages, 0 notifications, 0 in queue
Route refresh request: received 0, sent 0
Minimum time between advertisement runs is 5 seconds
Update source is lo
For address family: L2VPN EVPN
BGP table version 2, neighbor version 2
Index 1, Offset 0, Mask 0x2
Community attribute sent to this neighbor (both)
Large Community attribute sent to this neighbor
2 accepted prefixes
Accepted AD:2 MACIP:0 MCAST:0 ESI:0 PREFIX:0
2 announced prefixes
 
Connections established 1; dropped 0
Local host: cafe:1:2::22, Local port: 179
Foreign host: cafe:1:2::11, Foreign port: 37131
Nexthop: 2.2.2.2
Nexthop global: cafe:1:2::22
Nexthop local: ::
BGP connection: non shared network
SRV6 EVPN-ELINE
 
PE1#show segment-routing srv6 services
Status codes: > - installed, * - selected, T - Uses service-mapped tunnel
L3VPN:
 
EVPN:
Service Flags vrf local-evpn-id remote-evpn-id SID Nexthop SRv6-Policy-Name
ELINE > vrf3 70 80 cafe:1:2:a22:2:: cafe:1:2::22 None
ELINE > vrf4 71 81 cafe:1:2:a22:3:: cafe:1:2::22 None
 
PE1#show segment-routing srv6 services evpn
Status codes: > - installed, * - selected, T - Uses service-mapped tunnel
Service Flags vrf local-evpn-id remote-evpn-id SID Nexthop SRv6-Policy-Name
ELINE > vrf3 70 80 cafe:1:2:a22:2:: cafe:1:2::22 None
ELINE > vrf4 71 81 cafe:1:2:a22:3:: cafe:1:2::22 None
 
PE1#show segment-routing srv6 sid
SRv6 Segment ID table:
SID Operation Nexthop Originator
+----------------------+------------+------------------------+----------
cafe:1:2:a11:2:: END.DX2 :: evpn:70
cafe:1:2:a11:3:: END.DX2 :: evpn:71
cafe:1:2:a11:801:: END[usd] :: nsm
cafe:1:2:a11:1001:: END[usp] :: nsm
cafe:1:2:a11:2001:: END[psp] :: nsm
cafe:1:2:a11:6001:: END.X[psp] fe80::3e2c:99ff:fec9:9ad isis
 
PE1#show hsl srv6 evpn
TABLE: SRV6 EVPN Table
+------+---------------------+---------------+--------+--------------------------+--------------------------+--------+----------+
| EVPN | DESTINATION | POLICY-ID/ | OUT | NEXTHOP | EVPN SEGMENT | CACHE | FEC_ID |
| ID | FEC | TYPE/NHLFE-ID | IFNAME | | | STATUS | |
+------+---------------------+---------------+--------+--------------------------+--------------------------+--------+----------+
71 cafe:1:2::22 0 /PRI /1 ce16 fe80::3e2c:99ff:fec9:9ad cafe:1:2:a22:3:: Active 0x2000ccdf
70 cafe:1:2::22 0 /PRI /1 ce16 fe80::3e2c:99ff:fec9:9ad cafe:1:2:a22:2:: Active 0x2000ccdd
 
PE1#show hsl srv6 evpn 70
TABLE: SRV6 EVPN Table
+------+---------------------+---------------+--------+--------------------------+--------------------------+--------+----------+
| EVPN | DESTINATION | POLICY-ID/ | OUT | NEXTHOP | EVPN SEGMENT | CACHE | FEC_ID |
| ID | FEC | TYPE/NHLFE-ID | IFNAME | | | STATUS | |
+------+---------------------+---------------+--------+--------------------------+--------------------------+--------+----------+
70 cafe:1:2::22 0 /PRI /1 ce16 fe80::3e2c:99ff:fec9:9ad cafe:1:2:a22:2:: Active 0x2000ccdd
 
PE1#show hsl srv6 evpn 71
TABLE: SRV6 EVPN Table
+------+---------------------+---------------+--------+--------------------------+--------------------------+--------+----------+
| EVPN | DESTINATION | POLICY-ID/ | OUT | NEXTHOP | EVPN SEGMENT | CACHE | FEC_ID |
| ID | FEC | TYPE/NHLFE-ID | IFNAME | | | STATUS | |
+------+---------------------+---------------+--------+--------------------------+--------------------------+--------+----------+
71 cafe:1:2::22 0 /PRI /1 ce16 fe80::3e2c:99ff:fec9:9ad cafe:1:2:a22:3:: Active 0x2000ccdf
 
 
PE1#show evpn srv6 xconnect
EVPN Xconnect Info
========================
AC-AC: Local-Cross-connect
AC-NW: Cross-connect to Network
AC-UP: Access-port is up
AC-DN: Access-port is down
NW-UP: Network is up
NW-DN: Network is down
NW-SET: Network and AC both are up
 
Local Remote Connection-Details
================================ ============ ===================================================================================
VPN-ID EVI-Name MTU VPN-ID Source Destination PE-IP MTU Type NW-Status
================================ ============ ===================================================================================
70 eline-sh1 1500 80 ce15.100 --- Single Homed Port --- cafe:1:2::22 1500 AC-NW NW-SET
71 eline-sh2 1500 81 ce15.101 --- Single Homed Port --- cafe:1:2::22 1500 AC-NW NW-SET
 
Total number of entries are 2
 
PE1#show evpn srv6 xconnect id 70
EVPN Xconnect Info
========================
AC-AC: Local-Cross-connect
AC-NW: Cross-connect to Network
AC-UP: Access-port is up
AC-DN: Access-port is down
NW-UP: Network is up
NW-DN: Network is down
NW-SET: Network and AC both are up
 
Local Remote Connection-Details
================================ ============ ===================================================================================
VPN-ID EVI-Name MTU VPN-ID Source Destination PE-IP MTU Type NW-Status
================================ ============ ===================================================================================
70 eline-sh1 1500 80 ce15.100 --- Single Homed Port --- cafe:1:2::22 1500 AC-NW NW-SET
 
Total number of entries are 1
 
PE1#show evpn srv6 xconnect id 71
EVPN Xconnect Info
========================
AC-AC: Local-Cross-connect
AC-NW: Cross-connect to Network
AC-UP: Access-port is up
AC-DN: Access-port is down
NW-UP: Network is up
NW-DN: Network is down
NW-SET: Network and AC both are up
 
Local Remote Connection-Details
================================ ============ ===================================================================================
VPN-ID EVI-Name MTU VPN-ID Source Destination PE-IP MTU Type NW-Status
================================ ============ ===================================================================================
71 eline-sh2 1500 81 ce15.101 --- Single Homed Port --- cafe:1:2::22 1500 AC-NW NW-SET
 
Total number of entries are 1
 
PE1#show evpn srv6 xconnect tunnel summary
 
Total number of entries: 2 [Installed: 2, Resolved: 0, Unresolved: 0]
 
PE1#show evpn srv6 xconnect tunnel sid
EVPN-SRV6 Network tunnel SID's
Evpn service type: ELINE
EVI-NAME: NA
PE IP: cafe:1:2::22
Status: Installed
Xconnect information
Local Ethernet Tag Id: 70
Local UC-SID: cafe:1:2:a11:2::
Remote Ethernet Tag Id: 80
Remote UC-SID: cafe:1:2:a22:2::
Tunnel policy mapped: --
Evpn service type: ELINE
EVI-NAME: NA
PE IP: cafe:1:2::22
Status: Installed
Xconnect information
Local Ethernet Tag Id: 71
Local UC-SID: cafe:1:2:a11:3::
Remote Ethernet Tag Id: 81
Remote UC-SID: cafe:1:2:a22:3::
Tunnel policy mapped: --
 
PE2#show segment-routing srv6 services
Status codes: > - installed, * - selected, T - Uses service-mapped tunnel
L3VPN:
 
EVPN:
Service Flags vrf local-evpn-id remote-evpn-id SID Nexthop SRv6-Policy-Name
ELINE > vrf3 80 70 cafe:1:2:a11:2:: cafe:1:2::11 None
ELINE > vrf4 81 71 cafe:1:2:a11:3:: cafe:1:2::11 None
 
PE2#show segment-routing srv6 services evpn
Status codes: > - installed, * - selected, T - Uses service-mapped tunnel
Service Flags vrf local-evpn-id remote-evpn-id SID Nexthop SRv6-Policy-Name
ELINE > vrf3 80 70 cafe:1:2:a11:2:: cafe:1:2::11 None
ELINE > vrf4 81 71 cafe:1:2:a11:3:: cafe:1:2::11 None
 
PE2#show segment-routing srv6 sid
SRv6 Segment ID table:
SID Operation Nexthop Originator
+----------------------+------------+------------------------+----------
cafe:1:2:a22:2:: END.DX2 :: evpn:80
cafe:1:2:a22:3:: END.DX2 :: evpn:81
cafe:1:2:a22:801:: END[usd] :: nsm
cafe:1:2:a22:1001:: END[usp] :: nsm
cafe:1:2:a22:2001:: END[psp] :: nsm
cafe:1:2:a22:6001:: END.X[psp] fe80::3e2c:99ff:fec9:9ac isis
 
PE2#show hsl srv6 evpn
TABLE: SRV6 EVPN Table
+------+---------------------+---------------+--------+--------------------------+--------------------------+--------+----------+
| EVPN | DESTINATION | POLICY-ID/ | OUT | NEXTHOP | EVPN SEGMENT | CACHE | FEC_ID |
| ID | FEC | TYPE/NHLFE-ID | IFNAME | | | STATUS | |
+------+---------------------+---------------+--------+--------------------------+--------------------------+--------+----------+
81 cafe:1:2::11 0 /PRI /1 ce4 fe80::3e2c:99ff:fec9:9ac cafe:1:2:a11:3:: Active 0x2000ccda
80 cafe:1:2::11 0 /PRI /1 ce4 fe80::3e2c:99ff:fec9:9ac cafe:1:2:a11:2:: Active 0x2000ccd8
 
PE2#show hsl srv6 evpn 80
TABLE: SRV6 EVPN Table
+------+---------------------+---------------+--------+--------------------------+--------------------------+--------+----------+
| EVPN | DESTINATION | POLICY-ID/ | OUT | NEXTHOP | EVPN SEGMENT | CACHE | FEC_ID |
| ID | FEC | TYPE/NHLFE-ID | IFNAME | | | STATUS | |
+------+---------------------+---------------+--------+--------------------------+--------------------------+--------+----------+
80 cafe:1:2::11 0 /PRI /1 ce4 fe80::3e2c:99ff:fec9:9ac cafe:1:2:a11:2:: Active 0x2000ccd8
 
PE2#show hsl srv6 evpn 81
TABLE: SRV6 EVPN Table
+------+---------------------+---------------+--------+--------------------------+--------------------------+--------+----------+
| EVPN | DESTINATION | POLICY-ID/ | OUT | NEXTHOP | EVPN SEGMENT | CACHE | FEC_ID |
| ID | FEC | TYPE/NHLFE-ID | IFNAME | | | STATUS | |
+------+---------------------+---------------+--------+--------------------------+--------------------------+--------+----------+
81 cafe:1:2::11 0 /PRI /1 ce4 fe80::3e2c:99ff:fec9:9ac cafe:1:2:a11:3:: Active 0x2000ccda
 
PE2#show evpn srv6 xconnect
EVPN Xconnect Info
========================
AC-AC: Local-Cross-connect
AC-NW: Cross-connect to Network
AC-UP: Access-port is up
AC-DN: Access-port is down
NW-UP: Network is up
NW-DN: Network is down
NW-SET: Network and AC both are up
 
Local Remote Connection-Details
================================ ============ ===================================================================================
VPN-ID EVI-Name MTU VPN-ID Source Destination PE-IP MTU Type NW-Status
================================ ============ ===================================================================================
80 eline-sh1 1500 70 ce6.100 --- Single Homed Port --- cafe:1:2::11 1500 AC-NW NW-SET
81 eline-sh2 1500 71 ce6.101 --- Single Homed Port --- cafe:1:2::11 1500 AC-NW NW-SET
 
Total number of entries are 2
 
PE2#show evpn srv6 xconnect id 80
EVPN Xconnect Info
========================
AC-AC: Local-Cross-connect
AC-NW: Cross-connect to Network
AC-UP: Access-port is up
AC-DN: Access-port is down
NW-UP: Network is up
NW-DN: Network is down
NW-SET: Network and AC both are up
 
Local Remote Connection-Details
================================ ============ ===================================================================================
VPN-ID EVI-Name MTU VPN-ID Source Destination PE-IP MTU Type NW-Status
================================ ============ ===================================================================================
80 eline-sh1 1500 70 ce6.100 --- Single Homed Port --- cafe:1:2::11 1500 AC-NW NW-SET
 
Total number of entries are 1
 
PE2#show evpn srv6 xconnect id 81
EVPN Xconnect Info
========================
AC-AC: Local-Cross-connect
AC-NW: Cross-connect to Network
AC-UP: Access-port is up
AC-DN: Access-port is down
NW-UP: Network is up
NW-DN: Network is down
NW-SET: Network and AC both are up
 
Local Remote Connection-Details
================================ ============ ===================================================================================
VPN-ID EVI-Name MTU VPN-ID Source Destination PE-IP MTU Type NW-Status
================================ ============ ===================================================================================
81 eline-sh2 1500 71 ce6.101 --- Single Homed Port --- cafe:1:2::11 1500 AC-NW NW-SET
 
Total number of entries are 1
 
PE2#show evpn srv6 xconnect tunnel summary
 
Total number of entries: 2 [Installed: 2, Resolved: 0, Unresolved: 0]
PE2#show evpn srv6 xconnect tunnel sid
EVPN-SRV6 Network tunnel SID's
Evpn service type: ELINE
EVI-NAME: NA
PE IP: cafe:1:2::11
Status: Installed
Xconnect information
Local Ethernet Tag Id: 81
Local UC-SID: cafe:1:2:a22:3::
Remote Ethernet Tag Id: 71
Remote UC-SID: cafe:1:2:a11:3::
Tunnel policy mapped: --
Evpn service type: ELINE
EVI-NAME: NA
PE IP: cafe:1:2::11
Status: Installed
Xconnect information
Local Ethernet Tag Id: 80
Local UC-SID: cafe:1:2:a22:2::
Remote Ethernet Tag Id: 70
Remote UC-SID: cafe:1:2:a11:2::
Tunnel policy mapped: --
Total number of entries are 2
SRV6 EVPN ELINE SH Configuration with Policy
Note: This section is continuation of SRV6 EVPN ELINE SH Configuration without Policy section.
Note: If Traffic engineering needed, SR-Policy can be used otherwise not needed.
SRv6 Policy Configuration
PE1
 
PE1#configure terminal
Enter configure mode.
PE1(config)#tunnel-policy policy0
Configure tunnel policy0
PE1(config-tnl-policy)#color 1
Color to be used as 1
PE1(config-tnl-policy)#exit
Exit to config mode
PE1(config)#tunnel-policy policy1
Configure tunnel policy1
PE1(config-tnl-policy)#color 2
Color to be used as 2
PE1(config-tnl-policy)#exit
Exit to config mode
PE1(config)#mac vrf vrf3
Enter into mac vrf3
PE1(config-vrf)#tunnel-select-policy policy0
Tunnel-policy to be mapped as policy0
PE1(config-vrf)#exit
Exit to config mode
PE1(config)#mac vrf vrf4
Enter into mac vrf4
PE1(config-vrf)#tunnel-select-policy policy1
Tunnel-policy to be mapped as policy1
PE1(config-vrf)#exit
Exit to config mode
PE1(config)#segment-routing
Enter into segment-routing
PE1(config-sr)#traffic-engineering
Segment Routing traffic engineering
PE1(config-sr-te)#segment-list 2
Configure segment list as 2
PE1(config-sr-sl)#index 1 segment-type-2 cafe:1:2:a22:2002::
Configure segment type 2 with SRv6 SIDs
PE1(config-sr-sl)#exit-sr-sl
Exit segment list mode
PE1(config-sr-te)#segment-list 1
Configure segment list as 1
PE1(config-sr-sl)#index 1 segment-type-2 cafe:1:2:a22:2001::
Configure segment type 2 with SRv6 SIDs
PE1(config-sr-sl)#exit-sr-sl
Exit segment list mode
PE1(config-sr-te)#policy 2
Policy configuration with name 2
PE1(config-sr-pol)#color 2 end-point cafe:1:2::22
SR-policy color and end-point
PE1(config-sr-pol)#candidate-path 2
SR policy candidate path
PE1(config-sr-pol-cp)#preference 100
Configure Preference
PE1(config-sr-pol-cp)#explicit segment-list 2
configure a candidate path as an explicit path and attach a segment-list to it
PE1(config-sr-pol-cp)#exit-pol-cp
Exit candidate path
PE1(config-sr-pol)#exit-sr-pol
Exit from SR policy configuration mode
PE1(config-sr-te)#policy 1
Policy configuration with name 1
PE1(config-sr-pol)#color 1 end-point cafe:1:2::22
SR-policy color and end-point
PE1(config-sr-pol)#candidate-path 1
SR policy candidate path
PE1(config-sr-pol-cp)#preference 100
Configure Preference
PE1(config-sr-pol-cp)#explicit segment-list 1
configure a candidate path as an explicit path and attach a segment-list to it
PE1(config-sr-pol-cp)#exit-pol-cp
Exit candidate path
PE1(config-sr-pol)#exit-sr-pol
Exit from SR policy configuration mode
PE1(config-sr-te)#exit-te
Exit from traffic engineering configuration mode
PE1(config-sr)#exit
Exit segment routing
PE2
 
PE2#configure terminal
Enter configure mode
PE2(config)#tunnel-policy policy0
Configure tunnel policy0
PE2(config-tnl-policy)# color 1
Color to be used as 1
PE2(config-tnl-policy)#exit
Exit to config mode
PE2(config)#tunnel-policy policy1
Configure tunnel policy1
PE2(config-tnl-policy)# color 2
Color to be used as 2
PE2(config-tnl-policy)#exit
Exit to config mode
PE2(config)#mac vrf vrf3
Enter into mac vrf3
PE2(config-vrf)# tunnel-select-policy policy0
Tunnel-policy to be mapped as policy0
PE2(config-vrf)#exit
Exit to config mode
PE2(config)#mac vrf vrf4
Enter into mac vrf4
PE2(config-vrf)#tunnel-select-policy policy1
Tunnel-policy to be mapped as policy1
PE2(config-vrf)#exit
Exit to config mode
PE2(config)#segment-routing
Enter into segment-routing
PE2(config-sr)#traffic-engineering
Segment Routing traffic engineering
PE2(config-sr-te)#segment-list 2
Configure segment list as 2
PE2(config-sr-sl)#index 1 segment-type-2 cafe:1:2:a11:2002::
Configure segment type 2 with SRv6 SIDs
PE2(config-sr-sl)#exit-sr-sl
Exit segment list mode
PE2(config-sr-te)#segment-list 1
Configure segment list as 1
PE2(config-sr-sl)#index 1 segment-type-2 cafe:1:2:a11:2001::
Configure segment type 2 with SRv6 SIDs
PE2(config-sr-sl)#exit-sr-sl
Exit segment list mode
PE2(config-sr-te)#policy 2
Policy configuration with name 2
PE2(config-sr-pol)#color 2 end-point cafe:1:2::11
SR-policy color and end-point
PE2(config-sr-pol)#candidate-path 2
SR policy candidate path
PE2(config-sr-pol-cp)#preference 100
Configure Preference
PE2(config-sr-pol-cp)#explicit segment-list 2
configure a candidate path as an explicit path and attach a segment-list to it
PE2(config-sr-pol-cp)#exit-pol-cp
Exit candidate path
PE2(config-sr-pol)#exit-sr-pol
Exit from SR policy configuration mode
PE2(config-sr-te)#policy 1
Policy configuration with name 1
PE2(config-sr-pol)#color 1 end-point cafe:1:2::11
SR-policy color and end-point
PE2(config-sr-pol)#candidate-path 1
SR policy candidate path
PE2(config-sr-pol-cp)#preference 100
Configure Preference
PE2(config-sr-pol-cp)#explicit segment-list 1
configure a candidate path as an explicit path and attach a segment-list to it
PE2(config-sr-pol-cp)#exit-pol-cp
Exit candidate path
PE2(config-sr-pol)#exit-sr-pol
Exit from SR policy configuration mode
PE2(config-sr-te)#exit-te
Exit from traffic engineering configuration mode
PE2(config-sr)#exit
Exit segment routing
SRV6 EVPN ELINE SH with Tunnel Policy Validation
SR Tunnel Policy Validation
 
PE1#show segment-routing policy
 
Policy-Name Color End-point State Forwarding-Info
2 2 cafe:1:2::22 UP cafe:1:2:a22:2002::/ce16
1 1 cafe:1:2::22 UP cafe:1:2:a22:2001::/ce16
 
PE1#show segment-routing policy detail
 
Policy-Name: 2 Color 2 End-point cafe:1:2::22 Tunnel-ID: 2
Admin-Status: UP Oper-Status: UP for 00:11:18
State Transition Count: 1
CP ID: 2, Active
Preference: 100 Path Type: Explicit CP Origin: Local
CP state: Valid
Segment List:
Total no. of segments: 1
Segment0[SRv6]: SID :cafe:1:2:a22:2002::
Out-if: ce16 Out-label-stack: cafe:1:2:a22:2002::
Attributes:
Configured:
Explicit segment-list Name: 2
 
 
Policy-Name: 1 Color 1 End-point cafe:1:2::22 Tunnel-ID: 1
Admin-Status: UP Oper-Status: UP for 00:18:21
State Transition Count: 1
CP ID: 1, Active
Preference: 100 Path Type: Explicit CP Origin: Local
CP state: Valid
Segment List:
Total no. of segments: 1
Segment0[SRv6]: SID :cafe:1:2:a22:2001::
Out-if: ce16 Out-label-stack: cafe:1:2:a22:2001::
Attributes:
Configured:
Explicit segment-list Name: 1
 
 
PE2#show segment-routing policy
 
Policy-Name Color End-point State Forwarding-Info
2 2 cafe:1:2::11 UP cafe:1:2:a11:2002::/ce4
1 1 cafe:1:2::11 UP cafe:1:2:a11:2001::/ce4
 
PE2#show segment-routing policy detail
 
Policy-Name: 2 Color 2 End-point cafe:1:2::11 Tunnel-ID: 2
Admin-Status: UP Oper-Status: UP for 00:09:53
State Transition Count: 1
CP ID: 2, Active
Preference: 100 Path Type: Explicit CP Origin: Local
CP state: Valid
Segment List:
Total no. of segments: 1
Segment0[SRv6]: SID :cafe:1:2:a11:2002::
Out-if: ce4 Out-label-stack: cafe:1:2:a11:2002::
Attributes:
Configured:
Explicit segment-list Name: 2
 
 
Policy-Name: 1 Color 1 End-point cafe:1:2::11 Tunnel-ID: 1
Admin-Status: UP Oper-Status: UP for 00:18:10
State Transition Count: 1
CP ID: 1, Active
Preference: 100 Path Type: Explicit CP Origin: Local
CP state: Valid
Segment List:
Total no. of segments: 1
Segment0[SRv6]: SID :cafe:1:2:a11:2001::
Out-if: ce4 Out-label-stack: cafe:1:2:a11:2001::
Attributes:
Configured:
Explicit segment-list Name: 1
SRv6 EVPN ELINE SH with Policy Validation
 
PE1#show segment-routing srv6 services
Status codes: > - installed, * - selected, T - Uses service-mapped tunnel
L3VPN:
 
EVPN:
Service Flags vrf local-evpn-id remote-evpn-id SID Nexthop SRv6-Policy-Name
ELINE >T vrf3 70 80 cafe:1:2:a22:2:: cafe:1:2::22 1
ELINE >T vrf4 71 81 cafe:1:2:a22:3:: cafe:1:2::22 2
PE2#show segment-routing policy
 
Policy-Name Color End-point State Forwarding-Info
2 2 cafe:1:2::11 UP cafe:1:2:a11:2002::/ce4
1 1 cafe:1:2::11 UP cafe:1:2:a11:2001::/ce4
 
PE1#show segment-routing srv6 services evpn
Status codes: > - installed, * - selected, T - Uses service-mapped tunnel
Service Flags vrf local-evpn-id remote-evpn-id SID Nexthop SRv6-Policy-Name
ELINE >T vrf3 70 80 cafe:1:2:a22:2:: cafe:1:2::22 1
ELINE >T vrf4 71 81 cafe:1:2:a22:3:: cafe:1:2::22 2
 
PE1#show segment-routing srv6 sid
SRv6 Segment ID table:
SID Operation Nexthop Originator
+----------------------+------------+------------------------+----------
cafe:1:2:a11:2:: END.DX2 :: evpn:70
cafe:1:2:a11:3:: END.DX2 :: evpn:71
cafe:1:2:a11:801:: END[usd] :: nsm
cafe:1:2:a11:1001:: END[usp] :: nsm
cafe:1:2:a11:2001:: END[psp] :: nsm
cafe:1:2:a11:6001:: END.X[psp] fe80::3e2c:99ff:fec9:9ad isis
 
PE1#show hsl srv6 evpn
TABLE: SRV6 EVPN Table
+------+---------------------+---------------+--------+--------------------------+--------------------------+--------+----------+
| EVPN | DESTINATION | POLICY-ID/ | OUT | NEXTHOP | EVPN SEGMENT | CACHE | FEC_ID |
| ID | FEC | TYPE/NHLFE-ID | IFNAME | | | STATUS | |
+------+---------------------+---------------+--------+--------------------------+--------------------------+--------+----------+
71 cafe:1:2::22 2 /PRI /5 ce16 fe80::3e2c:99ff:fec9:9ad cafe:1:2:a22:3:: Active 0x2000ccdf
70 cafe:1:2::22 1 /PRI /2 ce16 fe80::3e2c:99ff:fec9:9ad cafe:1:2:a22:2:: Active 0x2000ccdd
 
PE1#show hsl srv6 evpn 70
TABLE: SRV6 EVPN Table
+------+---------------------+---------------+--------+--------------------------+--------------------------+--------+----------+
| EVPN | DESTINATION | POLICY-ID/ | OUT | NEXTHOP | EVPN SEGMENT | CACHE | FEC_ID |
| ID | FEC | TYPE/NHLFE-ID | IFNAME | | | STATUS | |
+------+---------------------+---------------+--------+--------------------------+--------------------------+--------+----------+
70 cafe:1:2::22 1 /PRI /2 ce16 fe80::3e2c:99ff:fec9:9ad cafe:1:2:a22:2:: Active 0x2000ccdd
 
PE1#show hsl srv6 evpn 71
TABLE: SRV6 EVPN Table
+------+---------------------+---------------+--------+--------------------------+--------------------------+--------+----------+
| EVPN | DESTINATION | POLICY-ID/ | OUT | NEXTHOP | EVPN SEGMENT | CACHE | FEC_ID |
| ID | FEC | TYPE/NHLFE-ID | IFNAME | | | STATUS | |
+------+---------------------+---------------+--------+--------------------------+--------------------------+--------+----------+
71 cafe:1:2::22 2 /PRI /5 ce16 fe80::3e2c:99ff:fec9:9ad cafe:1:2:a22:3:: Active 0x2000ccdf
 
PE1#show evpn srv6 xconnect
EVPN Xconnect Info
========================
AC-AC: Local-Cross-connect
AC-NW: Cross-connect to Network
AC-UP: Access-port is up
AC-DN: Access-port is down
NW-UP: Network is up
NW-DN: Network is down
NW-SET: Network and AC both are up
 
Local Remote Connection-Details
================================ ============ ===================================================================================
VPN-ID EVI-Name MTU VPN-ID Source Destination PE-IP MTU Type NW-Status
================================ ============ ===================================================================================
70 eline-sh1 1500 80 ce15.100 --- Single Homed Port --- cafe:1:2::22 1500 AC-NW NW-SET
71 eline-sh2 1500 81 ce15.101 --- Single Homed Port --- cafe:1:2::22 1500 AC-NW NW-SET
 
Total number of entries are 2
 
PE1#show evpn srv6 xconnect id 70
EVPN Xconnect Info
========================
AC-AC: Local-Cross-connect
AC-NW: Cross-connect to Network
AC-UP: Access-port is up
AC-DN: Access-port is down
NW-UP: Network is up
NW-DN: Network is down
NW-SET: Network and AC both are up
 
Local Remote Connection-Details
================================ ============ ===================================================================================
VPN-ID EVI-Name MTU VPN-ID Source Destination PE-IP MTU Type NW-Status
================================ ============ ===================================================================================
70 eline-sh1 1500 80 ce15.100 --- Single Homed Port --- cafe:1:2::22 1500 AC-NW NW-SET
 
Total number of entries are 1
 
PE1#show evpn srv6 xconnect id 71
EVPN Xconnect Info
========================
AC-AC: Local-Cross-connect
AC-NW: Cross-connect to Network
AC-UP: Access-port is up
AC-DN: Access-port is down
NW-UP: Network is up
NW-DN: Network is down
NW-SET: Network and AC both are up
 
Local Remote Connection-Details
================================ ============ ===================================================================================
VPN-ID EVI-Name MTU VPN-ID Source Destination PE-IP MTU Type NW-Status
================================ ============ ===================================================================================
71 eline-sh2 1500 81 ce15.101 --- Single Homed Port --- cafe:1:2::22 1500 AC-NW NW-SET
 
Total number of entries are 1
 
PE1#show evpn srv6 xconnect tunnel summary
 
Total number of entries: 2 [Installed: 2, Resolved: 0, Unresolved: 0]
 
PE1#show evpn srv6 xconnect tunnel sid
EVPN-SRV6 Network tunnel SID's
Evpn service type: ELINE
EVI-NAME: NA
PE IP: cafe:1:2::22
Status: Installed
Xconnect information
Local Ethernet Tag Id: 70
Local UC-SID: cafe:1:2:a11:2::
Remote Ethernet Tag Id: 80
Remote UC-SID: cafe:1:2:a22:2::
Tunnel policy mapped: policy0
Evpn service type: ELINE
EVI-NAME: NA
PE IP: cafe:1:2::22
Status: Installed
Xconnect information
Local Ethernet Tag Id: 71
Local UC-SID: cafe:1:2:a11:3::
Remote Ethernet Tag Id: 81
Remote UC-SID: cafe:1:2:a22:3::
Tunnel policy mapped: policy1
 
Total number of entries are 2
 
 
PE2#show segment-routing srv6 services
Status codes: > - installed, * - selected, T - Uses service-mapped tunnel
L3VPN:
 
EVPN:
Service Flags vrf local-evpn-id remote-evpn-id SID Nexthop SRv6-Policy-Name
ELINE >T vrf3 80 70 cafe:1:2:a11:2:: cafe:1:2::11 1
ELINE >T vrf4 81 71 cafe:1:2:a11:3:: cafe:1:2::11 2
 
PE2#show segment-routing srv6 services evpn
Status codes: > - installed, * - selected, T - Uses service-mapped tunnel
Service Flags vrf local-evpn-id remote-evpn-id SID Nexthop SRv6-Policy-Name
ELINE >T vrf3 80 70 cafe:1:2:a11:2:: cafe:1:2::11 1
ELINE >T vrf4 81 71 cafe:1:2:a11:3:: cafe:1:2::11 2
 
PE2#show segment-routing srv6 sid
SRv6 Segment ID table:
SID Operation Nexthop Originator
+----------------------+------------+------------------------+----------
cafe:1:2:a22:2:: END.DX2 :: evpn:80
cafe:1:2:a22:3:: END.DX2 :: evpn:81
cafe:1:2:a22:801:: END[usd] :: nsm
cafe:1:2:a22:1001:: END[usp] :: nsm
cafe:1:2:a22:2001:: END[psp] :: nsm
cafe:1:2:a22:6001:: END.X[psp] fe80::3e2c:99ff:fec9:9ac isis
 
PE2#show hsl srv6 evpn
TABLE: SRV6 EVPN Table
+------+---------------------+---------------+--------+--------------------------+--------------------------+--------+----------+
| EVPN | DESTINATION | POLICY-ID/ | OUT | NEXTHOP | EVPN SEGMENT | CACHE | FEC_ID |
| ID | FEC | TYPE/NHLFE-ID | IFNAME | | | STATUS | |
+------+---------------------+---------------+--------+--------------------------+--------------------------+--------+----------+
81 cafe:1:2::11 2 /PRI /3 ce4 fe80::3e2c:99ff:fec9:9ac cafe:1:2:a11:3:: Active 0x2000ccda
80 cafe:1:2::11 1 /PRI /2 ce4 fe80::3e2c:99ff:fec9:9ac cafe:1:2:a11:2:: Active 0x2000ccd8
 
PE2#show hsl srv6 evpn 80
TABLE: SRV6 EVPN Table
+------+---------------------+---------------+--------+--------------------------+--------------------------+--------+----------+
| EVPN | DESTINATION | POLICY-ID/ | OUT | NEXTHOP | EVPN SEGMENT | CACHE | FEC_ID |
| ID | FEC | TYPE/NHLFE-ID | IFNAME | | | STATUS | |
+------+---------------------+---------------+--------+--------------------------+--------------------------+--------+----------+
80 cafe:1:2::11 1 /PRI /2 ce4 fe80::3e2c:99ff:fec9:9ac cafe:1:2:a11:2:: Active 0x2000ccd8
 
PE2#show hsl srv6 evpn 81
TABLE: SRV6 EVPN Table
+------+---------------------+---------------+--------+--------------------------+--------------------------+--------+----------+
| EVPN | DESTINATION | POLICY-ID/ | OUT | NEXTHOP | EVPN SEGMENT | CACHE | FEC_ID |
| ID | FEC | TYPE/NHLFE-ID | IFNAME | | | STATUS | |
+------+---------------------+---------------+--------+--------------------------+--------------------------+--------+----------+
81 cafe:1:2::11 2 /PRI /3 ce4 fe80::3e2c:99ff:fec9:9ac cafe:1:2:a11:3:: Active 0x2000ccda
 
 
PE2#show evpn srv6 xconnect
EVPN Xconnect Info
========================
AC-AC: Local-Cross-connect
AC-NW: Cross-connect to Network
AC-UP: Access-port is up
AC-DN: Access-port is down
NW-UP: Network is up
NW-DN: Network is down
NW-SET: Network and AC both are up
 
Local Remote Connection-Details
================================ ============ ===================================================================================
VPN-ID EVI-Name MTU VPN-ID Source Destination PE-IP MTU Type NW-Status
================================ ============ ===================================================================================
80 eline-sh1 1500 70 ce6.100 --- Single Homed Port --- cafe:1:2::11 1500 AC-NW NW-SET
81 eline-sh2 1500 71 ce6.101 --- Single Homed Port --- cafe:1:2::11 1500 AC-NW NW-SET
 
Total number of entries are 2
 
PE2#show evpn srv6 xconnect tunnel summary
 
Total number of entries: 2 [Installed: 2, Resolved: 0, Unresolved: 0]
 
PE2#show evpn srv6 xconnect tunnel sid
EVPN-SRV6 Network tunnel SID's
Evpn service type: ELINE
EVI-NAME: NA
PE IP: cafe:1:2::11
Status: Installed
Xconnect information
Local Ethernet Tag Id: 80
Local UC-SID: cafe:1:2:a22:2::
Remote Ethernet Tag Id: 70
Remote UC-SID: cafe:1:2:a11:2::
Tunnel policy mapped: policy0
Evpn service type: ELINE
EVI-NAME: NA
PE IP: cafe:1:2::11
Status: Installed
Xconnect information
Local Ethernet Tag Id: 81
Local UC-SID: cafe:1:2:a22:3::
Remote Ethernet Tag Id: 71
Remote UC-SID: cafe:1:2:a11:3::
Tunnel policy mapped: policy1
 
Total number of entries are 2
 
SRv6 EVPN ELINE Multi-Homing
• Traditional legacy VPLS does not have a solution for all active Multi-Homing. There is a partial solution for single active Multi-Homing. EVPN removes this limitation. EVPN has a standardized solution for both all-active and single-active Multi-Homing (currently only all-active support is provided).
• Ethernet Segment Identifier (ESI) is configured in Multi-Homed PE's interfaces which are connected to a single CE. For Particular ESI, multi-homed PE does the designated forwarder (DF) election to select which PE shall be responsible for sending BUM traffic towards CE. non-DF blocks the BUM traffic towards CE thus avoiding duplicate BUM traffic.
• Unicast Traffic (traffic towards known destination MAC/IP) is load shared towards both Multi-Homed PEs and further towards CE.
• ESI configuration at PE generates below two EVPN route types.
• When a multihomed CE is configured as an attachment circuit, the Ethernet Segment Route is sent. The main purpose of this route is to discover other PEs which share the ES and to perform DF elections, Fast convergence, and Split Horizon.
• Another Route sent by PE, when a CE is multi-homed, is the Ethernet A-D Route per EVI. This is used to announce a label (unicast/alias label) that can be used for load sharing by the remote PEs.
• ESI value is carried in the BGP NLRI prefix for Ethernet A-D routes. Ethernet A-D per ES route is responsible for mass withdrawal. It withdraws the instantiation of all VPWS point-to-point instances within the same ESI.
• The bit flag is set to "1" in the ESI Label extended community advertised with Ethernet A-D per ES route for single-active. It is set as "0" in All-active mode. Currently, OcNOS supports only All-Active mode.
Operational Notes for EVPN VPWS:
• Ethernet A-D routes are used for peer auto-discovery. Inclusive Multicast Route is not required or does not have participation in auto-discovery.
• ARP/ND uplift functionality is not applicable for VPWS.
• MAC/MAC-IP routes advertisement/learning is not applicable for VPWS.
• In multi-Homing VPWS, as there is no BUM traffic concept and only ALL-ACTIVE mode supported DF/non-DF election, and Split-Horizon concept is not applicable.
• MTU should be matching the VPWS peer's attachment circuits.
• Unlike E-LAN-EVPN, in all service types, the EVPN routes carry the Ethernet Tag Id as VPWS identifier.
Topology
Below example shows the SRv6 EVPN ELINE Multi-Homing configurations:
SRv6 EVPN ELINE Multi-Homing Topology
SRV6 EVPN ELINE MH Configuration
SW
Interface Configurations:
 
SW(config)#interface po100
Creating po100 lag interface
SW(config-if)#switchport
Configuring lag interface as L2 switch port
SW(config)#interface po100.3 switchport
Creating L2 sub interface of lag interface po100
SW(config-if)#encapsulation dot1q 100
Setting Encapsulation to dot1q with VLAN ID 100
SW(config)#interface xe1
Configuring physical interface xe1
SW(config-if)#switchport
Configuring physical interface as L2 switch port
SW(config)#interface xe1.3 switchport
Creating L2 sub interface of physical interface xe1
SW(config-if)#encapsulation dot1q 100
Setting Encapsulation to dot1q with VLAN ID 100
SW(config)#interface xe2
Configuring physical interface xe2
SW(config-if)# channel-group 100 mode active
Attaching to channel group 100 as active mode
SW(config)#interface xe3
Configuring physical interface xe3
SW(config-if)# channel-group 100 mode active
Attaching to channel group 100 as active mode
SW(config)#interface xe11
Configuring physical interface xe11
SW(config-if)# channel-group 100 mode active
Attaching to channel group 100 as active mode
SW(config)#interface xe13
Configuring physical interface xe13
SW(config-if)# channel-group 100 mode active
Attaching to channel group 100 as active mode
SW(config)#exit
Exit interface mode
SW(config-if)#cross-connect xe1_po100_3
Configuring cross connect
SW(config-xc)#interface xe1.3
Attaching interface xe1.3 to cross connect
SW(config-xc)#interface po100.3
Attaching interface po100.3 to cross connect
SW(config)#exit
Exit cross connect config mode
PE1
Loopback Interface:
 
PE1#configure terminal
Enter configure mode.
PE1(config)#interface lo
Enter interface mode.
PE1(config-if)#ipv6 address 1001::1/128
Configure IPv6 address of the loopback interface.
PE1(config-if)#ipv6 router isis 1
Make the interface part of the router ISIS 1 instance.
PE1(config-if)#exit
Exit interface mode.
Global SRv6 EVPN Command:
 
PE1#configure terminal
Enter configure mode.
PE1(config)#evpn srv6 enable
Enable srv6 evpn under config mode
PE1(config)#evpn srv6 multihoming enable
Enable srv6 evpn multi homing under config mode
PE1(config)#evpn srv6 ip-global 1001::1
Configuring SRv6 global IP to loopback IP
PE1(config)#qos enable
Enable qos
Interface Configuration Network Side:
PE1(config)#interface ce30
Enter interface mode.
PE1(config-if)#ipv6 address 1112::1/64
Configure the IPv6 address of the interface.
PE1(config-if)#ipv6 router isis 1
Make the interface part of the router ISIS 1 instance.
PE1(config-if)#exit
Exit the interface
ISIS Configuration:
 
PE1(config)#router isis 1
Set the routing process ID as 1
PE1(config-router)#is-type level-2-only
Configure isis level2
PE1(config-router)#metric-style wide
Configure wide metric-style
PE1(config-router)#net 49.0001.0000.0000.0001.00
Configure Network entity title (NET).
PE1(config-router)#address-family ipv6
Enter Address-family IPv6
PE1(config-router-af)#segment-routing srv6
Enter into segment routing SRv6 mode
PE1(config-router-af-srv6)#srv6-locator PE1_locator
Configure SRv6 locator name
PE1(config-router-af-srv6)#exit-srv6
Exit SRv6 mode
PE1(config-router-af)#exit
Exit address family mode
PE1(config-router)#exit
Exit router mode.
BGP Configuration:
 
PE1(config)#router bgp 100
Configure router BGP in AS 100
PE1(config-router)#bgp router-id 1.1.1.1
Configure BGP Router ID
PE1(config-router)#neighbor 2001::1 remote-as 100
Configure neighbor remote-as 100
PE1(config-router)#neighbor 2001::1 update-source lo
Configure neighbor with update-source lo
PE1(config-router)#neighbor 3001::1 remote-as 100
Configure neighbor remote-as 100
PE1(config-router)#neighbor 3001::1 update-source lo
Configure neighbor with update-source lo
PE1(config-router)#address-family l2vpn evpn
Configure address-family l2vpn evpn
PE1(config-router-af)#neighbor 2001::1 activate
Activate neighbor under l2vpn evpn address family
PE1(config-router-af)#neighbor 3001::1 activate
Activate neighbor under l2vpn evpn address family
PE1(config-router-af)#exit-address-family
Exit from Address Family configuration mode
PE1(config-router)#exit
Exit router prompt
MAC VRF Configuration:
 
PE1#configure terminal
Enter configure mode.
PE1(config)#mac vrf ELINE_MH
Configure mac VRF with name ELINE_MH
PE1(config-vrf)#rd 10:10
Configure Route-distinguisher value
PE1(config-vrf)#route-target both 10:10
Configure Route target value
PE1(config-vrf)#exit
Exit to config mode
EVPN and MAC VRF Mapping:
 
PE1#configure terminal
Enter into config mode
PE1(config)#evpn srv6 id 12 xconnect target-srv6-id 42
Configure the EVPN-ELINE identifier with source identifier 12 and target identifier 42
PE1(config-evpn-srv6)#host-reachability-protocol evpn-bgp ELINE_MH
Configure host reachable protocol to Ethernet-VPN over BGP
PE1(config-evpn-srv6)#locator PE1_locator
Configure Locator Name
PE1(config-evpn-srv6)#exit
Exit evpn srv6
PE1(config)#interface po100
Creating po100 lag interface
PE1(config-if)#switchport
Configuring lag interface as L2 switch port
PE1(config-if)#evpn multi-homed system-mac 0000.1111.1111
Configuring evpn multi-homed system-mac
PE1(config)#interface xe2
Configuring physical interface xe2
PE1(config-if)# channel-group 100 mode active
Attaching to channel group 100 as active mode
PE1(config)#interface xe3
Configuring physical interface xe3
PE1(config-if)# channel-group 100 mode active
Attaching to channel group 100 as active mode
PE1(config)#exit
Exit interface mode
PE1(config)#interface po100.3 switchport
Creating L2 sub interface of physical interface po100
PE1(config-if)#encapsulation dot1q 100
Setting Encapsulation to dot1q with VLAN ID 100
Supported Encapsulation: dot1ad, dot1q, untagged, default
PE1(config-if)#access-if-evpn
Create the evpn mpls access-port
PE1(config-acc-if-evpn)#map vpn-id 12
Map vpn-id 12 to interface
PE1(config-acc-if-evpn)#exit
Exit evpn mapping mode
PE1(config-if)#exit
Exit evpn access mode
SRv6 Segment Routing:
 
PE1(config)#segment-routing
Configuring segment-routing
PE1(config-sr)#srv6
Segment-Routing over IPv6 Data-Plane
PE1(config-srv6)#locators
Configure SRv6 locators
PE1(config-srv6-loc)#locator PE1_locator
Locator name as PE1_locator
PE1(config-srv6-loc-conf)#prefix 1001::/64
IPv6 prefix for locator
PE1(config-srv6-loc-conf)#exit-locator
Exit from locator mode
PE1(config-srv6-loc)#exit-locators
Exit from SRv6 locators configuration mode
PE1(config-srv6)#exit-srv6
Exit from SRv6 configuration mode
PE1(config-sr)#exit
Exit segment routing
PE2
Loopback Interface:
 
PE2#configure terminal
Enter configure mode.
PE2(config)#interface lo
Enter interface mode.
PE2(config-if)#ipv6 address 2001::1/128
Configure IPv6 address of the loopback interface.
PE2(config-if)#ipv6 router isis 1
Make the interface part of the router ISIS 1 instance.
PE2(config-if)#exit
Exit interface mode.
Global SRv6 EVPN Command:
 
PE2#configure terminal
Enter configure mode.
PE2(config)#evpn srv6 enable
Enable srv6 evpn under config mode
PE2(config)#evpn srv6 multihoming enable
Enable srv6 evpn multi homing under config mode
PE2(config)#evpn srv6 ip-global 2001::1
Configuring SRv6 global IP to loopback IP
PE2(config)#qos enable
Enable qos
Interface Configuration Network Side:
 
PE2(config)#interface xe5
Enter interface mode.
PE2(config-if)#ipv6 address 2222::1/64
Configure the IPv6 address of the interface.
PE2(config-if)#ipv6 router isis 1
Make the interface part of the router ISIS 1 instance.
PE2(config-if)#exit
Exit the interface
ISIS Configuration:
 
PE2(config)#router isis 1
Set the routing process ID as 1
PE2(config-router)#is-type level-2-only
Configure isis level2
PE2(config-router)#metric-style wide
Configure wide metric-style
PE2(config-router)#net 49.0002.0000.0000.0002.00
Configure Network entity title (NET).
PE2(config-router)#address-family ipv6
Enter Address-family IPv6
PE2(config-router-af)#segment-routing srv6
Enter into segment routing SRv6 mode
PE2(config-router-af-srv6)#srv6-locator PE1_locator
Configure SRv6 locator name
PE2(config-router-af-srv6)#exit-srv6
Exit SRv6 mode
PE2(config-router-af)#exit
Exit address family mode
PE2(config-router)#exit
Exit router mode.
BGP Configuration:
 
PE2(config)#router bgp 100
Configure router BGP in AS 100
PE2(config-router)#bgp router-id 2.2.2.2
Configure BGP Router ID
PE2(config-router)#neighbor 1001::1 remote-as 100
Configure neighbor remote-as 100
PE2(config-router)#neighbor 1001::1 update-source lo
Configure neighbor with update-source lo
PE2(config-router)#neighbor 3001::1 remote-as 100
Configure neighbor remote-as 100
PE2(config-router)#neighbor 3001::1 update-source lo
Configure neighbor with update-source lo
PE2(config-router)#address-family l2vpn evpn
Configure address-family l2vpn evpn
PE2(config-router-af)#neighbor 1001::1 activate
Activate neighbor under l2vpn evpn address family
PE2(config-router-af)#neighbor 3001::1 activate
Activate neighbor under l2vpn evpn address family
PE2(config-router-af)#exit-address-family
Exit from Address Family configuration mode
PE2(config-router)#exit
Exit router prompt
MAC VRF Configuration:
 
PE2#configure terminal
Enter configure mode.
PE2(config)#mac vrf ELINE_MH
Configure mac VRF with name ELINE_MH
PE2(config-vrf)#rd 20:20
Configure Route-distinguisher value
PE2(config-vrf)#route-target both 10:10
Configure Route target value
PE2(config-vrf)#exit
Exit to config mode
EVPN and MAC VRF Mapping:
 
PE2#configure terminal
Enter into config mode
PE2(config)#evpn srv6 id 12 xconnect target-srv6-id 42
Configure the EVPN-ELINE identifier with source identifier 12 and target identifier 42
PE2(config-evpn-srv6)#host-reachability-protocol evpn-bgp ELINE_MH
Configure host reachable protocol to Ethernet-VPN over BGP
PE2(config-evpn-srv6)#locator PE1_locator
Configure Locator Name
PE2(config-evpn-srv6)#exit
Exit evpn srv6
PE2(config)#interface po100
Creating po100 lag interface
PE2(config-if)#switchport
Configuring lag interface as L2 switch port
PE2(config-if)#evpn multi-homed system-mac 0000.1111.1111
Configuring evpn multi-homed system-mac
PE2(config)#interface xe11
Configuring physical interface xe11
PE2(config-if)# channel-group 100 mode active
Attaching to channel group 100 as active mode
PE2(config)#interface xe13
Configuring physical interface xe13
PE2(config-if)# channel-group 100 mode active
Attaching to channel group 100 as active mode
PE2(config)#exit
Exit interface mode
PE2(config)#interface po100.3 switchport
Creating L2 sub interface of physical interface po100
PE2(config-if)#encapsulation dot1q 100
Setting Encapsulation to dot1q with VLAN ID 100
Supported Encapsulation: dot1ad, dot1q, untagged, default
PE2(config-if)#access-if-evpn
Create the evpn mpls access-port
PE2(config-acc-if-evpn)#map vpn-id 12
Map vpn-id 12 to interface
PE2(config-acc-if-evpn)#exit
Exit evpn mapping mode
PE2(config-if)#exit
Exit evpn access mode
SRv6 Segment Routing:
 
PE2(config)#segment-routing
Configuring segment-routing
PE2(config-sr)#srv6
Segment-Routing over IPv6 Data-Plane
PE2(config-srv6)#locators
Configure SRv6 locators
PE2(config-srv6-loc)#locator PE1_locator
Locator name as PE1_locator
PE2(config-srv6-loc-conf)#prefix 2001::/64
IPv6 prefix for locator
PE2(config-srv6-loc-conf)#exit-locator
Exit from locator mode
PE2(config-srv6-loc)#exit-locators
Exit from SRv6 locators configuration mode
PE2(config-srv6)#exit-srv6
Exit from SRv6 configuration mode
PE2(config-sr)#exit
Exit segment routing
P1
Interface Configuration:
 
P1#configure terminal
Enter configure mode.
P1(config)#interface ce0
Enter interface mode.
P1(config-if)#ipv6 address 1112::2/64
Configure the IPv6 address of the interface.
P1(config-if)#ipv6 router isis 1
Make the interface part of the router ISIS 1 instance
P1(config-if)#interface xe5
Enter interface mode.
P1(config-if)#ipv6 address 2222::2/64
Configure the IP address of the interface.
P1(config-if)#ipv6 router isis 1
Make the interface part of the router ISIS 1 instance.
P1(config-if)#interface xe17
Enter interface mode.
P1(config-if)#ipv6 address 3332::2/64
Configure the IP address of the interface.
P1(config-if)#ipv6 router isis 1
Make the interface part of the router ISIS 1 instance.
P1(config-if)#exit
Exit interface mode.
ISIS Configuration:
 
P1#configure terminal
Enter configure mode.
P1(config)#router isis 1
Set the routing process ID as 1
P1(config-router)#is-type level-2-only
Configure is-type as level-2
P1(config-router)#metric-style wide
Configure wide metric-style
P1(config-router)#net 49.0006.0000.0000.0006.00
Configure Network entity title (NET).
P1(config-router)#address-family ipv6
Enter Address-family IPv6
P1(config-router-af)#exit-address-family
Exit address family IPv6
P1(config-router)#exit
Exit router mode.
PE3
Loopback Interface:
 
PE3#configure terminal
Enter configure mode.
PE3(config)#interface lo
Enter interface mode.
PE3(config-if)#ipv6 address 3001::1/128
Configure IPv6 address of the loopback interface.
PE3(config-if)#ipv6 router isis 1
Make the interface part of the router ISIS 1 instance.
PE3(config-if)#exit
Exit interface mode.
Global SRv6 EVPN Command:
 
PE3#configure terminal
Enter configure mode.
PE3(config)#evpn srv6 enable
Enable srv6 evpn under config mode
PE3(config)#evpn srv6 multihoming enable
Enable srv6 evpn multi homing under config mode
PE3(config)#evpn srv6 ip-global 3001::1
Configuring SRv6 global IP to loopback IP
PE3(config)#qos enable
Enable qos
Interface Configuration Network Side:
 
PE3(config)#interface ce3/4
Enter interface mode.
PE3(config-if)#ipv6 address 3332::1/64
Configure the IPv6 address of the interface.
PE3(config-if)#ipv6 router isis 1
Make the interface part of the router ISIS 1 instance.
PE3(config-if)#exit
Exit the interface
ISIS Configuration:
 
PE3(config)#router isis 1
Set the routing process ID as 1
PE3(config-router)#is-type level-2-only
Configure isis level2
PE3(config-router)#metric-style wide
Configure wide metric-style
PE2(config-router)#net 49.0003.0000.0000.0003.00
Configure Network entity title (NET).
PE3(config-router)#address-family ipv6
Enter Address-family IPv6
PE3(config-router-af)#segment-routing srv6
Enter into segment routing SRv6 mode
PE2(config-router-af-srv6)#srv6-locator PE3_locator
Configure SRv6 locator name
PE3(config-router-af-srv6)#exit-srv6
Exit SRv6 mode
PE3(config-router-af)#exit
Exit address family mode
PE3(config-router)#exit
Exit router mode.
BGP Configuration:
 
PE3(config)#router bgp 100
Configure router BGP in AS 100
PE3(config-router)#bgp router-id 3.3.3.3
Configure BGP Router ID
PE3(config-router)#neighbor 1001::1 remote-as 100
Configure neighbor remote-as 100
PE3(config-router)#neighbor 1001::1 update-source lo
Configure neighbor with update-source lo
PE3(config-router)#neighbor 2001::1 remote-as 100
Configure neighbor remote-as 100
PE3(config-router)#neighbor 2001::1 update-source lo
Configure neighbor with update-source lo
PE3(config-router)#address-family l2vpn evpn
Configure address-family l2vpn evpn
PE3(config-router-af)#neighbor 1001::1 activate
Activate neighbor under l2vpn evpn address family
PE3(config-router-af)#neighbor 2001::1 activate
Activate neighbor under l2vpn evpn address family
PE3(config-router-af)#exit-address-family
Exit from Address Family configuration mode
PE3(config-router)#exit
Exit router prompt
MAC VRF Configuration:
 
PE3#configure terminal
Enter configure mode.
PE3(config)#mac vrf ELINE_MH
Configure mac VRF with name ELINE_MH
PE3(config-vrf)#rd 30:30
Configure Route-distinguisher value
PE3(config-vrf)#route-target both 10:10
Configure Route target value
PE3(config-vrf)#exit
Exit to config mode
EVPN and MAC VRF Mapping:
 
PE3#configure terminal
Enter into config mode
PE3(config)#evpn srv6 id 42 xconnect target-srv6-id 12
Configure the EVPN-ELINE identifier with source identifier 42 and target identifier 12
PE3(config-evpn-srv6)#host-reachability-protocol evpn-bgp ELINE_MH
Configure host reachable protocol to Ethernet-VPN over BGP
PE3(config-evpn-srv6)#locator PE3_locator
Configure Locator Name
PE3(config-evpn-srv6)#exit
Exit evpn srv6
PE3(config)#interface ce2
Configuring ce2 interface
PE3(config-if)#switchport
Configuring interface as L2 switch port
PE3(config)#interface ce2.3 switchport
Creating L2 sub interface of physical interface ce2
PE3(config-if)#encapsulation dot1q 100
Setting Encapsulation to dot1q with VLAN ID 100
Supported Encapsulation: dot1ad, dot1q, untagged, default
PE3(config-if)#access-if-evpn
Create the evpn mpls access-port
PE3(config-acc-if-evpn)#map vpn-id 42
Map vpn-id 12 to interface
PE3(config-acc-if-evpn)#exit
Exit evpn mapping mode
PE3(config-if)#exit
Exit evpn access mode
SRv6 Segment Routing:
 
PE3(config)#segment-routing
Configuring segment-routing
PE3(config-sr)#srv6
Segment-Routing over IPv6 Data-Plane
PE3(config-srv6)#locators
Configure SRv6 locators
PE3(config-srv6-loc)#locator PE3_locator
Locator name as PE3_locator
PE3(config-srv6-loc-conf)#prefix 3001::/64
IPv6 prefix for locator
PE3(config-srv6-loc-conf)#exit-locator
Exit from locator mode
PE3(config-srv6-loc)#exit-locators
Exit from SRv6 locators configuration mode
PE3(config-srv6)#exit-srv6
Exit from SRv6 configuration mode
PE3(config-sr)#exit
Exit segment routing
SRV6 EVPN ELINE Validation
SRV6 ISIS Route Check
 
PE1#show clns neighbors
 
Total number of L1 adjacencies: 0
Total number of L2 adjacencies: 1
Total number of adjacencies: 1
Tag 1: VRF : default
System Id Interface SNPA State Holdtime Type Protocol
0000.0000.0006 ce30 e8c5.7a79.573a Up 20 L2 IS-IS
PE1#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,
P - SRV6-POLICY,
v - vrf leaked
Timers: Uptime
 
IP Route Table for VRF "default"
C ::1/128 via ::, lo, 01:03:59
C 1001::1/128 via ::, lo, 01:03:59
C 1001::2:0:0:0/128, SRV6 END.DX2 SID
via ::, lo, 01:03:54
C 1001::801:0:0:0/128, SRV6 END SID
via ::, lo, 01:03:59
C 1001::1001:0:0:0/128, SRV6 END SID
via ::, lo, 01:03:59
C 1001::2001:0:0:0/128, SRV6 END SID
via ::, lo, 01:03:59
C 1001::6001:0:0:0/128, SRV6 END.X SID
via fe80::eac5:7aff:fe79:573a, ce30, 01:03:48
C 1112::/64 via ::, ce30, 01:03:59
i L2 2001::/64 [115/21] via fe80::eac5:7aff:fe79:573a, ce30, 01:01:54
i L2 2001::1/128 [115/30] via fe80::eac5:7aff:fe79:573a, ce30, 01:01:54
i L2 2222::/64 [115/20] via fe80::eac5:7aff:fe79:573a, ce30, 01:02:44
i L2 3001::/64 [115/21] via fe80::eac5:7aff:fe79:573a, ce30, 00:43:56
i L2 3001::1/128 [115/30] via fe80::eac5:7aff:fe79:573a, ce30, 00:43:56
i L2 3332::/64 [115/20] via fe80::eac5:7aff:fe79:573a, ce30, 00:44:01
C fe80::/64 via ::, ce50, 01:03:31
PE1#show isis database detail
Tag 1: VRF : default
IS-IS Level-1 Link State Database:
LSPID LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL
0000.0000.0001.00-00* 0x00000008 0x9568 690 1/0/0
Area Address: 49.0001
NLPID: 0x8E
IPv6 Address: 1112::1
Router Cap: 0.0.0.0
Maximum SID Depth:
SRH maximum segments left : 4
SRH maximum end pop : 4
SRH maximum H.encaps : 4
SRH maximum decapsulation sids : 4
SRV6 flags: 0
SR-Algorithm:
Algorithm: 0
Metric: 10 IPv6 1112::/64
Metric: 10 IPv6 1001::1/128
Metric: 1 IPv6 1001::/64
SRV6 Locator: (IPV6)1001::/64
Algorithm: 0 flags: 0 metric: 0
END SID: 1001::2001:0:0:0 flags:0 End-point behaviour: End with PSP (2)
END SID: 1001::1001:0:0:0 flags:0 End-point behaviour: End with USP (3)
END SID: 1001::801:0:0:0 flags:0 End-point behaviour: End with USD (28)
 
IS-IS Level-2 Link State Database:
LSPID LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL
0000.0000.0001.00-00* 0x00000007 0x1FB7 679 0/0/0
Area Address: 49.0001
NLPID: 0x8E
IPv6 Address: 1112::1
Router Cap: 0.0.0.0
Maximum SID Depth:
SRH maximum segments left : 4
SRH maximum end pop : 4
SRH maximum H.encaps : 4
SRH maximum decapsulation sids : 4
SRV6 flags: 0
SR-Algorithm:
Algorithm: 0
Metric: 10 IS-Extended 0000.0000.0001.01
Metric: 10 IPv6 1112::/64
Metric: 10 IPv6 1001::1/128
Metric: 1 IPv6 1001::/64
SRV6 Locator: (IPV6)1001::/64
Algorithm: 0 flags: 0 metric: 0
END SID: 1001::2001:0:0:0 flags:0 End-point behaviour: End with PSP (2)
END SID: 1001::1001:0:0:0 flags:0 End-point behaviour: End with USP (3)
END SID: 1001::801:0:0:0 flags:0 End-point behaviour: End with USD (28)
0000.0000.0001.01-00* 0x00000005 0xD9E8 676 0/0/0
Metric: 0 IS-Extended 0000.0000.0001.00
Metric: 0 IS-Extended 0000.0000.0006.00
0000.0000.0002.00-00 0x00000007 0x94AE 764 0/0/0
Area Address: 49.0002
NLPID: 0x8E
IPv6 Address: 2001::1
Router Cap: 0.0.0.0
Maximum SID Depth:
SRH maximum segments left : 4
SRH maximum end pop : 4
SRH maximum H.encaps : 4
SRH maximum decapsulation sids : 4
SRV6 flags: 0
SR-Algorithm:
Algorithm: 0
Metric: 10 IS-Extended 0000.0000.0002.02
Metric: 10 IPv6 2001::1/128
Metric: 10 IPv6 2222::/64
Metric: 1 IPv6 2001::/64
SRV6 Locator: (IPV6)2001::/64
Algorithm: 0 flags: 0 metric: 0
END SID: 2001::2001:0:0:0 flags:0 End-point behaviour: End with PSP (2)
END SID: 2001::1001:0:0:0 flags:0 End-point behaviour: End with USP (3)
END SID: 2001::801:0:0:0 flags:0 End-point behaviour: End with USD (28)
0000.0000.0002.02-00 0x00000006 0xD1EC 760 0/0/0
Metric: 0 IS-Extended 0000.0000.0002.00
Metric: 0 IS-Extended 0000.0000.0006.00
0000.0000.0003.00-00 0x0000000D 0x3163 962 0/0/0
Area Address: 49.0003
NLPID: 0x8E
IPv6 Address: 3001::1
Router Cap: 0.0.0.0
Maximum SID Depth:
SRH maximum segments left : 4
SRH maximum end pop : 4
SRH maximum H.encaps : 4
SRH maximum decapsulation sids : 4
SRV6 flags: 0
SR-Algorithm:
Algorithm: 0
Metric: 10 IS-Extended 0000.0000.0006.03
Metric: 10 IPv6 3001::1/128
Metric: 1 IPv6 3001::/64
Metric: 10 IPv6 3332::/64
SRV6 Locator: (IPV6)3001::/64
Algorithm: 0 flags: 0 metric: 0
END SID: 3001::2001:0:0:0 flags:0 End-point behaviour: End with PSP (2)
END SID: 3001::1001:0:0:0 flags:0 End-point behaviour: End with USP (3)
END SID: 3001::801:0:0:0 flags:0 End-point behaviour: End with USD (28)
0000.0000.0006.00-00 0x0000000D 0xE754 966 0/0/0
Area Address: 49.0006
NLPID: 0x8E
IPv6 Address: 1112::2
Metric: 10 IS-Extended 0000.0000.0001.01
Metric: 10 IS-Extended 0000.0000.0002.02
Metric: 10 IS-Extended 0000.0000.0006.03
Metric: 10 IPv6 1112::/64
Metric: 10 IPv6 2222::/64
Metric: 10 IPv6 3332::/64
0000.0000.0006.03-00 0x00000004 0x9624 962 0/0/0
Metric: 0 IS-Extended 0000.0000.0006.00
Metric: 0 IS-Extended 0000.0000.0003.00
 
PE1#
 
PE2#show clns neighbors
 
Total number of L1 adjacencies: 0
Total number of L2 adjacencies: 1
Total number of adjacencies: 1
Tag 1: VRF : default
System Id Interface SNPA State Holdtime Type Protocol
0000.0000.0006 xe5 e8c5.7a79.5723 Up 21 L2 IS-IS
PE2#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,
P - SRV6-POLICY,
v - vrf leaked
Timers: Uptime
 
IP Route Table for VRF "default"
C ::1/128 via ::, lo, 01:08:07
i L2 1001::/64 [115/21] via fe80::eac5:7aff:fe79:5723, xe5, 01:07:46
i L2 1001::1/128 [115/30] via fe80::eac5:7aff:fe79:5723, xe5, 01:07:46
i L2 1112::/64 [115/20] via fe80::eac5:7aff:fe79:5723, xe5, 01:07:58
C 2001::1/128 via ::, lo, 01:08:07
C 2001::2:0:0:0/128, SRV6 END.DX2 SID
via ::, lo, 01:08:05
C 2001::801:0:0:0/128, SRV6 END SID
via ::, lo, 01:08:07
C 2001::1001:0:0:0/128, SRV6 END SID
via ::, lo, 01:08:07
C 2001::2001:0:0:0/128, SRV6 END SID
via ::, lo, 01:08:07
C 2001::6001:0:0:0/128, SRV6 END.X SID
via fe80::eac5:7aff:fe79:5723, xe5, 01:08:01
C 2222::/64 via ::, xe5, 01:08:07
i L2 3001::/64 [115/21] via fe80::eac5:7aff:fe79:5723, xe5, 00:49:29
i L2 3001::1/128 [115/30] via fe80::eac5:7aff:fe79:5723, xe5, 00:49:29
i L2 3332::/64 [115/20] via fe80::eac5:7aff:fe79:5723, xe5, 00:49:34
C fe80::/64 via ::, xe5, 01:08:07
PE2#show isis database detail
Tag 1: VRF : default
IS-IS Level-1 Link State Database:
LSPID LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL
0000.0000.0002.00-00* 0x00000006 0xDF9E 721 1/0/0
Area Address: 49.0002
NLPID: 0x8E
IPv6 Address: 2001::1
Router Cap: 0.0.0.0
Maximum SID Depth:
SRH maximum segments left : 4
SRH maximum end pop : 4
SRH maximum H.encaps : 4
SRH maximum decapsulation sids : 4
SRV6 flags: 0
SR-Algorithm:
Algorithm: 0
Metric: 10 IPv6 2001::1/128
Metric: 10 IPv6 2222::/64
Metric: 1 IPv6 2001::/64
SRV6 Locator: (IPV6)2001::/64
Algorithm: 0 flags: 0 metric: 0
END SID: 2001::2001:0:0:0 flags:0 End-point behaviour: End with PSP (2)
END SID: 2001::1001:0:0:0 flags:0 End-point behaviour: End with USP (3)
END SID: 2001::801:0:0:0 flags:0 End-point behaviour: End with USD (28)
 
IS-IS Level-2 Link State Database:
LSPID LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL
0000.0000.0001.00-00 0x00000007 0x1FB7 639 0/0/0
Area Address: 49.0001
NLPID: 0x8E
IPv6 Address: 1112::1
Router Cap: 0.0.0.0
Maximum SID Depth:
SRH maximum segments left : 4
SRH maximum end pop : 4
SRH maximum H.encaps : 4
SRH maximum decapsulation sids : 4
SRV6 flags: 0
SR-Algorithm:
Algorithm: 0
Metric: 10 IS-Extended 0000.0000.0001.01
Metric: 10 IPv6 1112::/64
Metric: 10 IPv6 1001::1/128
Metric: 1 IPv6 1001::/64
SRV6 Locator: (IPV6)1001::/64
Algorithm: 0 flags: 0 metric: 0
END SID: 1001::2001:0:0:0 flags:0 End-point behaviour: End with PSP (2)
END SID: 1001::1001:0:0:0 flags:0 End-point behaviour: End with USP (3)
END SID: 1001::801:0:0:0 flags:0 End-point behaviour: End with USD (28)
0000.0000.0001.01-00 0x00000005 0xD9E8 636 0/0/0
Metric: 0 IS-Extended 0000.0000.0001.00
Metric: 0 IS-Extended 0000.0000.0006.00
0000.0000.0002.00-00* 0x00000007 0x94AE 726 0/0/0
Area Address: 49.0002
NLPID: 0x8E
IPv6 Address: 2001::1
Router Cap: 0.0.0.0
Maximum SID Depth:
SRH maximum segments left : 4
SRH maximum end pop : 4
SRH maximum H.encaps : 4
SRH maximum decapsulation sids : 4
SRV6 flags: 0
SR-Algorithm:
Algorithm: 0
Metric: 10 IS-Extended 0000.0000.0002.02
Metric: 10 IPv6 2001::1/128
Metric: 10 IPv6 2222::/64
Metric: 1 IPv6 2001::/64
SRV6 Locator: (IPV6)2001::/64
Algorithm: 0 flags: 0 metric: 0
END SID: 2001::2001:0:0:0 flags:0 End-point behaviour: End with PSP (2)
END SID: 2001::1001:0:0:0 flags:0 End-point behaviour: End with USP (3)
END SID: 2001::801:0:0:0 flags:0 End-point behaviour: End with USD (28)
0000.0000.0002.02-00* 0x00000006 0xD1EC 722 0/0/0
Metric: 0 IS-Extended 0000.0000.0002.00
Metric: 0 IS-Extended 0000.0000.0006.00
0000.0000.0003.00-00 0x0000000D 0x3163 923 0/0/0
Area Address: 49.0003
NLPID: 0x8E
IPv6 Address: 3001::1
Router Cap: 0.0.0.0
Maximum SID Depth:
SRH maximum segments left : 4
SRH maximum end pop : 4
SRH maximum H.encaps : 4
SRH maximum decapsulation sids : 4
SRV6 flags: 0
SR-Algorithm:
Algorithm: 0
Metric: 10 IS-Extended 0000.0000.0006.03
Metric: 10 IPv6 3001::1/128
Metric: 1 IPv6 3001::/64
Metric: 10 IPv6 3332::/64
SRV6 Locator: (IPV6)3001::/64
Algorithm: 0 flags: 0 metric: 0
END SID: 3001::2001:0:0:0 flags:0 End-point behaviour: End with PSP (2)
END SID: 3001::1001:0:0:0 flags:0 End-point behaviour: End with USP (3)
END SID: 3001::801:0:0:0 flags:0 End-point behaviour: End with USD (28)
0000.0000.0006.00-00 0x0000000D 0xE754 927 0/0/0
Area Address: 49.0006
NLPID: 0x8E
IPv6 Address: 1112::2
Metric: 10 IS-Extended 0000.0000.0001.01
Metric: 10 IS-Extended 0000.0000.0002.02
Metric: 10 IS-Extended 0000.0000.0006.03
Metric: 10 IPv6 1112::/64
Metric: 10 IPv6 2222::/64
Metric: 10 IPv6 3332::/64
0000.0000.0006.03-00 0x00000004 0x9624 923 0/0/0
Metric: 0 IS-Extended 0000.0000.0006.00
Metric: 0 IS-Extended 0000.0000.0003.00
 
PE2#
 
PE3#show clns neighbors
 
Total number of L1 adjacencies: 0
Total number of L2 adjacencies: 1
Total number of adjacencies: 1
Tag 1: VRF : default
System Id Interface SNPA State Holdtime Type Protocol
0000.0000.0006 ce3/4 e8c5.7a79.572f Up 8 L2 IS-IS
PE3#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,
P - SRV6-POLICY,
v - vrf leaked
Timers: Uptime
 
IP Route Table for VRF "default"
C ::1/128 via ::, lo, 01:10:25
i L2 1001::/64 [115/21] via fe80::eac5:7aff:fe79:572f, ce3/4, 00:49:58
i L2 1001::1/128 [115/30] via fe80::eac5:7aff:fe79:572f, ce3/4, 00:49:58
i L2 1112::/64 [115/20] via fe80::eac5:7aff:fe79:572f, ce3/4, 00:50:06
i L2 2001::/64 [115/21] via fe80::eac5:7aff:fe79:572f, ce3/4, 00:49:58
i L2 2001::1/128 [115/30] via fe80::eac5:7aff:fe79:572f, ce3/4, 00:49:58
i L2 2222::/64 [115/20] via fe80::eac5:7aff:fe79:572f, ce3/4, 00:50:06
C 3001::1/128 via ::, lo, 01:10:25
C 3001::2:0:0:0/128, SRV6 END.DX2 SID
via ::, lo, 01:10:25
C 3001::801:0:0:0/128, SRV6 END SID
via ::, lo, 01:10:25
C 3001::1001:0:0:0/128, SRV6 END SID
via ::, lo, 01:10:25
C 3001::2001:0:0:0/128, SRV6 END SID
via ::, lo, 01:10:25
C 3001::6001:0:0:0/128, SRV6 END.X SID
via fe80::eac5:7aff:fe79:572f, ce3/4, 00:50:11
C 3332::/64 via ::, ce3/4, 00:53:02
C fe80::/64 via ::, ce3/3, 00:55:17
PE3#show isis database detail
Tag 1: VRF : default
IS-IS Level-1 Link State Database:
LSPID LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL
0000.0000.0003.00-00* 0x0000000D 0x964D 893 1/0/0
Area Address: 49.0003
NLPID: 0x8E
IPv6 Address: 3001::1
Router Cap: 0.0.0.0
Maximum SID Depth:
SRH maximum segments left : 4
SRH maximum end pop : 4
SRH maximum H.encaps : 4
SRH maximum decapsulation sids : 4
SRV6 flags: 0
SR-Algorithm:
Algorithm: 0
Metric: 10 IPv6 3001::1/128
Metric: 1 IPv6 3001::/64
Metric: 10 IPv6 3332::/64
SRV6 Locator: (IPV6)3001::/64
Algorithm: 0 flags: 0 metric: 0
END SID: 3001::2001:0:0:0 flags:0 End-point behaviour: End with PSP (2)
END SID: 3001::1001:0:0:0 flags:0 End-point behaviour: End with USP (3)
END SID: 3001::801:0:0:0 flags:0 End-point behaviour: End with USD (28)
 
IS-IS Level-2 Link State Database:
LSPID LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL
0000.0000.0001.00-00 0x00000007 0x1FB7 603 0/0/0
Area Address: 49.0001
NLPID: 0x8E
IPv6 Address: 1112::1
Router Cap: 0.0.0.0
Maximum SID Depth:
SRH maximum segments left : 4
SRH maximum end pop : 4
SRH maximum H.encaps : 4
SRH maximum decapsulation sids : 4
SRV6 flags: 0
SR-Algorithm:
Algorithm: 0
Metric: 10 IS-Extended 0000.0000.0001.01
Metric: 10 IPv6 1112::/64
Metric: 10 IPv6 1001::1/128
Metric: 1 IPv6 1001::/64
SRV6 Locator: (IPV6)1001::/64
Algorithm: 0 flags: 0 metric: 0
END SID: 1001::2001:0:0:0 flags:0 End-point behaviour: End with PSP (2)
END SID: 1001::1001:0:0:0 flags:0 End-point behaviour: End with USP (3)
END SID: 1001::801:0:0:0 flags:0 End-point behaviour: End with USD (28)
0000.0000.0001.01-00 0x00000005 0xD9E8 600 0/0/0
Metric: 0 IS-Extended 0000.0000.0001.00
Metric: 0 IS-Extended 0000.0000.0006.00
0000.0000.0002.00-00 0x00000007 0x94AE 689 0/0/0
Area Address: 49.0002
NLPID: 0x8E
IPv6 Address: 2001::1
Router Cap: 0.0.0.0
Maximum SID Depth:
SRH maximum segments left : 4
SRH maximum end pop : 4
SRH maximum H.encaps : 4
SRH maximum decapsulation sids : 4
SRV6 flags: 0
SR-Algorithm:
Algorithm: 0
Metric: 10 IS-Extended 0000.0000.0002.02
Metric: 10 IPv6 2001::1/128
Metric: 10 IPv6 2222::/64
Metric: 1 IPv6 2001::/64
SRV6 Locator: (IPV6)2001::/64
Algorithm: 0 flags: 0 metric: 0
END SID: 2001::2001:0:0:0 flags:0 End-point behaviour: End with PSP (2)
END SID: 2001::1001:0:0:0 flags:0 End-point behaviour: End with USP (3)
END SID: 2001::801:0:0:0 flags:0 End-point behaviour: End with USD (28)
0000.0000.0002.02-00 0x00000006 0xD1EC 685 0/0/0
Metric: 0 IS-Extended 0000.0000.0002.00
Metric: 0 IS-Extended 0000.0000.0006.00
0000.0000.0003.00-00* 0x0000000D 0x3163 888 0/0/0
Area Address: 49.0003
NLPID: 0x8E
IPv6 Address: 3001::1
Router Cap: 0.0.0.0
Maximum SID Depth:
SRH maximum segments left : 4
SRH maximum end pop : 4
SRH maximum H.encaps : 4
SRH maximum decapsulation sids : 4
SRV6 flags: 0
SR-Algorithm:
Algorithm: 0
Metric: 10 IS-Extended 0000.0000.0006.03
Metric: 10 IPv6 3001::1/128
Metric: 1 IPv6 3001::/64
Metric: 10 IPv6 3332::/64
SRV6 Locator: (IPV6)3001::/64
Algorithm: 0 flags: 0 metric: 0
END SID: 3001::2001:0:0:0 flags:0 End-point behaviour: End with PSP (2)
END SID: 3001::1001:0:0:0 flags:0 End-point behaviour: End with USP (3)
END SID: 3001::801:0:0:0 flags:0 End-point behaviour: End with USD (28)
0000.0000.0006.00-00 0x0000000D 0xE754 891 0/0/0
Area Address: 49.0006
NLPID: 0x8E
IPv6 Address: 1112::2
Metric: 10 IS-Extended 0000.0000.0001.01
Metric: 10 IS-Extended 0000.0000.0002.02
Metric: 10 IS-Extended 0000.0000.0006.03
Metric: 10 IPv6 1112::/64
Metric: 10 IPv6 2222::/64
Metric: 10 IPv6 3332::/64
0000.0000.0006.03-00 0x00000004 0x9624 887 0/0/0
Metric: 0 IS-Extended 0000.0000.0006.00
Metric: 0 IS-Extended 0000.0000.0003.00
 
PE3#
 
P1#show clns neighbors
 
Total number of L1 adjacencies: 0
Total number of L2 adjacencies: 3
Total number of adjacencies: 3
Tag 1: VRF : default
System Id Interface SNPA State Holdtime Type Protocol
0000.0000.0002 xe5 e8c5.7a85.0ad5 Up 5 L2 IS-IS
0000.0000.0003 xe17 5c07.5813.429a Up 20 L2 IS-IS
0000.0000.0001 ce0 e8c5.7aa3.2cbf Up 5 L2 IS-IS
P1#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, 01:10:54
i L2 1001::/64 [115/11] via fe80::eac5:7aff:fea3:2cbf, ce0, 01:10:33
i L2 1001::1/128 [115/20] via fe80::eac5:7aff:fea3:2cbf, ce0, 01:10:33
C 1112::/64 via ::, ce0, 01:10:54
i L2 2001::/64 [115/11] via fe80::eac5:7aff:fe85:ad5, xe5, 01:08:53
i L2 2001::1/128 [115/20] via fe80::eac5:7aff:fe85:ad5, xe5, 01:08:53
C 2222::/64 via ::, xe5, 01:09:46
i L2 3001::/64 [115/11] via fe80::5e07:58ff:fe13:429a, xe17, 00:51:00
i L2 3001::1/128 [115/20] via fe80::5e07:58ff:fe13:429a, xe17, 00:51:00
C 3332::/64 via ::, xe17, 00:53:26
C fe80::/64 via ::, xe16, 00:56:06
P1#show isis database detail
Tag 1: VRF : default
IS-IS Level-1 Link State Database:
LSPID LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL
0000.0000.0006.00-00* 0x0000000C 0xD7C1 837 1/0/0
Area Address: 49.0006
NLPID: 0x8E
IPv6 Address: 1112::2
Metric: 10 IPv6 1112::/64
Metric: 10 IPv6 2222::/64
Metric: 10 IPv6 3332::/64
 
IS-IS Level-2 Link State Database:
LSPID LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL
0000.0000.0001.00-00 0x00000007 0x1FB7 553 0/0/0
Area Address: 49.0001
NLPID: 0x8E
IPv6 Address: 1112::1
Router Cap: 0.0.0.0
Maximum SID Depth:
SRH maximum segments left : 4
SRH maximum end pop : 4
SRH maximum H.encaps : 4
SRH maximum decapsulation sids : 4
Unknown Sub-TLV type 25 length 2
SR-Algorithm:
Algorithm: 0
Metric: 10 IS-Extended 0000.0000.0001.01
Metric: 10 IPv6 1112::/64
Metric: 10 IPv6 1001::1/128
Metric: 1 IPv6 1001::/64
0000.0000.0001.01-00 0x00000005 0xD9E8 549 0/0/0
Metric: 0 IS-Extended 0000.0000.0001.00
Metric: 0 IS-Extended 0000.0000.0006.00
0000.0000.0002.00-00 0x00000007 0x94AE 639 0/0/0
Area Address: 49.0002
NLPID: 0x8E
IPv6 Address: 2001::1
Router Cap: 0.0.0.0
Maximum SID Depth:
SRH maximum segments left : 4
SRH maximum end pop : 4
SRH maximum H.encaps : 4
SRH maximum decapsulation sids : 4
Unknown Sub-TLV type 25 length 2
SR-Algorithm:
Algorithm: 0
Metric: 10 IS-Extended 0000.0000.0002.02
Metric: 10 IPv6 2001::1/128
Metric: 10 IPv6 2222::/64
Metric: 1 IPv6 2001::/64
0000.0000.0002.02-00 0x00000006 0xD1EC 635 0/0/0
Metric: 0 IS-Extended 0000.0000.0002.00
Metric: 0 IS-Extended 0000.0000.0006.00
0000.0000.0003.00-00 0x0000000D 0x3163 836 0/0/0
Area Address: 49.0003
NLPID: 0x8E
IPv6 Address: 3001::1
Router Cap: 0.0.0.0
Maximum SID Depth:
SRH maximum segments left : 4
SRH maximum end pop : 4
SRH maximum H.encaps : 4
SRH maximum decapsulation sids : 4
Unknown Sub-TLV type 25 length 2
SR-Algorithm:
Algorithm: 0
Metric: 10 IS-Extended 0000.0000.0006.03
Metric: 10 IPv6 3001::1/128
Metric: 1 IPv6 3001::/64
Metric: 10 IPv6 3332::/64
0000.0000.0006.00-00* 0x0000000D 0xE754 842 0/0/0
Area Address: 49.0006
NLPID: 0x8E
IPv6 Address: 1112::2
Metric: 10 IS-Extended 0000.0000.0001.01
Metric: 10 IS-Extended 0000.0000.0002.02
Metric: 10 IS-Extended 0000.0000.0006.03
Metric: 10 IPv6 1112::/64
Metric: 10 IPv6 2222::/64
Metric: 10 IPv6 3332::/64
0000.0000.0006.03-00* 0x00000004 0x9624 837 0/0/0
Metric: 0 IS-Extended 0000.0000.0006.00
Metric: 0 IS-Extended 0000.0000.0003.00
 
P1#
 
BGP Validation for EVPN-ELINE SH
 
PE1#show bgp neighbors
BGP neighbor is 2001::1, remote AS 100, local AS 100, internal link
BGP version 4, local router ID 1.1.1.1, remote router ID 2.2.2.2
BGP state = Established, up for 00:29:15
Last read 00:00:10, hold time is 90, keepalive interval is 30 seconds
Neighbor capabilities:
Route refresh: advertised and received (old and new)
Address family L2VPN EVPN: advertised and received
Received 181 messages, 1 notifications, 0 in queue
Sent 181 messages, 2 notifications, 0 in queue
Route refresh request: received 0, sent 0
Minimum time between advertisement runs is 0 seconds
Update source is lo
Bidirectional Forwarding Detection is enabled
 
For address family: L2VPN EVPN BGP table version 6, neighbor version 4
Index 1, Offset 0, Mask 0x2
Community attribute sent to this neighbor (both)
Large Community attribute sent to this neighbor
3 accepted prefixes
Accepted AD:2 MACIP:0 MCAST:0 ESI:1 PREFIX:0
3 announced prefixes
 
Connections established 4; dropped 3
Local host: 1001::1, Local port: 38065
Foreign host: 2001::1, Foreign port: 179
Nexthop: 1.1.1.1
Nexthop global: 1001::1
Nexthop local: ::
BGP connection: non shared network
Last Reset: 00:29:20, due to BGP Notification received
Notification Error Message: (Cease/Other Configuration Change.)
 
BGP neighbor is 3001::1, remote AS 100, local AS 100, internal link
BGP version 4, local router ID 1.1.1.1, remote router ID 3.3.3.3
BGP state = Established, up for 00:29:03
Last read 00:00:18, hold time is 90, keepalive interval is 30 seconds
Neighbor capabilities:
Route refresh: advertised and received (old and new)
Address family L2VPN EVPN: advertised and received
Received 126 messages, 2 notifications, 0 in queue
Sent 136 messages, 2 notifications, 0 in queue
Route refresh request: received 0, sent 0
Minimum time between advertisement runs is 0 seconds
Update source is lo
Bidirectional Forwarding Detection is enabled
 
For address family: L2VPN EVPN BGP table version 6, neighbor version 5
Index 2, Offset 0, Mask 0x4
Community attribute sent to this neighbor (both)
Large Community attribute sent to this neighbor
1 accepted prefixes
Accepted AD:1 MACIP:0 MCAST:0 ESI:0 PREFIX:0
3 announced prefixes
 
Connections established 4; dropped 3
Local host: 1001::1, Local port: 40319
Foreign host: 3001::1, Foreign port: 179
Nexthop: 1.1.1.1
Nexthop global: 1001::1
Nexthop local: ::
BGP connection: non shared network
Last Reset: 00:29:08, due to BGP Notification received
Notification Error Message: (Cease/Other Configuration Change.)
 
PE1#
PE1#show bgp l2vpn evpn summary
BGP router identifier 1.1.1.1, local AS number 100
BGP table version is 6
1 BGP AS-PATH entries
0 BGP community entries
3 Configured ibgp ECMP multipath: Currently set at 3
 
Neighbor V AS MsgRcv MsgSen TblVer InQ OutQ Up/Down State/PfxRcd AD MACIP MCAST ESI PREFIX-ROUTE
2001::1 4 100 188 190 4 0 0 00:32:03 3 2 0 0 1 0
3001::1 4 100 134 145 5 0 0 00:31:51 1 1 0 0 0 0
 
Total number of neighbors 2
 
Total number of Established sessions 2
PE1#show bgp l2vpn evpn
BGP table version is 6, local router ID is 1.1.1.1
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal,
l - labeled, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
[EVPN route type]:[ESI]:[VNID]:[relevent route informantion]
1 - Ethernet Auto-discovery Route
2 - MAC/IP Route
3 - Inclusive Multicast Route
4 - Ethernet Segment Route
5 - Prefix Route
 
Network Next Hop Metric LocPrf Weight Path Peer Encap
 
RD[10:10] VRF[ELINE_MH]:
* i [1]:[0]:[42]:[3001::2:0:0:0]
3001::1 0 100 0 i 3001::1 SRV6
* i [1]:[00:00:00:11:11:11:11:00:00:00]:[12]:[2001::2:0:0:0]
2001::1 0 100 0 i 2001::1 SRV6
*> 1001::1 0 100 32768 i ---------- SRV6
* i [1]:[00:00:00:11:11:11:11:00:00:00]:[4294967295]:[0]
2001::1 0 100 0 i 2001::1 SRV6
 
RD[20:20]
*>i [1]:[00:00:00:11:11:11:11:00:00:00]:[12]:[2001::2:0:0:0]
2001::1 0 100 0 i 2001::1 SRV6
 
RD[30:30]
*>i [1]:[0]:[42]:[3001::2:0:0:0]
3001::1 0 100 0 i 3001::1 SRV6
 
RD[17.0.0.0:64512] VRF[evpn-gvrf-1]:
*> [1]:[00:00:00:11:11:11:11:00:00:00]:[4294967295]:[0]
1001::1 0 100 32768 i ---------- SRV6
*> [4]:[00:00:00:11:11:11:11:00:00:00]:[128,1001::1]
1001::1 0 100 32768 i ---------- SRV6
* i [4]:[00:00:00:11:11:11:11:00:00:00]:[128,2001::1]
2001::1 0 100 0 i 2001::1 SRV6
 
RD[33.0.0.0:64512]
*>i [1]:[00:00:00:11:11:11:11:00:00:00]:[4294967295]:[0]
2001::1 0 100 0 i 2001::1 SRV6
*>i [4]:[00:00:00:11:11:11:11:00:00:00]:[128,2001::1]
2001::1 0 100 0 i 2001::1 SRV6
 
Total number of prefixes 10
PE1#
 
PE2#show bgp neighbors
BGP neighbor is 1001::1, remote AS 100, local AS 100, internal link
BGP version 4, local router ID 2.2.2.2, remote router ID 1.1.1.1
BGP state = Established, up for 00:29:33
Last read 00:00:28, hold time is 90, keepalive interval is 30 seconds
Neighbor capabilities:
Route refresh: advertised and received (old and new)
Address family L2VPN EVPN: advertised and received
Received 181 messages, 2 notifications, 0 in queue
Sent 183 messages, 1 notifications, 0 in queue
Route refresh request: received 0, sent 0
Minimum time between advertisement runs is 0 seconds
Update source is lo
Bidirectional Forwarding Detection is enabled
 
For address family: L2VPN EVPN BGP table version 5, neighbor version 3
Index 1, Offset 0, Mask 0x2
Community attribute sent to this neighbor (both)
Large Community attribute sent to this neighbor
3 accepted prefixes
Accepted AD:2 MACIP:0 MCAST:0 ESI:1 PREFIX:0
3 announced prefixes
 
Connections established 4; dropped 3
Local host: 2001::1, Local port: 179
Foreign host: 1001::1, Foreign port: 38065
Nexthop: 2.2.2.2
Nexthop global: 2001::1
Nexthop local: ::
BGP connection: non shared network
Last Reset: 00:29:33, due to Configuration Change (Cease Notification sent)
Notification Error Message: (Cease/Other Configuration Change.)
 
BGP neighbor is 3001::1, remote AS 100, local AS 100, internal link
BGP version 4, local router ID 2.2.2.2, remote router ID 3.3.3.3
BGP state = Established, up for 00:29:21
Last read 00:00:11, hold time is 90, keepalive interval is 30 seconds
Neighbor capabilities:
Route refresh: advertised and received (old and new)
Address family L2VPN EVPN: advertised and received
Received 131 messages, 2 notifications, 0 in queue
Sent 141 messages, 2 notifications, 0 in queue
Route refresh request: received 0, sent 0
Minimum time between advertisement runs is 0 seconds
Update source is lo
Bidirectional Forwarding Detection is enabled
 
For address family: L2VPN EVPN BGP table version 5, neighbor version 4
Index 2, Offset 0, Mask 0x4
Community attribute sent to this neighbor (both)
Large Community attribute sent to this neighbor
1 accepted prefixes
Accepted AD:1 MACIP:0 MCAST:0 ESI:0 PREFIX:0
3 announced prefixes
 
Connections established 4; dropped 3
Local host: 2001::1, Local port: 179
Foreign host: 3001::1, Foreign port: 36339
Nexthop: 2.2.2.2
Nexthop global: 2001::1
Nexthop local: ::
BGP connection: non shared network
Last Reset: 00:29:26, due to BGP Notification received
Notification Error Message: (Cease/Other Configuration Change.)
 
PE2#
PE2#show bgp l2vpn evpn summary
BGP router identifier 2.2.2.2, local AS number 100
BGP table version is 5
1 BGP AS-PATH entries
0 BGP community entries
3 Configured ibgp ECMP multipath: Currently set at 3
 
Neighbor V AS MsgRcv MsgSen TblVer InQ OutQ Up/Down State/PfxRcd AD MACIP MCAST ESI PREFIX-ROUTE
1001::1 4 100 192 192 3 0 0 00:33:02 3 2 0 0 1 0
3001::1 4 100 141 151 4 0 0 00:32:50 1 1 0 0 0 0
 
Total number of neighbors 2
 
Total number of Established sessions 2
PE2#show bgp l2vpn evpn
BGP table version is 5, local router ID is 2.2.2.2
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal,
l - labeled, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
[EVPN route type]:[ESI]:[VNID]:[relevent route informantion]
1 - Ethernet Auto-discovery Route
2 - MAC/IP Route
3 - Inclusive Multicast Route
4 - Ethernet Segment Route
5 - Prefix Route
 
Network Next Hop Metric LocPrf Weight Path Peer Encap
 
RD[10:10]
*>i [1]:[00:00:00:11:11:11:11:00:00:00]:[12]:[1001::2:0:0:0]
1001::1 0 100 0 i 1001::1 SRV6
 
RD[20:20] VRF[ELINE_MH]:
* i [1]:[0]:[42]:[3001::2:0:0:0]
3001::1 0 100 0 i 3001::1 SRV6
* i [1]:[00:00:00:11:11:11:11:00:00:00]:[12]:[1001::2:0:0:0]
1001::1 0 100 0 i 1001::1 SRV6
*> 2001::1 0 100 32768 i ---------- SRV6
* i [1]:[00:00:00:11:11:11:11:00:00:00]:[4294967295]:[0]
1001::1 0 100 0 i 1001::1 SRV6
 
RD[30:30]
*>i [1]:[0]:[42]:[3001::2:0:0:0]
3001::1 0 100 0 i 3001::1 SRV6
 
RD[17.0.0.0:64512]
*>i [1]:[00:00:00:11:11:11:11:00:00:00]:[4294967295]:[0]
1001::1 0 100 0 i 1001::1 SRV6
*>i [4]:[00:00:00:11:11:11:11:00:00:00]:[128,1001::1]
1001::1 0 100 0 i 1001::1 SRV6
 
RD[33.0.0.0:64512] VRF[evpn-gvrf-1]:
*> [1]:[00:00:00:11:11:11:11:00:00:00]:[4294967295]:[0]
2001::1 0 100 32768 i ---------- SRV6
* i [4]:[00:00:00:11:11:11:11:00:00:00]:[128,1001::1]
1001::1 0 100 0 i 1001::1 SRV6
*> [4]:[00:00:00:11:11:11:11:00:00:00]:[128,2001::1]
2001::1 0 100 32768 i ---------- SRV6
 
Total number of prefixes 10
PE2#
 
PE3#show bgp neighbors
BGP neighbor is 1001::1, remote AS 100, local AS 100, internal link
BGP version 4, local router ID 3.3.3.3, remote router ID 1.1.1.1
BGP state = Established, up for 00:29:32
Last read 00:00:18, hold time is 90, keepalive interval is 30 seconds
Neighbor capabilities:
Route refresh: advertised and received (old and new)
Address family L2VPN EVPN: advertised and received
Received 134 messages, 1 notifications, 0 in queue
Sent 130 messages, 2 notifications, 0 in queue
Route refresh request: received 0, sent 0
Minimum time between advertisement runs is 0 seconds
Bidirectional Forwarding Detection is enabled
 
For address family: L2VPN EVPN BGP table version 6, neighbor version 5
Index 1, Offset 0, Mask 0x2
Community attribute sent to this neighbor (both)
Large Community attribute sent to this neighbor
3 accepted prefixes
Accepted AD:2 MACIP:0 MCAST:0 ESI:1 PREFIX:0
1 announced prefixes
 
Connections established 4; dropped 3
Local host: 3001::1, Local port: 179
Foreign host: 1001::1, Foreign port: 40319
Nexthop: 3.3.3.3
Nexthop global: 3001::1
Nexthop local: ::
BGP connection: non shared network
Last Reset: 00:29:32, due to Configuration Change (Cease Notification sent)
Notification Error Message: (Cease/Other Configuration Change.)
 
BGP neighbor is 2001::1, remote AS 100, local AS 100, internal link
BGP version 4, local router ID 3.3.3.3, remote router ID 2.2.2.2
BGP state = Established, up for 00:29:32
Last read 00:00:20, hold time is 90, keepalive interval is 30 seconds
Neighbor capabilities:
Route refresh: advertised and received (old and new)
Address family L2VPN EVPN: advertised and received
Received 139 messages, 1 notifications, 0 in queue
Sent 132 messages, 2 notifications, 0 in queue
Route refresh request: received 0, sent 0
Minimum time between advertisement runs is 0 seconds
Update source is lo
Bidirectional Forwarding Detection is enabled
 
For address family: L2VPN EVPN BGP table version 6, neighbor version 5
Index 2, Offset 0, Mask 0x4
Community attribute sent to this neighbor (both)
Large Community attribute sent to this neighbor
3 accepted prefixes
Accepted AD:2 MACIP:0 MCAST:0 ESI:1 PREFIX:0
1 announced prefixes
 
Connections established 4; dropped 3
Local host: 3001::1, Local port: 36339
Foreign host: 2001::1, Foreign port: 179
Nexthop: 3.3.3.3
Nexthop global: 3001::1
Nexthop local: ::
BGP connection: non shared network
Last Reset: 00:29:37, due to Configuration Change (Cease Notification sent)
Notification Error Message: (Cease/Other Configuration Change.)
 
PE3#
PE3#show bgp l2vpn evpn summary
BGP router identifier 3.3.3.3, local AS number 100
BGP table version is 6
1 BGP AS-PATH entries
0 BGP community entries
3 Configured ibgp ECMP multipath: Currently set at 3
 
Neighbor V AS MsgRcv MsgSen TblVer InQ OutQ Up/Down State/PfxRcd AD MACIP MCAST ESI PREFIX-ROUTE
1001::1 4 100 144 141 5 0 0 00:33:15 3 2 0 0 1 0
2001::1 4 100 149 143 5 0 0 00:33:15 3 2 0 0 1 0
 
Total number of neighbors 2
 
Total number of Established sessions 2
PE3#show bgp l2vpn evpn
BGP table version is 6, local router ID is 3.3.3.3
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal,
l - labeled, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
[EVPN route type]:[ESI]:[VNID]:[relevent route informantion]
1 - Ethernet Auto-discovery Route
2 - MAC/IP Route
3 - Inclusive Multicast Route
4 - Ethernet Segment Route
5 - Prefix Route
 
Network Next Hop Metric LocPrf Weight Path Peer Encap
 
RD[10:10]
*>i [1]:[00:00:00:11:11:11:11:00:00:00]:[12]:[1001::2:0:0:0]
1001::1 0 100 0 i 1001::1 SRV6
 
RD[20:20]
*>i [1]:[00:00:00:11:11:11:11:00:00:00]:[12]:[2001::2:0:0:0]
2001::1 0 100 0 i 2001::1 SRV6
 
RD[30:30] VRF[ELINE_MH]:
*> [1]:[0]:[42]:[3001::2:0:0:0]
3001::1 0 100 32768 i ---------- SRV6
* i [1]:[00:00:00:11:11:11:11:00:00:00]:[12]:[1001::2:0:0:0]
1001::1 0 100 0 i 1001::1 SRV6
* i 2001::1 0 100 0 i 2001::1 SRV6
* i [1]:[00:00:00:11:11:11:11:00:00:00]:[4294967295]:[0]
1001::1 0 100 0 i 1001::1 SRV6
* i 2001::1 0 100 0 i 2001::1 SRV6
 
RD[17.0.0.0:64512]
*>i [1]:[00:00:00:11:11:11:11:00:00:00]:[4294967295]:[0]
1001::1 0 100 0 i 1001::1 SRV6
*>i [4]:[00:00:00:11:11:11:11:00:00:00]:[128,1001::1]
1001::1 0 100 0 i 1001::1 SRV6
 
RD[33.0.0.0:64512]
*>i [1]:[00:00:00:11:11:11:11:00:00:00]:[4294967295]:[0]
2001::1 0 100 0 i 2001::1 SRV6
*>i [4]:[00:00:00:11:11:11:11:00:00:00]:[128,2001::1]
2001::1 0 100 0 i 2001::1 SRV6
 
Total number of prefixes 9
PE3#
SRV6 EVPN-ELINE
 
PE1#show segment-routing srv6 services
Status codes: > - installed, * - selected, T - Uses service-mapped tunnel
L3VPN:
 
EVPN:
Service Flags vrf local-evpn-id remote-evpn-id SID Nexthop SRv6-Policy-Name
ELINE > ELINE_MH 12 42 3001::2:0:0:0 3001::1 None
PE1#show segment-routing srv6 services evpn
Status codes: > - installed, * - selected, T - Uses service-mapped tunnel
Service Flags vrf local-evpn-id remote-evpn-id SID Nexthop SRv6-Policy-Name
ELINE > ELINE_MH 12 42 3001::2:0:0:0 3001::1 None
PE1#show segment-routing srv6 sid
SRv6 Segment ID table:
SID Operation Nexthop Originator
+----------------------+------------+------------------------+----------
1001::2:0:0:0 END.DX2 :: evpn:12
1001::801:0:0:0 END[usd] :: nsm
1001::1001:0:0:0 END[usp] :: nsm
1001::2001:0:0:0 END[psp] :: nsm
1001::6001:0:0:0 END.X[psp] fe80::eac5:7aff:fe79:573aisis
PE1#show hsl srv6 evpn
TABLE: SRV6 EVPN Table
+------+---------------------+---------------+--------+--------------------------+--------------------------+--------+----------+
| EVPN | DESTINATION | POLICY-ID/ | OUT | NEXTHOP | EVPN SEGMENT | CACHE | FEC_ID |
| ID | FEC | TYPE/NHLFE-ID | IFNAME | | | STATUS | |
+------+---------------------+---------------+--------+--------------------------+--------------------------+--------+----------+
12 3001::1 0 /PRI /3 ce30 fe80::eac5:7aff:fe79:573a 3001::2:0:0:0 Active 0x2000ccda
PE1#show evpn srv6 xconnect
EVPN Xconnect Info
========================
AC-AC: Local-Cross-connect
AC-NW: Cross-connect to Network
AC-UP: Access-port is up
AC-DN: Access-port is down
NW-UP: Network is up
NW-DN: Network is down
NW-SET: Network and AC both are up
 
Local Remote Connection-Details
================================ ============ ===================================================================================
VPN-ID EVI-Name MTU VPN-ID Source Destination PE-IP MTU Type NW-Status
================================ ============ ===================================================================================
12 ---- 1500 42 po100.3 --- Single Homed Port --- 3001::1 1500 AC-NW NW-SET
 
Total number of entries are 1
PE1#show evpn srv6 xconnect tunnel summary
 
Total number of entries: 1 [Installed: 1, Resolved: 0, Unresolved: 0]
PE1#show evpn srv6 xconnect tunnel sid
EVPN-SRV6 Network tunnel SID's
Evpn service type: ELINE
EVI-NAME: NA
PE IP: 3001::1
Status: Installed
Xconnect information
Local Ethernet Tag Id: 12
Local UC-SID: 1001::2:0:0:0
Remote Ethernet Tag Id: 42
Remote UC-SID: 3001::2:0:0:0
Tunnel policy mapped: --
 
Total number of entries are 1
PE1#show etherchannel summary
Aggregator po100 100100
Aggregator Type: Layer2
Admin Key: 0100 - Oper Key 0100
Link: xe3 (5033) sync: 1
Link: xe2 (5034) sync: 1
PE1#
 
PE2#show segment-routing srv6 services
Status codes: > - installed, * - selected, T - Uses service-mapped tunnel
L3VPN:
 
EVPN:
Service Flags vrf local-evpn-id remote-evpn-id SID Nexthop SRv6-Policy-Name
ELINE > ELINE_MH 12 42 3001::2:0:0:0 3001::1 None
PE2#show segment-routing srv6 services evpn
Status codes: > - installed, * - selected, T - Uses service-mapped tunnel
Service Flags vrf local-evpn-id remote-evpn-id SID Nexthop SRv6-Policy-Name
ELINE > ELINE_MH 12 42 3001::2:0:0:0 3001::1 None
PE2#show segment-routing srv6 sid
SRv6 Segment ID table:
SID Operation Nexthop Originator
+----------------------+------------+------------------------+----------
2001::2:0:0:0 END.DX2 :: evpn:12
2001::801:0:0:0 END[usd] :: nsm
2001::1001:0:0:0 END[usp] :: nsm
2001::2001:0:0:0 END[psp] :: nsm
2001::6001:0:0:0 END.X[psp] fe80::eac5:7aff:fe79:5723isis
PE2#show hsl srv6 evpn
TABLE: SRV6 EVPN Table
+------+---------------------+---------------+--------+--------------------------+--------------------------+--------+----------+
| EVPN | DESTINATION | POLICY-ID/ | OUT | NEXTHOP | EVPN SEGMENT | CACHE | FEC_ID |
| ID | FEC | TYPE/NHLFE-ID | IFNAME | | | STATUS | |
+------+---------------------+---------------+--------+--------------------------+--------------------------+--------+----------+
12 3001::1 0 /PRI /3 xe5 fe80::eac5:7aff:fe79:5723 3001::2:0:0:0 Active 0x2000ccd5
PE2#show evpn srv6 xconnect
EVPN Xconnect Info
========================
AC-AC: Local-Cross-connect
AC-NW: Cross-connect to Network
AC-UP: Access-port is up
AC-DN: Access-port is down
NW-UP: Network is up
NW-DN: Network is down
NW-SET: Network and AC both are up
 
Local Remote Connection-Details
================================ ============ ===================================================================================
VPN-ID EVI-Name MTU VPN-ID Source Destination PE-IP MTU Type NW-Status
================================ ============ ===================================================================================
12 ---- 1500 42 po100.3 --- Single Homed Port --- 3001::1 1500 AC-NW NW-SET
 
Total number of entries are 1
PE2#show evpn srv6 xconnect tunnel summary
 
Total number of entries: 1 [Installed: 1, Resolved: 0, Unresolved: 0]
PE2#show evpn srv6 xconnect tunnel sid
EVPN-SRV6 Network tunnel SID's
Evpn service type: ELINE
EVI-NAME: NA
PE IP: 3001::1
Status: Installed
Xconnect information
Local Ethernet Tag Id: 12
Local UC-SID: 2001::2:0:0:0
Remote Ethernet Tag Id: 42
Remote UC-SID: 3001::2:0:0:0
Tunnel policy mapped: --
 
Total number of entries are 1
PE2#show etherchannel summary
Aggregator po100 100100
Aggregator Type: Layer2
Admin Key: 0100 - Oper Key 0100
Link: xe11 (5012) sync: 1
Link: xe13 (5014) sync: 1
PE2#
PE3#show segment-routing srv6 services
Status codes: > - installed, * - selected, T - Uses service-mapped tunnel
L3VPN:
 
EVPN:
Service Flags vrf local-evpn-id remote-evpn-id SID Nexthop SRv6-Policy-Name
ELINE > ELINE_MH 42 12 1001::2:0:0:0 1001::1 None
ELINE > ELINE_MH 42 12 2001::2:0:0:0 2001::1 None
PE3#show segment-routing srv6 services evpn
Status codes: > - installed, * - selected, T - Uses service-mapped tunnel
Service Flags vrf local-evpn-id remote-evpn-id SID Nexthop SRv6-Policy-Name
ELINE > ELINE_MH 42 12 1001::2:0:0:0 1001::1 None
ELINE > ELINE_MH 42 12 2001::2:0:0:0 2001::1 None
PE3#show segment-routing srv6 sid
SRv6 Segment ID table:
SID Operation Nexthop Originator
+----------------------+------------+------------------------+----------
3001::2:0:0:0 END.DX2 :: evpn:42
3001::801:0:0:0 END[usd] :: nsm
3001::1001:0:0:0 END[usp] :: nsm
3001::2001:0:0:0 END[psp] :: nsm
3001::6001:0:0:0 END.X[psp] fe80::eac5:7aff:fe79:572fisis
PE3#show hsl srv6 evpn
TABLE: SRV6 EVPN Table
+------+---------------------+---------------+--------+--------------------------+--------------------------+--------+----------+
| EVPN | DESTINATION | POLICY-ID/ | OUT | NEXTHOP | EVPN SEGMENT | CACHE | FEC_ID |
| ID | FEC | TYPE/NHLFE-ID | IFNAME | | | STATUS | |
+------+---------------------+---------------+--------+--------------------------+--------------------------+--------+----------+
42 1001::1 0 /PRI /6 ce3/4 fe80::eac5:7aff:fe79:572f 1001::2:0:0:0 Active 0x2000cce0
42 2001::1 0 /PRI /5 ce3/4 fe80::eac5:7aff:fe79:572f 2001::2:0:0:0 Active 0x2000ccdd
PE3#show evpn srv6 xconnect
EVPN Xconnect Info
========================
AC-AC: Local-Cross-connect
AC-NW: Cross-connect to Network
AC-UP: Access-port is up
AC-DN: Access-port is down
NW-UP: Network is up
NW-DN: Network is down
NW-SET: Network and AC both are up
 
Local Remote Connection-Details
================================ ============ ===================================================================================
VPN-ID EVI-Name MTU VPN-ID Source Destination PE-IP MTU Type NW-Status
================================ ============ ===================================================================================
42 ---- 1500 12 ce2.3 00:00:00:11:11:11:11:00:00:00 2001::1 1500 AC-NW NW-SET
1001::1 1500 ---- ----
 
Total number of entries are 1
PE3#show evpn srv6 xconnect tunnel summary
 
Total number of entries: 2 [Installed: 2, Resolved: 0, Unresolved: 0]
PE3#show evpn srv6 xconnect tunnel sid
EVPN-SRV6 Network tunnel SID's
Evpn service type: ELINE
EVI-NAME: NA
PE IP: 1001::1
Status: Installed
Xconnect information
Local Ethernet Tag Id: 42
Local UC-SID: 3001::2:0:0:0
Remote Ethernet Tag Id: 12
Remote UC-SID: 1001::2:0:0:0
Tunnel policy mapped: --
Evpn service type: ELINE
EVI-NAME: NA
PE IP: 2001::1
Status: Installed
Xconnect information
Local Ethernet Tag Id: 42
Local UC-SID: 3001::2:0:0:0
Remote Ethernet Tag Id: 12
Remote UC-SID: 2001::2:0:0:0
Tunnel policy mapped: --
 
Total number of entries are 2
PE3#
 
PE3#show hsl srv6 evpn-ecmp
TABLE: SRV6 EVPN-ECMP Table
+------+---------------------+------------------------------+-----------+-----------+-------+-----------+-----------+------+
| EVPN | DESTINATION | ESI | ECMP Detail | L3-FEC | VSI |
| ID | FEC | | Group-ID | GPORT |fec-cnt| ORIGINAL | DUPLICATE | |
+------+---------------------+------------------------------+-----------+-----------+-------+-----------+-----------+------+
42 1001::1 00:00:00:11:11:11:11:00:00:00 0x20000001 0x98000001 2 0x2000ccde 0x2000cce0 0
42 2001::1 00:00:00:11:11:11:11:00:00:00 0x20000001 0x98000001 2 0x2000ccd9 0x2000cce1 0
PE3#