3Com 3.01.01 Switch User Manual


 
144 CHAPTER 5: IP ROUTING PROTOCOL OPERATION
Defining Match Principle See “Defining If-match Clauses for a Route Policy”
on page 154.
Defining Evaluation Rules See “Defining Apply Clauses for a Route Policy” on
page 155.
Clearing the BGP Connection
After you change a BGP policy or protocol configuration, you must reset the
current BGP connection to enable the new configuration.
Perform the following configuration in user view.
Refreshing BGP Routes
When a BGP routing policy changes, the associated route information must be
recomputed.
Perform the following configuration in user view..
The import keyword means to refresh the routes learned from the peers and the
export keyword means to refresh routes advertised to the peers.
Displaying and Debugging BGP
After creating the configuration, execute the display command in any view to
display 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 BGP statistic
information.
Table 129 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 130 Refreshing BGP Routes
Operation Command
Refreshing general BGP routes refresh bgp { all | peer-address | group
group-name } { import | export }
Table 131 Displaying and Debugging BGP
Operation Command
Display the routing information of the BGP display bgp routing-table [ ip-address [
mask ] ]
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 ]