Behavior is different for outbound policies configured for peer groups for which
you have enabled Adj-RIBs-Out. If you change the outbound policy for such a
peer group and want to fill the Adj-RIBs-Out table for that peer group with the
results of the new policy, you must use the
clear ip bgp peer-group
command
to perform a hard clear or outbound soft clear of the peer group. You cannot
merely perform a hard clear or outbound soft clear for individual peer group
members because that causes BGP to resend only the contents of the Adj-RIBs-Out
table.
■
Use the
no
version to send only standard communities to a BGP neighbor. Use
the
default
version to remove the explicit configuration from the peer or peer
group and reestablish inheritance of the feature configuration.
■
See neighbor send-community.
set community
■
Use to set the community attribute in BGP updates.
■
You can specify a community list number in the range 1–4294967295, or in the
new community format of
AA
:
NN
, or one of the following well-known
communities:
■
local-as
—Prevents advertisement outside the local AS
■
no-advertise
—Prevents advertisement to any peer
■
no-export
—Prevents advertisement beyond the BGP confederation boundary
■
Alternatively, you can use the
list
keyword to specify the name of a community
list that you previously created with the
ip community-list
command.
■
Example
host1(config)#
route-map nyc1 permit 10
host1(config-route-map)#
set community no-advertise
■
Use the
none
keyword to remove the community attribute from a route.
■
Use the
no
version to delete the set clause from a route map.
■
See set community.
Community Lists
A community list is a sequential collection of permit and deny conditions. Each
condition describes the community number to be matched. If you issued the
ip
bgp-community new-format
command, the community number is in
AA
:
NN
format;
otherwise it is in decimal format.
The router tests the community attribute of a route against the conditions in a
community list one by one. The first match determines whether the router accepts
(the route is permitted) or rejects (the route is denied) a route having the specified
community. Because the router stops testing conditions after the first match, the
order of the conditions is critical. If no conditions match, the router rejects the route.
Consider the network structure shown in Figure 27 on page 96.
Configuring BGP Routing Policy
■
95
Chapter 1: Configuring BGP Routing
Содержание BGP
Страница 6: ...vi ...
Страница 8: ...viii JUNOSe 11 1 x BGP and MPLS Configuration Guide ...
Страница 37: ...Part 1 Border Gateway Protocol Configuring BGP Routing on page 3 Border Gateway Protocol 1 ...
Страница 38: ...2 Border Gateway Protocol JUNOSe 11 1 x BGP and MPLS Configuration Guide ...
Страница 234: ...198 Monitoring BGP JUNOSe 11 1 x BGP and MPLS Configuration Guide ...
Страница 236: ...200 Multiprotocol Layer Switching JUNOSe 11 1 x BGP and MPLS Configuration Guide ...
Страница 350: ...314 Example Traffic Class Configuration for Differentiated Services JUNOSe 11 1 x BGP and MPLS Configuration Guide ...
Страница 541: ... There is no no version See undebug ip mbgp Monitoring BGP MPLS VPNs 505 Chapter 5 Configuring BGP MPLS Applications ...
Страница 542: ...506 Monitoring BGP MPLS VPNs JUNOSe 11 1 x BGP and MPLS Configuration Guide ...
Страница 544: ...508 Layer 2 Services Over MPLS JUNOSe 11 1 x BGP and MPLS Configuration Guide ...
Страница 598: ...562 Multiple ATM Virtual Circuits over a Single Pseudowire Example JUNOSe 11 1 x BGP and MPLS Configuration Guide ...
Страница 610: ...574 Virtual Private LAN Service JUNOSe 11 1 x BGP and MPLS Configuration Guide ...
Страница 624: ...588 VPLS References JUNOSe 11 1 x BGP and MPLS Configuration Guide ...
Страница 648: ...612 VPLS Configuration Example with LDP Signaling JUNOSe 11 1 x BGP and MPLS Configuration Guide ...
Страница 680: ...644 Virtual Private Wire Service JUNOSe 11 1 x BGP and MPLS Configuration Guide ...
Страница 724: ...688 Monitoring MPLS Forwarding Table for VPWS JUNOSe 11 1 x BGP and MPLS Configuration Guide ...
Страница 725: ...Part 6 Index Index on page 691 Index 689 ...
Страница 726: ...690 Index JUNOSe 11 1 x BGP and MPLS Configuration Guide ...