Configuring A Vpn Routing Session - Cisco ME 3400G-2CS - Ethernet Access Switch Software Configuration Manual

Ethernet access switch
Hide thumbs Also See for ME 3400G-2CS - Ethernet Access Switch:
Table of Contents

Advertisement

Chapter 32
Configuring IP Unicast Routing
Command
Step 4
rd route-distinguisher
Step 5
route-target {export | import | both}
route-target-ext-community
Step 6
import map route-map
Step 7
interface interface-id
Step 8
no shutdown
Step 9
ip vrf forwarding vrf-name
Step 10
end
Step 11
show ip vrf [brief | detail | interfaces]
[vrf-name]
Step 12
copy running-config startup-config
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 interface from the
VRF.

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.
Beginning in privileged EXEC mode, follow these steps to configure OSPF in the VPN:
Command
Step 1
configure terminal
Step 2
router ospf process-id vrf vrf-name
Step 3
log-adjacency-changes
Step 4
redistribute bgp
autonomous-system-number subnets
Step 5
network network-number area area-id
Step 6
end
Step 7
show ip ospf process-id
Step 8
copy running-config startup-config
78-17058-01
Purpose
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)
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 an arbitrary
number (A.B.C.D:y). The route-target-ext-community should be the
same as the route-distinguisher entered in Step 4.
(Optional) Associate a route map with the VRF.
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.
Enable the interface if necessary. By default, UNIs are disabled and
NNIs are enabled.
Associate the VRF with the Layer 3 interface.
Return to privileged EXEC mode.
Verify the configuration. Display information about the configured
VRFs.
(Optional) Save your entries in the configuration file.
Purpose
Enter global configuration mode.
Enable OSPF routing, specify a VPN forwarding table, and enter router
configuration mode.
(Optional) Log changes in the adjacency state. This is the default state.
Set the switch to redistribute information from the BGP network to the
OSPF network.
Define a network address and mask on which OSPF runs and the area
ID for that network address.
Return to privileged EXEC mode.
Verify the configuration of the OSPF network.
(Optional) Save your entries in the configuration file.
Cisco ME 3400 Ethernet Access Switch Software Configuration Guide
Configuring Multi-VRF CE
32-63

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents