Resetting bgp session, Clearing bgp information, Bgp configuration examples – H3C Technologies H3C S12500 Series Switches User Manual

Page 259

Advertising
background image

243

Task Command

Remarks

Display routing information to or
from a peer.

display bgp routing-table peer ip-address
{ advertised-routes | received-routes }
[ network-address [ mask | mask-length ] |

statistic ] [ | { begin | exclude | include }

regular-expression ]

Available in any view.

Display routing information
matching a regular expression.

display bgp routing-table regular-expression
as-regular-expression

Available in any view.

Display BGP routing statistics.

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

Available in any view.

Display the global router ID.

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

Available in any view.

Resetting BGP session

Task Command

Remarks

Reset the specified BGP session.

reset bgp { as-number | ip-address |
all | external | group group-name |

internal }

Available in user view.

Reset all IPv4 unicast BGP sessions.

reset bgp ipv4 all

Available in user view.

Clearing BGP information

Task Command

Remarks

Clear dampened BGP routing
information and release suppressed

routes.

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

Available in user view.

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 ]
reset bgp peer-ip-address flap-info

Available in user view.

BGP configuration examples

IMPORTANT:

By default, Ethernet, VLAN, and aggregate interfaces are down. Before configuring these interfaces, bring
them up by using the undo shutdown command.

Advertising