Ip Community-List - H3C S5820X Series Command Reference Manual

Layer 3 - ip routing
Hide thumbs Also See for S5820X Series:
Table of Contents

Advertisement

[Sysname] ip as-path 1 permit ^10

ip community-list

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 ]
View
System view
Default level
2: System level
Parameters
basic-comm-list-num: Basic community list number, in the range 1 to 99.
basic: Specifies a basic communist list name.
advanced: Specifies an advanced communist list name.
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 100 to 199.
regular-expression: Regular expression of advanced community attribute, a string of 1 to 50 characters.
For more information about regular expressions, see the Fundamentals 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: Community number list, which is in the community number or aa:nn format; a
community number is in the range 1 to 4294967295; aa and nn are in the range 0 to 65535. Up to 16
community numbers can be entered.
internet: Routes with this attribute can be advertised to all BGP peers. By default, all routes have this
attribute.
no-advertise: Routes with this attribute cannot be advertised to other BGP peers.
no-export: Routes with this attribute cannot be advertised out the local AS, or the confederation but can
be advertised to other ASs in the confederation.
no-export-subconfed: Routes with this attribute cannot be advertised out the local AS, or to other sub ASs
in the confederation.
Description
Use the ip community-list to define a community list entry.
Use the undo ip community-list command to remove a community list or entry.
441

Advertisement

Table of Contents
loading

This manual is also suitable for:

S5800 series

Table of Contents