Apply Local-Preference; Apply Origin - HP FlexNetwork 3600 v2 Series Command Reference Manual

Hide thumbs Also See for FlexNetwork 3600 v2 Series:
Table of Contents

Advertisement

<Sysname> system-view
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy] if-match tag 8
[Sysname-route-policy] apply isis level-2

apply local-preference

Syntax
apply local-preference preference
undo apply local-preference
View
Routing policy view
Default level
2: System level
Parameters
preference: Local preference for BGP routes, in the range of 0 to 4294967295.
Description
Use apply local-preference to configure the specified local preference for BGP routes.
Use undo apply local-preference to remove the clause configuration.
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.
<Sysname> 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 }
undo apply origin
View
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.
414

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents