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

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

Routing entry for

  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 on Serial0/1/0, 00:17:39 ago

  Routing Descriptor Blocks:

  *, from, 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)
New Member

how to display all tagged routes?


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


Rustom Billimoria

CCIE R&S# 24798

Sent from my BlackBerry® smartphone from Tata Indicom

CreatePlease login to create content