![Cisco L2TP Скачать руководство пользователя страница 11](http://html.mh-extra.com/html/cisco/l2tp/l2tp_manual_67145011.webp)
Creating and Binding LNS Service
Use the following example to create the LNS service and bind the IP address to it:
configure
context
<
dest_ctxt_name
>
-noconfirm
lns-service
<
lns_svc_name
> -noconfirm
bind address
<
ip_address
>
[ max-subscribers
<
max_subscriber
>
]
end
Notes:
• LNS service has to be configured in destination context.
• Bind address is the interface address that is to serve as an L2TP PDN interface.
• Multiple addresses on the same IP interface can be bound to different LNS services. However, each
address can be bound to only one LNS service. In addition, the LNS service can not be bound to the same
interface as other services such as a LAC service.
Configuring Authentication Parameters for LNS Service
Use the following example to authentication parameters for LNS service:
configure
context
<
dest_ctxt_name
>
lns-service
<
lns_svc_name
>
authentication { { [ allow-noauth | chap
<
pref
>
| mschap
<
pref
>
| | pap <
pref
>
] } | msid-auth }
end
Note:
• For more information on authentication procedure and priorities, refer
authentication
command section
in LNS Configuration Mode Commands chapter of the
Command Line Interface Reference
.
Configuring Tunnel and Session Parameters for LNS Service
Use the following example to configure the tunnel and session parameters for LNS service:
configure
context
<
dest_ctxt_name
>
lns-service
<
lns_svc_name
>
max-tunnel
<
max_tunnels
>
max-session-per-tunnel
<
max_sessions
>
end
Note:
• For more information on tunnel and session related parameters, refer LNS Configuration Mode Commands
chapter of the
Command Line Interface Reference
.
L2TP Network Server
11
L2TP Network Server
Creating and Binding LNS Service