Tunnel accounting configuration examples – Cisco 10000 User Manual

Page 211

Advertising
background image

5-47

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

ppp authorization vpn1

ppp accounting vpn1

!

!Associates the VRF with the virtual template interface.

interface Virtual-Template2

ip vrf forwarding vpn2

ip unnumbered Loopback2

no peer default ip address

ppp authentication chap vpn2

ppp authorization vpn2

ppp accounting vpn2

!

!Enters the VRFs in the routing table.

ip classless

ip route vrf vpn1 192.168.4.2 255.255.255.0 192.168.5.3

ip route vrf vpn2 192.168.4.2 255.255.255.0 192.168.5.4

no ip http server

ip pim bidir-enable

!

!Configures RADIUS-specific command for the VRF to force RADIUS to use the IP address of a

!specified interface for all outgoing RADIUS packets.

ip radius source-interface GigabitEthernet7/0/0.1 vrf vpn1

ip radius source-interface GigabitEthernet7/0/0.2 vrf vpn2

no cdp run

!

!radius-server retransmit is on by default and cannot be removed.

radius-server retransmit 3

!Configures optional features such as domain-name stripping and RADIUS attribute filter.

radius-server domain-stripping vrf vpn1

radius-server domain-stripping vrf vpn2

radius-server attribute 44 include-in-access-req vrf vpn1

radius-server attribute 44 include-in-access-req vrf vpn2

radius-server attribute list vpn1-autho-list

attribute 26,200-220

!

radius-server attribute list vpn1-account-list

attribute 60-70

!

Tunnel Accounting Configuration Examples

This section provides the following configuration examples:

LNS Tunnel Accounting Configuration Example, page 5-48

RADIUS Tunnel Accounting Records, page 5-49

Advertising