Summary
Add the ability to set a tag for the static routes
Example configuration In the FRR
r14(config)# ip route 192.0.2.66/32 192.0.2.1 tag 666
r14(config)#
r14# show ip route tag 666
Codes: 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
S>* 192.0.2.66/32 [1/0] via 192.0.2.1, eth1, weight 1, 00:00:18
r14#Use case
Show/redistribute routes with a specific tag.
Proposed CLI:
set protocols static route 192.0.2.66/32 next-hop 192.0.2.1 tag 666