3Com Switch 7750 Configuration Guide Guide
Displaying IP Routing Policy 369
You can perform the following configuration in system view.
By default, no BGP community list is defined.
Applying Routing Policy
to Route Import
For a routing protocol, you can import the routes discovered by other routing
protocols to it to enrich its route knowledge. When doing this, you can adopt a
route-policy to filter routing information, so as to import only needed routes. For
an import operation, if the destination routing protocol cannot directly use the
routing costs of the source routing protocol, you should specify a routing cost for
the imported routes.
n
The import-route command (used to import routes) is somewhat different in
form in different routing protocol views. Refer to the import-route command
description under the required routing protocol in the command manual.
Applying Routing Policy
to Route
Receipt/Advertisement
n
The filter-policy command (used to apply routing policy to route
receipt/advertisement) is somewhat different in form in different routing protocol
views. Refer to the filter-policy command description under the required routing
protocol in the command manual.
Displaying IP Routing
Policy
After the above configuration, execute the display command in any view to
display and verify the routing policy configuration.
Table 296 Community list configuration
Operation Command Description
Enter system view system-view -
Configure basic community
list
ip community-list
basic-comm-list-number {
permit | deny } [ aa:nn ]
&<1-12> [ internet |
no-export-subconfed |
no-advertise | no-export ]*
Optional
Configure advanced
community list
ip community-list
adv-comm-list-number {
permit | deny }
comm-regular-expression
Optional
Table 297 Display a route policy
Operation Command Description
Display route-policy
information
display route-policy [
route-policy-name ]
You can execute the display
command in any view.
Display BGP routes that match
an AS path ACL
display ip as-path-acl [
acl-number ]
Display address prefix list
information
display ip ip-prefix [
ip-prefix-name ]
Display community list
information
display ip community-list [
basic-comm-list-number |
adv-comm-list-number ]