Configuring Multi-VRF CE
Use the no router ospf process-id vrf vrf-name global configuration command to disassociate the VPN
forwarding table from the OSPF routing process.
Configuring BGP PE to CE Routing Sessions
Beginning in privileged EXEC mode, follow these steps to configure a BGP PE to CE routing session:
Command
Step 1
configure terminal
Step 2
router bgp autonomous-system-number
Step 3
network network-number mask
network-mask
Step 4
redistribute ospf process-id match
internal
Step 5
network network-number area area-id
Step 6
address-family ipv4 vrf vrf-name
Step 7
neighbor address remote-as as-number
Step 8
neighbor address activate
Step 9
end
Step 10
show ip bgp [ipv4] [neighbors]
Step 11
copy running-config startup-config
Use the no router bgp autonomous-system-number global configuration command to delete the BGP
routing process. Use the command with keywords to delete routing characteristics.
Multi-VRF CE Configuration Example
Figure 32-6
Figure
to PE connections. The examples following the illustration show how to configure a Cisco ME 3400
switch as CE Switch A, and the VRF configuration for customer switches D and F. Commands for
configuring CE Switch C and the other customer switches are not included but would be similar. The
example also includes commands for configuring traffic to Switch A for a Catalyst 6000 or Catalyst 6500
switch acting as a PE router.
Cisco ME 3400 Ethernet Access Switch Software Configuration Guide
32-64
Purpose
Enter global configuration mode.
Configure the BGP routing process with the AS number passed to other
BGP routers, and enter router configuration mode.
Specify a network and mask to announce using BGP.
Set the switch to redistribute OSPF internal routes.
Define a network address and mask on which OSPF runs and the area
ID for that network address.
Define BGP parameters for PE to CE routing sessions, and enter VRF
address-family mode.
Define a BGP session between PE and CE routers.
Activate the advertisement of the IPv4 address family.
Return to privileged EXEC mode.
Verify BGP configuration.
(Optional) Save your entries in the configuration file.
is a simplified example of the physical connections in a network similar to that in
32-5. OSPF is the protocol used in VPN1, VPN2, and the global network. BGP is used in the CE
Chapter 32
Configuring IP Unicast Routing
78-17058-01