Managing a Large-Scale AS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141
Configuring a Confederation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141
Configuring Route Reflectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
Route Reflection and Redundancy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146
Route Reflection and Looping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146
Configuring BGP Multicasting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150
Monitoring BGP Multicast Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153
Using BGP Routes for Other Protocols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153
Configuring BGP/MPLS VPNs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154
Testing BGP Policies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154
Chapter 2 Monitoring BGP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157
Setting a Baseline on All BGP Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158
Enabling Display of BGP Logs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158
Setting the Default Output Fields While Displaying Summarized Status of BGP
Neighbors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159
Setting the Default BGP Routing Table Output Fields . . . . . . . . . . . . . . . . . . . . . 159
Monitoring AS-Path Access Lists . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162
Monitoring the BGP Routing Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162
Monitoring Advertised BGP Routes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167
Monitoring BGP Aggregate Addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
Monitoring BGP Routes with Nonnatural Network Masks . . . . . . . . . . . . . . . . . . . 170
Monitoring BGP Routes in a Community . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171
Monitoring BGP Community Routes in the Community List . . . . . . . . . . . . . . . . . 173
Monitoring Dampened BGP Routes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174
Monitoring BGP Routes with Matching AS Paths and AS-Path Access Lists . . . . 176
Monitoring BGP Flap Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177
Monitoring BGP Routes with Inconsistent AS Paths . . . . . . . . . . . . . . . . . . . . . . . 178
Monitoring BGP Neighbors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180
Monitoring Dampened BGP Routes of Specified Neighbors . . . . . . . . . . . . . . . . . 185
Monitoring BGP Paths of Neighbors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
Monitoring Prefix List Outbound Route Filters Received from the BGP
Neighbor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
Monitoring Routes Originating from a BGP Neighbor Before Application of
Inbound Policy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188
Monitoring Routes Originating from a BGP Neighbor After Application of Inbound
Policy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 189
Monitoring Networks in an Autonomous System . . . . . . . . . . . . . . . . . . . . . . . . . . 191
Monitoring BGP Next Hops . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 192
Monitoring BGP Paths . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193
Monitoring BGP Peer Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193
Monitoring BGP Routes with Matching AS-Paths and Regular Expressions for
Single Regular Expressions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196
Monitoring BGP Routes with Matching AS-Paths and Regular Expressions for
Multiple Regular Expressions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198
Monitoring the Status of All BGP Neighbors . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200
Monitoring All Routes in a BGP Community List . . . . . . . . . . . . . . . . . . . . . . . . . 204
Disabling Display of BGP Logs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205
Copyright © 2010, Juniper Networks, Inc.xii
JunosE 11.2.x BGP and MPLS Configuration Guide