You are on page 1of 9
1910512028, 2327 15:18 Metic on Cisco 10S. Search Q © IS-IS Metric on Cisco 1OS Lesson Contents 1. Configuration 2. Conclusion IS-1S supports four different metric values: * Default Met every interface has a default metric of 10. * Delay: similar to how EIGRP uses delay. * Expense: the actual monetary cost of a link. «Error: similar to how EIGRP uses reliability. © Cisco 10S routers, however, only support the default metric. The other metric values are not used. The default metric is always set to 10, no matter the interface. A Ten Gigabit interface gets the same metric as a slow serial link. In practice, this means that |S-IS will act similar to RIP, the path with the least amount of hops will be used This is something you might want to change. In this lesson, Ill show you how we can configure the metric and some other tricks. 1. Configuration Here's the topology I will use: hitpstnetworklessons.comie-isls-4-mebc-on-clecoios 19 1910812023, 2327 15:18 Metic on Cisco 10S. a 192.168.12.0/24 0/1 ——— a$ gs 463 AaB is 3 4, is Gi0/1. Gi0/1. ie 192,168.34.0/24 eo We have four routers ina single area, these routers are configured as level 1 routers. Configurations Want to take a look for yourself? Here you will find the startup configuration of each device. R1 hostname R1 ! ip cef ! interface Gigabitethernet®/1 ip address 192.168.12.1 255.255.255.0 ip router isis ! interface Gigabitethernet®/2 ip address 192.168.13.1 255.255.255.0 ip router isis hnps:metworklessons.comis-isisis-mebric-on-ciscoios Lessons ¢ 1910512028, 2327 a net 49.1234.0008.0000.0001.00 is-type level-1 log-adjacency-changes end R2 hostname R2 ip cef interface Gigabitethernet®/1 ip address 192.168.12.2 255.255.255.0 ip router isis ' interface Gigabitetherneto/2 ip address 192.168.24.2 255.255.255.0 ip router isis router isis net 49.1234.0000.0000.0002.00 is-type level-1 log-adjacency-changes ! end R3 hostname R3 ! ip cef 1 interface Gigabitethernet@/1 ip address 192.168.34.3 255.255.255.0 ip router isis ! hitpstnetworklessons.comie-isle-4-metc-on-clecoos 15:18 Metic on Cisco 10S. a9 1910512028, 2327 15:18 Metic on Cisco 10S. a ip router isis router isis net 49.1234.0000.0000.0003.00 is-type level-1 Log-adjacency-changes ! end R4 hostname R4 ' ip cef ' interface Loopback@ ip address 4.4.4.4 255.255.255.255 ip router isis ' interface Gigabitetherneto/1 ip address 192.168.34.4 255.255.255. ip router isis ' interface Gigabitetherneto/2 ip address 192.168.24.4 255.255.255.0 ip router isis ' router isis net 49.1234.000.0000.0004.00 is-type level-1 Log-adjacency-changes ' end Let's take a look the routing table of R1 hitpstnetworklessons.comie-isls-4-mebc-on-clecoios 49 1910512028, 2327 15:18 Metic on Cisco 10S. 4.0.0.0/32 is subnetted, 1 subnets ill 4.4.4.4 [115/30] via 192.168.13.3, 00:06:43, Gigabitetherneto/2 [115/38] via 192.168.12.2, 00:06:43, GigabitEtherneto/1 ALA 192.168.24.0/24 [115/20] via 192.168.12.2, @0:06:43, Gigabitetherneto/1 4 LA 192,168.34.0/24 [115/20] via 192.168.13.3, 00:06:43, Gigabitetherneto/2 Above we see that R1 has two equal metric paths for 4.4.4.4/32. Both have a metric of 30 in total. We have to cross two Gigabitéthernet interfaces and the loopback interface is added as well. What if we want to change this? We can do so by setting the metric manually. This is done on the interface level: Ri(config)#interface Gigabitethernet 0/2 Ri(config-if)#isis metric ? <1-16777214> Default metric maximum Maximum metric. All routers will exclude this Link from their SPF We can select a different metric or use the maximum command. I'l show you what this command does i a minute, let's start with a custom metric first: Ri(config-if)#isis metric 50 ? <1-16777214> Delay metric level-1 Apply metric to level-1 links level-2 Apply metric to level-2 links We can make one more change. You can choose if this metric should apply to level 1, level 2 links or both. If you don't specify this then it will apply to both, Let's set the metric of this interface to 50: Ri(config-if)#isis metric 5@ Let's have another look at the routing table: Ri#show ip route 4.4.4.4 255,255,255.255 Routing entry for 4.4.4.4/32 Known via "isis", distance 115, metric 30, type level-1 hitpstnetworklessons.comie-isle-4-metc-on-clecoos 59 1910512028, 2327 15:18 Metic on Cisco 10S. a Routing Descriptor Blocks: * 192.168.12.2, from 4.4.4.4, 00:00:10 ago, via Gigabitetherneto/1 Route metric is 38, traffic share count is 1 Since the path through R2 now has the lowest metric, this is the path that IS-IS will use, We can see the metric that was set to 50 in the database though’ Rishow isis database level-1 R1.00-00 detail IS-IS Level-1 LSP R1.00-00 LsPID LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL, R1.00-00 * exeaoo0e16 —0x2065 1071 ee/e Area Address: 49.1234 NLP exce Hostname: R1 Metric: 10 IS-Extended R1.01 Metric: 58 IS-Extended R3.02 © IP Address: 192,168.13. Metric: 18 IP 192.168.12.0/24 Metric: 58 IP 192.168.13.0/24 There is a limit to the metric you can set on an interface. For example, if try to change it 100 this will happen: Ri(config-if)#isis metric 10 Warning: for metrics greater than 63, ‘metric-style wide’ should be configured on level-1-2, or it will be capped at 63. By default, the maximum metric that IS-IS supports to reach any destination is 1023. The maximum metric for an interface is 63. We can change this behavior by using “wide” metrics. We should do this on a routers: RI, R2, R3 & RA (config-router)imetric-style wide hitpstinetworklessons.comie-isls-4-mebc-on-clsco-ios 60 1910512028, 2327 15:18 Metic on Cisco 10S. a The last thing I'd like to show you is the metric maximurn command. You can configure this on an interface and if you do, that link will never be used in your IS-IS topology for transit traffic. For example, let's configure this on R2: R2(config)#interface Gigabitethernet 0/2 R2(config-if)#isis metric maximum R2 will now advertise a metric of 16777215 for 192.168.24.0/24, this is considered unreachable, You can see it in this wireshark capture of R2’s LSP: hitpstnetworklessons.comie-isls-4-mebc-on-clecoios 79 1910512028, 2327 15:18 Metic on Cisco 10S. 4 Logicai-Lank Lontros ISO 10589 ISIS InTRA Domain Routeing Information Exchange Protocol ¥ ISO 10589 ISIS Link State Protocol Date Unit POU length: 88 Romaining lifetime: 1199 LSP-1D: 2000.0000.0002.00-00 Sequence number: @x@@eeeeea Checksum: @x9555 [correct] [Checksum Status: Good] Type block(0x01): Partition Repair:0, Attached bits:0, Overload bit:0, IS type:1 Area address(es) (t=1, 1=4) Protocols supported (t=129, 1=1) Hostname (t=137, 1=2) Extended IS reachability (t-22, 1-22) IP Interface address(es) (t=132, 1-4) ¥ Extended IP Reachability (t=135, 1-16) Type: 135 Length: 16 © Ext. IP Reachability Metric: 10 a... = Distribution: Down a. = Sub-TLV: No 81 1000 ~ Prefix Length: IPv4 prefix: 192.168.12.0 no sub-TLVs present v [Bet IP Reachability Metric: 16777215 a... = Distribution: Down Sub-TLV: No 24 01 1000 = Prefix Length: 24 IPvd prefix: 192.168.24.0 no sub-TLVs present Let's see what this does to R1: Rishow ip route isis 4.0.0.0/32 is subnetted, 1 subnets i L1 4.4.4.4 [115/70] via 192.168.13.3, 00:03:45, Gigabitetherneto/2 4 L1 192.168.24.0/24 [115/70] via 192.168.13.3, @0:03:45, Gigabitethernet/2 4 L1 192,168.34,0/24 [115/60] via 192.168.13.3, 00:03:45, Gigabitethernet@/2 hitpstnetworklessons.comie-ils-4-mebic-on-clscoos 1910812023, 2327 15:18 Metic on Cisco 10S. Something to keep in mind is that IS-IS always prefers level 1 (intra-area) over level 2 (inter-area) routes, even if your level 2 routes have a lower metric. 2. Conclusion In this lesson, you have learned how the IS-IS metrics work and how to manipule metrics. There are four metric values’ © Default metric © Delay © Expense © Error * Cisco 10S only supports the default metric which has a default value of 10. * The default metric is 10 for all interfaces. + By default, IS-IS uses narrow metrics which means the highest metric on an interface can be 63. The total metric can be 1023, '* Wide metrics support a metric up to 16777214. * The IS-IS metric-rnaximum command lets you advertise a prefix with a metric of 16777215, making it unreachable. You can use this if you don’t want to send transit traffic through a router. Previous Lesson Next Lesson IS-IS DIS and Pseudonode IS-IS Redistribution ® Tags: IP Routing 1 Ask a question or start a discussion by visiting our Community Forum Disclaimer Privacy Policy Support About © 2013 - 2023 NetworkLessons.com 5218 hnps:metworklessans.comis-isisis-mebric-on-ciscoios 99

You might also like