Cisco 10000 User Manual

Page 210

Advertising
background image

5-46

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

accept-dialin

protocol l2tp

virtual-template 1

terminate-from hostname lac1-vpn1

local name r4-1

lcp renegotiation on-mismatch

l2tp tunnel password 7 1511021F0725

l2tp tunnel receive-window 100

l2tp tunnel retransmit retries 7

l2tp tunnel retransmit timeout min 2

!

!Terminates the tunnel from the LAC.

vpdn-group 2

accept-dialin

protocol l2tp

virtual-template 2

terminate-from hostname lac1-vpn2

local name r4-2

lcp renegotiation on-mismatch

l2tp tunnel password 7 121A0C041104

l2tp tunnel receive-window 100

l2tp tunnel retransmit retries 7

l2tp tunnel retransmit timeout min 2

!

!

!Associates the VRF with the interface.

interface Loopback1

ip vrf forwarding vpn1

ip address 10.1.1.1 255.255.255.255

!

interface Loopback2

ip vrf forwarding vpn2

ip address 10.1.2.1 255.255.255.255

!

interface FastEthernet0/0/0

no ip address

shutdown

!

!Configures the interface used to connect to the LAC.

interface GigabitEthernet6/0/0

ip address 10.1.1.45 255.255.255.0

negotiation auto

!

interface GigabitEthernet7/0/0

no ip address

negotiation auto

!

!Associates the VRF with the interface.

interface GigabitEthernet7/0/0.1

encapsulation dot1Q 11

ip vrf forwarding vpn1

ip address 192.168.1.1 255.255.255.0

!

interface GigabitEthernet7/0/0.2

encapsulation dot1Q 12

ip vrf forwarding vpn2

ip address 192.168.2.1 255.255.255.0

!

!Associates the VRF with the virtual template interface.

interface Virtual-Template1

ip vrf forwarding vpn1

ip unnumbered Loopback1

no peer default ip address

ppp authentication chap vpn1

Advertising