HP 6125G HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Routing Comma - Page 346
apply community
View all HP 6125G manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 346 highlights
View Routing policy view Default level 2: System level Parameters comm-list-number: Community list number. A basic community list number ranges from 1 to 99. A advanced community list number ranges from 100 to 199. comm-list-name: Community list name, a string of 1 to 31 characters, which can contain letters, numbers, and signs. Description Use apply comm-list delete to remove the COMMUNITY attributes specified by the community list from BGP routing information. Use undo apply comm-list to remove the clause configuration. No COMMUNITY attributes are removed from BGP routing information by default. Examples # Configure node 10 in permit mode of routing policy policy1: remove the COMMUNITY attributes specified in community list 1 from the BGP routing information matching AS path list 1. 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& | aa:nn& | internet | no-advertise | no-export | no-export-subconfed } * [ additive ] } View undo apply community Routing policy view Default level 2: System level Parameters none: Removes the COMMUNITY attributes of BGP routes. community-number: Community sequence number, in the range of 1 to 4294967295. aa:nn: Community number; both aa and nn are in the range of 0 to 65535. &: Indicates the argument before it can be entered up to 16 times. internet: Sets the INTERNET community attribute for BGP routes. Routes with this attribute can be advertised to all BGP peers. 335