Configuring A Vpn Routing Session - Cisco Catalyst 4500 Series Software Configuration Manual

Cisco ios xe release 3.9.xe and cisco ios release 15.2(5)ex
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Configuring VRF-lite for IPv4
Command
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.
To configure OSPF in the VPN, perform this task:
Command
Step 1
Switch# configure terminal
Step 2
Switch(config)# router ospf
process-id vrf vrf-name
Step 3
Switch(config-router)#
log-adjacency-changes
Step 4
Switch(config-router)# redistribute
bgp autonomous-system-number subnets
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
43-8
[
|
brief
detail
] [
]
vrf-name
Purpose
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.
Purpose
Enters global configuration mode.
Enables OSPF routing, specifies a VPN forwarding table,
and enters router configuration mode.
(Optional) Logs changes in the adjacency state (the default
state).
Sets the switch to redistribute information from the BGP
network to the OSPF network.
Chapter 43
Configuring VRF-lite

Advertisement

Table of Contents
loading

Table of Contents