Remote Access Mpls VPNS: Finding Feature Information
Remote Access Mpls VPNS: Finding Feature Information
The Remote Access MPLS VPNs feature allows the service provider to offer a scalable end-to-end Virtual
Private Network (VPN) service to remote users. This feature integrates the Multiprotocol Label Switching
(MPLS)-enabled backbone with broadband access capabilities.
MPLS: Layer 3 VPNs Configuration Guide, Cisco IOS XE Release 3S (Cisco ASR 1000)
1
Remote Access MPLS VPNs
Restrictions for Remote Access MPLS VPNs
• The provider edge (PE) devices that belong to the same VPN must be configured with the same VPN
ID. The VPN ID must be unique to the service provider network.
MPLS: Layer 3 VPNs Configuration Guide, Cisco IOS XE Release 3S (Cisco ASR 1000)
2
Remote Access MPLS VPNs
MPLS VPN Architecture
associated with those CE devices. The PE device does not have knowledge of the routes to VPNs whose
associated CE devices are not connected to it.
• Provider (P) devices--The service provider devices that comprise the provider’s core network. The P
devices do not assign VPN information and they do not have any knowledge of CE devices. Instead,
the main focus of the P device is on label switching.
MPLS: Layer 3 VPNs Configuration Guide, Cisco IOS XE Release 3S (Cisco ASR 1000)
3
Remote Access MPLS VPNs
PPP over Ethernet to MPLS VPN
In the figure above, the service provider operates an MPLS VPN that interconnects all customer sites. The
service provider’s core network is an MPLS backbone with VPN service capability. The service provider
provides all remote access operations to its customer. The network-side interfaces are tagged interfaces,
logically separated into multiple VPNs.
Remote access is provided using a PPPoE connection. In this model, when a remote user attempts to establish
a connection with a corporate network, a PPPoE session is initiated and is terminated on the service provider’s
virtual home gateway (VHG) or provider edge (PE) device. All remote hosts connected to a particular customer
edge (CE) device must be part of the VPN to which the CE device is connected.
The PPPoE to MPLS VPN architecture is a flexible architecture with the following characteristics:
• A remote host can create multiple concurrent PPPoE sessions, each to a different VPN.
• If multiple remote hosts exist behind the same CE device, each remote host can log in to a different
VPN.
• Any remote host can log in to any VPN at any time because each VHG or PE device has the virtual
routing and forwarding (VRF) instances for all possible VPNs preinstantiated on it. This configuration
requires that the VRF be applied through the RADIUS server, which can cause scalability issues.
The following events occur as the VHG or PE device processes the incoming PPPoE session:
1 A PPPoE session is initiated over the broadband access network.
2 The VHG/PE device accepts and terminates the PPPoE session.
3 The VHG/PE device obtains virtual access interface (VAI) configuration information:
• The VHG/PE obtains a virtual template interface configuration information, which typically includes
VRF mapping for sessions.
MPLS: Layer 3 VPNs Configuration Guide, Cisco IOS XE Release 3S (Cisco ASR 1000)
4
Remote Access MPLS VPNs
How to Configure Remote Access MPLS VPNs
• The VHG/PE sends a separate request to either the customer’s or service provider’s RADIUS server
for the VPN to authenticate the remote user.
• The VPN’s VRF instance is instantiated on the VHG or PE. The VPN’s VRF contains a routing table
and other information associated with a specific VPN.
Typically, the customer RADIUS server is located within the customer VPN. To ensure that transactions
between the VHG/PE device and the customer RADIUS server occur over routes within the customer VPN,
the VHG/PE device is assigned at least one IP address that is valid within the VPN.
1 The VHG/PE device forwards accounting records to the service provider’s proxy RADIUS server, which
in turn logs the accounting records and forwards them to the appropriate customer RADIUS server.
2 The VHG/PE obtains an IP address for the CPE. The address is allocated from one of the following:
• Local address pool
• Service provider’s RADIUS server, which either specifies the address pool or directly provides the
address
• Service provider’s DHCP server
3 The CPE is now connected to the customer VPN. Packets can flow to and from the remote user.
Configuring PPPoE
MPLS: Layer 3 VPNs Configuration Guide, Cisco IOS XE Release 3S (Cisco ASR 1000)
5
Remote Access MPLS VPNs
Configuring PPPoE
SUMMARY STEPS
1. enable
2. configure terminal
3. interface virtual-template number
4. ip unnumbered ethernet number
5. ppp authentication chap
6. ppp ipcp address required
DETAILED STEPS
Example:
Device# configure terminal
Step 3 interface virtual-template number Creates a virtual template interface and enters interface
configuration mode.
Example:
Device(config)# interface virtual-template 1
Step 4 ip unnumbered ethernet number Enables IP without assigning a specific IP address on the
LAN.
Example:
Device(config-if)# ip unnumbered ethernet 1
Step 5 ppp authentication chap Enables PPP authentication on the virtual template
interface.
Example:
Device(config-if)# ppp authentication chap
Step 6 ppp ipcp address required (Required for legacy dialup and DSL networks.) Prevents
a PPP session from being configured with 0.0.0.0 remote
Example: ip address.
MPLS: Layer 3 VPNs Configuration Guide, Cisco IOS XE Release 3S (Cisco ASR 1000)
6
Remote Access MPLS VPNs
Configuring PPPoE
SUMMARY STEPS
1. enable
2. configure terminal
3. bba-group pppoe {name | global}
4. virtual-template template-number
5. sessions per-mac limit per-mac-limit
6. sessions max limit global-pppoe-session-limit
7. exit
8. interface gigabitethernet slot/subslot/port. [subinterface]
9. encapsulation dot1q vlan-id
10. pppoe enable [group group-name]
DETAILED STEPS
Example:
Device# configure terminal
Step 3 bba-group pppoe {name | global} Configures a BBA group to be used to establish PPPoE
sessions and enters BBA configuration mode
Example: • The name argument identifies the BBA group. You can
Device(config)# bba-group pppoe bba1 have multiple BBA groups.
• The global keyword is the default BBA group used when
a BBA group name is not specified.
Step 4 virtual-template template-number Specifies the virtual template interface to use to clone virtual
access interfaces (VAIs).
Example:
Device(config-bba)# virtual-template 20
MPLS: Layer 3 VPNs Configuration Guide, Cisco IOS XE Release 3S (Cisco ASR 1000)
7
Remote Access MPLS VPNs
Configuring and Associating Virtual Private Networks
Step 6 sessions max limit global-pppoe-session-limit (Optional) Specifies the maximum number of PPPoE sessions
that will be permitted on a device and sets the PPPoE
Example: session-count threshold
Example:
Device(config-bba)# exit
Step 8 interface gigabitethernet slot/subslot/port. Specifies the interface to which you want to attach the BBA
[subinterface] group.
Example:
Device(config)# interface gigabitethernet
2/0/0.2
Step 9 encapsulation dot1q vlan-id Creates an 802.1q sub-interface and specifies the VLAN id.
Example:
Device(config-subif)# encapsulation dot1q 2
Step 10 pppoe enable [group group-name] Attaches the BBA group to the VLAN.
Example:
Device(config-subif)# pppoe enable group bba1
MPLS: Layer 3 VPNs Configuration Guide, Cisco IOS XE Release 3S (Cisco ASR 1000)
8
Remote Access MPLS VPNs
Configuration Examples for Remote Access MPLS VPNs
Example: Configuring Remote Access MPLS VPNs with One VRF for PPPoE
Sessions
The following example shows how to configure the Remote Access MPLS VPNs feature with one virtual
routing and forwarding (VRF) instance for PPP over Ethernet (PPPoE) sessions:
!
!Enables the AAA access control model.
aaa new-model
!
!Configures AAA accounting.
aaa authentication login default none
aaa authentication enable default none
aaa authentication ppp default group radius
aaa authorization config-commands
aaa authorization network default local
aaa session-id common
enable password cisco
!
username pppoe password 0 pppoe
username common password 0 common
!
!Creates the common VRF.
ip vrf common
rd 100:1000
route-target export 100:1000
route-target import 100:1000
!
!Specifies the BBA group to be used to establish PPPoE sessions and specifies the maximum
!number of PPPoE sessions to be established over a vlan.
bba-group pppoe
virtual-template 1
sessions per-mac limit 32000
!
no virtual-template snmp
!
!Configures the small buffer.
buffers small permanent 15000
!
!Defines the general loopback interface used for reachability to the router and as a
!source IP address for sessions (IBGP, TDP, and so on).
interface Loopback0
ip address 10.16.3.1 255.255.255.255
ip ospf network point-to-point
!
!Creates a loopback interface in the vpn1 VRF. You do this for each customer VRF you IP
!unnumber interfaces to.
interface Loopback1
ip vrf forwarding vpn1
ip address 10.24.1.1 255.255.255.255
!
interface Loopback2
ip vrf forwarding vpn2
ip address 10.8.1.2 255.255.255.255
!
interface gigaethernet 0/0/0
load-interval 30
negotiation auto
no cdp enable
interface gigaethernet 0/0/0.9
encapsulation dot1q 9
pppoe enable
MPLS: Layer 3 VPNs Configuration Guide, Cisco IOS XE Release 3S (Cisco ASR 1000)
9
Remote Access MPLS VPNs
Example: Configuring Remote Access MPLS VPNs with One VRF for PPPoE Sessions
no cdp enable
!
!Enables label switching of IP packets on the interface.
interface GigabitEthernet1/0/0
ip address 10.1.10.1 255.255.0.0
no ip redirects
load-interval 30
negotiation auto
tag-switching ip
!
!Defines the virtual template and associates the common VRF with it.
interface Virtual-Template1
ip vrf forwarding common
ip unnumbered Loopback1
peer default ip address pool common
ppp authentication chap
!
!Configures OSPF to advertise the networks.
router ospf 100
log-adjacency-changes
auto-cost reference-bandwidth 1000
network 10.16.3.1 0.0.0.0 area 0
network 10.1.0.0 0.0.255.255 area 0
!
router rip
version 2
!
!Enters address family configuration mode to configure the VRF for PE to CE routing
!sessions.
address-family ipv4 vrf common
version 2
network 10.0.0.0
no auto-summary
exit-address-family
!
!Configures BGP to advertise the networks for the VPN.
router bgp 100
no synchronization
no bgp default ipv4-unicast
bgp log-neighbor-changes
neighbor 172.16.1.4 remote-as 100
neighbor 172.16.1.4 activate
!
!Enters address family configuration mode to configure the common VRF for PE to CE routing
!sessions.
address-family ipv4 vrf common
no auto-summary
no synchronization
aggregate-address 10.10.0.0 255.255.0.0 summary-only
exit-address-family
!
address-family vpnv4
neighbor 172.16.1.4 activate
neighbor 172.16.1.4 send-community both
exit-address-family
!
!Specifies the IP local pool to use for the VRF address assignment.
ip local pool common 10.10.1.1 10.10.126.0
ip classless
!Enters routing information in the routing table for the VRF.
ip route 10.0.0.0 255.0.0.0 FastEthernet0/0/0 10.9.0.1
ip route vrf common 10.22.0.0 255.255.0.0 Null0
ip route vrf common 10.30.0.0 255.255.0.0 2.1.1.1 3
ip route vrf common 10.32.0.0 255.255.0.0 2.2.151.1 2
ip route vrf common 10.33.0.0 255.255.0.0 2.3.101.1 2
no ip http server
ip pim bidir-enable
!
no cdp run
!
!Specifies the RADIUS host and configures RADIUS accounting. radius-server retransmit is
!on by default and cannot be removed.
radius-server host 10.19.100.150 auth-port 1645 acct-port 1646
MPLS: Layer 3 VPNs Configuration Guide, Cisco IOS XE Release 3S (Cisco ASR 1000)
10
Remote Access MPLS VPNs
Additional References
radius-server retransmit 3
radius-server key test
radius-server authorization permit missing Service-Type
radius-server vsa send authentication
call admission limit 90
!
Additional References
Related Documents
MPLS and MPLS applications commands Cisco IOS Multiprotocol Label Switching Command
Reference
Technical Assistance
Description Link
The Cisco Support and Documentation website http://www.cisco.com/cisco/web/support/index.html
provides online resources to download documentation,
software, and tools. Use these resources to install and
configure the software and to troubleshoot and resolve
technical issues with Cisco products and technologies.
Access to most tools on the Cisco Support and
Documentation website requires a Cisco.com user ID
and password.
MPLS: Layer 3 VPNs Configuration Guide, Cisco IOS XE Release 3S (Cisco ASR 1000)
11
Remote Access MPLS VPNs
Glossary
Glossary
CE—customer edge.
PPPoE—Point-to-Point Protocol over Ethernet.
PE —provider edge.
MPLS: Layer 3 VPNs Configuration Guide, Cisco IOS XE Release 3S (Cisco ASR 1000)
12