HP 6125XLG R2306-HP 6125XLG Blade Switch Layer 3 - IP Routing Command Referenc - Page 434
apply preferred-value, Views, Predefined user roles, Parameters, Usage guidelines, Examples, Syntax
View all HP 6125XLG manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 434 highlights
Views Routing policy node view Predefined user roles network-admin Parameters preference: Specifies a preference in the range of 1 to 255. Usage guidelines If you have set preferences for routing protocols with the preference command, the apply preference command sets a new preference for the matching routing protocol. Non-matching routing protocols still use the preferences set by the preference command. Examples # Configure node 10 in permit mode for routing policy policy1 to set the preference for OSPF external routes to 90. system-view [Sysname] route-policy policy1 permit node 10 [Sysname-route-policy-policy1-10] if-match route-type external-type1or2 [Sysname-route-policy-policy1-10] apply preference 90 apply preferred-value Use apply preferred-value to set a preferred value for BGP routes. Use undo apply preferred-value to restore the default. Syntax apply preferred-value preferred-value undo apply preferred-value Default No preferred value is set for BGP routes. Views Routing policy node view Predefined user roles network-admin Parameters preferred-value: Specifies a preferred value in the range of 0 to 65535. Examples # Configure node 10 in permit mode for routing policy policy1 to set a preferred value of 66 for 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 preferred-value 66 423