< Home

Clearing and Resetting BGP

When a BGP routing policy changes, you need to reset the corresponding BGP connection to make the new routing policy take effect.

To reset or clear BGP operating information, run the following commands in the user view.

Table 1 Clearing and resetting BGP routing information

Action

Command

Reset all BGP connections.

reset bgp all

Reset the BGP connection with the specified AS.

reset bgp { as-number-plain | as-number-dot }

Reset the BGP connection with the specified peer.

reset bgp ipv4-address

Reset all EBGP connections.

reset bgp external

Reset the BGP connection with the specified peer group.

reset bgp group group-name

Reset all IBGP connections.

reset bgp internal

Clear the route dampening information and releases the suppressed routes.

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

Clear the flapping statistics of the routes.

reset bgp flap-info [ regexp as-path-regexp | as-path-filter { as-path-filter-number | as-path-filter-name } | ipv4-address [ mask | mask-length ] ]

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic