The JUNOSe RADIUS route-download server provides periodic automatic distribution of IPv4 static access routes, which enables preconfiguration and preadvertising of access routes before they are assigned to clients. Using the route-download server helps eliminate routing protocol storms and other delays in client service activation that can be caused by protocol convergence or a large number of simultaneous customer activations.
The RADIUS route-download server periodically sends a RADIUS Access-Request message to the RADIUS server to request that routes be downloaded. The RADIUS server then responds with an Access-Accept message and downloads the configured routes. When the download operation is complete, the route-download server installs the access routes in the routing table.
JUNOSe software supports the creation of one RADIUS route-download server per chassis.
The RADIUS server sends the downloaded routes to the RADIUS route-download server in the following format:
- [ { vir | virtual-router } virtualRouterName ] [ vrf vrfName ] prefix-mask [ { null0 | null
0 } [ cost ] ] [ tag tagValue ]
The route-download server accepts downloaded routes in either the Framed-Route attribute (RADIUS attribute 22) or the Cisco-AVpair attribute (Cisco VSA 26-1).
Downloaded Route Format Examples
- NAS-1 Password = “14raddlsvr” User-Service-Type
= Outbound-User
- Framed-Route = “192.168.3.0 255.255.255.0 null0”
- Framed-Route = “vrf vrfboston 192.168.1.0/24 null
0 0 tag 6”
- Framed-Route = “vir host1 vrf vrfsunny 192.168.0.0/16
null0 0 tag 8”
- NAS-1 Password = “14raddlsvr” User-Service-Type
= Outbound-User
- cisco-avpair = “ip:route = 192.168.3.0 255.255.255.0
null0”
- cisco-avpair = “ip:route = vrf vrfboston 192.168.1.0/24
null 0 0 tag 6”
- cisco-avpair = “ip:route = vir host1 vrf vrfsunny
192.168.0.0/16 null0 0 tag 8”
![]() |
Note: The prefix-mask entry in downloaded routes can be in the form of prefix length, prefix mask, or prefix. If prefix is used, the mask is determined by the IP address class of the prefix. |
The route-download server starts the initial route-download operation (for example, after a system reboot or the first time the route-download server is enabled) as soon as IP is established in the virtual router in which the download is performed. After the initial route-download process is established, the router repeats the route download operation based on either the default download schedule or the schedule you specify. You can also initiate an immediate route download at any time.
The RADIUS route-download server downloads routes in two stages—first, all routes are downloaded from the RADIUS server to the router’s download database and examined for errors. Next, the router updates the routing table with the new routes, using the following guidelines:
When you configure the E-series router as a route-download server, you specify the RADIUS server that you want to download the routes to your router. You can also modify the route-download server’s default configuration parameters, such as when to start the download process each day, how often to downloaded routes, and how long to wait after a download error before retrying the process.
To configure a RADIUS route-download server:
- host1(config)#radius route-download server
192.168.1.17
- host1(config-radius)#key 35radsrv92
- host1(config-radius)#udp-port 1812
- host1(config-radius)#exit
- host1(config)#
- host1(config)#aaa route-download 1200 retry-interval
25 password dl1456atl synchronization
03:45:00
host1(config)#exit host1#show aaa route-download
AAA Route Downloader: configured in virtual router default Download Interval: 1200 minutes Retry Interval: 25 minutes Default Cost: 2 Default Tag: 0 Base User Name: <HOSTNAME> Password: dl1456atl Synchronization: 03:45:00
Status: downloading Last Download Attempt: TUE FEB 9 22:07:30 2007 Last Download Success: <NEVER> Last Regular Download: not complete Next Download Scheduled: <DOWNLOAD ACTIVE> Next Regular Download: WED FEB 9 22:27:00 2007
aaa route-download
![]() |
Note: If the download interval is less than the retry interval, the server ignores the retry interval setting. |
- host1(config)#aaa route-download 1200 retry-interval
25 password dl1456atl synchronization
03:45:00
aaa route-download now
- host1#aaa route-download now force adjust-scheduler
aaa route-download suspend
- host1#aaa route-download suspend
clear ip routes download
![]() |
Note: Clear commands fail if the route-download server is in the process of downloading routes from the RADIUS server. |
- host1#clear ip routes download *
- host1#clear ip routes download vrf NY12 192.168.50.102
255.255.0.0
- host1#clear ip routes download all
radius route-download server
![]() |
Note: When the RADIUS route-download server is enabled, the router ignores the radius rollover-on-reject enable command—the radius rollover-on-reject enable command has no effect for a RADIUS route-download server. |
- host1(config)#radius route-download server
10.10.5.10
- host1(config-radius)#