F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices Network Management Command Reference-6PW100

Table Of Contents
1062
[Sysname-route-policy] apply ip-precedence 5
apply local-preference
Use apply local-preference to configure the specified local preference for BGP routes.
Use undo apply local-preference to remove the clause configuration.
Syntax
apply local-preference preference
undo apply local-preference
Default
No local preference is configured for BGP routing information.
Views
Routing policy view
Default command level
2: System level
Parameters
preference: Local preference for BGP routes, in the range of 0 to 4294967295.
Usage guidelines
The following matrix shows the apply isis command and firewalls and UTM devices compatibility:
Hardware Command com
p
atible
F1000-A-EI/F1000-S-EI Yes
F1000-E Yes
F5000 Yes
Firewall module Yes
U200-A Yes
U200-S No
Examples
# Configure node 10 in permit mode of routing policy policy1. If a route matches AS path list 1, configure
a local preference of 130 for the route.
<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
apply origin
Use apply origin to set the specified ORIGIN attribute for BGP routes.
Use undo apply origin to remove the clause configuration.