In the previous post, we discussed the SR-Static policy on the local router. Do we have the option to create a policy and advertise to other routers in the network? Then yes, it is possible to send the SR policy from the centralized controller or from the SR-OS routers within the network.
Let’s configure and advertise the SR policy from ASBR1 using BGP for PE3 to PE5.
It’s like the previous configuration, but the only difference is we mention the headend router ip address of PE3.
PE3 to PE5 SR policy
Enabling the sr-policy ipv4 in bgp family and importing the sr-policy, the sr-policy-import command in bgp allows the static policy to be advertised in BGP except for the local policy.
Enabling the sr-policy-ipv4 family under BGP neighbors
SR-policy advertisement from ASBR1
BGP advertisement of SR policy
PE3 to PE6 sr-policy verification
LSP trace confirms the traffic via the sr-policy path
SR-Policy Route installed in the tunnel table
PE5: Adding color to the route
advertisement from PE5 to PE3
Add the policy in VPRN import/export policy
We can see the PE5 adding the color while
advertising the routes to PE3
SR-policy applied for the route towards PE5
Ping between PE3 and PE5 via SR policy
No comments:
Post a Comment