
default-te-metric
Configures a default value to be used by interfaces not explicitly configured for MPLS TE metric.
Syntax: [no] default-te-metric {teValue | igp}
teValue
Specifies the default MPLS TE value used by interfaces not explicitly configured. Valid Values: 1 - 16777215 metric style wide or 1 - 63 metric style narrow (IS-IS only). Default: 20.
igp
Specifies that the IGP metric value is to be used by interfaces not explicitly configured with an MPLS TE metric.
Description: If an MPLS traffic engineering metric is not explicitly set, the interface metric defaults to the IGP metric set by the ip ospf cost command for an OSPF interface or the isis metric command for an IS-IS interface. IPriori provides for specifying a specific MPLS TE default metric value or specifying that the IGP metric will be the default value.
If an IGP route's lowest cost is via an attached MPLS-TE tunnel and all links along the way are TE enabled, IPriori converts the route to MPLS.
Use the default-te-metric command to specify how the default MPLS TE interface metric should be handled, i.e. a specified TE metric default or the IGP configured value.
Use the default-te-metric teValue command to configure a specific default MPLS TE metric for interfaces not explicitly configured using the mpls te metric command.
Use the default-te-metric igp command to specify that the configured IGP metric value should be used when creating tunnels for any interface not explicitly configured using the mpls te metric command.
Use the no default-te-metric command to reset the default MPLS TE metric to the configured IGP metric.
Factory Default: The configured IGP metric for this interface
Command Mode: Global Configuration.
Example: The following example:
- The default for MPLS TE metric is set to the IGP metric value for all interfaces not explicitly set for MPLS TE metric.
- The MPLS TE metric is set to 200 for POS interface 1/1/1.
- The IGP IS-IS L2 metric is set to 100 for POS interface 1/1/2.
router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
router(config)#default-te-metric igp
router(config)#interface pos 1/1/1
router(config-if)#mpls te metric 200
router(config-if)#exit
router(config)#interface pos 1/1/2
router(config-if)#isis metric 100 level-2
router(config-if)#end
router#
The MPLS TE metric values for the above example are as follows:
- Interface POS 1/1/1: 200. This value was explicitly set for this interface using the mpls te metric command.
- Interface POS 1/1/2: 100. The MPLS TE metric value was not explicitly set and the default TE metric value is the configured IGP value, therefore the configured IS-IS metric value is used for the MPLS TE metric.
Example: The following example:
- The default for MPLS TE metric is set to 50 for all interfaces not explicitly set for MPLS TE metric.
- The MPLS TE metric is set to 200 for POS interface 1/1/1.
- The IGP IS-IS L2 metric is set to 100 for POS interface 1/1/2.
router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
router(config)#default-te-metric igp
router(config)#interface pos 1/1/1
router(config-if)#mpls te metric 200
router(config-if)#exit
router(config)#interface pos 1/1/2
router(config-if)#isis metric 100 level-2
router(config-if)#end
router#
The MPLS TE metric values for the above example are as follows:
- Interface POS 1/1/1: 200. This value was explicitly set for this interface using the mpls te metric command.
- Interface POS 1/1/2: 50. The MPLS TE metric value was not explicitly set and the default TE metric value is the configured 50, therefore the configured IS-IS metric value is not used for the MPLS TE metric.
Related Commands: ip ospf cost
isis metric
mpls te metric
show mpls te
Copyright © 2004
Avici Systems Inc.
Avici® and TSR®
is a registered trademark of Avici Systems Inc.
IPriori, Composite Links, SSR, QSR, and NSR® are
trademarks of Avici Systems Inc.
Source
File Name: TE%20Commands.fm
HTML File Name: TE%20Commands18.html
Last Updated: 12/19/04 at 14:56:07