cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
11695
Views
0
Helpful
2
Replies

how to display all tagged routes?

tititech2009
Level 1
Level 1

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?

2 Replies 2

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

Captain82
Level 1
Level 1

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

Review Cisco Networking for a $25 gift card