cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1212
Views
0
Helpful
1
Replies

static route administrative distance via radius

aspakom
Level 1
Level 1

I have a router with two adsl lines, one primary, one backup, terminated to the same LNS. I want to assign a static route for the same network to each of them with a higher administrative distance for the second and I want to do it via radius using cisco av-pair.

So far I haven't found any link showing that it can be done.

I have found this: Cisco-AVPair = ?ip:route=20.1.3.0 255.255.255.0 172.31.229.41"

but never anything like this:

Cisco-AVPair = ?ip:route=20.1.3.0 255.255.255.0 172.31.229.41 200"

Can you please tell me if it can be done or provide a link?

Thank you in advance.

1 Reply 1

dsweeny
Level 3
Level 3

You can use the command "Cisco-AVPair = ?ip:route=20.1.3.0 255.255.255.0 172.31.229.41 200" with RADIUS if you configure it for route download (aaa route download). Some other options to be made are Framed IP address and Net masks should be configured.

As a sample configuration

cisco-avpair = "ip:route=172.18.7.0 255.255.255.0 10.254.40.7 180"

Service-Type = Framed-User

Framed-Protocol = PPP

Framed-IP-Address = 10.254.40.7

Framed-IP-Netmask = 255.255.255.255

Framed-Routing = None

Framed-MTU = 1500

aaa route download

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card