Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

how to display all tagged routes?

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?

Everyone's tags (2)
1 REPLY
New Member

how to display all tagged routes?

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

3737
Views
0
Helpful
1
Replies
CreatePlease login to create content