IGP comprehensive experiment

Source: Internet
Author: User


Lab TOP:


Lab requirements: You can ping the Lo0 of R7 from the Lo0 of R1 to the Lo0 of R7. On R4, 7.7.0.0 and 7.7.2.0 are displayed as OE1 7.7.1.0 and 7.7.3.0 are displayed as OE2.

Tutorial configuration: www.2cto.com
R1
========================================================== ==================================
R1> en
R1 # conf t
R1 (config) # int f0/0
R1 (config-if) # ip add 192.168.1.1 255.255.255.0
R1 (config-if) # no shu
R1 (config-if) # exit
R1 (config) # int lo0
R1 (config-if) # ip add 1.1.1.1 255.255.255.0
R1 (config-if) # exit
R1 (config) # router isis
R1 (config-router) # net 49.0001.1111.1111.1111.00
R1 (config-router) # is-type level-1
R1 (config-router) # exit
R1 (config) # int f0/0
R1 (config-if) # ip router isis
R1 (config-if) # exit
R1 (config) # int lo0
R1 (config-if) # ip router isis
R1 (config-if) # exit

R2
========================================================== ======================================
R2> en
R2 # conf t
R2 (config) # int f0/0
R2 (config-if) # ip add 192.168.1.2 255.255.255.0
R2 (config-if) # no shu
R2 (config-if) # exit
R2 (config) # int f1/0
R2 (config-if) # ip add 192.168.2.1 255.255.255.0
R2 (config-if) # no shu
R2 (config-if) # exit
R2 (config) # router isis
R2 (config-router) # net 49.0001.2222.2222.2222.00
R2 (config-router) # is-type level-1
R2 (config-router) # exit
R2 (config) # router isis B
R2 (config-router) # net 49.0002.2222.2222.2222.00
R2 (config-router) # is-type level-1-2
R2 (config-router) # exit
R2 (config) # int f0/0
R2 (config-if) # ip router isis
R2 (config-if) # exit
R2 (config) # int f1/0
R2 (config-if) # ip router isis B
R2 (config-if) # exit

R3
========================================================== ======================================
R3> en
R3 # conf t
R3 (config) # int f0/0
R3 (config-if) # ip address 192.168.2.2 255.255.255.0
R3 (config-if) # no shu
R3 (config-if) # exit
R3 (config) # int f1/0
R3 (config-if) # ip address 192.168.3.1 255.255.255.0
R3 (config-if) # no shu
R3 (config-if) # exit
R3 (config) # router ospf 1
R3 (config-router) # network 192.168.3.0 0.0.255 area 1
R3 (config-router) # area 1 nssa
R3 (config-router) # redistribute connected subnets
R3 (config-router) # redistribute isis level-1-2 subnets
R3 (config-router) # exit
R3 (config) # router isis
R3 (config-router) # net 49.0002.3333.3333.3333.00
R3 (config-router) # redistribute ospf 1 metric 4 metric-type external level-1-2
R3 (config-router) # default-information originate
R3 (config-router) # exit
R3 (config) # int f0/0
R3 (config-if) # ip router isis
R3 (config-if) # exit

R4
========================================================== ==================
R4> en
R4 # conf t
R4 (config) # int f0/0
R4 (config-if) # ip add 192.168.3.2 255.255.255.0
R4 (config-if) # no shu
R4 (config-if) # exit
R4 (config) # int f1/0
R4 (config-if) # ip add 192.168.4.1 255.255.255.0
R4 (config-if) # no shu
R4 (config-if) # exit
R4 (config) # router ospf 1
R4 (config-router) # net 192.168.3.0 0.0.255 a 1
R4 (config-router) # net 192.168.4.0 0.0.255 a 0
R4 (config-router) # area 1 nssa
R4 (config-router) # area 1 nssa default-information-originate
R4 (config-router) # exit

R5
========================================================== ======================
R5> en
R5 # conf t
R5 (config) # int f0/0
R5 (config-if) # ip add 192.168.4.2 255.255.255.0
R5 (config-if) # no shu
R5 (config-if) # exit
R5 (config) # int f1/0
R5 (config-if) # ip add 192.168.5.1 255.255.255.0
R5 (config-if) # no shu
R5 (config-if) # exit
R5 (config) # router ospf 1
R5 (config-router) # net 192.168.4.0 0.0.255 a 0
R5 (config-router) # redistribute Kerberos 100 subnets route-map kalng
R5 (config-router) # exit
R5 (config) # router VPN 100
R5 (config-router) # net 192.168.5.0
R5 (config-router) # redistribute ospf 1 metric 10000 100 255 1 1500
R5 (config-router) # exit
R5 (config) # access-list 1 permit 7.7.0.0 0.0.254.0
R5 (config) # access-list 2 permit 7.7.1.0 0.0.254.0
R5 (config) # route-map kalng permit 10
R5 (config-route-map) # match ip address 1
R5 (config-route-map) # set metric-type-1
R5 (config-route-map) # exit
R5 (config) # route-map kalng permit 20
R5 (config-route-map) # match ip address 2
R5 (config-route-map) # set metric-type-2
R5 (config-route-map) # exit

R6
========================================================== ========================
R6> en
R6 # conf t
R6 (config) # int f0/0
R6 (config-if) # ip add 192.168.5.2 255.255.255.0
R6 (config-if) # no shu
R6 (config-if) # exit
R6 (config) # int f1/0
R6 (config-if) # ip add 192.168.6.1 255.255.255.0
R6 (config-if) # no shu
R6 (config-if) # exit
R6 (config) # router VPN 100
R6 (config-router) # net 192.168.5.0
R6 (config-router) # exit
R6 (config) # router rip
R6 (config-router) # net 192.168.6.0
R6 (config-router) # ver 2
R6 (config-router) # no au
R6 (config-router) # exit
R6 (config) # router VPN 100
R6 (config-router) # redistribute rip metric 10000 100 255 1 1500
R6 (config-router) # exit
R6 (config) # router rip
R6 (config-router) # redistribute VPN 100 metric 3
R6 (config-router) # exit

R7
========================================================== ====================
R7> en
R7 # conf t
R7 (config) # int f0/0
R7 (config-if) # ip add 192.168.6.2 255.255.255.0
R7 (config-if) # no shu
R7 (config-if) # exit
R7 (config) # int lo0
R7 (config-if) # ip add 7.7.0.1 255.255.255.0
R7 (config-if) # int lo1
R7 (config-if) # ip add 7.7.1.1 255.255.255.0
R7 (config-if) # int lo2
R7 (config-if) # ip add 7.7.2.1 255.255.255.0
R7 (config-if) # int lo3
R7 (config-if) # ip add 7.7.3.1 255.255.255.0
R7 (config-if) # exit
R7 (config) # router rip
R7 (config-router) # net 192.168.6.0
R7 (config-router) # no au
R7 (config-router) # ver 2
R7 (config-router) # net 7.7.0.0
R7 (config-router) # net 7.7.1.0
R7 (config-router) # net 7.7.2.0
R7 (config-router) # net 7.7.3.0
R7 (config-router) # exit
========================================================== ======================================
View the R4 route table:


Ping R7 on R1


The experiment is successful !!!!

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.