Switch 7700 Command reference Guide, v2.0

Table Of Contents
IP Routing Policy Configuration Commands 231
View
Route policy view
Parameter
local_preference: New set local preference.
Description
Use the apply local-preference command to configure to apply the local
preference of route information. This command is one apply sub-statements of
Route-policy attribute set.
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 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. .
[SW7700-route-policy]apply local-preference 130
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
Use the apply origin command, which is one of attribute apply
sub-statements of Route-policy, to configure to apply the route source.
Use the undo apply origin 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 cost and apply tag.