F3215-HP Load Balancing Module Network Management Command Reference-6PW101
559
matches the AS path attribute that starts with AS 200 and ends with AS 100. For the meanings of special
characters used in regular expressions, see System Management Configuration Guide.
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
Use ip community-list to configure a community list entry.
Use undo ip community-list to remove a community list or entry.
Syntax
ip community-list { basic-comm-list-num | basic comm-list-name } { deny | permit }
[ community-number-list ] [ internet | no-advertise | no-export | no-export-subconfed ] *
undo ip community-list { basic-comm-list-num | basic comm-list-name } [ deny | permit ]
[ community-number-list ] [ internet | no-advertise | no-export | no-export-subconfed ] *
ip community-list { adv-comm-list-num | advanced comm-list-name } { deny | permit } regular-expression
undo ip community-list { adv-comm-list-num | advanced comm-list-name } [ deny | permit ]
[ regular-expression ]
Default
No community list is configured.
Views
System view
Default command level
2: System level
Parameters
basic-comm-list-num: Specifies a number for the basic community list, in the range of 1 to 99.
basic: Specifies a name for the basic communist list.
advanced: Specifies name for the advanced communist list.
comm-list-name: Community list name, a string of 1 to 31 characters, which can contain letters, numbers,
and signs.
adv-comm-list-num: Advanced community list number, in the range of 100 to 199.
regular-expression: Specifies a regular expression for the advanced community list, a string of 1 to 50
characters. For more information about regular expressions, see System Management Configuration
Guide.
deny: Specifies the match mode for the community list as deny.
permit: Specifies the match mode for the community list as permit.
community-number-list: Specifies a list of community numbers in the community number or aa:nn format;
a community number is in the range of 1 to 4294967295; aa and nn are in the range of 0 to 65535. Up
to 16 community numbers can be entered.