Configuring A Vpn Routing Session - Cisco Catalyst 4500 series Administration Manual

Hide thumbs Also See for Catalyst 4500 series:
Table of Contents

Advertisement

Configuring VRF-lite for IPv4
Command
Switch(config-vrf)# rd
Step 5
route-distinguisher
Switch(config-vrf)# route-target
Step 6
{
export
route-target-ext-community
Switch(config-vrf)# import map
Step 7
route-map
Switch(config-vrf)# interface
Step 8
interface-id
Switch(config-if)# ip vrf forwarding
Step 9
vrf-name
Switch(config-if)# ip address
Step 10
ip-address mask
Switch(config-if)# ip pim
Step 11
[sparse-dense mode | dense-mode |
sparse-mode]
Switch(config-if)# end
Step 12
Switch# show ip vrf
Step 13
interfaces
Switch# copy running-config
Step 14
startup-config
The following example shows how to configure multicast within a VRF table:
Switch(config)# ip routing
Switch(config)# ip vrf multiVrfA
Switch(config-vrf)# ip multicast-routing vrf multiVrfA
Switch(config-vrf)# interface GigabitEthernet3/1/0
Switch(config-if)# ip vrf forwarding multiVrfA
Switch(config-if)# ip address 172.21.200.203 255.255.255.0
Switch(config-if)# ip pim sparse-mode
For more information about configuring a multicast within a Multi-VRF CE, see the
Cisco IOS IP Multicast Configuration Guide, Release 12.4.
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, or BGP) or
with static routing. The configuration shown here is for OSPF, but the process is the same for other
protocols.
Software Configuration Guide—Release IOS XE 3.6.0E and IOS 15.2(2)E
41-8
|
|
}
import
both
[
|
brief
detail
] [
]
vrf-name
Purpose
Creates 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).
Creates 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 value should be the same
as the route-distinguisher value entered in Step 4.
(Optional) Associates a route map with the VRF.
Enters interface configuration mode and specifies the
Layer 3 interface to be associated with the VRF. The
interface can be a routed port or a SVI.
Associates the VRF with the Layer 3 interface.
Configures IP address for the Layer 3 interface.
Enables PIM on the VRF-associated Layer 3 interface.
Returns to privileged EXEC mode.
|
Verifies the configuration. Display information about the
configured VRFs.
(Optional) Saves your entries in the configuration file.
Chapter 41
Configuring VRF-lite
OL_28731-01

Advertisement

Table of Contents
loading

Table of Contents