Cisco Cisco IOS Software Release 12.0(22)S
MPLS Virtual Private Networks (VPNs)
Configuration Tasks
10
Cisco IOS Release 12.0(22)S
Configuring BGP PE to PE or PE to CE Routing Sessions
To configure BGP PE to PE to PE to CE routing sessions in a provider network, perform the following
steps on the PE routers:
steps on the PE routers:
Configuring RIP PE to CE Routing Sessions
To configure RIP PE to CE routing sessions perform the following steps on the PE router:
Configuring Static Route PE to CE Routing Sessions
To configure static route PE to CE routing sessions perform the following steps on the PE router:
Command Purpose
Step 1
Router(config)# router bgp
autonomous-system
Configures the IBGP or EGBP routing process with the
autonomous system number passed along to other IBGP or EBGP
routers.
autonomous system number passed along to other IBGP or EBGP
routers.
Step 2
Router(config-router)#
neighbor
{ip-address |
peer-group-name} remote-as
number
Specifies a neighbor's IP address or IBGP/EBGP peer group
identifying it to the local autonomous system.
identifying it to the local autonomous system.
Step 3
Router(config-router)#
neighbor
ip-address activate
Activates the advertisement of the IPv4 address family.
Command Purpose
Step 1
Router(config)# router rip
Enables RIP.
Step 2
Router(config-router)#
address-family ipv4 [unicast]
vrf
vrf-name
Defines RIP parameters for PE to CE routing sessions. The
default is Off for auto-summary and synchronization in the VRF
address-family submode.
default is Off for auto-summary and synchronization in the VRF
address-family submode.
Step 3
Router(config-router)#
network
prefix
Enables RIP on the PE to CE link.
Command Purpose
Step 1
Router(config)# ip route vrf
vrf-name
Defines static route parameters for every PE to CE session.
Step 2
Router(config-router)#
address-family ipv4 [unicast]
vrf
vrf-name
Defines static route parameters for every BGP PE to CE routing
session. The default is Off for auto-summary and synchronization
in the VRF address-family submode.
session. The default is Off for auto-summary and synchronization
in the VRF address-family submode.
Step 3
Router(config-router-af)#
redistribute static
Redistributes VRF static routes into the VRF BGP table.
Step 4
Router(config-router-af)#
redistribute static connected
Redistributes directly connected networks into the VRF BGP
table.
table.
Step 5
Router(config-router-af)#
exit-address-family
Exits address family configuration mode.
Step 6
Router(config-router)# end
(Optional) Exits to privileged EXEC mode.