< Home

Maintaining BGP4+

The BGP4+ route can be checked, and cleared.

Checking BGP4+

Table 1 Checking BGP4+ routing information

Action

Command

Check the information about the peer group.

display bgp ipv6 group [ group-name ]

Check the routing information advertised by BGP4+.

display bgp ipv6 network

Check the AS path information.

display bgp ipv6 paths [ as-regular-expression ]

Check the information about the BGP4+ peer or peer group.

display bgp ipv6 peer [ ipv6-address { log-info | verbose } | verbose ]

Check BGP4+ routing information.

display bgp ipv6 routing-table ipv6-address prefix-length

Check BGP4+ routing information that matches the specified AS path filtering list.

display bgp ipv6 routing-table as-path-filter { as-path-filter-number | as-path-filter-name }

Check the BGP4+ routing information that matches the specified BGP4+ community.

display bgp ipv6 routing-table community [ community-number | aa:nn ] &<1-29> [ internet | no-advertise | no-export | no-export-subconfed ] * [ whole-match ]

Check the routes with different source ASs.

display bgp ipv6 routing-table different-origin-as

Check statistics on BGP4+ route flapping.

display bgp ipv6 routing-table flap-info regular-expression as-regular-expression

Check the routing information that matches the AS regular expression.

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

Check BGP4+ routing statistics.

display bgp ipv6 routing-table statistic

Clearing and resetting BGP4+

To clear the BGP4+ running information, run the following commands in the user view:

Table 2 Clearing and resetting BGP4+ routing information

Action

Command

Reset all BGP4+ connections.

reset bgp all

Reset the BGP4+ connection with the specified AS.

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

Reset the BGP4+ connection with the specified peer.

reset bgp ipv6 { ipv4-address | ipv6-address }

Reset all EBGP4 connections.

reset bgp ipv6 external

Reset the BGP4+ connection with the specified peer group.

reset bgp ipv6 group group-name

Reset all IBGP connections.

reset bgp ipv6 internal

Reset all BGP4+ connections in the IPv6 unicast address family.

reset bgp ipv6 all

Clear route dampening information and release suppressed routes.

reset bgp ipv6 dampening [ ipv6-address prefix-length ]

Clear the flapping statistics of the routes.

reset bgp ipv6 flap-info [ regexp as-path-regexp | as-path-filter as-path-filter-number | ipv6-address prefix-length ]

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