3Com Switch 8800 Advanced Software V5 Configuration Guide
Configuring a Routing Policy 247
Defining an AS Path ACL You can define multiple items for an AS path ACL that is identified by number.
During matching, the relation between items is logical OR, that is, if the route
matches one of these items, it passes the AS path ACL.
To define an AS path ACL, use the following commands:
Defining a Community
List
You can define multiple items for a community list that is identified by number.
During matching, the relation between items is logic OR, that is, if routing
information matches one of these items, it passes the community list.
To define a community list, use the following commands:
Defining an Extended
Community List
You can define multiple items for an extended community list that is identified by
number. During matching, the relation between items is logic OR, that is, if
routing information matches one of these items, it passes the extended
community list.
To define an extended community list, use the following commands:
Configuring a Routing
Policy
A routing policy is used to filter routing information according to some attributes,
and modify some attributes of the routing information that matches the routing
policy. Match criteria can be configured using filters above mentioned.
A routing policy can comprise multiple nodes, each node contains:
To do... Use the command... Remarks
Enter system view system-view -
Define an AS path ACL ip as-path as-path-number {
deny | permit }
regular-expression
Required
Not defined by default
To do... Use the command... Remarks
Enter system view system-view -
Define a
community
list
Define a
basic
community
list
ip community-list
basic-comm-list-num { deny |
permit } [
community-number-list ] [
internet | no-advertise |
no-export |
no-export-subconfed ] *
Required to define either
Define an
advanced
community
list
ip community-list
adv-comm-list-num { deny |
permit } regular-expression
To do... Use the command... Remarks
Enter system view system-view -
Define an extended
community list
ip extcommunity-list
ext-comm-list-number { deny |
permit } { rt { as-number:nn |
ip-address:nn } }&<1-16>
Required
Not defined by default