HP VPN Firewall Appliances Network Management Command Reference
1076
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 Getting Started 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.
internet: Specifies the INTERNET community attribute. Routes with this attribute can be advertised to all
BGP peers. By default, all routes have this attribute.
no-advertise: Specifies the NO_ADVERTISE community attribute. Routes with this attribute cannot be
advertised to other BGP peers.
no-export: Specifies the NO_EXPORT community attribute. Routes with this attribute cannot be
advertised out of the local AS, or the local confederation but can be advertised to other ASs in the
confederation.