[c-nsp] Increase distance of static route created through Freeradius
Darren O'Connor
Darren.O'Connor at hso.uk.com
Fri Jun 24 05:03:53 EDT 2011
Hi all.
We currently use Freeraidus which has been configured to add routes to
customers networks into a VRF on our core Cisco boxes.
This all works perfectly, however I'd like to increase the distance of
the static route created. I need it to be higher than OSPF so maybe 125.
As an example, this is a radius account:
test.account Password = "testing"
Framed-IP-Address += 10.1.3.65,
Framed-IP-Netmask += 255.255.255.252,
Cisco-Avpair += "lcp:interface-config=ip vrf forwarding Test\nip
unnumbered lo1500",
Cisco-Avpair += "ip:route=10.1.3.64 255.255.255.252",
Cisco-Avpair += "ip:route=10.1.75.0 255.255.255.0"
This is the route created on the core Cisco:
xxx.xxx#sh ip route vrf Test 10.1.75.0
Routing entry for 10.1.75.0/24
Known via "static", distance 1, metric 0
Redistributing via ospf 421
Advertised by ospf 421 subnets route-map Permit_Test
Routing Descriptor Blocks:
* 10.1.3.65
Route metric is 0, traffic share count is 1
Can the Cisco Avpair be changed to give a higher distance instead of the
Cisco using the default of 1?
Kind Regards
Darren O'Connor
Senior Network Engineer
hSo
_____________________________________________________________________
This e-mail and all attachments have been scanned by the hSo virus scanning service powered by Webroot and no known viruses were detected.
More information about the cisco-nsp
mailing list