[j-nsp] OSPF Route Tags

Jared Gull jmgull at yahoo.com
Fri Dec 23 14:32:49 EST 2005


GK,

Try using the |match filtering feature.  Here's an
example:

[edit]
lab at R2# run show route protocol ospf 

inet.0: 19 destinations, 24 routes (19 active, 0
holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both

0.0.0.0/0          *[OSPF/150] 2d 00:03:47, metric 20,
tag 0
                      to 10.0.4.1 via fxp2.0
                    > to 10.0.4.9 via fxp3.0
10.0.4.12/30       *[OSPF/10] 2d 00:03:47, metric 20
                      to 10.0.4.5 via fxp1.0
                    > to 10.0.4.1 via fxp2.0
10.0.5.0/24         [OSPF/150] 2d 00:03:47, metric 10,
tag 420
                    > to 10.0.4.5 via fxp1.0
10.0.6.1/32        *[OSPF/10] 2d 00:03:47, metric 10
                    > to 10.0.4.5 via fxp1.0
224.0.0.5/32       *[OSPF/10] 1w1d 04:35:00, metric 1
                      MultiRecv

[edit]
lab at R2# run show route protocol ospf |match "tag 420" 
10.0.5.0/24         [OSPF/150] 2d 00:04:12, metric 10,
tag 420

[edit]
lab at R2# 

Hope this helps.

Jared Gull

--- Jee Kay <jeekay at gmail.com> wrote:

> Is there any way to display all routes that carry a
> given OSPF tag? We
> use a few different tags to limit distribution to
> places (much in the
> same way we use BGP communities), but unlike with
> communities I can't
> find a simple way to say 'show me all OSPF routes
> with tag 100'. Is
> this possible?
> 
> Thanks,
> GK
> 
> _______________________________________________
> juniper-nsp mailing list juniper-nsp at puck.nether.net
> http://puck.nether.net/mailman/listinfo/juniper-nsp
> 



	
		
__________________________________ 
Yahoo! for Good - Make a difference this year. 
http://brand.yahoo.com/cybergivingweek2005/


More information about the juniper-nsp mailing list