Cisco is-is basic configuration and re-release experiment

Source: Internet
Author: User

Introduction: like the standard OSPF protocol, the is-is protocol is a link-state dynamic routing protocol, but it is much optimized than OSPF, reducing the routing type and LSA flooding, it is also widely used in the current network.


Tutorial topology:

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/49/20/wKioL1QPrKWg-uTRAAHkPOs26io388.jpg "Title =" 1.png" alt = "wKioL1QPrKWg-uTRAAHkPOs26io388.jpg"/>


Objective: To run the is-is protocol on the R1-R5 and the r12002 protocol on the R1-R6

2. re-release the route to achieve interconnection between R5 and R6

3. Cross-Domain and external route Aggregation


Tutorial steps: 1. Perform basic configuration and loopback on R1 to R6. (Omitted)


2. Run the is-is and rip protocols.

R1 (config) # router isis

R1 (config-router) # net 49.0001.0001.0001.0001.00 // specify the NSAP address, which is equivalent to the router ID

R1 (config-router) # ex

R1 (config) # int range F0/0, l0

R1 (config-if-range) # IP router ISIS // enter the interface and declare the CIDR Block


R2 (config) # router isis

R2 (config-router) # net 49.0001.0002.0002.0002.00

R2 (config-router) # ex

R2 (config) # int range F0/0-1, l0

R2 (config-if-range) # IP router isis


R3 (config) # router isis

R3 (config-router) # net 49.0000.0003.0003.0003.00

R3 (config-router) # ex

R3 (config) # int range F0/0-1, l0

R3 (config-if-range) # IP router isis


R4 (config) # router isis

R4 (config-router) # net 49.0000.0004.0004.0004.00

R4 (config-router) # ex

R4 (config) # int range F0/0-1, l0

R4 (config-if-range) # IP router isis


R5 (config) # router isis

R5 (config-router) # net 49.0002.0005.0005.0005.00

R5 (config-router) # ex

R5 (config) # int range F0/1, l0

R5 (config-if-range) # IP router isis


R1 (config) # router rip

R1 (config-router) # Version 2

R1 (config-router) # No auto-Summary

R1 (config-router) # network 16.0.0.0


R6 # conf t

Enter configuration commands, one per line. End with cntl/Z.

R6 (config) # router rip

R6 (config-router) # Version 2

R6 (config-router) # No auto-Summary

R6 (config-router) # network 16.0.0.0

R6 (config-router) # network 6.6.6.6


The is-is protocol can be optimized. Because the default level of the ISIS protocol router is Level 1-2, two types of LSP are sent at the same time, which is unnecessary, it is a waste of routing resources.


Change R1 to level 1

R1 (config) # router isis

R1 (config-router) # Is-type level-1 // modify the router's route selection level

Change R3 and R4 to Level 2

R3 (config) # router isis

R3 (config-router) # Is-type level-2


R4 (config) # router isis

R4 (config-router) # Is-type level-2


Change the F0/1 interface of R5 to level 2.

R5 # conf t

Enter configuration commands, one per line. End with cntl/Z.

R5 (config) # int F0/1

R5 (config-If) # ISIS circuit-type level-2-only // modify the interface selection level


3. Route re-release

R1 (config) # router isis

R1 (config-router) # redistribute rip?

Level-1 is-is level-1 routes only

Level-1-2 is-is level-1 and level-2 routes

Level-2 is-is level-2 routes only

Metric metric for redistributed routes

Metric-type OSPF/Is-Is exterior metric type for redistributed routes

Route-map route map reference

<CR>


R1 (config-router) # redistribute rip level-1

R1 (config-router) # ex


R1 (config) # router rip

R1 (config-router) # redistribute Isis?

Word ISO routing area tag

Level-1 is-is level-1 routes only

Level-1-2 is-is level-1 and level-2 routes

Level-2 is-is level-2 routes only

Metric metric for redistributed routes

Route-map route map reference

<CR>


R1 (config-router) # redistribute ISIS level-1 metric 2


Check R5 route table


R5 # Show IP Route

....

34.0.0.0/24 is subnetted, 1 subnets

I L2 34.0.0.0 [115/20] via 45.0.0.4, fastethernet0/1

16.0.0.0/24 is subnetted, 1 subnets

I L2 16.0.0.0 [115/40] via 45.0.0.4, fastethernet0/1

1.0.0.0/32 is subnetted, 1 subnets

I L2 1.1.1.1 [115/50] via 45.0.0.4, fastethernet0/1

2.0.0.0/24 is subnetted, 1 subnets

I L2 2.2.2.0 [115/40] via 45.0.0.4, fastethernet0/1

3.0.0.0/32 is subnetted, 1 subnets

I L2 3.3.3.3 [115/30] via 45.0.0.4, fastethernet0/1

4.0.0.0/32 is subnetted, 1 subnets

I L2 4.4.4.4 [115/20] via 45.0.0.4, fastethernet0/1

5.0.0.0/32 is subnetted, 1 subnets

C 5.5.5.5 is directly connected, loopback0

6.0.0.0/32 is subnetted, 1 subnets

I L2 6.6.6.6 [115/40] via 45.0.0.4, fastethernet0/1

23.0.0.0/24 is subnetted, 1 subnets

I L2 23.0.0.0 [115/30] via 45.0.0.4, fastethernet0/1

45.0.0.0/24 is subnetted, 1 subnets

C 45.0.0.0 is directly connected, fastethernet0/1


Test whether R5 can connect to R6.

R5 # P 6.6.6.6


Type escape sequence to abort.

Sending 5, 100-byte ICMP echos to 6.6.6.6, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/AVG/max = 88/122/140 MS


It can be seen that R5 has learned the route of R6.


4. Inter-Domain route summary and external route Summary

Assume there are four routes on R5, 192.168.0.1-192.168.3.1

Can be summarized on R5

R5 (config) # router isis

R5 (config-router) # Summary-address 192.168.0.0 255.255.252.0


At this time, you can view the route table on R4 and find a summary route.


R4 # Show IP R

* Mar 1 01:09:31. 227: % SYS-5-CONFIG_ I: configured from console by Console

R4 # Show IP Route

....

34.0.0.0/24 is subnetted, 1 subnets

C 34.0.0.0 is directly connected, fastethernet0/1

16.0.0.0/24 is subnetted, 1 subnets

I L2 16.0.0.0 [115/30] via 34.0.0.3, fastethernet0/1

1.0.0.0/32 is subnetted, 1 subnets

I L2 1.1.1.1 [115/40] via 34.0.0.3, fastethernet0/1

2.0.0.0/24 is subnetted, 1 subnets

I L2 2.2.2.0 [115/30] via 34.0.0.3, fastethernet0/1

3.0.0.0/32 is subnetted, 1 subnets

I L2 3.3.3.3 [115/20] via 34.0.0.3, fastethernet0/1

4.0.0.0/32 is subnetted, 1 subnets

C 4.4.4.4 is directly connected, loopback0

5.0.0.0/32 is subnetted, 1 subnets

I L2 5.5.5.5 [115/20] via 45.0.0.5, fastethernet0/0

6.0.0.0/32 is subnetted, 1 subnets

I L2 6.6.6.6 [115/30] via 34.0.0.3, fastethernet0/1

23.0.0.0/24 is subnetted, 1 subnets

I L2 23.0.0.0 [115/20] via 34.0.0.3, fastethernet0/1

12.0.0.0/24 is subnetted, 1 subnets

I L2 12.0.0.0 [115/30] via 34.0.0.3, fastethernet0/1

45.0.0.0/24 is subnetted, 1 subnets

C 45.0.0.0 is directly connected, fastethernet0/0

I L2 192.168.0.0/22 [115/20] via 45.0.0.5, fastethernet0/0


This can save vro resources.

Similarly, assume that there are four routes 172.16.0.1-172.16.3.1 on R6.

Route summary can be performed on r1


R1 (config) # router isis

R1 (config-router) # Summary-address 172.16.0.0 255.255.252.0 level-1


Note: When summarizing external routes, add level-X to the end; otherwise, the result is invalid.


Check whether the route summary takes effect on R2.


R2 # Show IP Route

.....

34.0.0.0/24 is subnetted, 1 subnets

I L2 34.0.0.0 [115/20] via 23.0.0.3, fastethernet0/0

16.0.0.0/24 is subnetted, 1 subnets

I L1 16.0.0.0 [115/10] via 12.0.0.1, fastethernet0/1

1.0.0.0/32 is subnetted, 1 subnets

I L1 1.1.1.1 [115/20] via 12.0.0.1, fastethernet0/1

2.0.0.0/24 is subnetted, 1 subnets

C 2.2.2.0 is directly connected, loopback0

3.0.0.0/32 is subnetted, 1 subnets

I L2 3.3.3.3 [115/20] via 23.0.0.3, fastethernet0/0

4.0.0.0/32 is subnetted, 1 subnets

I L2 4.4.4.4 [115/30] via 23.0.0.3, fastethernet0/0

5.0.0.0/32 is subnetted, 1 subnets

I L2 5.5.5.5 [115/40] via 23.0.0.3, fastethernet0/0

6.0.0.0/32 is subnetted, 1 subnets

I L1 6.6.6.6 [115/10] via 12.0.0.1, fastethernet0/1

23.0.0.0/24 is subnetted, 1 subnets

C 23.0.0.0 is directly connected, fastethernet0/0

172.16.0.0/22 is subnetted, 1 subnets

I L1 172.16.0.0 [115/10] via 12.0.0.1, fastethernet0/1

12.0.0.0/24 is subnetted, 1 subnets

C 12.0.0.0 is directly connected, fastethernet0/1

45.0.0.0/24 is subnetted, 1 subnets

I L2 45.0.0.0 [115/30] via 23.0.0.3, fastethernet0/0

I L2 192.168.0.0/22 [115/40] via 23.0.0.3, fastethernet0/0


Summary complete, experiment complete




This article is from the "ne Road" blog, please be sure to keep this source http://332162926.blog.51cto.com/8831013/1550436

Cisco is-is basic configuration and re-release experiment

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.