Switch 7700 Configuration Guide, v2

BGP 133
Please perform the following configuration in the BGP view.
By default, the BGP will not filter the received and distributed routes.
For details, see “Configuring Filtering for the Distributed Routes ”.
Clearing the BGP Connection
After the user changes BGP policy or protocol configuration, they must cut off the
current connection so as to enable the new configuration.
Perform the following configuration in user view.
Displaying and
Debugging BGP
After you configure BGP, execute the display command in all views to display the
running of the BGP configuration, and to verify the effect of the configuration.
Execute the reset command in user view to clear the statistics of the
configuration. Execute the debugging command in user view to debug the
configuration. Execute the reset command in user view to reset the statistic
information of BGP.
Table 119 Configuring Filters on the Routes Distributed by the BGP
Operation Command
Configure to filter the routes distributed by
the BGP
filter-policy { acl-number | ip-prefix
ip-prefix-name } export [ routing-process ]
Cancel the filtering of the routes distributed
by the BGP
undo filter-policy
acl-number | ip-prefix ip-prefix-name }
export [ routing-process ]
Table 120 Clearing the BGP Connection
Operation Command
Clear the connection between BGP and the
specified peers
reset bgp peer-address [ flap-info ]
Clear all connections of BGP reset bgp all
Clear the connections between the BGP and
all the members of a group
reset bgp group group-name
Table 121 Display and Debug BGP
Operation Command
Display the routing information of the BGP display bgp routing-table [ ip-address ]
Display filtered AS path information in the
BGP
display ip as-path-acl acl-number
Display CIDR routes display bgp routing-table cidr
Display the routing information of the
specified BGP community
display bgp routing-table community [
aa:nn | no-export-subconfed | no-advertise
| no-export ] [ whole-match ]
Display the routing information allowed by the
specified BGP community list
display bgp routing-table community-list
community-list-number [ whole-match ]
Display BGP dampened paths display bgp routing-table dampening
Display the routing information the specified
BGP peer advertised or received
display bgp routing-table peer
peer-address { advertised | received }
Display the routes matching with the specified
access-list
display bgp routing-table as-path-acl
acl-number