H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – Routing Protocol
H3C S7500 Series Ethernet Switches Chapter 6 IP Routing Policy Configuration Commands
6-6
[H3C] route-policy 10 permit node 10
[H3C-route-policy] apply isis level-2
6.1.7 apply local-preference
Syntax
apply local-preference local-preference
undo apply local-preference
View
Route policy view
Parameters
local-preference: local preference, ranging from 0 to 4,294,967,295.
Description
Use the apply local-preference command to set local preference for routing
information.
Use the undo apply local-preference command to cancel the apply clause.
Related commands: if-match interface, if-match acl, if-match ip-prefix, if-match ip
next-hop, if-match cost, if-match tag, route-policy, apply ip next-hop, apply
local-preference, apply origin and apply tag.
Examples
# Define an apply clause to set local preference for routing information to 130.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] route-policy 10 permit node 10
[H3C-route-policy] apply local-preference 130
6.1.8 apply origin
Syntax
apply origin { igp | egp as-number | incomplete }
undo apply origin
View
Route policy view
Parameters
igp: Specifies that BGP routing information source is internal route.