Ccnp Experiment 5: Modify the Management Distance of each OSPF route type

Source: Internet
Author: User


650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/3E/97/wKiom1PHdurwvz7zAADWgpERqZk899.jpg "Title =" 111111.jpg" alt = "wkiom1phdurwvz7zaadwgperqzk899.jpg"/>



I. basic configuration

R1 (config) # router OSPF 1

R1 (config-router) # net 1.1.0.0 0.0.255.255 area 1

R1 (config-router) # net 12.1.1.1 0.0.0.0 area 0

R1 (config-router) # redistribute connected subnets

 

R2 (config) # router OSPF 1

R2 (config-router) # net 12.1.1.2 0.0.0.0 area 0

R2 (config-router) # net 2.2.2.2 0.0.0.0 area 0

R2 (config-router) # net 23.1.1.1 0.0.0.0 area 2

 

R3 (config) # router OSPF 1

R3 (config-router) # net 0.0.0.0 255.255.255.255 area 2

 

R2 # Show IP Ro OS

1.0.0.0/32 is subnetted, 2 subnets

O Ia 1.1.1.1 [110/65] via 12.1.1.1, 00:00:32, serial1/0

O Ia 1.1.2.1 [110/65] via 12.1.1.1, 00:00:32, serial1/0

3.0.0.0/32 is subnetted, 2 subnets

O 3.1.2.1 [110/65] via 23.1.1.2, 00:00:32, serial1/1

O 3.1.1.1 [110/65] via 23.1.1.2, 00:00:32, serial1/1

10.0.0.0/24 is subnetted, 1 subnets

O E2 10.1.1.0 [110/20] via 12.1.1.1, 00:00:32, serial1/0

30.0.0.0/32 is subnetted, 1 subnets

O 30.1.1.1 [110/65] via 23.1.1.2, 00:00:32, serial1/1

 

2. Modify the Management Distance of the region, between regions, and external routes respectively.

 

R2 (config) # router OSPF 1

R2 (config-router) # distance OSPF external 177 inter-area 166 intra-area 155

 

R2 # Show IP Ro OS

1.0.0.0/32 is subnetted, 2 subnets

O Ia 1.1.1.1 [166/65] via 12.1.1.1, 00:01:08, serial1/0

O Ia 1.1.2.1 [166/65] via 12.1.1.1, 00:01:08, serial1/0

3.0.0.0/32 is subnetted, 2 subnets

O 3.1.2.1 [155/65] via 23.1.1.2, 00:01:08, serial1/1

O 3.1.1.1 [155/65] via 23.1.1.2, 00:01:08, serial1/1

10.0.0.0/24 is subnetted, 1 subnets

O E2 10.1.1.0 [177/20] via 12.1.1.1, 00:01:08, serial1/0

30.0.0.0/32 is subnetted, 1 subnets

O 30.1.1.1 [155/65] via 23.1.1.2, 00:01:08, serial1/1


This article is from the "Cisco technical exchange" blog. For more information, contact the author!

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.