HP 6125G HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Routing Comma - Page 350
apply origin, apply preference
View all HP 6125G manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 350 highlights
No local preference is configured for BGP routing information by default. Examples # Configure node 10 in permit mode of routing policy policy1: If a route matches AS path list 1, configure a local preference of 130 for the route. system-view [Sysname] route-policy policy1 permit node 10 [Sysname-route-policy] if-match as-path 1 [Sysname-route-policy] apply local-preference 130 apply origin Syntax apply origin { egp as-number | igp | incomplete } View undo apply origin Routing policy view Default level 2: System level Parameters egp: Sets the ORIGIN attribute of BGP routing information to EGP. as-number: AS number for EGP routes, in the range of 1 to 4294967295. igp: Sets the ORIGIN attribute of BGP routing information to IGP. incomplete: Sets the ORIGIN attribute of BGP routing information to unknown. Description Use apply origin to set the specified origin attribute for BGP routes. Use undo apply origin to remove the clause configuration. No ORIGIN attribute is set for BGP routing information by default. Examples # Configure node 10 in permit mode of routing policy policy1: If BGP routing information matches AS path list 1, set the ORIGIN attribute of the routing information to IGP. system-view [Sysname] route-policy policy1 permit node 10 [Sysname-route-policy] if-match as-path 1 [Sysname-route-policy] apply origin igp apply preference Syntax apply preference preference undo apply preference 339