Cisco Cisco IOS Software Release 12.0(13)S7
MPLS VPN—Show Running VRF
Information About MPLS VPN—Show Running VRF
3
Multiple Cisco IOS Releases
This includes any configuration that is applied in the VRF submode.
•
The configuration of each interface in the VRF
Entering a show run vrf vpn-name command is the same as executing a show running-config
interface type number for each interface that you display by use of the show ip vrf vpn-name
command. The interfaces display in the same sorted order that you would expect from the show ip
interface command.
interface type number for each interface that you display by use of the show ip vrf vpn-name
command. The interfaces display in the same sorted order that you would expect from the show ip
interface command.
For a channelized interface, the configuration of the controller is displayed (as shown by the show
run controller controller-name command).
run controller controller-name command).
For a subinterface, the configuration of the main interface is displayed.
•
The configuration of routing-protocol address-families or processes that are linked with the VRF,
including static routing configuration (see the
including static routing configuration (see the
.
Display of VRF Routing Protocol Configuration
Open Shortest Path First (OSPF), Routing Information Protocol (RIP), Border Gateway Protocol (BGP),
Enhanced Interior Gateway Routing Protocol (EIGRP), and static routing are routing protocols that
support VRF configuration.
Enhanced Interior Gateway Routing Protocol (EIGRP), and static routing are routing protocols that
support VRF configuration.
OSPF has one process per VRF. The show running-config vrf command display includes the complete
configuration of any OSPF process associated with the VRF. For example, the following shows the
sample display for OSPF process 101, which is associated with the VRF named vpn3:
configuration of any OSPF process associated with the VRF. For example, the following shows the
sample display for OSPF process 101, which is associated with the VRF named vpn3:
router ospf 101 vrf vpn3
log-adjacency-changes
area 1 sham-link 10.43.43.43 10.23.23.23 cost 10
network 172.17.0.0 0.255.255.255 area 1
RIP, BGP, and EIGRP support VRF address-family configuration. If a VRF address family for the VRF
exists for any of these routing protocols, a configuration in the following format is displayed:
exists for any of these routing protocols, a configuration in the following format is displayed:
router protocol
{AS | PID}
!
address-family ipv4 vrf
vrf-name
.
.
.
Where the protocol argument is one of the following: rip, bgp or eigrp; the AS argument is an
autonomous
autonomous
system number; the PID argument is a process identifier; and the vrf-name argument is the
name of the associated VRF.
The following shows a sample display for a BGP with autonomous
system number 100 associated with
a VRF named vpn3:
!
router bgp 100
!
address-family ipv4 vrf vpn3
redistribute connected
redistribute ospf 101 match external 1 external 2
no auto-summary
no synchronization
exit-address-family
!