Configuring Virtual Routing And Forwarding Instances; Associating Vrfs - Cisco 10000-2P2-2DC Software Configuration Manual

10000 series
Table of Contents

Advertisement

Chapter 3
Configuring Remote Access to MPLS VPN

Configuring Virtual Routing and Forwarding Instances

Configure VRF instances on each PE router in the provider network. Create one VRF for each VPN
connected using the ip vrf command in global configuration mode or router configuration mode.
To create the VRF, do the following:
To configure a VRF, enter the following commands on the PE router beginning in global configuration
mode:
Command
Step 1
Router(config)# ip vrf vrf-name
Step 2
Router(config-vrf)# rd route-distinguisher
Step 3
Router(config-vrf)# route-target {import |
export | both} route-target-ext-community
Step 4
Router(config-vrf)# vpn id oui:vpn-index

Associating VRFs

After you define and configure the VRFs on the PE routers, associate each VRF with:
The virtual template interface is used to create and configure a virtual access interface (VAI). For
information about configuring a virtual template interface, see the
Interface" section on page
To associate a VRF, enter the following commands on the PE router beginning in interface configuration
mode:
Command
Step 1
Router(config-if)# ip vrf forwarding
vrf-name
Step 2
Router(config-if)# ip address ip-address
mask
Step 3
Router(config-if)# exit
OL-2226-23
Specify the correct route distinguisher (RD) used for that VPN using the rd command in VRF
configuration submode. The RD is used to extend the IP address so that you can identify the VPN
to which it belongs.
Set up the import and export policies for the MP-BGP extended communities using the route-target
command in VRF configuration submode. These policies are used for filtering the import and export
process.
An interface or subinterface
A virtual template interface
3-17.
Purpose
Enters VRF configuration mode and defines the virtual routing
instance by assigning a VRF name.
Creates routing and forwarding tables.
Creates a list of import and export route target communities for
the specified VRF.
Assigns or updates a VPN ID on the VRF. The VPN ID uniquely
identifies a VPN and VRF across all VHG and PE routers in the
network.
The VPN ID is used for provisioning only. BGP routing
Note
updates do not include the VPN ID.
Purpose
Associates a VRF with an interface or subinterface.
Sets a primary or secondary address for an interface.
Returns to global configuration mode.
Cisco 10000 Series Router Software Configuration Guide
Configuration Tasks for RA to MPLS VPN
"Configuring a Virtual Template
3-13

Advertisement

Table of Contents
loading

This manual is also suitable for:

1000510008

Table of Contents