470 CHAPTER 30: CONFIGURING BGP

Configure Filtering Route Information being Advertised by BGP

Tabl e 557 Filter Routing Information Being Advertised by BGP

By default, BGP does not filter any route information that is received or advertised.

protocol specifies the routing domain that can will be filtered. At present, BGP

can filter route domains such as connected, static, OSPF and OSPF-ASE.

See “Configure Route Filter” of “Configuration of IP Routing Policy” for details.

Resetting BGP

Connections After modifying a BGP configuration, you must turn off the current BGP

connections and reset BGP connections to make the new configuration effective.

Perform the following configurations in system view.

Tabl e 558 Reset BGP Connections

Displaying and
Debugging BGP Tabl e 559 Display and Debug BGP
Operation Command
Filter routing information being advertised
by BGP filter-policy {acl-number |
ip-prefix prefix-list-name } export [
protocol ]
Cancel filtering routing information being
advertised by BGP undo filter-policy {acl-number |
ip-prefix prefix-list-name } export [
protocol ]
Operation Command
Reset BGP connection reset bgp { all | peer-id }
Clear routing flapping attenuation
information and cancel the dampening
over the routes.
reset bgp dampening [ network-address
[ mask ] ]
Reset the BGP connection of a specified
peer or all members of a peer group reset bgp group group-name
Operation Command
Display BGP path information display bgp paths
as-regular-expression
Display AS filtered path information in
BGP display ip as-path-acl acl-number
Display the routing information of the
specified IP address in the routing table. display bgp routing-table ip-address
[ mask ]
Display CIDR route display bgp routing-table cidr
Display routing information of the
specified BGP community display bgp routing-table community [
[aa:nn ] [ no-export-subconfed ] [
no-advertise] [ no-export ] ] [
exact-match ]
Display routing information of permitted
in the specified BGP community list display bgp routing-table comm-list
community-list-number [ exact-match]
Display Dampening route display bgp routing-table dampened
Display the route matching the specified
access list display bgp routing-table acl
acl-number