HP 6125XLG R2306-HP 6125XLG Blade Switch Layer 3 - IP Routing Command Referenc - Page 431
apply extcommunity, apply isis
View all HP 6125XLG manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 431 highlights
system-view [Sysname] route-policy policy1 permit node 10 [Sysname-route-policy-policy1-10] if-match tag 8 [Sysname-route-policy-policy1-10] apply cost-type internal apply extcommunity Use apply extcommunity to apply the specified extended community attribute. Use undo apply extcommunity to restore the default. Syntax apply extcommunity { rt route-target }& [ additive ] undo apply extcommunity Default No extended community attribute is set for BGP routes. Views Routing policy node view Predefined user roles network-admin Parameters { rt route-target }&: Sets the RT extended community attribute, a string of 3 to 21 characters. & indicates that the argument before it can be entered up to 32 times. A route-target has the following forms: • 16-bit AS number-A 32-bit self-defined number, for example, 101:3. The AS number is in the range of 0 to 65535, and the self-defined number is in the range of 0 to 4294967295. • 32-bit IP address-A 16-bit self-defined number, for example, 192.168.122.15:1. The self-defined number is in the range of 0 to 65535. • 32-bit AS number-A 16-bit self-defined number, for example, 70000:3. The AS number is in the range of 65536 to 4294967295, and the self-defined number is in the range of 0 to 65535. additive: Adds the specified attribute to the original extended community attribute. Examples # Configure node 10 in permit mode for routing policy policy1 to add the RT extended community attribute 100:2 to BGP routes matching AS path list 1. system-view [Sysname] route-policy policy1 permit node 10 [Sysname-route-policy-policy1-10] if-match as-path 1 [Sysname-route-policy-policy1-10] apply extcommunity rt 100:2 additive apply isis Use apply isis to redistribute routes into a specified ISIS level. Use undo apply isis to restore the default. 420