Apply Origin; Apply Preference - HP 6125G Command Reference Manual

Layer 3 - ip routing
Hide thumbs Also See for 6125G:
Table of Contents

Advertisement

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.
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
339

Advertisement

Table of Contents
loading

This manual is also suitable for:

6125 blade switch series

Table of Contents