Command Manual - Routing Protocol
Quidway S6500 Series Ethernet Switches Chapter 6 IP Routing Policy Configuration Commands
Huawei Technologies Proprietary
6-6
Description
Using apply local-preference command, you can configure to apply the local
preference of route information. This command is one apply sub-statements of
Route-policy attribute set. Using undo apply local-preference command, you can
cancel the apply sub-statement.
For the related commands, see 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.
Example
# 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: Set the BGP route information source as internal route
egp: Set the BGP route information source as external route
as-number: Specifies AS number of external route.
incomplete: Setting the BGP route information source as unknown source.
Description
Using apply origin command, which is one of attribute apply sub-statements of
Route-policy, you can configure to apply the route source. Using undo apply origin
command, you can cancel the apply sub-statement.
For the related commands, see 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 cost and apply tag.
Example
# Define one apply sub-statement. When it is used for setting route information attribute,
it sets the route source of BGP route information as igp.