Ip Community-List - H3C S7500E Series Command Manual

Hide thumbs Also See for S7500E Series:
Table of Contents

Advertisement

Command Manual – IPv4 Routing
H3C S7500E Series Ethernet Switches
Examples
# Create an AS path ACL numbered 1, permitting routing information whose AS_PATH
starts with 10.
<Sysname> system-view
[Sysname] ip as-path-acl 1 permit ^10

6.1.25 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
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.
deny: Specifies the matching mode of the community list as deny.
permit: Specifies the matching mode of the community list as permit.
community-number-list: Community number list, in the community number or aa:nn
format, with community number in the range 1 to 4294967295 and aa and nn in the
range 0 to 65535. Each format can be entered up to 16 times.
internet: Routes with this attribute can be advertised to all the BGP peers. By default,
all routes have this attribute.
no-advertise: Routes with this attribute will not be advertised to other BGP peers.
no-export: Routes with this attribute will not 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 can not be advertised out the local AS,
or to other sub ASs in the confederation.
Chapter 6 Routing Policy Configuration Commands
6-20

Advertisement

Table of Contents
loading

Table of Contents