Hi,
Tagging routes can help to ease administration especially if the routes need to be re-exported / re-distributed.
It also comes handy when you want to manipulate dynamic routes [Import / Export] etc.
Example:
routing-options { static { route 10.10.10.0/24 { next-hop 192.168.1.1; tag 110; } route 10.20.20.0/24 { next-hop 192.168.2.1; tag 90; } } } policy-options { policy-statement EXPORT-BGP-LOCAL-PREF { term PREF-110 { from { protocol static; tag 110; } then { local-preference 110; accept; } } term PREF-90 { from { protocol static; tag 90; } then { local-preference 90; accept; } } } }
Cheers,
Ashvin