Cisco Cisco ASR 5700
APN Configuration Mode Commands
▀ tunnel l2tp
▄ Command Line Interface Reference, StarOS Release 17
1468
preference
num
Default: 1
Specifies the preference of the tunnel if the LAC service communicates with multiple LNS nodes.
Specifies the preference of the tunnel if the LAC service communicates with multiple LNS nodes.
preference
can be configured to any integer value from 1 to 128.
tunnel-context
name
Specifies the name of the destination context on the system in which the LAC service(s) is configured.
name
must be an alphanumeric string of 1 through 79 characters and is case sensitive.
Important:
If this option is not configured, the system will attempt to determine the name of the destination
context from the ip context-name parameter configured for the APN.
local-address
ip-address
Specifies the IP address of an interface that is bound to a LAC service. This is a mechanism to dictate which
LAC service to use to facilitate the subscriber’s L2TP session.
LAC service to use to facilitate the subscriber’s L2TP session.
address
is the IP address of the interface in IPv4 dotted-decimal notation.
Important:
If the address configured does not exist or is not bound to a LAC service, the system will
automatically choose a LAC service to use.
local-hostname
hostname
This keyword configures LAC-Hostname to be used for the communication with the LNS peer for this APN.
When Tunnel parameters are not received from the RADIUS server, Tunnel parameters configured in APN
are considered for the LNS peer selection. When APN Configuration is selected, local-hostname configured
with the “tunnel l2tp” command in the APN for the LNS peer will be used as a LAC Hostname.
When Tunnel parameters are not received from the RADIUS server, Tunnel parameters configured in APN
are considered for the LNS peer selection. When APN Configuration is selected, local-hostname configured
with the “tunnel l2tp” command in the APN for the LNS peer will be used as a LAC Hostname.
Important:
For this configuration to take effect
allow aaa-assigned-hostname
command, which is used to
configure LAC-Hostname based on the “Tunnel-Client-Auth-ID” attribute received from the RADIUS server, needs to
be configured in the LAC Service Configuration mode.
be configured in the LAC Service Configuration mode.
hostname
is name of the local host for the LNS peer and must be an alphanumeric string of 1 through 127
characters.
When Tunnel parameters are not received from the RADIUS Server, Tunnel parameters configured in APN
will be considered for the LNS peer selection. When APN Configuration is selected, the local hostname
When Tunnel parameters are not received from the RADIUS Server, Tunnel parameters configured in APN
will be considered for the LNS peer selection. When APN Configuration is selected, the local hostname
hostname
configured with this command in the APN for the LNS peer will be used as a LAC Hostname.
crypto-map
map_name
{ [ encrypted ] secret
crypto_secret
}
Configures the IPSec crypto-map policy that is to be associated with this L2TP tunnel configuration for
secure L2TP.
secure L2TP.
map_name
is the name of a crypto-map policy configured on the system expressed as an alphanumeric string
of 1 through 127 characters and is case sensitive.
encrypted
is intended only for use by the system while saving configuration scripts. The system displays
the encrypted keyword in the configuration file as a flag that the variable following the secret keyword is the
encrypted version of the plain text secret. Only the encrypted secret is saved as part of the configuration file.
encrypted version of the plain text secret. Only the encrypted secret is saved as part of the configuration file.
secret
specifies the secret associated with the crypto-map policy.
crypto_secret
can be from 0 to 255
bytes.