13 August 2015

EIGRP distribute-list

To suppress networks from being advertised in updates, use the distribute-list out command in address family or router configuration mode.


- Before the distribute-list

R2# sh ip route eigrp
     10.0.0.0/24 is subnetted, 3 subnets
D       10.8.0.0 [90/156160] via 10.12.0.1, 00:00:46, FastEthernet0/0
D       10.7.0.0 [90/156160] via 10.12.0.1, 00:00:46, FastEthernet0/0

+ After distribute-list out be applied

R2# debug ip eigrp
IP-EIGRP Route Events debugging is on
*Mar  1 00:02:55.211: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 10.12.0.1 (FastEthernet0/0) is resync: peer graceful-restart

R2#
*Mar  1 00:02: IP-EIGRP(Default-IP-Routing-Table:100): Processing incoming UPDATE packet
*Mar  1 00:02: IP-EIGRP(Default-IP-Routing-Table:100): Int 10.8.0.0/24 M 156160 - 25600 130560 SM 128256 - 256 128000
*Mar  1 00:02: IP-EIGRP(Default-IP-Routing-Table:100): 10.12.0.0/24 - do advertise out FE0/0
*Mar  1 00:02: IP-EIGRP(Default-IP-Routing-Table:100): 10.8.0.0/24 - do advertise out FE0/0
*Mar  1 00:02: IP-EIGRP(Default-IP-Routing-Table:100): Int 10.7.0.0/24 metric 4294967295 - 0 4294967295
*Mar  1 00:02: IP-EIGRP(Default-IP-Routing-Table:100): Int 10.7.0.0/24 metric 4294967295 - 0 4294967295
*Mar  1 00:02: IP-EIGRP(Default-IP-Routing-Table:100): Processing incoming REPLY packet
*Mar  1 00:02: IP-EIGRP(Default-IP-Routing-Table:100): Int 10.7.0.0/24 M 4294967295 - 256 4294967295 SM 4294967295 - 256 4294967295

R2# sh ip route eigrp
     10.0.0.0/24 is subnetted, 2 subnets
D       10.8.0.0 [90/156160] via 10.12.0.1, 00:02:19, FastEthernet0/0

R1# sh run | sec router eigrp
router eigrp 100
 network 10.0.0.0
 distribute-list 1 out FastEthernet0/0
 no auto-summary

R1# sh access-lists 1
Standard IP access list 1
    10 permit 10.8.0.0, wildcard bits 0.0.0.255 (1 match)


biOos

No comments: