1204 CHAPTER 78: ROUTING POLICY COMMON CONFIGURATION COMMANDS

ip community-listadv-comm-list-num { deny permit } regular-expression

undo ip community-listadv-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

nnin 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 cannot be advertised out the local AS, or to other sub ASs in the confederation.

Description Use the ip community-listto define a community list entry.

Use the undo ip community-listcommand to remove a community list or entry.

No community list is defined by default.

Examples # Define basic community list 1 to permit routing information with the internet community attribute.

<Sysname> system-view

[Sysname] ip community-list 1 permit internet

#Define advanced community list 100 to permit routing information with the community attribute starting with 10.

<Sysname> system-view

[Sysname] ip community-list 100 permit ^10

Page 1204
Image 1204
3Com MSR 30, MSR 50 manual Sysname system-view Sysname ip community-list 100 permit