SRV6 Tunnel Configuration
SRv6 (Segment Routing over IPv6) is a next-generation network protocol that combines Segment Routing (SR, a source-routing architecture) with IPv6 networks. It is widely regarded as a core technology for 5G, cloud-network integration, and future intelligent IP networks.
After configuring an SRv6 tunnel on an interface, service traffic passing through that interface is encapsulated with an SRH (Segment Routing Header) based on the device’s SID (Segment Identifier) table entries before being forwarded.
Example of SRV6 BE Configuration
Section titled “Example of SRV6 BE Configuration”Network requirements
As shown in the figure, MP-BGP is established between PE 1 and PE 2 to exchange VPN routing information. PE and P devices establish an ISIS neighbor relationship to forward SRV6 tunnel packets. An EBGP neighbor relationship is established between CE and PE devices, and the CE’s traffic is routed into the SRV6 tunnel for forwarding.

Procedure
# CE 1 Swtich Configuration
# Configure the interface’s interconnect IP
sonic# configuresonic(config)# interface ethernet 21sonic(config-if-21)# ip address 1000::1/24sonic(config-if-21)# ip address 100.0.21.1/24# Configure an EBGP neighbor relationship with PE1
sonic# configuresonic(config)# router bgp 1000sonic(config-router)# no bgp ebgp-requires-policysonic(config-router)# neighbor 100.0.21.2 remote-as 1024sonic(config-router)# neighbor 1000::2 remote-as 1024sonic(config-router)# address-family ipv4 unicastsonic(config-router-af)# redistribute connectedsonic(config-router-af)# exitsonic(config-router)# address-family ipv6 unicastsonic(config-router-af)# neighbor 1000::2 activatesonic(config-router-af)# redistribute connected# PE 1 Switch Configuration
# Configure an SRV6 instance
sonic# configuresonic(config)# segment-routingsonic(config-sr)# srv6sonic(config-srv6)# locatorssonic(config-srv6-locators)# locator testsonic(config-srv6-locator)# prefix 2500::/64# Configure the ISIS instance and bind the SRV6 instance
sonic# configuresonic(config)# router isis testsonic(config-router)# is-type level-1sonic(config-router)# net 10.0000.0000.0000.0167.00sonic(config-router)# redistribute ipv6 connected level-1sonic(config-router)# segment-routing srv6sonic(config-router-srv6)# locator test# Create a VRF and configure the inter-interface IP addresses
sonic# configuresonic(config)# vrf 100sonic(config-vrf)# exitsonic(config)# interface ethernet 21sonic(config-if-21)# ip address 100.0.21.2/24sonic(config-if-21)# ip address 1000::2/64sonic(config-if-21)# vrf 100sonic(config-if-21)# exitsonic(config)# interface ethernet 49sonic(config-if-49)# ip address 2049::1/64sonic(config-if-49)# ipv6 router isis testsonic(config-if-49)# exitsonic(config)# interface loopback 1sonic(config-loif-1)# ip address 1.1.1.1/32sonic(config-loif-1)# ip address 2000::1/128# Configure EBGP neighbor relations with CE1
sonic# configuresonic(config)# router bgp 1024 vrf 100sonic(config-router)# bgp router-id 1.1.1.1sonic(config-router)# no bgp ebgp-requires-policysonic(config-router)# neighbor 100.0.21.1 remote-as 1000sonic(config-router)# neighbor 1000::1 remote-as 1000sonic(config-router)# address-family ipv4 unicastsonic(config-router-af)# export vpnsonic(config-router-af)# import vpnsonic(config-router-af)# rd vpn export 3:66sonic(config-router-af)# redistribute connectedsonic(config-router-af)# rt vpn both 88:88sonic(config-router-af)# sid vpn export autosonic(config-router-af)# exitsonic(config-router)# address-family ipv6 unicastsonic(config-router-af)# neighbor 1000::1 activatesonic(config-router-af)# export vpnsonic(config-router-af)# import vpnsonic(config-router-af)# rd vpn export 1:66sonic(config-router-af)# redistribute connectedsonic(config-router-af)# rt vpn both 66:66sonic(config-router-af)# sid vpn export autosonic(config-router-af)# exit# Configure MP-BGP neighbor relationships with PE2
sonic# configuresonic(config)# router bgp 1024sonic(config-router)# bgp router-id 1.1.1.1sonic(config-router)# no bgp default ipv4-unicastsonic(config-router)# no bgp ebgp-requires-policysonic(config-router)# segment-routing srv6sonic(config-router-srv6)# locator testsonic(config-router-srv6)# exitsonic(config-router)# neighbor 3000::1 remote-as 1024sonic(config-router)# neighbor 3000::1 capability extended-nexthopsonic(config-router)# neighbor 3000::1 update-source 2000::1sonic(config-router)# address-family ipv4 vpnsonic(config-router-af)# neighbor 3000::1 activatesonic(config-router-af)# exitsonic(config-router)# address-family ipv6 vpnsonic(config-router-af)# neighbor 3000::1 activate# P 1 Switch Configuration
# Configure an SRV6 instance
sonic# configuresonic(config)# segment-routingsonic(config-sr)# srv6sonic(config-srv6)# locatorssonic(config-srv6-locators)# locator testsonic(config-srv6-locator)# prefix 2001::/64# Configure the ISIS instance and bind the SRV6 instance
sonic# configuresonic(config)# router isis testsonic(config-router)# is-type level-1sonic(config-router)# net 10.0000.0000.0000.0158.00sonic(config-router)# redistribute ipv6 connected level-1sonic(config-router)# segment-routing srv6sonic(config-router-srv6)# locator test# Configure the interface’s interconnect IP and bind SRV6
sonic# configuresonic(config)# interface ethernet 121sonic(config-if-121)# ip address 2049::2/64sonic(config-if-121)# ipv6 router isis testsonic(config-if-121)# exitsonic(config)# interface ethernet 125sonic(config-if-125)# interface ethernet 125sonic(config-if-125)# ip address 2125::1/64sonic(config-if-125)# ipv6 router isis test# P 2 Switch Configuration
# Configure an SRV6 instance
sonic# configuresonic(config)# segment-routingsonic(config-sr)# srv6sonic(config-srv6)# locatorssonic(config-srv6-locators)# locator testsonic(config-srv6-locator)# prefix 2002::/64# Configure the ISIS instance and bind the SRV6 instance
sonic# configuresonic(config)# router isis testsonic(config-router)# is-type level-1sonic(config-router)# net 10.0000.0000.0000.0182.00sonic(config-router)# redistribute ipv6 connected level-1sonic(config-router)# segment-routing srv6sonic(config-router-srv6)# locator test# Configure the interface’s inter-network IP and bind SRV6
sonic# configuresonic(config)# interface ethernet 117sonic(config-if-117)# ip address 2117::1/64sonic(config-if-117)# ipv6 router isis testsonic(config-if-117)# exitsonic(config)# interface ethernet 125sonic(config-if-125)# ip address 2125::2/64sonic(config-if-125)# ipv6 router isis test# P 3 Switch Configuration
# Configure an SRV6 instance
sonic# configuresonic(config)# segment-routingsonic(config-sr)# srv6sonic(config-srv6)# locatorssonic(config-srv6-locators)# locator testsonic(config-srv6-locator)# prefix 2003::/64# Configure the ISIS instance and bind the SRV6 instance
sonic# configuresonic(config)# router isis testsonic(config-router)# is-type level-1sonic(config-router)# net 10.0000.0000.0000.0117.00sonic(config-router)# redistribute ipv6 connected level-1sonic(config-router)# segment-routing srv6sonic(config-router-srv6)# locator test# Configure the interface’s inter-network IP and bind SRV6
sonic# configuresonic(config)# interface ethernet 29sonic(config-if-29)# ip address 2117::2/64sonic(config-if-29)# ipv6 router isis testsonic(config-if-29)# exitsonic(config)# interface ethernet 25sonic(config-if-25)# ip address 2025::1/64sonic(config-if-25)# ipv6 router isis test# PE 2 Switch Configuration
# Configure an SRV6 instance
sonic# configuresonic(config)# segment-routingsonic(config-sr)# srv6sonic(config-srv6)# locatorssonic(config-srv6-locators)# locator testsonic(config-srv6-locator)# prefix 2004::/64# Configure the ISIS instance and bind the SRV6 instance
sonic# configuresonic(config)# router isis testsonic(config-router)# is-type level-1sonic(config-router)# net 10.0000.0000.0000.0179.00sonic(config-router)# redistribute ipv6 connected level-1sonic(config-router)# segment-routing srv6sonic(config-router-srv6)# locator test# Create a VRF and configure the inter-interface IP addresses
sonic# configuresonic(config)# vrf 100sonic(config-vrf)# exitsonic(config)# interface ethernet 25sonic(config-if-25)# ip address 2025::2/64sonic(config-if-25)# ipv6 router isis testsonic(config-if-25)# exitsonic(config)# interface ethernet 23sonic(config-if-23)# ip address 100.0.23.1/24sonic(config-if-23)# ip address 1023::1/64sonic(config-if-23)# ipv6 router isis testsonic(config-if-23)# vrf 100sonic(config-if-23)# exitsonic(config)# interface loopback 1sonic(config-loif-1)# ip address 2.2.2.2/32sonic(config-loif-1)# ip address 3000::1/128# Configure EBGP neighbor relationships with CE2
sonic# configuresonic(config)# router bgp 1024 vrf 100sonic(config-router)# bgp router-id 2.2.2.2sonic(config-router)# no bgp default ipv4-unicastsonic(config-router)# no bgp ebgp-requires-policysonic(config-router)# sid vpn per-vrf export autosonic(config-router)# neighbor 100.0.23.2 remote-as 1000sonic(config-router)# neighbor 1023::2 remote-as 1000sonic(config-router)# address-family ipv4 unicastsonic(config-router-af)# neighbor 100.0.23.2 activatesonic(config-router-af)# export vpnsonic(config-router-af)# import vpnsonic(config-router-af)# rd vpn export 4:66sonic(config-router-af)# redistribute connectedsonic(config-router-af)# rt vpn both 88:88sonic(config-router-af)# sid vpn export autosonic(config-router-af)# exitsonic(config-router)# address-family ipv6 unicastsonic(config-router-af)# neighbor 1023::2 activatesonic(config-router-af)# export vpnsonic(config-router-af)# import vpnsonic(config-router-af)# rd vpn export 2:66sonic(config-router-af)# redistribute connectedsonic(config-router-af)# rt vpn both 66:66sonic(config-router-af)# sid vpn export autosonic(config-router-af)# exit# Configure MP-BGP neighbor relationships with PE1
sonic# configuresonic(config)# router bgp 1024sonic(config-router)# bgp router-id 2.2.2.2sonic(config-router)# no bgp default ipv4-unicastsonic(config-router)# no bgp ebgp-requires-policysonic(config-router)# segment-routing srv6sonic(config-router-srv6)# locator testsonic(config-router-srv6)# exitsonic(config-router)# neighbor 2000::1 remote-as 1024sonic(config-router)# neighbor 2000::1 capability extended-nexthopsonic(config-router)# neighbor 2000::1 update-source 3000::1sonic(config-router)# address-family ipv4 vpnsonic(config-router-af)# neighbor 2000::1 activatesonic(config-router-af)# exitsonic(config-router)# address-family ipv6 vpnsonic(config-router-af)# neighbor 2000::1 activate# CE 2 Switch Configuration
# Configure the interface’s interconnect IP
sonic# configuresonic(config)# interface ethernet 23sonic(config-if-23)# ip address 100.0.23.2/24sonic(config-if-23)# ip address 1023::2/64# Configure an EBGP neighbor relationship with PE2
sonic# configuresonic(config)# router bgp 1000sonic(config-router)# no bgp ebgp-requires-policysonic(config-router)# no bgp default ipv4-unicastsonic(config-router)# neighbor 100.0.23.1 remote-as 1024sonic(config-router)# neighbor 1023::1 remote-as 1024sonic(config-router)# address-family ipv4 unicastsonic(config-router-af)# neighbor 100.0.23.1 activatesonic(config-router-af)# redistribute connectedsonic(config-router-af)# exitsonic(config-router)# address-family ipv6 unicastsonic(config-router-af)# neighbor 1023::1 activatesonic(config-router-af)# redistribute connectedVerify configuration
# CE 1 obtains the route to CE 2 via BGP synchronization, and connectivity between CE 1 and CE 2 is normal.
sonic# show ip routeCodes: K - kernel route, C - connected, L - local, S - static, R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP, T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR, f - OpenFabric, t - Table-Direct, > - selected route, * - FIB route, q - queued, r - rejected, b - backup t - trapped, o - offload failure
IPv4 unicast VRF default:K>* 0.0.0.0/0 [0/201] via 192.168.0.1, mgmt, weight 1, 00:13:17C>* 10.1.0.1/32 is directly connected, loopback0, weight 1, 00:13:12B>* 100.0.1.0/24 [20/0] via 100.0.23.1, eth 23, weight 1, 00:12:01B>* 100.0.21.0/24 [20/0] via 100.0.23.1, eth 23, weight 1, 00:03:29C>* 100.0.23.0/24 is directly connected, eth 23, weight 1, 00:12:03C>* 192.168.0.0/20 is directly connected, mgmt, weight 1, 00:13:17sonic#sonic# show ipv6 routeCodes: K - kernel route, C - connected, L - local, S - static, R - RIPng, O - OSPFv3, I - IS-IS, B - BGP, N - NHRP, T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR, f - OpenFabric, t - Table-Direct, > - selected route, * - FIB route, q - queued, r - rejected, b - backup t - trapped, o - offload failure
IPv6 unicast VRF default:B>* 1000::/64 [20/0] via fe80::62eb:5aff:fe01:774c, eth 23, weight 1, 00:03:34C>* 1023::/64 is directly connected, eth 23, weight 1, 00:12:08C * fe80::/64 is directly connected, eth 23, weight 1, 00:12:08C * fe80::/64 is directly connected, Bridge, weight 1, 00:13:12C * fe80::/64 is directly connected, dummy, weight 1, 00:13:17C * fe80::/64 is directly connected, loopback0, weight 1, 00:13:17C>* fe80::/64 is directly connected, mgmt, weight 1, 00:13:22sonic#sonic# ping 100.0.21.1PING 100.0.21.1 (100.0.21.1) 56(84) bytes of data.64 bytes from 100.0.21.1: icmp_seq=1 ttl=62 time=2.07 ms64 bytes from 100.0.21.1: icmp_seq=2 ttl=62 time=1.13 ms64 bytes from 100.0.21.1: icmp_seq=3 ttl=62 time=1.16 ms64 bytes from 100.0.21.1: icmp_seq=4 ttl=62 time=1.15 ms64 bytes from 100.0.21.1: icmp_seq=5 ttl=62 time=1.47 ms
--- 100.0.21.1 ping statistics ---5 packets transmitted, 5 received, 0% packet loss, time 4005msrtt min/avg/max/mdev = 1.133/1.398/2.070/0.358 mssonic#sonic# ping 1000::1PING 1000::1(1000::1) 56 data bytes64 bytes from 1000::1: icmp_seq=1 ttl=62 time=1.20 ms64 bytes from 1000::1: icmp_seq=2 ttl=62 time=2.09 ms64 bytes from 1000::1: icmp_seq=3 ttl=62 time=1.23 ms64 bytes from 1000::1: icmp_seq=4 ttl=62 time=1.25 ms64 bytes from 1000::1: icmp_seq=5 ttl=62 time=1.23 ms
--- 1000::1 ping statistics ---5 packets transmitted, 5 received, 0% packet loss, time 4005msrtt min/avg/max/mdev = 1.200/1.397/2.089/0.346 ms## MP-BGP neighbor establishment between PE 1 and PE 2sonic# show bgp vrf all summary
IPv4 Unicast Summary:BGP router identifier 1.1.1.1, local AS number 1024 VRF 100 vrf-id 11BGP table version 5RIB entries 9, using 1152 bytes of memoryPeers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc100.0.21.1 4 1000 22 21 5 0 0 00:15:40 3 5 N/A
Total number of neighbors 1
IPv6 Unicast Summary:BGP router identifier 1.1.1.1, local AS number 1024 VRF 100 vrf-id 11BGP table version 3RIB entries 4, using 512 bytes of memoryPeers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc1000::1 4 1000 21 21 3 0 0 00:15:33 1 3 N/A
Total number of neighbors 1
IPv4 VPN Summary:BGP router identifier 1.1.1.1, local AS number 1024 VRF default vrf-id 0BGP table version 0RIB entries 3, using 384 bytes of memoryPeers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc3000::1 4 1024 17 17 4 0 0 00:09:21 4 3 FRRouting/10.4.1
Total number of neighbors 1
IPv6 VPN Summary:BGP router identifier 1.1.1.1, local AS number 1024 VRF default vrf-id 0BGP table version 0RIB entries 3, using 384 bytes of memoryPeers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc3000::1 4 1024 17 17 2 0 0 00:09:21 1 2 FRRouting/10.4.1
Total number of neighbors 1## PE 1's routing table entries and the SID entries generated by SRV6sonic# show ip route vrf allCodes: K - kernel route, C - connected, L - local, S - static, R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP, T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR, f - OpenFabric, t - Table-Direct, > - selected route, * - FIB route, q - queued, r - rejected, b - backup t - trapped, o - offload failure
IPv4 unicast VRF 100:B>* 10.1.0.1/32 [20/0] via 100.0.21.1, eth 21, weight 1, 00:30:40B> 100.0.1.0/24 [200/0] via 3000::1 (vrf default) (recursive), label 16, seg6 2004::1:0:0:0, weight 1, 00:24:21 * via fe80::62eb:5aff:fe00:24d3, eth 49 (vrf default), label 16, seg6 2004::1:0:0:0, weight 1, 00:24:21C>* 100.0.21.0/24 is directly connected, eth 21, weight 1, 00:31:46B 100.0.23.0/24 [200/0] via 3000::1 (vrf default) (recursive), label 16, seg6 2004::1:0:0:0, weight 1, 00:24:21 via fe80::62eb:5aff:fe00:24d3, eth 49 (vrf default), label 16, seg6 2004::1:0:0:0, weight 1, 00:24:21B>* 192.168.0.0/20 [20/0] via 100.0.21.1, eth 21, weight 1, 00:30:40
IPv4 unicast VRF 200:C>* 100.0.5.0/24 is directly connected, eth 5, weight 1, 00:33:58
IPv4 unicast VRF default:K>* 0.0.0.0/0 [0/201] via 192.168.0.1, mgmt, weight 1, 00:35:31C>* 1.1.1.1/32 is directly connected, loopback1, weight 1, 00:24:29C>* 10.1.0.1/32 is directly connected, loopback0, weight 1, 00:35:17C>* 192.168.0.0/20 is directly connected, mgmt, weight 1, 00:35:31sonic#sonic# show ipv6 route vrf allCodes: K - kernel route, C - connected, L - local, S - static, R - RIPng, O - OSPFv3, I - IS-IS, B - BGP, N - NHRP, T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR, f - OpenFabric, t - Table-Direct, > - selected route, * - FIB route, q - queued, r - rejected, b - backup t - trapped, o - offload failure
IPv6 unicast VRF 100:B>* 1000::/24 [20/0] via fe80::62eb:5aff:fe01:1ce4, eth 21, weight 1, 00:30:45C>* 1000::/64 is directly connected, eth 21, weight 1, 00:31:58B 1023::/64 [200/0] via 3000::1 (vrf default) (recursive), label 16, seg6 2004::1:0:0:0, weight 1, 00:24:33 via fe80::62eb:5aff:fe00:24d3, eth 49 (vrf default), label 16, seg6 2004::1:0:0:0, weight 1, 00:24:33C>* fe80::/64 is directly connected, eth 21, weight 1, 00:31:58
IPv6 unicast VRF 200:C>* fe80::/64 is directly connected, eth 5, weight 1, 00:34:10
IPv6 unicast VRF default:C>* 2000::1/128 is directly connected, loopback1, weight 1, 00:24:34I>* 2001::/64 [115/10] via fe80::62eb:5aff:fe00:24d3, eth 49, weight 1, 00:34:34I>* 2002::/64 [115/20] via fe80::62eb:5aff:fe00:24d3, eth 49, weight 1, 00:34:34I>* 2003::/64 [115/30] via fe80::62eb:5aff:fe00:24d3, eth 49, weight 1, 00:34:22I>* 2004::/64 [115/30] via fe80::62eb:5aff:fe00:24d3, eth 49, weight 1, 00:33:52I>* 2025::/64 [115/30] via fe80::62eb:5aff:fe00:24d3, eth 49, weight 1, 00:34:08C>* 2049::/64 is directly connected, eth 49, weight 1, 00:35:14K * 2049::/64 [0/256] is directly connected, eth 49, weight 1, 00:35:14I>* 2113::/64 [115/20] via fe80::62eb:5aff:fe00:24d3, eth 49, weight 1, 00:33:52I>* 2117::/64 [115/20] via fe80::62eb:5aff:fe00:24d3, eth 49, weight 1, 00:34:22I>* 2125::/64 [115/10] via fe80::62eb:5aff:fe00:24d3, eth 49, weight 1, 00:34:34I>* 2500::/128 [115/0] is directly connected, sr0, seg6local End, weight 1, 00:35:04B>* 2500::1:0:0:0/128 [20/0] is directly connected, 100, seg6local End.DT4 table 1001, weight 1, 00:35:04B>* 2500::2:0:0:0/128 [20/0] is directly connected, 100, seg6local End.DT6 table 1001, weight 1, 00:35:04I>* 2500::3:0:0:0/128 [115/0] is directly connected, eth 49, seg6local End.X nh6 fe80::62eb:5aff:fe00:24d3, weight 1, 00:35:02I>* 3000::1/128 [115/30] via fe80::62eb:5aff:fe00:24d3, eth 49, weight 1, 00:25:03C * fe80::/64 is directly connected, loopback1, weight 1, 00:24:47C * fe80::/64 is directly connected, eth 49, weight 1, 00:35:14C * fe80::/64 is directly connected, sr0, weight 1, 00:35:14C * fe80::/64 is directly connected, eth 1, weight 1, 00:35:14C * fe80::/64 is directly connected, Bridge, weight 1, 00:35:29C * fe80::/64 is directly connected, dummy, weight 1, 00:35:29C * fe80::/64 is directly connected, loopback0, weight 1, 00:35:29C>* fe80::/64 is directly connected, mgmt, weight 1, 00:35:43sonic# show segment-routing srv6 local sid+---------------+----------+--------+---------------------------+| Sid | Action | Vrf | Adj |+===============+==========+========+===========================+| 2500:: | End | | |+---------------+----------+--------+---------------------------+| 2500::1:0:0:0 | End_DT4 | Vrf100 | |+---------------+----------+--------+---------------------------+| 2500::2:0:0:0 | End_DT6 | Vrf100 | |+---------------+----------+--------+---------------------------+| 2500::3:0:0:0 | End_X | | fe80::62eb:5aff:fe00:24d3 |+---------------+----------+--------+---------------------------+# ISIS neighbor establishment status of Device P1 and SID entries generated by SRV6
sonic# show isis neighborArea test: System Id Interface L State Holdtime SNPA sonic eth 121 1 Up 29 60eb.5a01.12f1 sonic eth 125 1 Up 29 74fe.488b.e63esonic# show segment-routing srv6 local sid+---------------+----------+-------+---------------------------+| Sid | Action | Vrf | Adj |+===============+==========+=======+===========================+| 2001:: | End | | |+---------------+----------+-------+---------------------------+| 2001::1:0:0:0 | End_X | | fe80::62eb:5aff:fe01:12f1 |+---------------+----------+-------+---------------------------+| 2001::2:0:0:0 | End_X | | fe80::76fe:48ff:fe8b:e63e |+---------------+----------+-------+---------------------------+# ISIS neighbor establishment status of Device P2 and SID entries generated by SRV6
sonic# show isis neighborArea test: System Id Interface L State Holdtime SNPA sonic eth 117 1 Up 30 60eb.5a01.774e sonic eth 125 1 Up 29 60eb.5a00.24d3sonic# show segment-routing srv6 local sid+---------------+----------+-------+---------------------------+| Sid | Action | Vrf | Adj |+===============+==========+=======+===========================+| 2002:: | End | | |+---------------+----------+-------+---------------------------+| 2002::1:0:0:0 | End_X | | fe80::62eb:5aff:fe00:24d3 |+---------------+----------+-------+---------------------------+| 2002::2:0:0:0 | End_X | | fe80::62eb:5aff:fe01:774e |+---------------+----------+-------+---------------------------+| 2002::3:0:0:0 | End_X | | fe80::62eb:5aff:fe01:774c |+---------------+----------+-------+---------------------------+# ISIS neighbor establishment status of Device P3 and SID entries generated by SRV6
sonic# show isis neighborArea test: System Id Interface L State Holdtime SNPA sonic eth 25 1 Up 29 60eb.5a01.774c sonic eth 29 1 Up 27 74fe.488b.e63esonic# show segment-routing srv6 local sid+---------------+----------+-------+---------------------------+| Sid | Action | Vrf | Adj |+===============+==========+=======+===========================+| 2003:: | End | | |+---------------+----------+-------+---------------------------+| 2003::1:0:0:0 | End_X | | fe80::76fe:48ff:fe8b:e63e |+---------------+----------+-------+---------------------------+| 2003::2:0:0:0 | End_X | | fe80::62eb:5aff:fe01:774c |+---------------+----------+-------+---------------------------+# PE 2’s routing table entries and the SID entries generated by SRV6
sonic# show ip route vrf allCodes: K - kernel route, C - connected, L - local, S - static, R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP, T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR, f - OpenFabric, t - Table-Direct, > - selected route, * - FIB route, q - queued, r - rejected, b - backup t - trapped, o - offload failure
IPv4 unicast VRF 100:B>* 10.1.0.1/32 [20/0] via 100.0.23.2, eth 23, weight 1, 00:40:54C>* 100.0.1.0/24 is directly connected, eth 1, weight 1, 00:40:56B 100.0.21.0/24 [200/0] via 2000::1 (vrf default) (recursive), label 16, seg62500::1:0:0:0, weight 1, 00:32:22 via fe80::76fe:48ff:fe8b:e63e, eth 29 (vrf default), label 16, seg6 2500::1:0:0:0, weight 1, 00:32:22C>* 100.0.23.0/24 is directly connected, eth 23, weight 1, 00:40:56B>* 192.168.0.0/20 [20/0] via 100.0.23.2, eth 23, weight 1, 00:40:54
IPv4 unicast VRF default:K>* 0.0.0.0/0 [0/201] via 192.168.0.1, mgmt, weight 1, 00:42:26C>* 2.2.2.2/32 is directly connected, loopback1, weight 1, 00:33:01C>* 10.1.0.1/32 is directly connected, loopback0, weight 1, 00:42:20C>* 192.168.0.0/20 is directly connected, mgmt, weight 1, 00:42:26sonic# show ipv6 route vrf allCodes: K - kernel route, C - connected, L - local, S - static, R - RIPng, O - OSPFv3, I - IS-IS, B - BGP, N - NHRP, T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR, f - OpenFabric, t - Table-Direct, > - selected route, * - FIB route, q - queued, r - rejected, b - backup t - trapped, o - offload failure
IPv6 unicast VRF 100:B> 1000::/24 [200/0] via 2000::1 (vrf default) (recursive), label 32, seg6 2500::2:0:0:0, weight 1, 00:32:27 * via fe80::76fe:48ff:fe8b:e63e, eth 29 (vrf default), label 32, seg6 2500::2:0:0:0, weight 1, 00:32:27B 1000::/64 [200/0] via 2000::1 (vrf default) (recursive), label 32, seg6 2500::2:0:0:0, weight 1, 00:32:27 via fe80::76fe:48ff:fe8b:e63e, eth 29 (vrf default), label 32, seg6 2500::2:0:0:0, weight 1, 00:32:27C>* 1023::/64 is directly connected, eth 23, weight 1, 00:41:01C * fe80::/64 is directly connected, eth 23, weight 1, 00:41:01C>* fe80::/64 is directly connected, eth 1, weight 1, 00:41:01
IPv6 unicast VRF default:I>* 2000::1/128 [115/30] via fe80::76fe:48ff:fe8b:e63e, eth 29, weight 1, 00:32:28I>* 2001::/64 [115/20] via fe80::76fe:48ff:fe8b:e63e, eth 29, weight 1, 00:41:29I>* 2002::/64 [115/10] via fe80::76fe:48ff:fe8b:e63e, eth 29, weight 1, 00:41:2I>* 2003::/64 [115/10] via fe80::62eb:5aff:fe01:774e, eth 25, weight 1, 00:41:29I>* 2004::/128 [115/0] is directly connected, sr0, seg6local End, weight 1, 00:41:59B>* 2004::1:0:0:0/128 [20/0] is directly connected, 100, seg6local End.DT46 table 1001, weight 1, 00:41:59I>* 2004::2:0:0:0/128 [115/0] is directly connected, eth 29, seg6local End.X nh6 fe80::76fe:48ff:fe8b:e63e, weight 1, 00:41:59I>* 2004::3:0:0:0/128 [115/0] is directly connected, eth 25, seg6local End.X nh6 fe80::62eb:5aff:fe01:774e, weight 1, 00:41:57C>* 2025::/64 is directly connected, eth 25, weight 1, 00:42:10K * 2025::/64 [0/256] is directly connected, eth 25, weight 1, 00:42:11I>* 2049::/64 [115/20] via fe80::76fe:48ff:fe8b:e63e, eth 29, weight 1, 00:41:29C>* 2113::/64 is directly connected, eth 29, weight 1, 00:42:10K * 2113::/64 [0/256] is directly connected, eth 29, weight 1, 00:42:11I>* 2117::/64 [115/10] via fe80::62eb:5aff:fe01:774e, eth 25, weight 1, 00:41:29 * via fe80::76fe:48ff:fe8b:e63e, eth 29, weight 1, 00:41:29I>* 2125::/64 [115/10] via fe80::76fe:48ff:fe8b:e63e, eth 29, weight 1, 00:41:29I>* 2500::/64 [115/30] via fe80::76fe:48ff:fe8b:e63e, eth 29, weight 1, 00:41:29C>* 3000::1/128 is directly connected, loopback1, weight 1, 00:32:57C * fe80::/64 is directly connected, loopback1, weight 1, 00:33:12C * fe80::/64 is directly connected, eth 29, weight 1, 00:42:10C * fe80::/64 is directly connected, eth 25, weight 1, 00:42:10C * fe80::/64 is directly connected, sr0, weight 1, 00:42:10C * fe80::/64 is directly connected, eth 3, weight 1, 00:42:10C * fe80::/64 is directly connected, Bridge, weight 1, 00:42:25C * fe80::/64 is directly connected, dummy, weight 1, 00:42:25C * fe80::/64 is directly connected, loopback0, weight 1, 00:42:25C>* fe80::/64 is directly connected, mgmt, weight 1, 00:42:31sonic# show segment-routing srv6 local sid+---------------+----------+--------+---------------------------+| Sid | Action | Vrf | Adj |+===============+==========+========+===========================+| 2004:: | End | | |+---------------+----------+--------+---------------------------+| 2004::1:0:0:0 | End_DT46 | Vrf100 | |+---------------+----------+--------+---------------------------+| 2004::2:0:0:0 | End_X | | fe80::76fe:48ff:fe8b:e63e |+---------------+----------+--------+---------------------------+| 2004::3:0:0:0 | End_X | | fe80::62eb:5aff:fe01:774e |+---------------+----------+--------+---------------------------+# CE 2 obtains the routes for CE 1 through BGP synchronization, and connectivity between CE 2 and CE 1 is normal.
sonic# show ip routeCodes: K - kernel route, C - connected, L - local, S - static, R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP, T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR, f - OpenFabric, t - Table-Direct, > - selected route, * - FIB route, q - queued, r - rejected, b - backup t - trapped, o - offload failure
IPv4 unicast VRF default:K>* 0.0.0.0/0 [0/201] via 192.168.0.1, mgmt, weight 1, 00:44:18C>* 10.1.0.1/32 is directly connected, loopback0, weight 1, 00:44:13B>* 100.0.1.0/24 [20/0] via 100.0.23.1, eth 23, weight 1, 00:43:02B>* 100.0.21.0/24 [20/0] via 100.0.23.1, eth 23, weight 1, 00:34:30C>* 100.0.23.0/24 is directly connected, eth 23, weight 1, 00:43:04C>* 192.168.0.0/20 is directly connected, mgmt, weight 1, 00:44:18sonic# show ipv6 routeCodes: K - kernel route, C - connected, L - local, S - static, R - RIPng, O - OSPFv3, I - IS-IS, B - BGP, N - NHRP, T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR, f - OpenFabric, t - Table-Direct, > - selected route, * - FIB route, q - queued, r - rejected, b - backup t - trapped, o - offload failure
IPv6 unicast VRF default:B>* 1000::/64 [20/0] via fe80::62eb:5aff:fe01:774c, eth 23, weight 1, 00:34:35C>* 1023::/64 is directly connected, eth 23, weight 1, 00:43:09C * fe80::/64 is directly connected, eth 23, weight 1, 00:43:09C * fe80::/64 is directly connected, Bridge, weight 1, 00:44:13C * fe80::/64 is directly connected, dummy, weight 1, 00:44:18C * fe80::/64 is directly connected, loopback0, weight 1, 00:44:18C>* fe80::/64 is directly connected, mgmt, weight 1, 00:44:23sonic# ping 100.0.21.1PING 100.0.21.1 (100.0.21.1) 56(84) bytes of data.64 bytes from 100.0.21.1: icmp_seq=1 ttl=62 time=1.41 ms64 bytes from 100.0.21.1: icmp_seq=2 ttl=62 time=1.33 ms64 bytes from 100.0.21.1: icmp_seq=3 ttl=62 time=1.33 ms64 bytes from 100.0.21.1: icmp_seq=4 ttl=62 time=1.54 ms64 bytes from 100.0.21.1: icmp_seq=5 ttl=62 time=1.62 ms
--- 100.0.21.1 ping statistics ---5 packets transmitted, 5 received, 0% packet loss, time 4005msrtt min/avg/max/mdev = 1.326/1.445/1.621/0.116 mssonic# ping 1000::1PING 1000::1(1000::1) 56 data bytes64 bytes from 1000::1: icmp_seq=1 ttl=62 time=1.46 ms64 bytes from 1000::1: icmp_seq=2 ttl=62 time=1.33 ms64 bytes from 1000::1: icmp_seq=3 ttl=62 time=1.32 ms64 bytes from 1000::1: icmp_seq=4 ttl=62 time=1.38 ms64 bytes from 1000::1: icmp_seq=5 ttl=62 time=1.41 ms
--- 1000::1 ping statistics ---5 packets transmitted, 5 received, 0% packet loss, time 4005msrtt min/avg/max/mdev = 1.323/1.379/1.460/0.050 msExample of SRV6 TE Configuration
Section titled “Example of SRV6 TE Configuration”Network requirements
As shown in the figure, the SRV6 TE configuration builds upon the SRV6 BE configuration by adding a loopback interface and static SRV6 routing configurations.
SRV6 TE tunnels rely on physical loopback interfaces to encapsulate Segment Lists (up to three layers).

SRV6 TE tunnels require static SRV6 routing to specify the service forwarding path and the encapsulated Segment List.
Procedure
# Additional configuration for the PE 1 device based on the SRV6 BE configuration
# Add a new loopback configuration and bind SRV6
sonic# configuresonic(config)# interface ethernet 1sonic(config-if-1)# loopback binding srv6sonic(config-if-1)# loopback internal# Add a new static SRV6 route
sonic# configuresonic(config)# vrf 100sonic(config-vrf)# ip route 100.0.23.0/24 fe80::62eb:5aff:fe00:24d3 segments 2001::/2002::/2003::/2004::2:0:0:0sonic(config-vrf)# ipv6 route 1023::/64 fe80::62eb:5aff:fe00:24d3 segments 2001::/2002::/2003::/2004::2:0:0:0# The PE 2 device includes additional configurations based on the SRV6 BE configuration
# Add a new loopback configuration and bind SRV6
sonic# configuresonic(config)# interface ethernet 3sonic(config-if-3)# loopback binding srv6sonic(config-if-3)# loopback internal# Add a new static SRV6 route
sonic# configuresonic(config)# vrf 100sonic(config-vrf)# ip route 100.0.21.0/24 fe80::62eb:5aff:fe01:774e segments 2003::/2002::/2001::/2500::2:0:0:0sonic(config-vrf)# ipv6 route 1000::/64 fe80::62eb:5aff:fe01:774e segments 2003::/2002::/2001::/2500::2:0:0:0Verify configuration
# PE 1’s routing table entries and the SID entries generated by SRV6
sonic# show ip route vrf allCodes: K - kernel route, C - connected, L - local, S - static, R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP, T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR, f - OpenFabric, t - Table-Direct, > - selected route, * - FIB route, q - queued, r - rejected, b - backup t - trapped, o - offload failure
IPv4 unicast VRF 100:B>* 10.1.0.1/32 [20/0] via 100.0.21.1, eth 21, weight 1, 01:41:32B> 100.0.1.0/24 [200/0] via 3000::1 (vrf default) (recursive), label 16, seg6 2004::1:0:0:0, weight 1, 01:35:13 * via fe80::62eb:5aff:fe00:24d3, eth 49 (vrf default), label 16, seg6 2004::1:0:0:0, weight 1, 01:35:13C>* 100.0.21.0/24 is directly connected, eth 21, weight 1, 01:42:38B 100.0.23.0/24 [200/0] via 3000::1 (vrf default) (recursive), label 16, seg6 2004::1:0:0:0, weight 1, 01:35:13 via fe80::62eb:5aff:fe00:24d3, eth 49 (vrf default), label 16, seg6 2004::1:0:0:0, weight 1, 01:35:13S>* 100.0.23.0/24 [1/0] via fe80::62eb:5aff:fe00:24d3, eth 21, seg6 2001::,2002::,2003::,2004::2:0:0:0, weight 1, 01:42:38B>* 192.168.0.0/20 [20/0] via 100.0.21.1, eth 21, weight 1, 01:41:32
IPv4 unicast VRF 200:C>* 100.0.5.0/24 is directly connected, eth 5, weight 1, 01:44:50
IPv4 unicast VRF default:K>* 0.0.0.0/0 [0/201] via 192.168.0.1, mgmt, weight 1, 01:46:23C>* 1.1.1.1/32 is directly connected, loopback1, weight 1, 01:35:21C>* 10.1.0.1/32 is directly connected, loopback0, weight 1, 01:46:09C>* 192.168.0.0/20 is directly connected, mgmt, weight 1, 01:46:23sonic# show ipv6 route vrf allCodes: K - kernel route, C - connected, L - local, S - static, R - RIPng, O - OSPFv3, I - IS-IS, B - BGP, N - NHRP, T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR, f - OpenFabric, t - Table-Direct, > - selected route, * - FIB route, q - queued, r - rejected, b - backup t - trapped, o - offload failure
IPv6 unicast VRF 100:B>* 1000::/24 [20/0] via fe80::62eb:5aff:fe01:1ce4, eth 21, weight 1, 01:41:33C>* 1000::/64 is directly connected, eth 21, weight 1, 01:42:46B 1023::/64 [200/0] via 3000::1 (vrf default) (recursive), label 16, seg6 2004::1:0:0:0, weight 1, 01:35:21 via fe80::62eb:5aff:fe00:24d3, eth 49 (vrf default), label 16, seg6 2004::1:0:0:0, weight 1, 01:35:21S>* 1023::/64 [1/0] via fe80::62eb:5aff:fe00:24d3, eth 21, seg6 2001::,2002::,2003::,2004::2:0:0:0, weight 1, 01:42:46C>* fe80::/64 is directly connected, eth 21, weight 1, 01:42:46
IPv6 unicast VRF 200:C>* fe80::/64 is directly connected, eth 5, weight 1, 01:44:58
IPv6 unicast VRF default:C>* 2000::1/128 is directly connected, loopback1, weight 1, 01:35:22I>* 2001::/64 [115/10] via fe80::62eb:5aff:fe00:24d3, eth 49, weight 1, 01:45:22I>* 2002::/64 [115/20] via fe80::62eb:5aff:fe00:24d3, eth 49, weight 1, 01:45:22I>* 2003::/64 [115/30] via fe80::62eb:5aff:fe00:24d3, eth 49, weight 1, 01:45:10I>* 2004::/64 [115/30] via fe80::62eb:5aff:fe00:24d3, eth 49, weight 1, 01:44:40I>* 2025::/64 [115/30] via fe80::62eb:5aff:fe00:24d3, eth 49, weight 1, 01:44:56C>* 2049::/64 is directly connected, eth 49, weight 1, 01:46:02K * 2049::/64 [0/256] is directly connected, eth 49, weight 1, 01:46:02I>* 2113::/64 [115/20] via fe80::62eb:5aff:fe00:24d3, eth 49, weight 1, 01:44:40I>* 2117::/64 [115/20] via fe80::62eb:5aff:fe00:24d3, eth 49, weight 1, 01:45:10I>* 2125::/64 [115/10] via fe80::62eb:5aff:fe00:24d3, eth 49, weight 1, 01:45:22I>* 2500::/128 [115/0] is directly connected, sr0, seg6local End, weight 1, 01:45:52B>* 2500::1:0:0:0/128 [20/0] is directly connected, 100, seg6local End.DT4 table 1001, weight 1, 01:45:52B>* 2500::2:0:0:0/128 [20/0] is directly connected, 100, seg6local End.DT6 table1001, weight 1, 01:45:52I>* 2500::3:0:0:0/128 [115/0] is directly connected, eth 49, seg6local End.X nh6 fe80::62eb:5aff:fe00:24d3, weight 1, 01:45:50I>* 3000::1/128 [115/30] via fe80::62eb:5aff:fe00:24d3, eth 49, weight 1, 01:35:51C * fe80::/64 is directly connected, loopback1, weight 1, 01:35:35C * fe80::/64 is directly connected, eth 49, weight 1, 01:46:02C * fe80::/64 is directly connected, sr0, weight 1, 01:46:02C * fe80::/64 is directly connected, eth 1, weight 1, 01:46:02C * fe80::/64 is directly connected, Bridge, weight 1, 01:46:17C * fe80::/64 is directly connected, dummy, weight 1, 01:46:17C * fe80::/64 is directly connected, loopback0, weight 1, 01:46:17C>* fe80::/64 is directly connected, mgmt, weight 1, 01:46:31sonic# show segment-routing srv6 local sid+---------------+----------+--------+---------------------------+| Sid | Action | Vrf | Adj |+===============+==========+========+===========================+| 2500:: | End | | |+---------------+----------+--------+---------------------------+| 2500::1:0:0:0 | End_DT4 | Vrf100 | |+---------------+----------+--------+---------------------------+| 2500::2:0:0:0 | End_DT6 | Vrf100 | |+---------------+----------+--------+---------------------------+| 2500::3:0:0:0 | End_X | | fe80::62eb:5aff:fe00:24d3 |+---------------+----------+--------+---------------------------+# PE 2’s routing table entries and the SID entries generated by SRV6
sonic# show ip route vrf allCodes: K - kernel route, C - connected, L - local, S - static, R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP, T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR, f - OpenFabric, t - Table-Direct, > - selected route, * - FIB route, q - queued, r - rejected, b - backup t - trapped, o - offload failure
IPv4 unicast VRF 100:B>* 10.1.0.1/32 [20/0] via 100.0.23.2, eth 23, weight 1, 01:44:53C>* 100.0.1.0/24 is directly connected, eth 1, weight 1, 01:44:55B 100.0.21.0/24 [200/0] via 2000::1 (vrf default) (recursive), label 16, seg6 2500::1:0:0:0, weight 1, 01:36:21 via fe80::76fe:48ff:fe8b:e63e, eth 29 (vrf default), label 16, seg6 2500::1:0:0:0, weight 1, 01:36:21S>* 100.0.21.0/24 [1/0] via fe80::62eb:5aff:fe01:774e, eth 1, seg6 2003::,2002::,2001::,2500::2:0:0:0, weight 1, 01:44:55C>* 100.0.23.0/24 is directly connected, eth 23, weight 1, 01:44:55B>* 192.168.0.0/20 [20/0] via 100.0.23.2, eth 23, weight 1, 01:44:53
IPv4 unicast VRF default:K>* 0.0.0.0/0 [0/201] via 192.168.0.1, mgmt, weight 1, 01:46:25C>* 2.2.2.2/32 is directly connected, loopback1, weight 1, 01:37:00C>* 10.1.0.1/32 is directly connected, loopback0, weight 1, 01:46:19C>* 192.168.0.0/20 is directly connected, mgmt, weight 1, 01:46:25sonic# show ipv6 route vrf allCodes: K - kernel route, C - connected, L - local, S - static, R - RIPng, O - OSPFv3, I - IS-IS, B - BGP, N - NHRP, T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR, f - OpenFabric, t - Table-Direct, > - selected route, * - FIB route, q - queued, r - rejected, b - backup t - trapped, o - offload failure
IPv6 unicast VRF 100:B> 1000::/24 [200/0] via 2000::1 (vrf default) (recursive), label 32, seg6 2500::2:0:0:0, weight 1, 01:36:28 * via fe80::76fe:48ff:fe8b:e63e, eth 29 (vrf default), label 32, seg6 2500::2:0:0:0, weight 1, 01:36:28B 1000::/64 [200/0] via 2000::1 (vrf default) (recursive), label 32, seg6 2500::2:0:0:0, weight 1, 01:36:28 via fe80::76fe:48ff:fe8b:e63e, eth 29 (vrf default), label 32, seg6 2500::2:0:0:0, weight 1, 01:36:28S>* 1000::/64 [1/0] via fe80::62eb:5aff:fe01:774e, eth 1, seg6 2003::,2002::,2001::,2500::2:0:0:0, weight 1, 01:45:02C>* 1023::/64 is directly connected, eth 23, weight 1, 01:45:02C * fe80::/64 is directly connected, eth 23, weight 1, 01:45:02C>* fe80::/64 is directly connected, eth 1, weight 1, 01:45:02
IPv6 unicast VRF default:I>* 2000::1/128 [115/30] via fe80::76fe:48ff:fe8b:e63e, eth 29, weight 1, 01:36:29I>* 2001::/64 [115/20] via fe80::76fe:48ff:fe8b:e63e, eth 29, weight 1, 01:45:30I>* 2002::/64 [115/10] via fe80::76fe:48ff:fe8b:e63e, eth 29, weight 1, 01:45:30I>* 2003::/64 [115/10] via fe80::62eb:5aff:fe01:774e, eth 25, weight 1, 01:45:30I>* 2004::/128 [115/0] is directly connected, sr0, seg6local End, weight 1, 01:46:00B>* 2004::1:0:0:0/128 [20/0] is directly connected, 100, seg6local End.DT46 table 1001, weight 1, 01:46:00I>* 2004::2:0:0:0/128 [115/0] is directly connected, eth 29, seg6local End.X nh6 fe80::76fe:48ff:fe8b:e63e, weight 1, 01:46:00I>* 2004::3:0:0:0/128 [115/0] is directly connected, eth 25, seg6local End.X nh6 fe80::62eb:5aff:fe01:774e, weight 1, 01:45:58C>* 2025::/64 is directly connected, eth 25, weight 1, 01:46:11K * 2025::/64 [0/256] is directly connected, eth 25, weight 1, 01:46:12I>* 2049::/64 [115/20] via fe80::76fe:48ff:fe8b:e63e, eth 29, weight 1, 01:45:30C>* 2113::/64 is directly connected, eth 29, weight 1, 01:46:11K * 2113::/64 [0/256] is directly connected, eth 29, weight 1, 01:46:12I>* 2117::/64 [115/10] via fe80::62eb:5aff:fe01:774e, eth 25, weight 1, 01:45:30 * via fe80::76fe:48ff:fe8b:e63e, eth 29, weight 1, 01:45:30I>* 2125::/64 [115/10] via fe80::76fe:48ff:fe8b:e63e, eth 29, weight 1, 01:45:30I>* 2500::/64 [115/30] via fe80::76fe:48ff:fe8b:e63e, eth 29, weight 1, 01:45:30C>* 3000::1/128 is directly connected, loopback1, weight 1, 01:36:58C * fe80::/64 is directly connected, loopback1, weight 1, 01:37:13C * fe80::/64 is directly connected, eth 29, weight 1, 01:46:11C * fe80::/64 is directly connected, eth 25, weight 1, 01:46:11C * fe80::/64 is directly connected, sr0, weight 1, 01:46:11C * fe80::/64 is directly connected, eth 3, weight 1, 01:46:11C * fe80::/64 is directly connected, Bridge, weight 1, 01:46:26C * fe80::/64 is directly connected, dummy, weight 1, 01:46:26C * fe80::/64 is directly connected, loopback0, weight 1, 01:46:26C>* fe80::/64 is directly connected, mgmt, weight 1, 01:46:32sonic# show segment-routing srv6 local sid+---------------+----------+--------+---------------------------+| Sid | Action | Vrf | Adj |+===============+==========+========+===========================+| 2004:: | End | | |+---------------+----------+--------+---------------------------+| 2004::1:0:0:0 | End_DT46 | Vrf100 | |+---------------+----------+--------+---------------------------+| 2004::2:0:0:0 | End_X | | fe80::76fe:48ff:fe8b:e63e |+---------------+----------+--------+---------------------------+| 2004::3:0:0:0 | End_X | | fe80::62eb:5aff:fe01:774e |+---------------+----------+--------+---------------------------+# Verify the link connectivity between CE 1 and CE 2
sonic# ping 100.0.21.1PING 100.0.21.1 (100.0.21.1) 56(84) bytes of data.64 bytes from 100.0.21.1: icmp_seq=1 ttl=62 time=1.41 ms64 bytes from 100.0.21.1: icmp_seq=2 ttl=62 time=1.33 ms64 bytes from 100.0.21.1: icmp_seq=3 ttl=62 time=1.33 ms64 bytes from 100.0.21.1: icmp_seq=4 ttl=62 time=1.54 ms64 bytes from 100.0.21.1: icmp_seq=5 ttl=62 time=1.62 ms
--- 100.0.21.1 ping statistics ---5 packets transmitted, 5 received, 0% packet loss, time 4005msrtt min/avg/max/mdev = 1.326/1.445/1.621/0.116 mssonic# ping 1000::1PING 1000::1(1000::1) 56 data bytes64 bytes from 1000::1: icmp_seq=1 ttl=62 time=1.46 ms64 bytes from 1000::1: icmp_seq=2 ttl=62 time=1.33 ms64 bytes from 1000::1: icmp_seq=3 ttl=62 time=1.32 ms64 bytes from 1000::1: icmp_seq=4 ttl=62 time=1.38 ms64 bytes from 1000::1: icmp_seq=5 ttl=62 time=1.41 ms
--- 1000::1 ping statistics ---