R3303-HP 6600/HSR6600 Routers Layer 3 - IP Routing Command Reference
494
Syntax
apply mpls-label
undo apply mpls-label
Default
No MPLS label is set for routing information.
Views
Routing policy view
Default command level
2: System level
Usage guidelines
If this command fails to assign an MPLS label to a route, the route cannot be advertised.
Examples
# Configure node 10 in permit mode of routing policy policy1. Set MPLS labels for routes matching AS
path list 1.
<Sysname> system-view
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy] if-match as-path 1
[Sysname-route-policy] apply mpls-label
apply origin
Use apply origin to set the specified origin attribute for BGP routes.
Use undo apply origin to remove the clause configuration.
Syntax
apply origin { egp as-number | igp | incomplete }
undo apply origin
Default
No origin attribute is set for BGP routing information.
Views
Routing policy view
Default command level
2: System level
Parameters
egp: Sets the origin attribute of BGP routing information to EGP.
as-number: Specifies an autonomous system number for EGP routes, in the range of 1 to 4294967295.
igp: Sets the origin attribute of BGP routing information to IGP.
incomplete: Sets the origin attribute of BGP routing information to unknown.










