JunosE 11.2.x Broadband Access Configuration Guide
Mapping User Domain Names to L2TP Tunnels from Tunnel Group Tunnel Mode
356
tunnel group
type
To map a domain to an L2TP tunnel locally on the router from Tunnel Group Tunnel
Configuration mode, perform the following steps:
Specify an AAA tunnel group and change the mode to Tunnel Group Tunnel
1.
Configuration mode. From Tunnel Group Tunnel Configuration mode, you can add
up to 31 tunnel definitions.
host1(config)#aaa tunnel-group westford
host1(config-tunnel-group)#
Specify a tunnel to configure and enter Tunnel Group Tunnel Configuration mode:
2.
host1(config-tunnel-group)#tunnel 3
host1(config-tunnel-group-tunnel)#
Specify a virtual router; in this case, the default router is specified.
3.
host1(config-tunnel-group-tunnel)#router-name default
Specify the LNS endpoint address of a tunnel.
4.
host1(config-tunnel-group-tunnel)#address 192.0.2.13
Specify a preference for the tunnel.
5.
You can specify up to eight levels of preference, and you can assign the same
preference to a maximum of 31 tunnels. When you define multiple preferences for
a destination, you increase the probability of a successful connection.
host1(config-tunnel-group-tunnel)#preference 5
(Optional) Specify an authentication password for the tunnel.
6.
host1(config-tunnel-group-tunnel)#password temporary
NOTE: If you specify a password for the LAC, the router requires that the peer (the LNS)
authenticate itself to the router. In this case, if the peer fails to authenticate itself, the
tunnel terminates.
(Optional) Specify a hostname for the LAC end of the tunnel.
7.
The LAC sends the hostname to the LNS when communicating to the LNS about
the tunnel. The hostname can be up to 64 characters (no spaces).
host1(config-tunnel-group-tunnel)#client-name host4.
NOTE: If the LNS does not accept tunnels from unknown hosts, and if no hostname is
specified, the LAC uses the router name as the hostname.
Copyright © 2010, Juniper Networks, Inc.