Professional Documents
Culture Documents
• Overview
• What Is a VRF Table?
• What Is the Need for Routing Protocol Contexts?
• What Are VPN-Aware Routing Protocols?
• How Are VRF Tables Used?
• Propagating BGP Routes—Outbound
• Propagating Routes—Inbound
• Propagating Non-BGP Routes—Outbound
• Propagating Non-BGO Routes—Inbound
• Summary
• The route distinguishers are prepended during the route export to the
BGP routes from the VRF instance of the BGP process to convert them
into VPNv4 prefixes. Route targets are attached to these prefixes.
• VPNv4 prefixes are propagated to other PE routers.
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v2.2—5-9
BGP Route Propagation—Inbound
• Routes are received from backbone MP-BGP and imported into a VRF.
• IPv4 routes are forwarded to EBGP CE neighbors attached to
that VRF.
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v2.2—5-11
Non-BGP Route Propagation—Outbound
• The RIP routes entered in the VRF routing table are redistributed into BGP
for further propagation into the MPLS VPN backbone.
• Redistribution between RIP and BGP has to be configured for proper
MPLS VPN operation.
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v2.2—5-13
Non-BGP Route Propagation—Inbound
• MP-IBGP routes imported into a VRF are redistributed into the instance
of RIP configured for that VRF.
• Redistribution between BGP and RIP has to be configured for
end-to-end RIP routing between CE routers.
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v2.2—5-14
Non-BGP Route Propagation—Inbound
(Cont.)
• Routes redistributed from BGP into a VRF instance of RIP are sent to
RIP-speaking CE routers.
• Overview
• What Are the VRF Configuration Tasks?
• Creating VRF Tables and Assigning RDs
• Specifying Export and Import RTs
• Using VPN IDs
• Assigning an Interface to a VRF Table
• Typical Configuration to Enable VRFs
• Summary
ip vrf Customer_ABC
rd 65173:15
route-target export 65173:15
route-target import 65173:15
Router(config-vrf)#
vpn id oui:vpn-index
• This command assigns the VPN ID to the VRF.
• Overview
• Configuring BGP Address Families
• Enabling BGP Neighbors
• Configuring MP-BGP
• Configuring MP-IBGP
• Configuring MP-BGP BGP Community Propagation
• Disabling IPv4 Route Exchange
• Summary
Router(config)#
router bgp as-number
Router(config-router-af)#
neighbor ip-address activate
Router(config-router-af)#
neighbor ip-address next-hop-self
Router(config-router)#
no bgp default ipv4-unicast
• Overview
• Configuring PE-CE Routing Protocols
• Selecting the VRF Routing Context for BGP
• Configuring Per-VRF Static Routes
• Configuring RIP PE-CE Routing
• Configuring EIGRP PE-CE Routing
• Configuring SOO for EIGRP PE-CE Loop Prevention
• Summary
Router(config)#
router bgp as-number
address-family ipv4 vrf vrf-name
... Non-BGP redistribution ...
Router(config)#
route-map name permit seq
set extcommunity soo extended-community-value
Router(config-if)#
ip vrf forwarding vrf-name
ip vrf sitemap route-map-name
ip address ip-address subnet-mask
• Overview
• Monitoring VRFs
• Monitoring VRF Routing
• Monitoring MP-BGP Sessions
• Monitoring an MP-BGP VPNv4 Table
• Monitoring per-VRF CEF and LFIB Structures
• Monitoring Labels Associated with VPNv4 Routes
• Identifying Other MPLS VPN Monitoring Commands
• Summary
Router#
show ip vrf
Router#
show ip vrf detail
Router#
show ip vrf interfaces
Router#show ip vrf
Name Default RD Interfaces
SiteA2 103:30 Serial1/0.20
SiteB 103:11 Serial1/0.100
SiteX 103:20 Ethernet0/0
Router#
Router#
show ip protocols vrf vrf-name
Router#
show ip route vrf vrf-name
Router#
show ip bgp vpnv4 vrf vrf-name
… rest deleted …
Router#
show ip bgp neighbors
... Continued
... Continued
The show ip cef command can also display the label stack associated
with the MP-IBGP route.
Router#
ping vrf vrf-name ip-address
Router#
trace vrf vrf-name ip-address
• Overview
• What Is the Enhanced OSPF Hierarchical Model?
• Propagating OSPF Customer Routes
• Implementing MPLS VPN as an OPSPF Superbackbone
• Configuring OSPF PE-CE Routing
• Using the OSPF Down Bit
• Optimizing Packet Forwarding Across the MPLS VPN
Backbone
• Using the OSPF Tag Field
• What Is a Sham Link?
• Configuring a Sham Link
• Summary
router(config)#
router ospf process-id vrf vrf-name
... Standard OSPF parameters ...
router(config)#
router bgp as-number
address-family ipv4 vrf vrf-name
redistribute ospf process-id [match [internal]
[external-1] [external-2]]
router(config-router)#
area area-id sham-link source-address destination-address cost number
Router(config)#
router bgp as-number
address-family ipv4 vrf vrf-name
... Per-VRF BGP definitions ...
Router(config-vrf)#
maximum routes limit {warn-threshold | warn-only}
Router(config-router-af)#
neighbor ip-address as-override
Router(config-router)#
neighbor allowas-in number
Router(config-router-af)#
neighbor ip-address route-map name in