Command Manual - Routing Protocol
Quidway S3500 Series Ethernet Switches Chapter 4 BGP Configuration Commands
Huawei Technologies Proprietary
4-28
as-regular-expression: AS regular expression.
Description
Using ip as-path-acl command, you can configure an AS path regular express. Using
undo ip as-path-acl command, you can disable the defined regular expression.
The configured AS path list can be used in BGP policy.
For the related commands, see 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
4.1.30 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 } as-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: Permit those that match conditions to access.
deny: Deny those that match conditions to access.
aa:nn: Community number.
internet: Advertise all routes.
no-export-subconfed: Used not to advertise the matched route beyond the
confederation.
no-advertise: Used not to send the matched route to any peer.
no-export: Does not announce the route to the AS or the association outside, but can
advertise to other sub-ASs.
as-regular-expression: Community attribute of the regular expression.