3com S7906E 参照ガイド
1-19
Default Level
2: System level
Parameters
as-path-number: AS-PATH list number, in the range of 1 to 256.
deny: Specifies the matching mode for the AS-PATH list as deny.
permit: Specifies the matching mode for the AS-PATH list as permit.
regular-expression: AS-PATH regular expression, a string of 1 to 50 characters.
BGP routing updates contain the AS path attribute field that identifies the autonomous systems through
which the routing information has passed. An AS-PATH regular expression, for example, ^200. *100$,
matches the AS path attribute that starts with AS200 and ends with AS100. For the meanings of special
characters used in regular expressions, refer to "CLI Display" in Basic System Configuration in the
System Volume.
Description
Use the ip as-path command to create an AS-PATH list.
Use the undo ip as-path command to remove an AS-PATH list.
No AS-PATH list is created by default.
Examples
# Create AS-PATH list 1, permitting routing information whose AS_PATH attribute starts with 10.
<Sysname> system-view
[Sysname] ip as-path 1 permit ^10
ip community-list
Syntax
ip community-list basic-comm-list-num { deny | permit } [ community-number-list ] [ internet |
no-advertise | no-export | no-export-subconfed ] *
undo ip community-list basic-comm-list-num [ community-number-list ] [ internet | no-advertise |
no-export | no-export-subconfed ] *
ip community-list adv-comm-list-num { deny | permit } regular-expression
undo ip community-list adv-comm-list-num [ regular-expression ]
View
System view
Default Level
2: System level
Parameters
basic-comm-list-num: Basic community list number, in the range 1 to 99.
adv-comm-list-num: Advanced community list number, in the range 100 to 199.
regular-expression: Regular expression of advanced community attribute, a string of 1 to 50 characters.