38-91
Cisco Catalyst Blade Switch 3130 and 3032 for Dell Software Configuration Guide
OL-12247-04
Chapter 38 Configuring IP Unicast Routing
Configuring Multi-VRF CE
Router(config-vrf)#
route-target import 100:2
Router(config-vrf)#
exit
Router(config)#
ip cef
Router(config)#
interface loopback1
Router(config-if)#
ip vrf forwarding v1
Router(config-if)#
ip address 3.3.1.3 255.255.255.0
Router(config-if)#
exit
Router(config)#
interface loopback2
Router(config-if)#
ip vrf forwarding v2
Router(config-if)#
ip address 3.3.2.3 255.255.255.0
Router(config-if)#
exit
Router(config)#
interface gigabitethernet1/1/0.10
Router(config-if)#
encapsulation dot1q 10
Router(config-if)#
ip vrf forwarding v1
Router(config-if)#
ip address 38.0.0.3 255.255.255.0
Router(config-if)#
exit
Router(config)#
interface gigabitethernet1/1/0.20
Router(config-if)#
encapsulation dot1q 20
Router(config-if)#
ip vrf forwarding v2
Router(config-if)#
ip address 83.0.0.3 255.255.255.0
Router(config-if)#
exit
Router(config)#
router bgp 100
Router(config-router)#
address-family ipv4 vrf v2
Router(config-router-af)#
neighbor 83.0.0.8 remote-as 800
Router(config-router-af)#
neighbor 83.0.0.8 activate
Router(config-router-af)#
network 3.3.2.0 mask 255.255.255.0
Router(config-router-af)#
exit
Router(config-router)#
address-family ipv4 vrf vl
Router(config-router-af)#
neighbor 38.0.0.8 remote-as 800
Router(config-router-af)#
neighbor 38.0.0.8 activate
Router(config-router-af)#
network 3.3.1.0 mask 255.255.255.0
Router(config-router-af)#
end
Displaying Multi-VRF CE Status
You can use the privileged EXEC commands in
to display information about multi-VRF CE
configuration and status.
For more information about the information in the displays, see the
Cisco IOS Switching Services
Command Reference, Release 12.2
.
Table 38-15
Commands for Displaying Multi-VRF CE Information
Command
Purpose
show ip protocols vrf
vrf-name
Display routing protocol information associated
with a VRF.
show ip route vrf
vrf-name
[
connected
] [
protocol
[
as-number
]] [
list
]
[
mobile
] [
odr
] [
profile
] [
static
] [
summary
] [
supernets-only
]
Display IP routing table information associated
with a VRF.
show ip vrf
[
brief
|
detail
|
interfaces
] [
vrf-name
]
Display information about the defined VRF
instances.