Apply Origin; Apply Local-Preference - H3C S7500E Series Command Manual

Hide thumbs Also See for S7500E Series:
Table of Contents

Advertisement

Command Manual – IPv4 Routing
H3C S7500E Series Ethernet Switches
[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.
Chapter 6 Routing Policy Configuration Commands
6-7

Advertisement

Table of Contents
loading

Table of Contents