470CHAPTER 30: CONFIGURING BGP

Configure Filtering Route Information being Advertised by BGP

Table 557 Filter Routing Information Being Advertised by BGP

Operation

Command

 

 

Filter routing information being advertised

filter-policy {acl-number

by BGP

ip-prefix prefix-list-name} export [

 

protocol ]

 

 

Cancel filtering routing information being

undo filter-policy {acl-number

advertised by BGP

ip-prefix prefix-list-name} export [

 

protocol ]

 

 

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 After modifying a BGP configuration, you must turn off the current BGP Connections connections and reset BGP connections to make the new configuration effective.

Perform the following configurations in system view.

Table 558 Reset BGP Connections

 

Operation

Command

 

 

 

 

Reset BGP connection

reset bgp { all peer-id }

 

 

 

 

Clear routing flapping attenuation

reset bgp dampening [ network-address

 

information and cancel the dampening

[ mask ] ]

 

over the routes.

 

 

 

 

 

Reset the BGP connection of a specified

reset bgp group group-name

 

peer or all members of a peer group

 

 

 

 

 

 

 

Displaying and

Table 559 Display and Debug BGP

 

Debugging BGP

 

 

Operation

Command

 

 

 

 

 

Display BGP path information

display bgp paths

 

 

as-regular-expression

 

 

 

 

Display AS filtered path information in

display ip as-path-acl acl-number

 

BGP

 

 

 

 

 

Display the routing information of the

display bgp routing-table ip-address

 

specified IP address in the routing table.

[ mask ]

 

 

 

 

Display CIDR route

display bgp routing-table cidr

 

 

 

 

Display routing information of the

display bgp routing-table community [

 

specified BGP community

[aa:nn ] [ no-export-subconfed ] [

 

 

no-advertise] [ no-export ] ] [

 

 

exact-match ]

 

 

 

 

Display routing information of permitted

display bgp routing-table comm-list

 

in the specified BGP community list

community-list-number [ exact-match]

 

 

 

 

Display Dampening route

display bgp routing-table dampened

 

 

 

 

Display the route matching the specified

display bgp routing-table acl

 

access list

acl-number

 

 

 

Page 474
Image 474
3Com 10014299 manual Debugging BGP, Filter Routing Information Being Advertised by BGP, Reset BGP Connections