Command Manual – Routing Protocol
Quidway S8500 Series Routing Switches Chapter 6 IP Routing Policy Configuration Commands
Huawei Technologies Proprietary
6-6
6.1.7 apply local-preference
Syntax
apply local-preference local-preference
undo apply local-preference
View
Route policy view
Parameter
local-preference: Newly set local preference.
Description
Use the apply local-preference command to configure to apply the local preference of
route information.
Use the undo apply local-preference command to cancel the Apply sub-statement.
Related command: 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, apply tag.
Example
# Define an Apply sub-statement. Apply the local preference level of route information
as 130 when this Apply sub-statement is used for setting route information attribute. .
[Quidway-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
Parameter
igp: Sets the BGP route information source as internal route.
egp: Sets the BGP route information source as external route
as-number: Specifies AS number of external route.
incomplete: Sets the BGP route information source as unknown source.