■
A and B at preference 0
■
C and D at preference 1
When the router attempts to connect to the domain, suppose it randomly selects
tunnel B from preference 0. If it fails to connect to tunnel B, the router excludes
tunnel B for five minutes and attempts to connect to tunnel A. If this attempt also
fails, the router drops to preference 1. Then suppose the router selects tunnel C. If
it also fails to connect to tunnel C, the router excludes tunnel C for five minutes and
attempts to connect to tunnel D.
■
To enable tunnel selection failover within a preference level:
host1(config)#
l2tp fail-over-within-preference
Configuring the Maximum Sessions per Tunnel
You can configure the maximum number of sessions per tunnel, either through a
RADIUS server or the command-line interface. If you set the maximum sessions per
tunnel parameter, the router takes the setting into consideration when it selects a
tunnel. If a randomly selected tunnel has a current session count equal to its
maximum session count, the router does not attempt to contact that tunnel. Instead,
it makes an alternate tunnel selection from the set of reachable tunnels at the same
preference level. If no additional reachable tunnels exist at the current preference
level, the router drops to the next lower preference level to make the next selection.
This process is consistent, regardless of which fail-over scheme is currently running
on the router. A tunnel without a configured maximum sessions value has no upper
limit on the number of sessions it can support.
The router uses a default value of 0 (zero), which allows unlimited sessions in the
tunnel.
■
To configure the maximum sessions per tunnel.
host1(config)#
aaa domain-map lacOne
host1(config-domain-map)#
tunnel 1
host1(config-domain-map-tunnel)#
max-sessions 1500
Configuring the Weighted Load Balancing Method
With the weighted load-balancing method, the router uses the maximum sessions
per tunnel to choose among multiple tunnels that share the same preference level.
The weight of a tunnel is proportional to its maximum session limit and the maximum
session limits of the other tunnels at the same preference level. The tunnel with the
largest maximum session value has the largest weight; the tunnel with the next largest
maximum session value has the next largest weight, down to the tunnel with the
smallest maximum session value that has the smallest weight. The router uses a
round-robin tunnel selection method by default.
■
To configure the router to base tunnel selection within a preference level on the
maximum sessions per tunnel.
366
■
Configuring the Maximum Sessions per Tunnel
JUNOSe 11.0.x Broadband Access Configuration Guide
Содержание JUNOSE 11.0.X MULTICAST ROUTING
Страница 6: ...vi...
Страница 28: ...xxviii Table of Contents JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 36: ...xxxvi List of Tables JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 42: ...2 Managing Remote Access JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 204: ...164 Managing RADIUS and TACACS JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 274: ...234 CLI Commands Used to Modify RADIUS Attributes JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 292: ...252 Monitoring RADIUS Relay Server JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 336: ...296 RADIUS Client Terminate Reasons JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 368: ...328 Managing L2TP JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 408: ...368 Configuring the Weighted Load Balancing Method JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 444: ...404 PPP Accounting Statistics JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 492: ...452 Monitoring Operational Status within the Current VR Context JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 494: ...454 Managing DHCP JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 510: ...470 DHCP Local Server Configuration Tasks JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 528: ...488 Configuring the Router to Work with the SRC Software JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 556: ...516 Configuring DHCP Relay Proxy JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 616: ...576 Managing the Subscriber Environment JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 632: ...592 Subscriber Management Configuration Examples JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 636: ...596 Monitoring Active IP Subscribers Created by Subscriber Management JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 672: ...632 Monitoring Active IP Subscribers Created by Subscriber Management JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 674: ...634 Managing Subscriber Services JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 767: ...Part 7 Index Index on page 729 Index 727...
Страница 768: ...728 Index JUNOSe 11 0 x Broadband Access Configuration Guide...