03-23-2012 06:45 AM - edited 03-04-2019 03:46 PM
How to display all tagged routes?
I am redistributing bgp routes into ospf - I tagged all routes and I would like a quick way to display all tagged routes.
Right now, I can verify each tagged route one by one. But rather do it with one single command if possible.
Rack1R5#sh ip route 28.119.16.0
Routing entry for 28.119.16.0/24
Known via "ospf 1", distance 110, metric 6000
Tag 9999, type extern 2, forward metric 65
Redistributing via eigrp 100
Advertised by eigrp 100 metric 1000 10 255 1 1500
Last update from 183.1.0.4 on Serial0/1/0, 00:17:39 ago
Routing Descriptor Blocks:
* 183.1.0.4, from 150.1.6.6, 00:17:39 ago, via Serial0/1/0
Route metric is 6000, traffic share count is 1
Route tag 9999
which command should I use to display all tagged routes?
03-30-2012 04:36 AM
Hi,
you cannot view the routing table with tagged routes but you can surely scan the ospf database for tagged routes. use the following command
sh ip ospf summary-address | inc tag 9999
This is the best that you can get.
Please do mark if helpfull
Regards,
Rustom Billimoria
CCIE R&S# 24798
Sent from my BlackBerry® smartphone from Tata Indicom
01-30-2024 07:06 PM
Show ospfv3 rib detail <>
R4#sho ospfv3 rib det
OSPFv3 10 address-family ipv4 (router-id 4.4.4.4)
* 10.1.0.0/24, Intra, cost 65/0, area 0
source 3.3.3.3, tag 0
via 172.16.1.1, Serial2/0
* 10.1.1.0/24, Intra, cost 65/0, area 0
source 3.3.3.3, tag 0
via 172.16.1.1, Serial2/0
* 10.1.2.0/24, Intra, cost 65/0, area 0
source 3.3.3.3, tag 0
via 172.16.1.1, Serial2/0
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide