Apply Mpls-Label - 3Com S7906E Command Reference Manual

6300 series
Hide thumbs Also See for S7906E:
Table of Contents

Advertisement

Parameters
preference: BGP local preference, in the range 0 to 4294967295.
Description
Use the apply local-preference command to set the specified local preference for BGP routes.
Use the undo apply local-preference command to remove the clause configuration.
No local preference is set for BGP routing information by default.
Related commands: route-policy.
Examples
# Configure node 10 in permit mode of route policy policy1: If a route matches AS-PATH list 1, set 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 mpls-label

Syntax
apply mpls-label
undo apply mpls-label
View
Route policy view
Default Level
2: System level
Parameters
None
Description
Use the apply mpls-label command to set MPLS labels for routing information.
Use the undo apply mpls-label command to remove the clause configuration.
No MPLS label is set for routing information by default.
If MPLS labels failed to apply, the routing information can not be advertised.
Examples
# Configure node 10 in permit mode of route policy policy1: If routing information matches AS-PATH list
1, set MPLS labels for it.
<Sysname> system-view
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy] if-match as-path 1
[Sysname-route-policy] apply mpls-label
1-7

Advertisement

Chapters

Table of Contents
loading

This manual is also suitable for:

S7910eS7906e-vS7903eS7903e-sS7902e

Table of Contents