Cisco Cisco IOS Software Release 12.0(22)S

다운로드
페이지 12
      MPLS Virtual Private Networks (VPNs)
Configuration Tasks
9
Cisco IOS Release 12.0(22)S
MPLS in provider backbone routers, or GRE tunnel connectivity among all provider edge (PE) 
routers 
MPLS with VPN code in provider routers with VPN edge service (PE) routers 
BGP in all routers providing a VPN service 
CEF switching in every MPLS-enabled router 
CoS feature (optional) 
Configuration Tasks
Perform the following tasks to configure and verify VPNs: 
Defining VPNs
To define VPN routing instances, perform the following steps on the PE router: 
Command Purpose
Step 1
Router(config)# ip vrf 
vrf-name
 Enter VRF configuration mode and define the VPN routing 
instance by assigning a VRF name. 
Step 2
Router(config-vrf)# rd 
route-distinguisher
Create routing and forwarding tables. 
Step 3
Router(config-vrf)# 
route-target
 {import | export 
| both}
 
route-target-ext-community
Create a list of import and/or export route target communities for 
the specified VRF. 
Step 4
Router(config-vrf)# import 
map
 route-map
(Optional) Associate the specified route map with the VRF. 
Step 5
Router(config-if)# ip vrf 
forwarding 
vrf-name
Associate a VRF with an interface or subinterface.