host1:boston:southie(config)#
•
You must use the
no ip vrf
command to remove a VRF. Issuing a
no
version of this
command (
no virtual-router :
vrfName
or
no virtual-router
vrName
:
vrfName
) that
specifies an existing VRF only displays the error message:
“ Cannot delete a VRF with this command”
•
See virtual-router.
Disabling Automatic Route-Target Filtering
When BGP receives a VPN-IPv4 or VPN-IPv6 route from another PE router, BGP stores
that route in its local routing table only if at least one VRF imports a route target of that
route. If no VRF imports any of the route targets of the route, BGP discards the route; this
feature is called automatic route-target filtering. The intention is that BGP keeps track
of routes only for directly connected VPNs, and discards all other VPN-IPv4 or VPN-IPv6
routes to conserve memory.
If a new VPN is connected to the router (that is, if the import route-target list of a VRF
changes), BGP automatically sends a route-refresh message to obtain the routes that
it previously discarded.
You can use the
no bgp default route-target filter
command to disable automatic
route-target filtering globally for all VRFs. However, automatic route-target filtering is
always disabled on route reflectors that have at least one route-reflector client. You
cannot enable automatic route-target filtering for such route reflectors.
bgp default route-target filter
•
Use to control automatic route-target filtering.
•
Route-target filtering is enabled by default.
•
Takes effect immediately. When route target filtering is turned on, this command
immediately removes routes to be filtered.
If route-target filtering is turned off, BGP automatically sends out a route-refresh
message over every VPNv4 or VPNv6 unicast session (for which the route-refresh
capability was negotiated) to get previously filtered routes. If the route-refresh capability
was not negotiated over the session, BGP bounces the session.
•
Example
host1:vrf1(config-router)#
no bgp default route-target filter
•
Use the
no
version to disable automatic route-target filtering.
•
See bgp default route-target filter.
Creating Labels per FEC
By default, the router minimizes the number of stacked labels to be managed by
generating a single label for all BGP routes advertised by a given VRF; this is a per-VRF
label. Upon receiving traffic for a per-VRF label, the router performs a label pop and a
route lookup to forward the traffic to the next hop.
439
Copyright © 2010, Juniper Networks, Inc.
Chapter 6: Configuring BGP-MPLS Applications
Содержание JUNOSE 11.2.X BGP AND MPLS
Страница 6: ...Copyright 2010 Juniper Networks Inc vi...
Страница 8: ...Copyright 2010 Juniper Networks Inc viii JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 38: ...Copyright 2010 Juniper Networks Inc 2 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 192: ...Copyright 2010 Juniper Networks Inc 156 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 242: ...Copyright 2010 Juniper Networks Inc 206 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 244: ...Copyright 2010 Juniper Networks Inc 208 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 310: ...Copyright 2010 Juniper Networks Inc 274 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 356: ...Copyright 2010 Juniper Networks Inc 320 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 418: ...Copyright 2010 Juniper Networks Inc 382 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 524: ...Copyright 2010 Juniper Networks Inc 488 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 544: ...Copyright 2010 Juniper Networks Inc 508 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 608: ...Copyright 2010 Juniper Networks Inc 572 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 672: ...Copyright 2010 Juniper Networks Inc 636 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 674: ...Copyright 2010 Juniper Networks Inc 638 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 716: ...Copyright 2010 Juniper Networks Inc 680 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 717: ...PART 6 Index Index on page 683 681 Copyright 2010 Juniper Networks Inc...
Страница 718: ...Copyright 2010 Juniper Networks Inc 682 JunosE 11 2 x BGP and MPLS Configuration Guide...