Displaying and maintaining bgp, Displaying bgp – H3C Technologies H3C SR8800 User Manual

Page 253

Advertising
background image

237

Step Command

Remarks

2.

Enter BGP view.

bgp as-number

N/A

3.

Enable BFD for the specified

BGP peer.

peer ip-address bfd

Not enabled for any

BGP peer by default

NOTE:

Before you configure BFD for BGP, you must enable BGP.

After a link failure occurs, BFD may detect the failure before the system performs GR. As a result, GR will
fail. If GR capability is enabled for BGP, use BFD with caution. If GR and BFD are both enabled, do not
disable BFD during a GR process; otherwise, GR may fail.

For BFD configuration, see

High Availability Configuration Guide.

Displaying and maintaining BGP

Displaying BGP

Task Command

Remarks

Display peer group information.

display bgp group [ group-name ] [ | { begin | exclude
| include } regular-expression ]

Available in
any view

Display advertised BGP routing
information.

display bgp network [ | { begin | exclude | include }
regular-expression ]

Available in
any view

Display AS path information.

display bgp paths [ as-regular-expression ] | | { begin
| exclude | include } regular-expression ]

Available in
any view

Display BGP peer/peer group
information.

display bgp peer [ ip-address { log-info | verbose } |
group-name log-info | verbose ] [ | { begin | exclude
| include } regular-expression ]

Available in
any view

Display the prefix information in
the ORF packet from the specified

BGP peer.

display bgp peer ip-address received ip-prefix [ |
{ begin | exclude | include } regular-expression ]

Available in
any view

Display BGP routing information.

display bgp routing-table [ ip-address [ { mask |
mask-length } [ longer-prefixes ] ] ] [ | { begin |

exclude | include } regular-expression ]

Available in
any view

Display routing information
matching the AS path ACL.

display bgp routing-table as-path-acl
as-path-acl-number [ | { begin | exclude | include }

regular-expression ]

Available in
any view

Display BGP CIDR routing
information.

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

Available in
any view

Display BGP routing information
matching the specified BGP

community.

display bgp routing-table community
[ aa:nn&<1-13> ] [ no-advertise | no-export |
no-export-subconfed ] * [ whole-match ] [ | { begin |

exclude | include } regular-expression ]

Available in
any view

Advertising