Displaying and maintaining bgp, Displaying bgp – H3C Technologies H3C SecPath F1000-E User Manual

Page 498

Advertising
background image

473

Step Command

Remarks

1.

Enter system view.

system-view

N/A

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 configuring BFD for BGP, you must enable BGP.

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

Advertising