2015年2月9日 星期一

EIGRP stub and summary LAB







EIGRP stub and summary route LAB


1. Use EIGRP protocol , config router R3 can communicate to R2 network prefix
2. config router R3 only learning summary route 10.0.0.0/16



Before summary route
===================================
R3#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

     172.16.0.0/24 is subnetted, 1 subnets
C       172.16.1.0 is directly connected, FastEthernet0/0
     10.0.0.0/24 is subnetted, 8 subnets
D       10.2.8.0 [90/2300416] via 10.2.3.4, 00:37:11, Serial1/0
D       10.2.9.0 [90/2300416] via 10.2.3.4, 00:37:11, Serial1/0
D       10.2.2.0 [90/2172416] via 10.2.3.4, 00:37:11, Serial1/0
C       10.2.3.0 is directly connected, Serial1/0
D       10.2.4.0 [90/2300416] via 10.2.3.4, 00:37:11, Serial1/0
D       10.2.5.0 [90/2300416] via 10.2.3.4, 00:37:11, Serial1/0
D       10.2.6.0 [90/2300416] via 10.2.3.4, 00:37:11, Serial1/0
D       10.2.7.0 [90/2300416] via 10.2.3.4, 00:37:11, Serial1/0
R3#
R3#
R3#


After summary route
===================================
R3#
*Feb  9 12:53:14.255: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 123: Neighbor 10.2.3.4 (Serial1/0) is resync: peer graceful-restart
R3#
R3#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

     172.16.0.0/24 is subnetted, 1 subnets
C       172.16.1.0 is directly connected, FastEthernet0/0
     10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
D       10.2.0.0/16 [90/2172416] via 10.2.3.4, 00:00:05, Serial1/0
C       10.2.3.0/24 is directly connected, Serial1/0
R3#

Complete config
===========================================
R3#sh run
!
hostname R3    
!
interface FastEthernet0/0
 ip address 172.16.1.1 255.255.255.0
 duplex auto
 speed auto
!
interface Serial1/0
 ip address 10.2.3.3 255.255.255.0
!
router eigrp 123
 network 10.0.0.0
 network 172.16.0.0
 no auto-summary
 eigrp stub connected summary
!
R3# 
===========================================
R4#sh run
!
hostname R4
!
interface FastEthernet0/0
 ip address 10.2.2.4 255.255.255.0
 duplex auto
 speed auto
!
interface Serial1/0
 ip address 10.2.3.4 255.255.255.0
 ip summary-address eigrp 123 10.2.0.0 255.255.0.0 5
!
router eigrp 123
 network 10.0.0.0
 no auto-summary
!
R4#
===========================================
R2#sh run
!
hostname R2
!
interface Loopback0
 ip address 10.2.4.2 255.255.255.0
!
interface Loopback1
 ip address 10.2.5.2 255.255.255.0
!
interface Loopback2
 ip address 10.2.6.2 255.255.255.0
!
interface Loopback3
 ip address 10.2.7.2 255.255.255.0
!
interface Loopback4
 ip address 10.2.8.2 255.255.255.0
!
interface Loopback5
 ip address 10.2.9.2 255.255.255.0
!
interface FastEthernet0/0
 ip address 10.2.2.2 255.255.255.0
!
router eigrp 123
 network 10.0.0.0
 no auto-summary
!  
R2#
===========================================






沒有留言:

張貼留言