Resetting bgp connections, Clearing bgp information, Bgp configuration examples – H3C Technologies H3C S10500 Series Switches User Manual

Page 248: Bgp basic configuration, Network requirements

Advertising
background image

233

To do…

Use the command…

Remarks

Display BGP routing statistics

display bgp routing-table statistic [ | { begin | exclude
| include } regular-expression ]

Display the global router ID

display router id [ | { begin | exclude | include }
regular-expression ]

Resetting BGP connections

To do…

Use the command…

Remarks

Reset all BGP connections

reset bgp all

Reset the BGP connections to an AS

reset bgp as-number

Reset the BGP connection to a peer

reset bgp ip-address [ flap-info ]

Reset all eBGP connections

reset bgp external

Reset the BGP connections to a peer group reset bgp group group-name

Reset all iBGP connections

reset bgp internal

Reset all IPv4 unicast BGP connections

reset bgp ipv4 all

Available in user
view

Clearing BGP information

To do…

Use the command…

Remarks

Clear dampened BGP routing
information and release suppressed

routes

reset bgp dampening [ ip-address [ mask |
mask-length
] ]

Clear route flap information

reset bgp flap-info [ ip-address [ mask-length |

mask ] | as-path-acl as-path-acl-number |
regexp as-path-regular-expression ]

Available in
user view

BGP configuration examples

BGP basic configuration

Network requirements

In

Figure 90

, run eBGP between Switch A and Switch B and iBGP between Switch B and Switch C so that

Switch C can access the network 8.1.1.0/24 connected to Router A.

Advertising