cisco — Configuring a VPN Routing Session

Configuring a VPN Routing Session Routing within the VPN can be configured with any supported routing protocol (RIP, OSPF, EIGRP, or BGP) or with static routing. The configuration shown here is for OSPF, but the process is the same for other protocols. Note To configure an EIGRP routing process to run within a VRF instance, you must configure an autonomous-system number by entering the autonomous-system autonomous-system-number address-family configuration mode command. Procedure Configuring Multi-VRF CE Configuring a VPN Routing Session Command or Action Purpose Step 1 enable Example: Device>enable Enables privileged EXEC mode. Enter your password if prompted.

Step 2 configure terminal Example: Device#configure terminal Enters global configuration mode. Step 3 router ospf process-id vrf vrf-name Example: Device(config)#router ospf 1 vrf vpn1 Enables OSPF routing, specifies a VPN forwarding table, and enter router configuration mode. Step 4 log-adjacency-changes Example: Device(config-router)#log-adjacency-changes (Optional) Logs changes in the adjacency state. This is the default state. Step 5 redistribute bgp autonomous-system-number subnets Example: Device(config-router)#redistribute bgp 10 subnets Sets the switch to redistribute information from the BGP network to the OSPF network. Step 6 network network-number area area-id Example:

Device(config-router)#network 1 area 2 Defines a network address and mask on which OSPF runs and the area ID for that network address. Configuring Multi-VRF CE 9