Apply Local-Preference; Apply Mpls-Label - H3C MSR 20-20 Command Reference Manual

Msr 20/30/50 series routers
Hide thumbs Also See for MSR 20-20:
Table of Contents

Advertisement

1192
C
78: R
HAPTER
OUTING

apply local-preference

Syntax
View
Parameters
Description
Related commands:
Examples

apply mpls-label

Syntax
View
Parameters
Description
Examples
P
C
C
OLICY
OMMON
ONFIGURATION
apply local-preference preference
undo apply local-preference
Routing policy view
preference: BGP local preference, in the range 0 to 4294967295.
Use the
apply local-preference
preference to BGP routes.
Use the
undo apply local-preference
configuration.
No local preference is set for BGP routing information by default.
route-policy.
# Create routing policy policy1 with node 10, matching mode as permit. If a route
matches AS-path-ACL 1, set the local preference for the route to 130.
<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 mpls-label
undo apply mpls-label
Routing policy view
None
Use the
apply mpls-label
Use the
undo apply mpls-label
No MPLS label is set by default.
If MPLS label failed to apply, the routing information can not be advertised.
# Create routing policy policy1 with node 10, matching mode as permit. If a route
matches AS-path-ACL 1, set MPLS label for the route.
C
OMMANDS
command to apply the specified local
command to remove the clause
command to set MPLS label for routing information.
command to remove the clause configuration.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Msr 20-21Msr 30-16Msr 30-20Msr 30-40Msr 30-60Msr 50 ... Show all

Table of Contents