Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
config: segment-routing traffic-eng segment-list a index 10 ipv6-address 100:1::100 index 20 ipv6-address 200:1::200 exit policy color 100 endpoint 1::1 candidate-path preference 1 name a explicit segment-list a exit exit exit ! end show: router2# show sr-te policy detail Endpoint: 1::1 Color: 100 Name: BSID: - Status: Active Type: SRV6 * Preference: 1 Name: a Type: explicit Segment-List: a Protocol-Origin: Local router2# show bgp ipv4 vpn BGP table version is 2, local router ID is 2.2.2.2, vrf id 0 Default local pref 100, local AS 2 Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath, i internal, r RIB-failure, S Stale, R Removed Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self Origin codes: i - IGP, e - EGP, ? - incomplete RPKI validation codes: V valid, I invalid, N Not found Network Next Hop Metric LocPrf Weight Path Route Distinguisher: 1:1 *> 192.168.11.0/24 1::1 0 0 1 ? UN=1::1 EC{1:1 Color:01:100} label=16 sid=2001:db8:1:1:: sid_structure=[40,24,16,0] type=bgp, subtype=0 *> 192.168.15.0/24 1::1 0 0 1 ? UN=1::1 EC{1:1 Color:01:100} label=16 sid=2001:db8:1:1:: sid_structure=[40,24,16,0] type=bgp, subtype=0 Displayed 2 routes and 2 total paths router2# show bgp ipv4 vpn 192.168.11.0 BGP routing table entry for 1:1:192.168.11.0/24, version 1 not allocated Paths: (1 available, best #1) Advertised to non peer-group peers: 1::1 1 0.0.0.0 (metric 1024) from 1::1 (1.1.1.1) Origin incomplete, metric 0, valid, external, best (First path received) Relay-Nexthop(ip): gate 3fff:172:20:20::1, if eth0, Relay-Nexthop(tunnel): srv6-tunnel:1::1|100(endpoint|color), Extended Community: RT:1:1 Color:01:100 Remote label: 16 Remote SID: 2001:db8:1:1:: Last update: Sat Dec 7 04:27:16 2024 router2# show ip route vrf Vrf1 192.168.11.0 Routing entry for 192.168.11.0/24 Known via "bgp", distance 20, metric 0, vrf Vrf1, best Last update 00:01:31 ago 1::1(vrf default) (recursive), label 16, seg6 100:1::100,200:1::200, srv6(endpoint|color):1::1|100, weight 1 * fe80::a8c1:abff:fe5c:7e19, via eth3(vrf default), label 16, seg6 100:1::100,200:1::200, srv6(endpoint|color):fe80::a8c1:abff:fe5c:7e19|0, weight 1 * fe80::a8c1:abff:feb5:6de9, via eth4(vrf default), label 16, seg6 100:1::100,200:1::200, srv6(endpoint|color):fe80::a8c1:abff:feb5:6de9|0, weight 1 frr@router2:/$ ip route show vrf Vrf1 192.168.11.0/24 nhid 74 proto bgp metric 20 nexthop encap seg6 mode encap segs 2 [ 100:1::100 200:1::200 ] via inet6 fe80::a8c1:abff:fe5c:7e19 dev eth3 weight 1 nexthop encap seg6 mode encap segs 2 [ 100:1::100 200:1::200 ] via inet6 fe80::a8c1:abff:feb5:6de9 dev eth4 weight 1 192.168.15.0/24 nhid 74 proto bgp metric 20 nexthop encap seg6 mode encap segs 2 [ 100:1::100 200:1::200 ] via inet6 fe80::a8c1:abff:fe5c:7e19 dev eth3 weight 1 nexthop encap seg6 mode encap segs 2 [ 100:1::100 200:1::200 ] via inet6 fe80::a8c1:abff:feb5:6de9 dev eth4 weight 1 192.168.23.0/24 dev eth1 proto kernel scope link src 192.168.23.1 192.168.25.0/24 dev eth5 proto kernel scope link src 192.168.25.1 frr@router2:/$ Signed-off-by: guozhongfeng.gzf <[email protected]>
- Loading branch information