Command Manual – Routing Protocol
Quidway S8500 Series Routing Switches Chapter 6 IP Routing Policy Configuration Commands
Huawei Technologies Proprietary
6-17
ip as-path-acl acl-number { permit | deny } as-regular-expression
undo ip as-path-acl acl-number
View
System view
Parameter
acl-number: Number of AS path list, ranging from 1 to 199.
as-regular-expression: AS regular expression.
Description
Use the ip as-path-acl command to configure an AS path regular express.
Use the undo ip as-path-acl command to disable the defined regular expression.
The configured AS path list can be used on BGP policy.
Related command: peer as-path-acl, display bgp routing-table as-path-acl.
Example
# Configure an AS path list.
[Quidway] ip as-path-acl 10 permit 200,300
6.1.22 ip community-list
Syntax
ip community-list basic-comm-list-number { permit | deny } [ aa:nn | internet |
no-export-subconfed | no-advertise | no-export ]*
ip community-list adv-comm-list-number { permit | deny } comm-regular-expression
undo ip community-list { basic-comm-list-number | adv-comm-list-number }
View
System view
Parameter
basic-comm-list-number: Number of the basic community list, ranging from 1 to 99.
adv-comm-list-number: Number of the advanced community list, ranging from 100 to
199.
permit: Permits those that match conditions to access.
deny: Denies those that match conditions to access.
aa:nn: Community number.
internet: Advertises all routes.