OcNOS-SP : Segment Routing Guide : Segment Routing Configuration Guide : Configuring SRv6 EVPN ELINE : SRv6 EVPN ELINE Single Homing
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.
Figure 13-15: 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
 
Last modified date: 10/20/2023