HP 6125XLG R2306-HP 6125XLG Blade Switch Layer 3 - IP Routing Command Referenc - Page 445
ip community-list, Fundamentals Configuration Guide
View all HP 6125XLG manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 445 highlights
Parameters as-path-number: Specifies a number for the AS path list, in the range of 1 to 256. deny: Specifies the match mode for the AS path list as deny. permit: Specifies the match mode for the AS path list as permit. regular-expression: Specifies an AS path regular expression, a string of 1 to 63 characters. Usage guidelines BGP routing updates contain an AS_PATH attribute field that identifies the ASs through which the routes have passed. An AS path regular expression, for example, ^200. *100$, matches the AS_PATH attribute that starts with AS 200 and ends with AS 100. For the meanings of special characters used in regular expressions, see Fundamentals Configuration Guide. Examples # Create AS path list 1 to permit routes whose AS_PATH attribute starts with 10. system-view [Sysname] ip as-path 1 permit ^10 Related commands • apply as-path • display ip as-path • if-match ip as-path ip community-list Use ip community-list to configure a community list entry. Use undo ip community-list to remove a community list or entry. Syntax ip community-list { basic-comm-list-num | basic basic-comm-list-name } { deny | permit } [ community-number& | aa:nn& ] [ internet | no-advertise | no-export | no-export-subconfed ] * undo ip community-list { basic-comm-list-num | basic basic-comm-list-name } [ deny | permit ] [ community-number& | aa:nn& ] [ internet | no-advertise | no-export | no-export-subconfed ] * ip community-list { adv-comm-list-num | advanced adv-comm-list-name } { deny | permit } regular-expression undo ip community-list { adv-comm-list-num | advanced adv-comm-list-name } [ deny | permit ] [ regular-expression ] Default No community list is configured. Views System view Predefined user roles network-admin 434