1188 CHAPTER 78: ROUTING POLICY COMMON CONFIGURATION COMMANDS

undo apply comm-list

View Routing policy view

Parameters comm-list-number: Community list number. The basic community list number ranges from 1 to 99. The advanced community list number ranges from 100 to 199.

Description Use the apply comm-list delete command to remove community attributes in BGP routing information specified by the community list.

Use the undo apply comm-listcommand to remove the clause configuration.

No community attributes are removed by default.

Examples # Create routing policy policy1 with node 10, matching mode as permit. If BGP routing information matches AS-path-ACL 1, remove community attributes specified in community list 1.

<Sysname> system-view

[Sysname] route-policy policy1 permit node 10

[Sysname-route-policy] if-match as-path 1

[Sysname-route-policy] apply comm-list 1 delete

apply community

Syntax apply community { none additive { community-number&<1-16> aa:nn&<1-16> internet no-export-subconfed no-export no-advertise } * [ additive ] }

undo apply community

View Routing policy view

Parameters none: Removes community attributes of BGP routes.

community-number: Community sequence number, in the range 1 to 4294967295.

aa:nn: Community number; both aa and nn are in the range 0 to 65535.

&<1-16>: Indicates the argument before it can be entered up to 16 times.

internet: Sets the internet community attribute for matched BGP routes. Routes with this attribute are advertised to all BGP peers.

no-export-subconfed: Sets the no-export-subconfed community attribute for matched BGP routes. Routes with this attribute are not advertised out the sub autonomous system.

no-advertise: Sets the no-advertisecommunity attribute for matched BGP routes. Routes with this attribute are not advertised to any peers.

Page 1188
Image 1188
3Com MSR 30, MSR 50 manual Apply community, Undo apply comm-list