1624 CHAPTER 96: MPLS TE CONFIGURATION COMMANDS

mpls te igp metric

Syntax

mpls te igp metric { absolute value relative value }

 

undo mpls te igp metric

View

Tunnel interface view

Parameter

absolute value: Assigns an absolute metric to the TE tunnel for path calculation.

 

The value argument takes an integer in the range 1 to 65535. This value is directly

 

used for path calculation.

 

relative value: Assigns a relative metric to the TE tunnel for path calculation. The

 

value argument takes an integer in the range -10 to +10. The default is 0. The cost

 

of the corresponding IGP path must be added to this relative metric before it can

 

be used for path calculation.

Description

Use the mpls te igp metric command to assign a metric to the MPLS TE tunnel.

 

Use the undo mpls te igp metric command to restore the default.

 

By default, TE tunnels take their IGP metrics.

Example

# Assign MPLS TE tunnel 0 a relative metric of -1 for enhanced SPF calculation in

 

IGP.

 

<Sysname> system-view

 

[Sysname] interface tunnel 0

 

[Sysname-Tunnel0] mpls te igp metric relative -1

mpls te igp shortcut

Syntax

mpls te igp shortcut [ isis ospf ]

 

undo mpls te igp shortcut

View

Tunnel interface view

Parameter

isis: Sets the IGP protocol to IS-IS.

 

ospf: Sets the IGP protocol to OSPF.

Description

Use the mpls te igp shortcut command to enable IS-IS or OSPF to consider the

 

MPLS TE tunnel in its enhanced SPF calculation when the tunnel is up. If no IGP

 

protocol is specified, the command applies to both OSPF and IS-IS.

 

Use the undo mpls te igp shortcut command to restore the default.

 

By default, IGP does not consider MPLS TE tunnels in its enhanced SPF calculation.

Page 1624
Image 1624
3Com MSR 30, MSR 50 manual Mpls te igp metric, Mpls te igp shortcut isis ospf, Undo mpls te igp shortcut