Table Of Contents
Integrated IS-IS Global Default Metric
Prerequisites for Integrated IS-IS Global Default Metric
Restrictions for Integrated IS-IS Global Default Metric
Information About Integrated IS-IS Global Default Metric
Benefits of Using the Integrated IS-IS Global Default Metric Feature
How to Configure the Integrated IS-IS Global Default Metric Feature
Changing the Global IS-IS IPv4 Default Metric for IPv4 Networks
Changing the Global IS-IS IPv6 Default Metric for IPv6 Networks
Configuration Examples for the Integrated IS-IS Global Default Metric Feature
Setting a Global Default Metric for IPv4: Example
Setting a Global Default Metric for IPv6: Example
Integrated IS-IS Global Default Metric
The Integrated IS-IS Global Default Metric feature allows you to change the global Intermediate System-to-Intermediate System (IS-IS) default metric for interfaces so that you need not change the metric values for the interfaces one by one. All interfaces that had the original IS-IS default metric 10 will be configured with the new default value.
History for the Integrated IS-IS Global Default Metric Feature
Finding Support Information for Platforms and Cisco IOS Software Images
Use Cisco Feature Navigator to find information about platform support and Cisco IOS software image support. Access Cisco Feature Navigator at http://www.cisco.com/go/fn. You must have an account on Cisco.com. If you do not have an account or have forgotten your username or password, click Cancel at the login dialog box and follow the instructions that appear.
Contents
•
Prerequisites for Integrated IS-IS Global Default Metric
•
Restrictions for Integrated IS-IS Global Default Metric
•
Information About Integrated IS-IS Global Default Metric
•
How to Configure the Integrated IS-IS Global Default Metric Feature
•
Configuration Examples for the Integrated IS-IS Global Default Metric Feature
Prerequisites for Integrated IS-IS Global Default Metric
•
You must have IS-IS configured in your network.
•
You must be familiar with IPv4. Refer to the publications referenced in the "Related Documents" section for IPv4 configuration and command reference information.
•
You must be familiar with IPv6 addressing and basic configuration. Refer to the publications referenced in the "Related Documents" section for implementing basic connectivity for IPv6.
Restrictions for Integrated IS-IS Global Default Metric
If you have already configured a metric for a specific interface by entering either the isis metric command or the isis ipv6 metric command, the metric that has been configured for that specific interface will take precedence over any global default set by the metric command introduced by this feature.
Information About Integrated IS-IS Global Default Metric
Before you enable the Integrated IS-IS Global Default Metric feature, you should understand the following concept:
•
Benefits of Using the Integrated IS-IS Global Default Metric Feature
Benefits of Using the Integrated IS-IS Global Default Metric Feature
IS-IS has a default active interface metric value of 10 in Cisco IOS software. If the interface is passive, the default value is zero. You can change the metric value for a specific interface by using the isis metric command or the isis ipv6 metric command. If all IS-IS interfaces metric values need to be changed to some value other than the default value, the change needs to be made one by one on all IS-IS interfaces.
The Integrated IS-IS Global Default Metric feature allows you to use one command to change the metric value globally for all IS-IS interfaces. Besides offering the user the convenience of being able to globally configure the value for all IS-IS interfaces, the feature helps prevent errors that occur when interfaces are individually configured to change the metric value: user can remove metrics from an interface and then add the interface back into IS-IS without a set metric, thereby allowing the default metric 10—unintentionally making that interface a highly preferred one in the network. Such an occurrence on the wrong interface could mean the rerouting of traffic across the network on an undesirable path.
How to Configure the Integrated IS-IS Global Default Metric Feature
This section contains the following procedures:
•
Changing the Global IS-IS IPv4 Default Metric for IPv4 Networks
•
Changing the Global IS-IS IPv6 Default Metric for IPv6 Networks
Changing the Global IS-IS IPv4 Default Metric for IPv4 Networks
This section describes how to change the global IS-IS IPv4 default metric for interfaces for networks using IPv4.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
router isis [tag]
4.
net network-entity-title
5.
metric-style wide
6.
metric default-value [level-1 | level-2]
7.
end
8.
show clns interface type number
DETAILED STEPS
Changing the Global IS-IS IPv6 Default Metric for IPv6 Networks
This section describes how to change the global IS-IS IPv6 default metric for interfaces for IS-IS IPv6 networks.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
ipv6 unicast-routing
4.
router isis [tag]
5.
net network-entity-title
6.
metric-style wide
7.
address-family ipv6 [unicast]
8.
metric default-value [level-1 | level-2]
9.
exit-address-family
10.
end
11.
show clns interface type number
DETAILED STEPS
Configuration Examples for the Integrated IS-IS Global Default Metric Feature
This section contains the following configuration examples:
•
Setting a Global Default Metric for IPv4: Example
•
Setting a Global Default Metric for IPv6: Example
Setting a Global Default Metric for IPv4: Example
The following example sets a global default metric of 111 for the IS-IS interfaces.
interface Ethernet3/1ip address 172.16.10.2 255.255.0.0ip router isis area1no ip route-cacheduplex half!interface Ethernet3/2ip address 192.168.10.10 255.255.255.0ip router isis area1no ip route-cacheduplex halfrouter isis area1net 01.0000.0309.1234.00metric-style widemetric 111In the following example, the show clns interface command confirms that the IS-IS IPv4 interface metric for both Level 1 and Level 2 interfaces is assigned the new default metric value 111:
Router# show clns interfaceEthernet3/1 is up, line protocol is upChecksums enabled, MTU 1497, Encapsulation SAPERPDUs enabled, min. interval 10 msec.CLNS fast switching enabledCLNS SSE switching disabledDEC compatibility mode OFF for this interfaceNext ESH/ISH in 39 secondsRouting Protocol: IS-ISCircuit Type: level-1-2Interface number 0x0, local circuit ID 0x1Level-1 Metric: 111, Priority: 64, Circuit ID: mekong.01Level-1 IPv6 Metric: 10Number of active level-1 adjacencies: 0Level-2 Metric: 111, Priority: 64, Circuit ID: mekong.01Level-2 IPv6 Metric: 10Number of active level-2 adjacencies: 0Next IS-IS LAN Level-1 Hello in 922 millisecondsNext IS-IS LAN Level-2 Hello in 1 secondsEthernet3/2 is up, line protocol is upChecksums enabled, MTU 1497, Encapsulation SAPERPDUs enabled, min. interval 10 msec.CLNS fast switching enabledCLNS SSE switching disabledDEC compatibility mode OFF for this interfaceNext ESH/ISH in 20 secondsRouting Protocol: IS-ISCircuit Type: level-1-2Interface number 0x1, local circuit ID 0x2Level-1 Metric: 111, Priority: 64, Circuit ID: mekong.02Level-1 IPv6 Metric: 10Number of active level-1 adjacencies: 1Level-2 Metric: 111, Priority: 64, Circuit ID: mekong.02Level-2 IPv6 Metric: 10Number of active level-2 adjacencies: 1Next IS-IS LAN Level-1 Hello in 2 secondsNext IS-IS LAN Level-2 Hello in 1 secondsIn the following example, the isis metric command is entered so that it will assign a metric value of 10. The metric value that is set with the isis metric command for the specific Ethernet interface 3/1 will take precedence over the metric value that was previously set with the metric command.
interface Ethernet3/1ip address 172.30.10.2 255.255.0.0ip router isis area1no ip route-cacheduplex halfisis metric 10!interface Ethernet3/2ip address 192.168.10.10 255.255.255.0ip router isis area1no ip route-cacheduplex halfrouter isis area1net 01.0000.0309.1234.00metric-style widemetric 111When the show clns command is entered, the router output confirms that the interface has an assigned IS-IS IPv4 metric value of 10:
show clns interfaceEthernet3/1 is up, line protocol is upChecksums enabled, MTU 1497, Encapsulation SAPERPDUs enabled, min. interval 10 msec.CLNS fast switching enabledCLNS SSE switching disabledDEC compatibility mode OFF for this interfaceNext ESH/ISH in 53 secondsRouting Protocol: IS-ISCircuit Type: level-1-2Interface number 0x0, local circuit ID 0x1Level-1 Metric: 10, Priority: 64, Circuit ID: mekong.01Level-1 IPv6 Metric: 10Number of active level-1 adjacencies: 0Level-2 Metric: 10, Priority: 64, Circuit ID: mekong.01Level-2 IPv6 Metric: 10Number of active level-2 adjacencies: 0Next IS-IS LAN Level-1 Hello in 4 secondsNext IS-IS LAN Level-2 Hello in 4 secondsEthernet3/2 is up, line protocol is upChecksums enabled, MTU 1497, Encapsulation SAPERPDUs enabled, min. interval 10 msec.CLNS fast switching enabledCLNS SSE switching disabledDEC compatibility mode OFF for this interfaceNext ESH/ISH in 30 secondsRouting Protocol: IS-ISCircuit Type: level-1-2Interface number 0x1, local circuit ID 0x2Level-1 Metric: 111, Priority: 64, Circuit ID: mekong.02Level-1 IPv6 Metric: 10Number of active level-1 adjacencies: 1Level-2 Metric: 111, Priority: 64, Circuit ID: mekong.02Level-2 IPv6 Metric: 10Number of active level-2 adjacencies: 1Next IS-IS LAN Level-1 Hello in 2 secondsNext IS-IS LAN Level-2 Hello in 922 millisecondsSetting a Global Default Metric for IPv6: Example
The following example changes the IS-IS IPv6 metric to 10 for Ethernet interface 3/2:
interface Ethernet3/1ip address 172.19.10.2 255.255.0.0ip router isis area1no ip route-cacheduplex halfisis metric 10!interface Ethernet3/2ip address 172.29.10.10 255.255.255.0ip router isis area1no ip route-cacheduplex halfisis ipv6 metric 10!router isis area1net 01.0000.0309.1234.00metric-style widemetric 111!address-family ipv6metric 222exit-address-family!In the following example, the show clns interface command is entered and the router output shows that, for IPv6 interfaces, the metric value of 10 that was entered with the isis ipv6 metric command takes precedence over the metric value of 222 that has been set with the metric command:
Router# show clns interfaceEthernet3/1 is up, line protocol is upChecksums enabled, MTU 1497, Encapsulation SAPERPDUs enabled, min. interval 10 msec.CLNS fast switching enabledCLNS SSE switching disabledDEC compatibility mode OFF for this interfaceNext ESH/ISH in 9 secondsRouting Protocol: IS-ISCircuit Type: level-1-2Interface number 0x0, local circuit ID 0x1Level-1 Metric: 10, Priority: 64, Circuit ID: mekong.01Level-1 IPv6 Metric: 222Number of active level-1 adjacencies: 0Level-2 Metric: 10, Priority: 64, Circuit ID: mekong.01Level-2 IPv6 Metric: 222Number of active level-2 adjacencies: 0Next IS-IS LAN Level-1 Hello in 2 secondsNext IS-IS LAN Level-2 Hello in 3 secondsEthernet3/2 is up, line protocol is upChecksums enabled, MTU 1497, Encapsulation SAPERPDUs enabled, min. interval 10 msec.CLNS fast switching enabledCLNS SSE switching disabledDEC compatibility mode OFF for this interfaceNext ESH/ISH in 36 secondsRouting Protocol: IS-ISCircuit Type: level-1-2Interface number 0x1, local circuit ID 0x2Level-1 Metric: 111, Priority: 64, Circuit ID: mekong.02Level-1 IPv6 Metric: 10Number of active level-1 adjacencies: 1Level-2 Metric: 111, Priority: 64, Circuit ID: mekong.02Level-2 IPv6 Metric: 10Number of active level-2 adjacencies: 1Next IS-IS LAN Level-1 Hello in 482 millisecondsNext IS-IS LAN Level-2 Hello in 932 millisecondsAdditional References
The following sections provide references related to the Integrated IS-IS Global Default Metric feature.
Related Documents
Related Topic Document TitleIS-IS routing protocol
•
"Integrated IS-IS Commands" chapter in the Cisco IOS IP Command Reference, Volume 2 of 4: Routing Protocols, Release 12.3T
•
"Configuring Integrated IS-IS" chapter in the Cisco IOS IP Configuration Guide, Release 12.3
Configuring IPv6
"Implementing Basic Connectivity for IPv6" chapter in the Cisco IOS IPv6 Configuration Library
Configuring the IS-IS protocol for IPv6 networks
"Implementing Multitopology IS-IS for IPv6" chapter in Integrated IS-IS Multi-Topology for IS-IS IPv6, Release 12.3
Standards
Standards TitleNo new or modified standards are supported by this feature, and support for existing standards has not been modified by this feature.
—
MIBs
RFCs
RFCs TitleNo new or modified RFCs are supported by this feature, and support for existing RFCs has not been modified by this feature.
—
Technical Assistance
Command Reference
This section documents the following modified command only.
metric
To globally change the metric value for all Intermediate System-to-Intermediate System (IS-IS) interfaces, use the metric command in interface configuration mode or address family configuration mode. To disable the metric value and reinstate the default metric value of 10, use the no form of this command.
metric default-value [level-1 | level-2]
no metric default-value [level-1 | level-2]
Syntax Description
Defaults
The default value for active IS-IS interfaces is 10; the default value for inactive IS-IS interfaces is 0. If the level-1 or level-2 keyword is not entered, the metric will be applied to both Level 1 and Level 2 IS-IS interfaces.
Command Modes
Interface configuration
Address family configurationCommand History
Usage Guidelines
When you need to change the default metric value for all IS-IS interfaces, it is recommended to use the metric command in order to configure all interfaces globally. Globally configuring the metric values prevents user errors, such as unintentionally removing a set metric from an interface without configuring a new value and unintentionally allowing the interface to revert to the default metric of 10, thereby becoming a highly preferred interface in the network.
For networks running IPv4, enter the metric command in interface configuration mode. For networks running IPv6, enter the metric command in address family configuration mode.
Once you enter the metric command to change the default IS-IS interface metric value, an enabled interface will use the new value instead of the default value of 10. Passive interfaces will continue to use the metric value of 0.
Note
The metric value that is directly configured for a specific interface with either the isis metric command or the isis ipv6 metric command will always take precedence over the metric value that you configure with the metric command.
Examples
The following example configures the IS-IS interfaces with a global default value of 111 for an IS-IS IPv4 network:
interface Ethernet3/1ip address 10.10.10.2 255.255.0.0ip router isis area1no ip route-cacheduplex half!interface Ethernet3/2ip address 10.10.10.130 255.255.255.0ip router isis area1no ip route-cacheduplex half!router isis area1net 01.0000.0309.1234.00metric-style widemetric 111Entering the show clns interface command returns the following information:
Router# show clns interfaceEthernet3/1 is up, line protocol is upChecksums enabled, MTU 1497, Encapsulation SAPERPDUs enabled, min. interval 10 msec.CLNS fast switching enabledCLNS SSE switching disabledDEC compatibility mode OFF for this interfaceNext ESH/ISH in 39 secondsRouting Protocol: IS-ISCircuit Type: level-1-2Interface number 0x0, local circuit ID 0x1Level-1 Metric: 111, Priority: 64, Circuit ID: mekong.01Level-1 IPv6 Metric: 10Number of active level-1 adjacencies: 0Level-2 Metric: 111, Priority: 64, Circuit ID: mekong.01Level-2 IPv6 Metric: 10Number of active level-2 adjacencies: 0Next IS-IS LAN Level-1 Hello in 922 millisecondsNext IS-IS LAN Level-2 Hello in 1 secondsEthernet3/2 is up, line protocol is upChecksums enabled, MTU 1497, Encapsulation SAPERPDUs enabled, min. interval 10 msec.CLNS fast switching enabledCLNS SSE switching disabledDEC compatibility mode OFF for this interfaceNext ESH/ISH in 20 secondsRouting Protocol: IS-ISCircuit Type: level-1-2Interface number 0x1, local circuit ID 0x2Level-1 Metric: 111, Priority: 64, Circuit ID: mekong.02Level-1 IPv6 Metric: 10Number of active level-1 adjacencies: 1Level-2 Metric: 111, Priority: 64, Circuit ID: mekong.02Level-2 IPv6 Metric: 10Number of active level-2 adjacencies: 1Next IS-IS LAN Level-1 Hello in 2 secondsNext IS-IS LAN Level-2 Hello in 1 secondsThe following example configures IPv6 for IS-IS and a global default value of 222 IPv6 metric for the IS-IS interfaces. The metric of 10 that was entered using the isis metric command will take precedence.
interface Ethernet3/1ip address 10.10.10.2 255.255.0.0ip router isis area1no ip route-cacheduplex halfisis metric 10!interface Ethernet3/2ip address 10.10.10.10 255.255.255.0ip router isis area1no ip route-cacheduplex halfrouter isis area1net 01.0000.0309.1234.00metric-style widemetric 111!address-family ipv6metric 222exit-address-familyEnter the show clns interface command to verify that the global default metric for IS-IS IPv6 interfaces for IPv6 network is 222:
Router# show clns interfaceEthernet3/1 is up, line protocol is upChecksums enabled, MTU 1497, Encapsulation SAPERPDUs enabled, min. interval 10 msec.CLNS fast switching enabledCLNS SSE switching disabledDEC compatibility mode OFF for this interfaceNext ESH/ISH in 51 secondsRouting Protocol: IS-ISCircuit Type: level-1-2Interface number 0x0, local circuit ID 0x1Level-1 Metric: 10, Priority: 64, Circuit ID: mekong.01Level-1 IPv6 Metric: 222Number of active level-1 adjacencies: 0Level-2 Metric: 10, Priority: 64, Circuit ID: mekong.01Level-2 IPv6 Metric: 222Number of active level-2 adjacencies: 0Next IS-IS LAN Level-1 Hello in 2 secondsNext IS-IS LAN Level-2 Hello in 2 secondsEthernet3/2 is up, line protocol is upChecksums enabled, MTU 1497, Encapsulation SAPERPDUs enabled, min. interval 10 msec.CLNS fast switching enabledCLNS SSE switching disabledDEC compatibility mode OFF for this interfaceNext ESH/ISH in 17 secondsRouting Protocol: IS-ISCircuit Type: level-1-2Interface number 0x1, local circuit ID 0x2Level-1 Metric: 111, Priority: 64, Circuit ID: mekong.02Level-1 IPv6 Metric: 222Number of active level-1 adjacencies: 1Level-2 Metric: 111, Priority: 64, Circuit ID: mekong.02Level-2 IPv6 Metric: 222Number of active level-2 adjacencies: 1Next IS-IS LAN Level-1 Hello in 1 secondsNext IS-IS LAN Level-2 Hello in 89 millisecondsRelated Commands
Command Descriptionisis ipv6 metric
Configures the value of an IS-IS IPv6 metric.
isis metric
Configures the metric for an interface.
© 2003-2005 Cisco Systems, Inc. All rights reserved.


