MPLS-VPN using Multiprotocol BGP (MP-BGP) provides a very flexible but secured VPN provisioning mechanism for service providers
and customers. However, some customers prefer to relax the boundary so that some specific prefixes can be reachable in a VRF
as well as in the global routing table.
Prior to the BGP Support for IP Prefix Export from a VRF Table into Global Table feature, BGP already supported the global-to-VRF
import of prefixes. See the “BGP Support for IP Prefix Import from Global Table into a VRF Table” module for complete documentation of that feature. Together, the import feature and export feature provide L3VPN dynamic
route leaking.
The BGP Support for IP Prefix Export from a VRF Table into the Global Table feature provides the reverse mechanism of the
import feature referenced above; it supports the export of prefixes from a VRF table to the global routing table. It is achieved
with an
export {ipv4 | ipv6} {unicast | multicast} map command, which specifies a route map to control the prefixes that are exported from a VRF table to the global routing table.
Caution |
The IP Prefix Export from a VRF Table into Global Table feature leaks VRF routes into the global BGP routing table; those
routes will be installed into the IPv4 or IPv6 routing table. Use extreme caution to design the network so that such leaking
does not affect the normal Internet routing.
|
Export actions are triggered when a new routing update is received or when routes are withdrawn. During the initial BGP update
period, the export action is postponed to allow BGP to converge more quickly. Once BGP converges, incremental BGP updates
are evaluated immediately and qualified prefixes are exported as they are received.
Each VRF can export to only one of the global topologies in IPv4 (unicast or multicast) and can export to only one of the
global topologies in IPv6 (unicast or multicast).
There is no limit to the number of VRFs per router that can be configured to export IPv4 or IPv6 prefixes to the global routing
table.
By default, the software limits the number of prefixes that can be exported per VRF to 1000 prefixes. You can change that
limit to a number in the range from 1 to 2,147,483,647 prefixes for each VRF. We recommend that you use caution if you increase
the prefix limit above 1000. Configuring the device to export too many prefixes can interrupt normal router operation.
The following
match and
set commands are supported in this feature:
-
match as-path
-
match community [exact-match ]
-
match extcommunity
-
match ip address [prefix-list]
-
match ip next-hop
-
match ip route-source
-
match ipv6 address [prefix-list ]
-
match ipv6 route-source
-
match ipv6 next-hop
-
match policy-list
-
match route-type
-
set as-path prepend [last-as ]
-
set community additive
-
set extcommunity [cost | rt ]
-
set extcomm-list delete
-
set ip next-hop
-
set ipv6 next-hop
-
set local-preference
-
set metric
-
set origin
-
set weight
Note |
The
set ip vrf next-hop and
set ipv6 vrf next-hop commands are not supported in this feature.
|