H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – Routing Protocol
H3C S7500 Series Ethernet Switches Chapter 6 IP Routing Policy Configuration Commands
6-16
Parameters
acl-number: AS path list number, ranging from 1 to 199.
as-regular-expression: AS path regular expression.
Description
Use the ip as-path-acl command to configure an AS regular expression.
Use the undo ip as-path-acl command to remove the configuration.
The defined AS path list can be used in BGP policy.
Related commands: peer as-path-acl, display bgp routing-table as-path-acl.
Examples
# Configure an AS path list
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] ip as-path-acl 10 permit 200,300
6.1.20 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
Parameters
basic-comm-list-number: Basic community list number, ranging from 1 to 99.
adv-comm-list-number: Advanced community list number, ranging from 100 to 199.
permit: Specifies to allow access to matching conditions.
deny: Specifies to deny access to matching conditions.
aa:nn: Community number. The value ranges of aa and nn are both from 1 to 65,535.
internet: Specifies to advertise all routes.
no-export-subconfed: Specifies not to send matched routes out of the specified sub
AS.
no-advertise: Specifies not to send matched routes to any peer entities.