Optional configuration tasks for lns – Cisco 10000 User Manual

Page 194

Advertising
background image

5-30

Cisco 10000 Series Router Software Configuration Guide

OL-2226-23

Chapter 5 Configuring the Layer 2 Tunnel Protocol Access Concentrator and Network Server

L2TP Network Server

Example 5-12 Configuring the LNS

!Configures the VRF.

ip vrf vpn-1

rd 1100:1

!

!Configures the virtual template interface and associates the VRF to it.

interface virtual-template 1

ip vrf forwarding vpn-1

ip unnumbered loopback

ppp authentication chap

!

!Configures a VPDN group to ensure that all the sessions for a particular tunnel get the

same virtual template and thus the same VRF.

vpdn enable

vpdn-group 1

accept-dialin

protocol 12tp

virtual-template 1

terminate-from hostname lac1-vpn1

local name r4-1

12tp tunnel password 7 1511021F0725

12tp tunnel receive-window 100

12tp tunnel retransmit retries 7

12tp tunnel retransmit timeout min 2

Optional Configuration Tasks for LNS

To configure the Cisco 10000 series router as an LNS, perform as many of the following configuration
tasks as desired. All of these configuration tasks are optional.

Configuring per VRF AAA Services, page 5-31

Configuring a VRF on the LNS, page 5-36

Configuring Sessions per Tunnel Limiting on the LNS, page 5-36

Configuring RADIUS Attribute Accept or Reject Lists, page 5-37

Configuring the LNS for RADIUS Tunnel Accounting, page 5-39

Configuring the LNS for RADIUS Tunnel Authentication, page 5-42

Step 6

Router(config-vpdn-acc-in)# protocol 12tp

Specifies the Layer 2 Tunnel Protocol.

Step 7

Router(config-vpdn-acc-in)# virtual-template

template-number

Specifies the virtual template to be used to clone virtual
access interfaces.

Step 8

Router(config-vpdn-acc-in)# exit

Returns to VPDN group configuration mode.

Step 9

Router(config-vpdn)# terminate-from hostname

host-name

Specifies the host name of the remote L2TP access
concentrator (LAC) that will be required when accepting a
VPDN tunnel.

Command

Purpose

Advertising