BGP (non-existent) metric matching !?

From: Huizinga, Rene (rhuizinga@upcbroadband.com)
Date: Thu Jul 17 2008 - 23:20:15 ART


Hi Guys,

Would have a question in regards to metric-matching.

If you'd implement 'bgp bestpath med missing-as-worst' but would want to
make an exception for 1 or more external peers, without knowing up front
what's going to get advertised, nor wanting to overwrite MED on all
that's advertised, you'd need some way to either exclude this feature
for those sessions (probably not possible) or would need to be able to
match on prefixes missing MED and setting a pre-defined value for them.

Is this possible ??

Been doing some checks and came to a weird finding... (late IOS 12.0S)

router1(config)#route-map renren perm 5
router1(config-route-map)#match metric ?
  <0-4294967295> Metric value
  <cr>

router1(config-route-map)#match metric
router1(config-route-map)#do sh route-map renren
route-map renren, permit, sequence 5
  Match clauses:
  Set clauses:
  Policy routing matches: 0 packets, 0 bytes
router1(config-route-map)#do sh run | b ^route-map renren
route-map renren permit 5
!
route-map AS123 permit 10
[...]

Without the 'match metric' , which gives the indication to match any
prefix tagged with a MED of whatever value, showing in the route-map
config I'd say this is a bug and IOS would default to match anything...

Anyone any ideas ?

TIA!
Rene.



This archive was generated by hypermail 2.1.4 : Mon Aug 04 2008 - 06:11:55 ART