HP 6125XLG R2306-HP 6125XLG Blade Switch Layer 3 - IP Routing Command Referenc - Page 439
if-match as-path, if-match community
View all HP 6125XLG manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 439 highlights
Field permit if-match continue apply Description Match mode: • permit. • deny. Match criterion. Specify the next node to be matched. Action. if-match as-path Use if-match as-path to match BGP routes whose AS_PATH attribute matches a specified AS path list. Use undo if-match as-path to remove the configuration. Syntax if-match as-path as-path-number& undo if-match as-path [ as-path-number& ] Default No match criterion is configured. Views Routing policy node view Predefined user roles network-admin Parameters as-path-number&: Specifies an AS path list by its number in the range of 1 to 256. & indicates that the argument before it can be entered up to 32 times. Examples # Define AS path list 2 to permit BGP routes containing AS number 200 or 300 to pass. Configure node 10 in permit mode for routing policy test to match AS path list 2. system-view [Sysname] ip as-path 2 permit _*200.*300 [Sysname] route-policy test permit node 10 [Sysname-route-policy-policy1-10] if-match as-path 2 Related commands • apply as-path • ip as-path-acl if-match community Use if-match community to match BGP routes whose COMMUNITY attribute matches a specified community list. Use undo if-match community to remove the configuration. 428