32-63
Cisco ME 3400 EthernetAccess Switch SoftwareConfiguration Guide
78-17058-01
Chapter32 Configuring IP Unicast Routing Configuring Multi-VRF CE
Use the no ip vrf vrf-name global configuration command to delete a VRF and to remove all interfaces
from it. Use the no ip vrf forwarding interface configuration command to remove an interf ace f rom the
VRF.
Configuring a VPN Routing Session
Routing within the VPN can be configured with any supported routi ng 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.
Beginning in privileged EXEC mode, follow these steps to configure OSPF in the VPN:
Step4 rd route-distinguisher Create a VRF table by specifying a route distinguisher. Enter either an
AS number and an arbitrary number (xxx:y) or an IP address and
arbitrary number (A.B.C.D:y)
Step5 route-target {export | import | both}
route-target-ext-community Create a list of import, export, or import and export route target
communities for the specified VRF. Enter either an AS system number
and an arbitrary number (xxx:y) or an IP address and a n ar bitr ary
number (A.B.C.D:y). The route-target-ext-community should be the
same as the route-distinguisher entered in Step 4.
Step6 import map route- map (Optional) Associate a route map with the VRF.
Step7 interface interface-id Specify the Layer 3 interface to be associated with the VRF, and enter
interface configuration mode. The interface can be a routed port or SVI.
Step8 no shutdown Enable the interface if necessary. By default, UNIs are disabled and
NNIs are enabled.
Step9 ip vrf forwarding vrf-name Associate the VRF with the Layer 3 interface.
Step10 end Return to privileged EXEC mode.
Step11 show ip vrf [brief | detail | interfaces]
[vrf-name]Verify the configuration. Display information about the configured
VRFs.
Step12 copy running-config startup-config (Optional) Save your entries in the configuration file.
Command Purpose
Command Purpose
Step1 configure terminal Enter global configuration mode.
Step2 router ospf process-id vrf vrf-name Enable OSPF routing, specify a VPN forwarding table, and enter router
configuration mode.
Step3 log-adjacency-changes (Optional) Log changes in the adjacency state. This is the default state.
Step4 redistribute bgp
autonomous-system-number subnets Set the switch to redistribute information from the BGP network to the
OSPF network.
Step5 network network-number area area-id Define a network address and mask on which OSPF runs and the area
ID for that network address.
Step6 end Return to privileged EXEC mode.
Step7 show ip ospf process-id Verify the configuration of the OSPF network.
Step8 copy running-config startup-config (Optional) Save your entries in the configuration file.