[Contents] [Prev] [Next] [Index] [Report an Error]


Step 2: Verify That a Neighbor is Advertising a Particular Route

Purpose

You can determine if a particular route that you have configured is being advertised by a neighbor.

Action

To verify that a neighbor is advertising a particular route, enter the following JUNOS CLI operational mode command:

user@host> show route advertising-protocol bgp neighbor-address

Sample Output

user@R2> show route advertising-protocol bgp 10.0.0.4     

inet.0: 20 destinations, 22 routes (20 active, 0 holddown, 0 hidden)
  Prefix                  Nexthop              MED     Lclpref    AS path
* 100.100.1.0/24          Self                 5       200        65001 I
* 100.100.2.0/24          Self                 5       100        65001 I
* 100.100.3.0/24          Self                         100        65001 I
* 100.100.4.0/24          Self                         100        65001 I

What It Means

The sample output shows the BGP routes advertised from R2 to its neighbor, 10.0.0.4 (R4). Out of 22 total routes in the inet.0 routing table, 20 are active destinations . No routes are hidden or in the hold-down state. Routes reside in the hold-down state prior to being declared active, and routes rejected by a routing policy can be placed into the hidden state. The information displayed reflects the routes that the routing table exported to the BGP routing protocol.


[Contents] [Prev] [Next] [Index] [Report an Error]