EasyManua.ls Logo

HP 6125G - Apply Origin; Apply Preference

HP 6125G
410 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
339
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

Table of Contents

Other manuals for HP 6125G

Related product manuals