HP 6125XLG R2306-HP 6125XLG Blade Switch Layer 3 - IP Routing Command Referenc - Page 433
apply origin, apply preference
View all HP 6125XLG manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 433 highlights
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 local-preference 130 apply origin Use apply origin to set an ORIGIN attribute for BGP routes. Use undo apply origin to restore the default. Syntax apply origin { egp as-number | igp | incomplete } undo apply origin Default No ORIGIN attribute is set for BGP routes. Views Routing policy node view Predefined user roles network-admin Parameters egp as-number: Sets the ORIGIN attribute to EGP. The as-number argument specifies an AS number in the range 1 to 4294967295 for EGP routes. igp: Sets the ORIGIN attribute to IGP. incomplete: Sets the ORIGIN attribute to UNKNOWN. Examples # Configure node 10 in permit mode for routing policy policy1 to set the ORIGIN attribute for routes matching AS path list 1 to IGP. 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 origin igp apply preference Use apply preference to set a preference for a routing protocol. Use undo apply preference to restore the default. Syntax apply preference preference undo apply preference Default No preference is set for a routing protocol. 422