H3C Technologies H3C S10500 Series Switches User Manual

Page 247

Advertising
background image

232

To do…

Use the command…

Remarks

Display advertised BGP routing
information

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

Display AS path information

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

Display BGP peer or peer group
information

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

| include } regular-expression ]

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 ]

Display BGP routing information

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

exclude | include } regular-expression ]

Display routing information
matching the AS path ACL

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

regular-expression ]

Display BGP CIDR routing
information

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

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 ]

Display routing information
matching a BGP community list

display bgp routing-table community-list
{ { basic-community-list-number | comm-list-name }

[ whole-match ] | adv-community-list-number } [ |
{ begin | exclude | include } regular-expression ]

Display BGP dampened routing
information

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

Display BGP dampening
parameter information

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

Display BGP routing information
originating from different ASs

display bgp routing-table different-origin-as [ |
{ begin | exclude | include } regular-expression ]

Display BGP routing flap statistics

display bgp routing-table flap-info
[ regular-expression as-regular-expression |

[ as-path-acl as-path-acl-number | ip-address [ { mask
| mask-length } [ longer-match ] ] ] [ | { begin |

exclude | include } regular-expression ] ]

Display labeled BGP routing
information

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

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 ]

Display routing information
matching a regular expression

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

Advertising