route-map

Unanswered Question
Nov 11th, 2008

guys can we put just a prefix-list in route-map....like for example


router ospf 3

redistribute rip subnets route-map external


route-map external

ip prefix-list external permit X.X.X.X/X


i have seen this config and its without set and match its bit wired for me as i have never seen this config before??? is it right??? secondly on OSPF on ASBR when we redistrubte other protocols which metric we shd put how we calculate that which metric of ospf shd be tagged...i m bit weak in redistribution can someone please tell me thismagic.....thanks alot

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
vaisharm Wed, 11/12/2008 - 00:59


Hi,


You can match an ACL or a prefix-list under a route-map but you can not included the prefix-list command itself.


See the outputs from the CLI below:


R6(config)#route-map external

R6(config-route-map)#?

Route Map configuration commands:

continue Continue on a different entry within the route-map

default Set a command to its defaults

description Route-map comment

exit Exit from route-map configuration mode

help Description of the interactive help system

match Match values from routing table

no Negate a command or set its defaults

set Set values in destination routing protocol


R6(config-route-map)#match ip address ?

<1-199> IP access-list number

<1300-2699> IP access-list number (expanded range)

WORD IP access-list name

prefix-list Match entries of prefix-lists


R6(config-route-map)#match ip address pre

R6(config-route-map)#match ip address prefix-list ?

WORD IP prefix-list name


match ip address

http://www.cisco.com/en/US/docs/ios/12_3/iproute/command/reference/ip2_k1g.html#wp1058320


-----


When you redistribute any protocol into OSPF if you do not specify the metric, the default cost of 1 is applied for BGP and 20 for all other protocols. Changing the metirc or tagging any specific routes while redistributing depends on the requirements and is not mandatory.


http://www.ciscopress.com/articles/article.asp?p=27573


HTH,

~Vaibhav

Actions

This Discussion