Apply Preference; Apply Preferred-Value - HP FlexNetwork 3600 v2 Series Command Reference Manual

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

Advertisement

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.
<Sysname> 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
View
Routing policy view
Default level
2: System level
Parameters
preference: Routing protocol preference, in the range of 1 to 255.
Description
Use apply preference to set a preference for a routing protocol.
Use undo apply preference to remove the clause configuration.
No preference is set for a routing protocol by default.
If you have set preferences for routing protocols with the preference command, using the apply
preference command will set 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 of routing policy policy1: Set the preference for OSPF external
routes to 90.
<Sysname> system-view
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy] if-match route-type external-type1or2
[Sysname-route-policy] apply preference 90

apply preferred-value

Syntax
apply preferred-value preferred-value
undo apply preferred-value
415

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents