test ip bgp neighbor
■
Use to test the effect of BGP policies on a router without implementing the policy.
■
You can apply the test to routes advertised to peers or received from peers.
■
You can test the following kinds of policies: distribute lists, filter lists, prefix lists,
prefix trees, or route maps. If you do not specify a policy, then the test uses
whatever policies are currently in effect on the router.
NOTE:
If you test the current policies, the results might vary for routes learned before
the current policies were activated if you did not clear the forwarding table when
the policies changed.
■
The following three items apply to the
test ip bgp neighbor
command only:
■
The
address-family identifier
for the route is the same as is used for identifying
the neighbor.
■
If you do not specify a route, the test is performed for all routes associated
with the
address-family identifier
.
■
Specifying only an address and mask without a route distinguisher causes
all routes sharing the address and mask to be considered. Specifying only
an address causes a best match to be performed for the route.
■
If you completely specify a route with IP address, mask, and route distinguisher,
the command displays detailed route information. Otherwise only summary
information is shown. Use the
fields
option to select particular fields of interest.
■
If you specify a BGP peer group by using the
peerGroupName
argument, all the
members of the peer group inherit the characteristic configured with this
command unless it is overridden for a specific peer.
■
You can set a weight value for inbound routes filtered with a filter list.
■
Example
host1#
test ip bgp neighbor 10.12.54.21 advertised-routes distribute-list boston5
fields
■
There is no
no
version.
■
See test bgp ipv6 neighbor.
■
See test ip bgp neighbor.
Selecting the Best Path
BGP selects only one route to a destination as the
best path
. When multiple routes
to a given destination exist, BGP must determine which of these routes is the best.
BGP puts the best path in its routing table and advertises that path to its BGP
neighbors.
106
■
Selecting the Best Path
JUNOSe 11.0.x BGP and MPLS Configuration Guide
Содержание JUNOSE
Страница 6: ...vi...
Страница 8: ...viii JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 24: ...xxiv Table of Contents JUNOSe 11 0 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 0 x BGP and MPLS Configuration Guide...
Страница 234: ...198 Monitoring BGP JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 236: ...200 Multiprotocol Layer Switching JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 298: ...262 Point to Multipoint LSPs Configuration JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 346: ...310 Example Traffic Class Configuration for Differentiated Services JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 535: ...There is no no version See undebug ip mbgp Monitoring BGP MPLS VPNs 499 Chapter 5 Configuring BGP MPLS Applications...
Страница 536: ...500 Monitoring BGP MPLS VPNs JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 538: ...502 Layer 2 Services Over MPLS JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 592: ...556 Multiple ATM Virtual Circuits over a Single Pseudowire Example JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 604: ...568 Virtual Private LAN Service JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 618: ...582 VPLS References JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 642: ...606 VPLS Configuration Example with LDP Signaling JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 674: ...638 Virtual Private Wire Service JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 718: ...682 Monitoring MPLS Forwarding Table for VPWS JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 719: ...Part 6 Index Index on page 685 Index 683...
Страница 720: ...684 Index JUNOSe 11 0 x BGP and MPLS Configuration Guide...