Configuring Vrf-Lite For Ipv4 - Cisco Catalyst 4500 series Administration Manual

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

Advertisement

Chapter 41
Configuring VRF-lite

Configuring VRF-lite for IPv4

Configuring VRFs
To configure one or more VRFs, perform this task:
Command
Switch# configure terminal
Step 1
Switch(config)# ip routing
Step 2
Switch(config)# ip vrf vrf-name
Step 3
Switch(config-vrf)# rd
Step 4
route-distinguisher
Switch(config-vrf)# route-target
Step 5
{
export
route-target-ext-community
Switch(config-vrf)# import map
Step 6
route-map
Switch(config-vrf)# interface
Step 7
interface-id
Switch(config-if)# ip vrf forwarding
Step 8
vrf-name
Switch(config-if)# end
Step 9
Switch# show ip vrf [brief | detail
Step 10
| interfaces] [vrf-name]
Switch# copy running-config
Step 11
startup-config
Note
For complete syntax and usage information for the following commands, see the switch command
reference for this release and see the Cisco IOS Switching Services Command Reference at:
http://www.cisco.com/en/US/docs/ios/ipswitch/command/reference/isw_book.html
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.
OL_28731-01
|
|
}
import
both
Software Configuration Guide—Release IOS XE 3.6.0E and IOS 15.2(2)E
Purpose
Enters global configuration mode.
Enables IP routing.
Names the VRF and enters VRF configuration mode.
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).
Note
This command is effective only if BGP is running.
(Optional) Associates a route map with the VRF.
Enters interface configuration mode and specify the Layer
3 interface to be associated with the VRF. The interface
can be a routed port or SVI.
Associates the VRF with the Layer 3 interface.
Returns to privileged EXEC mode.
Verifies the configuration. Displays information about the
configured VRFs.
(Optional) Saves your entries in the configuration file.
Configuring VRF-lite for IPv4
41-5

Advertisement

Table of Contents
loading

Table of Contents