Configuring Vrf Lite - Cisco ONS 15454 SDH Configuration Manual

Hide thumbs Also See for ONS 15454 SDH:
Table of Contents

Advertisement

Configuring VRF Lite

Configuring VRF Lite
Perform the following procedure to configure VRF Lite:
Command
Step 1
Router(config)# ip vrf vrf-name
Step 2
Router(config-vrf)# rd
route-distinguisher
Step 3
Router(config-vrf)# route-target {import
| export | both} route-distinguisher
Step 4
Router(config-vrf)# import map route-map
Step 5
Router(config-vrf)# exit
Step 6
Router(config)# interface type number
Step 7
Router(config-vrf)# ip vrf forwarding
vrf-name
Step 8
Router(config-if)# end
Step 9
Router# copy running-config
startup-config
Example 13-1
the route-distinguisher is 1:1, and the interface type is Fast Ethernet, number 0.1.
Example 13-1 Configuring a VRF
Router(config)# ip vrf customer_a
Router(config-vrf)# rd 1:1
Router(config-vrf)# route-target both 1:1
Router(config)# interface fastEthernet 0.1
Router(config-subif)# ip vrf forwarding customer_a
Cisco ONS 15454 and Cisco ONS 15454 SDH Ethernet Card Software Feature and Configuration Guide, R8.0
13-2
shows an example of configuring a VRF. In the example, the VRF name is customer_a,
Purpose
Enters VRF configuration mode and assigns a VRF
name.
Creates a VPN route distinguisher (RD). An RD
creates routing and forwarding tables and specifies
the default route distinguisher for a VPN. The RD is
added to the beginning of the customer's IPv4
prefixes to change them into globally unique
VPN-IPv4 prefixes.
Either RD is an ASN-relative RD, in which case it is
composed of an autonomous system number and an
arbitrary number, or it is an IP-address-relative RD,
in which case it is composed of an IP address and an
arbitrary number.
You can enter a
route-distinguisher
these formats:
16-bit AS number: your 32-bit number
For example, 101:3.
32-bit IP address: your 16-bit number
For example, 192.168.122.15:1.
Creates a list of import and/or export route target
communities for the specified VRF.
(Optional) Associates the specified route map with
the VRF.
Exits the current configuration mode and enters
global configuration mode.
Specifies an interface and enters interface
configuration mode.
Associates a VRF with an interface or subinterface.
Exits to privileged EXEC mode.
(Optional) Saves configuration changes to NVRAM.
Chapter 13 Configuring VRF Lite
in either of

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ons 15454

Table of Contents