Using RADIUS Route-Download Server to Distribute Routes

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.

Format of Downloaded Routes

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

Framed-Route (RADIUS attribute 22)

NAS-1 Password = “14raddlsvr” User-Service-Type = Outbound-UserFramed-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”

Cisco-AVPair (Cisco VSA 26-1)

NAS-1 Password = “14raddlsvr” User-Service-Type = Outbound-Usercisco-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.

How the Route-Download Server Downloads Routes

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:

Configuring the Route-Download Server to Download Routes

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:

  1. Specify the IP address and the key of the RADIUS server that you want to download routes.
    host1(config)#radius route-download server 192.168.1.17 host1(config-radius)#key 35radsrv92
  2. (Optional) Specify the UDP port used for RADIUS route-download server requests.
    host1(config-radius)#udp-port 1812 host1(config-radius)#exit host1(config)#
  3. Enable the route-download feature and optionally modify default parameters as needed.
    host1(config)#aaa route-download 1200 retry-interval 25 password dl1456atl synchronization 03:45:00
  4. (Optional) Verify your route-download configuration:
    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

aaa route-download now

aaa route-download suspend

clear ip routes download

radius route-download server