EasyManua.ls Logo

H3C S7500E Series

H3C S7500E Series
1565 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...
Command Manual – IPv4 Routing
H3C S7500E Series Ethernet Switches Chapter 6 Routing Policy Configuration Commands
6-7
[Sysname-route-policy] if-match tag 8
[Sysname-route-policy] apply isis level-2
6.1.8 apply local-preference
Syntax
apply local-preference preference
undo apply local-preference
View
Routing policy view
Parameters
preference: BGP local preference, in the range 0 to 4294967295.
Description
Use the apply local-preference command to apply the specified local preference to
BGP routes.
Use the undo apply local-preference command to remove the clause configuration.
No local preference is set for BGP routing information by default.
Related commands: route-policy.
Examples
# Create routing policy policy1 with node 10, matching mode as permit. If a route
matches AS-path-ACL 1, set the local preference for the route to 130.
<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
6.1.9 apply origin
Syntax
apply origin { igp | egp as-number | incomplete }
undo apply origin
View
Routing policy view
Parameters
igp: Sets the origin of BGP routing information to IGP.

Table of Contents

Other manuals for H3C S7500E Series

Related product manuals