IS-IS Redistribution

You might also like

Download as pdf
Download as pdf
You are on page 1of 12
1910512028, 2328 |S Redistribution Search Q © IS-IS Redistribution Lesson Contents 1. Configuration 2. Verification 3. Conclusion IS-S, like any other other routing protocol supports redistribution. Configuring this is pretty straight- forward so that's what | will show you in this lesson. 1. Configuration Here is the topology that we will use: hitpssnetworklessons.comis-isiss-edistribtion ne 1910812023, 2328 |S Redistribution ~ _ a Q FI-Lo: a a a Aa Re 28 ° —~=—— Ss & 8 8 wa no aS Area 23 o> a5 2 3 o8 192.168.23.0/24 Gi0/2: Gi0/1- 2 i) 1 L1-L2 Above we have four routers, R2 and R3 are in area 23, Ré is sitting alone in area 4. R1 is running EIGRP ar. e we use it to advertise its loopback interface to R2. Redistribution will be configured on R2. Configurations Want to take a look for yourself? Here you will find the startup configuration of each device. R1 ~ hostname R1 ' ip cef ' interface Loopbacke ip address 1.1.1.1 255.255.255.255 ! interface Gigabitethernet0/1 ip address 192.168.12.1 255.255.255.0 ' router eigrp 12 hnps:networklessons.comis-isisis-redistbution ana 1910512028, 2328 |S Redistribution end R2 hostname R2 ! ip cef ! interface Gigabitetherneto/1 ip address 192.168.12.2 255.255.255.0 interface Gigabitethernet®/2 ip address 192.168.23.2 255.255.255.0 ip router isis ' router eigrp 12 network 192.168.12.0 ' router isis net 49.0023.0000.0000.0002.00 is-type level-1 Log-adjacency-changes ! end R3 hostname R3 ip cef interface Gigabitetherneto/1 ip address 192.168.23.3 255.255.255.0 ip router isis interface Gigabitetherneto/2 htpssnetworklssons.comis-isis6-edistribtion ana 1910512028, 2328 |S Redistribution a ! router isis net 49.0023.00.0000.0003.00 log-adjacency-changes ! end R4 ~ hostname R4 ! ip cef ! interface Gigabitetherneto/1 ip address 192.168.34.4 255.255.255.0 ip router isis ! router isis net 4,004 600.2060.0084.00 e is-type level-2-only Log-adjacency-changes ! end Let’s make sure that R2 has an EIGRP route in its routing table: R2itshow ip route eigrp 1.0.0.0/32 is subnetted, 1 subnets D 1.1.1.1 [90/130816] via 192.168.12.1, 00:50:14, Gigabitetherneto/1 ‘Above we see the 1. 1/32 prefix that we learned from R1. Let's see if we can redistribute this into I5-1S: R2(config)#router isis R2(config-router)#redistribute eigrp 12 ? level-1 IS-IS level-1 routes only htpssnetworklssons.comis-isis6-edistribtion ana 1910512028, 2328 |S Redistribution a metric Metric for redistributed routes metric-type OSPF/IS-IS exterior metric type for redistributed routes route-map Route map reference When you redistribute something into IS-IS, you can choose if it should be added to the level 1 LSP, the level 2 LSP or in both LSPs. Since R2 is a level 1 router, we don't have much choice. We still have to specify it though: R2(config-router)#redistribute eigrp 12 level-1 This will redistribute all EIGRP routes into the level 1 database of R2. Let's also redistribute the 1S-IS routes back into EIGRP so that we have full connectivity: R2(config-router)#router eigrp 12 R2(config-router)#redistribute isis level-1 metric 11111 That's all we have to do. 2. Verification Let's see if R3 learned anything from R2: R3#show isis database level-1 verbose IS-IS Level-1 Link State Databas: LsPxD LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL, R2.00-00 exee9000e7 © @x2820 9a eve/e Area Address: 49.0023 NLPI exce Hostname: R2 Metric: 10 TS R3.01 IP Address: 192.168.23.2 Metric: 10 IP 192.168.23.0 255.255.255.0 Metric: @ IP-External 1.1.1.1 255.255.255.255 htpssnetworklssons.comis-isis6-edistribtion siz 1910512028, 2328 |S Redistribution a Area Address: 49.0023 NLPIL exce Hostname: R3 Metric: 10 IS 83.01 IP Address: 192.168.34.3 Metric: 10 IP 192,168.23.0 255.255.255.0 Metric: 18 IP 192,168.34.@ 255.255.255.0 R3.01-00 * 0x00000002 @x9BB1 540 e/0/0 Metric: ® IS R3.00 Metric: & TS R2.00 ‘Above we see the two EIGRP networks that have been redistributed into IS-IS. There's 1.1.1.1/32 and 192.168.12,0/24 (the link in between R1 and R2). Note that the default metric of external routes is 0. These will be installed in the routing table of R3 R3ishow ip route isis 1.0.0.0/32 is subnetted, 1 subnets 9 A L1 1,4.4.1 [115/10] via 192.168.23.2, 00:03:31, Gigabitetherneto/1 GLI 192,168.12.0/24 [115/10] via 192.168.23.2, @8:03:31, Gigabitetherneto/1 In the routing table itself, these routes show up as regular level 1 routes. You won't see that they are external. In the database of R3, we see that the redistributed routes are external. This information, however, is lost when R3 copies the prefixes from its level 1 to level 2 database: R3ishow isis database level-2 verbose R3.00-00 IS-IS Level-2 LSP R3.00-00 LsPID LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL, R3.00-00 * exeee00009 © exES9D 669 esese Area Address: 49.0023 excc htpssnetworklssons.comis-isis6-edistribtion enz 1910512028, 2328 Metric: 18 Metric: 10 Metric: 18 Metric: 10 |S Redistribution a IP 192,168.23.@ 255.255.255.0 IP 192,168.34.0 255.255.255.0 IP 1.1.1.1 255.255.255.255 IP 192,168.12.@ 255.255.255.0 We see the two redistributed prefixes in the level 2 LSP of R2 but there's no reference to external anymore, When you redistribute something into level-2 directly, it will show up as external. This will even remain when advertised to other level 2 routers in different areas. Let's take a look at R4: Rawtshow isis database level-2 verbose IS-IS Level-2 Link State Database: LsPID R3.00-00 Area Address: NLP Hostname: R3 Metric: 18 IP Address: Metric: 10 Metric: 10 Metric: 10 Metric: 10 R4.00-00 Area Address: NUPID: Hostname: R4 Metric: 18 IP Address: Metric: 10 R4.01-00 LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL, © exee000007 © exE99B 829 eye/e 49.0023 exce TS R4.01 192.168.34.3 IP 192,168.23.@ 255.255.255.0 IP 192,168.34.@ 255.255.255.0 IP 1.1.1.1 255.255.255.255 IP 192.168.12.@ 255.255.255.0 * exeqeoe—as §~—@xa71D 1059 ese/e 49.0004 exce TS R401 192.168.34.4 IP 192.168.34.0 255.255.255.0 * exeaeoe0e3 © @xag89 1028 esese htpssnetworklssons.comis-isis6-edistribtion m2 1910512028, 2328 |S Redistribution R4 has received the level 2 LSP from R3 and will install the prefixes in its routing table: Raitshow ip route isis 1.0.0.0/32 is subnetted, 1 subnets GL2 1.1.4.1 [115/20] via 192.168.34.3, 00:06:42, Gigabitetherneta/1 i 12 192,168.12.0/24 [115/20] via 192.168.34.3, @8:06:42, Gigabitetherneto/1 4 L2 192.168.23.0/24 [115/20] via 192.168.34.3, 00:28:17, Gigabitetherneto/1 That's all there is to it Want to take a look for yourself? Here you will find the final configuration of each device. R1 © hostname R1 ip cef ' interface Loopback@ ip address 1.1.1.1 255.255.255.255 ! interface Gigabitethernet0/1 ip address 192.168.12.1 255.255.255.0 ' router eigrp 12 network 1.1.1.1 0.0.0.8 network 192.168.12.0 end R2 ~ hitpssnetworklessons.comis-isiss-edistribtion ana 1910512028, 2328 |S Redistribution a ip cef ! interface Gigabitethernet0/1 ip address 192.168.12.2 255.255.255.0 interface Gigabitetherneto/2 ip address 192.168.23.2 255.255.255. ip router isis router eigrp 12 network 192.168.12.0 redistribute isis level-1 metric 11111 router isis net 49.0023.0000.0000.0002.00 is-type level-1 Log-adjacency-changes redistribute eigrp 12 level-1 end R3 hostname R3 ! ip cef ! interface Gigabitetherneto/1 ip address 192.168.23.3 255.255.255.0 ip router isis ! interface Gigabitetherneto/2 ip address 192.168.34.3 255.255.255.0 ip router isis ! router isis htpssnetworklssons.comis-isis6-edistribtion one 1910512028, 2328 |S Redistribution end R4 hostname R4 ' ip cef ' interface Gigabitetherneto/1 ip address 192.168.34.4 255.255.255.0 ip router isis ' router isis net 49,0004.0000.0000.0004.00 is-type level-2-only Log-adjacency-changes end 3. Conclusion When redistributing into IS-IS, you have to specify if the redistributed routes have to be added to the level 1 or level 2 LSP, or both. If you don't specify a metric, then the default metric is 0, Redistributed routes will show up as “external” in the database but this information is lost when the LSP is copied from level 1 to level 2. Previous Lesson ISS Metric on Cisco 10S ® Tags: IP Routing, Redistribution Next Lesson ISIS Summarization Forum Replies Zaman.rubd hitpssnetworklessons.comis-isiss-edistribtion sone 1910812023, 2328 |S Redistribution a Is there any rule to connected other Routing protocol or we can do redistribution any where suppose L1/L2 or L142 Router?? Thanks britzaman 2 ReneMolenaar HiZaman, Not really, when you redistribute something into IS-IS you can do it on any router and redistribute into L1, L2 or both Li and 12, Rene Zaman.rubd Ihave setup a LAB wth mull SS intance/TAG. Then Redstibut thse Instance wih each other using Rute Map matching Loopback P's and TAG value But am not geting 222282 pret fam Rand 4442, 4.444.442 prt om RB whether configured stance Redstibustion on R2 and Please check he topaagy& Configuration attached.|SIS config txt (8.5 KB) ‘1cdn-forum.networklessons.com/uploads/dlefault/original/2X/7/75345041bS4bd8a1 005cea61f7dab1089cbe8905,jpeg Thanks BRIIZAMAN 2 ReneMolenaar Hello Zaman, Ifyou lab up something lke this, rst try the basic redistribution commands without route-maps or tags (maybe you id), |abbed up redistribution between IS-IS processes on lOSv (Cisco VIRL) but whatever | tried, it was impossible to redistribute routes from one process into another. Maybe it's related to Cisco 10S or the version that | used. The commands are accepted but it doesnt redistribute anything. ‘On 10S XR, Itworks, Here's a working configuration for three routers connected like this: hnps:networklessons.comis-isisis-redistrbution ane 1910812023, 2328 |S Redistribution a hostname RL ! interface Gigabitéthernet@/ « Continue reading in our forum Zaman.rubd Hi, ‘Thanks Rene for your valuable input . In My LAB Only local connected (Loopback) prefix will not distributed But others prefix distributed fine . in R2, when redistributed (24 to AREA12) to AREA12 , only 2.2.2.2/32 prefix not comme to AREAI2 but all others prefix (3.3.3.3/32 ; 4.4.4.4/32) redistributed fine . See the output below: Risshow ip route Gateway of last resort is not set 1.0.0.0/32 is subnetted, 1 subnets © -A.t.a.a Ss airectly connectes, Loopbacke 3.0.0.0/32 5 subnetted, 1 subnets su 23.3.3.3 [135/38] via 392.168.22.2, e0:0 © Continue reading in our forum $2 1 more reply! Ask a question or join the discussion by visiting our Community Forum Disclaimer Privacy Policy Support About © 2013 - 2023 NetworkLessons.com 52189 hnps:networklessons.comis-isisis-redistrbution rane

You might also like