修改EIGRP处于Active的时间
router eigrp 1
timers active-time 1 //默认为3分钟,改成1分钟
network 0.0.0.0
Stub路由器
R1和R3配位Stub路由器
R1:
router eigrp 1
network 0.0.0.0
no auto-summary
eigrp stub connected //只发布直连网段
R3:
router eigrp 1
redistribute static metric 10000 1 255 1 1500
network 0.0.0.0
no auto-summary
eigrp stub static 只发布静态路由
!
ip route 100.1.1.0 255.255.255.0 Null0
Before
After
R1只发送汇总路由
R1:
interface Loopback1
ip address 200.1.1.1 255.255.255.255
interface FastEthernet0/0
ip address 12.1.1.1 255.255.255.0
ip summary-address eigrp 1 200.1.1.0 255.255.255.0 5
router eigrp 1
network 0.0.0.0
no auto-summary
eigrp stub summary
Before
After
其他选项
receive-only 只接收不发送路由
redistributed 发送重分布路由
offset-list
Before
200.1.1.0/24 metric 为156160
现在将它增加100000
R2:
router eigrp 1
offset-list 1 in 100000 FastEthernet0/0
network 0.0.0.0
no auto-summary
access-list 1 permit 200.1.1.0
可能看到200.1.1.0/24 metric 为256160
distribute-list
Before
现在过滤200.1.1.0/24这条路由
R2:
router eigrp 1
network 0.0.0.0
distribute-list 1 in FastEthernet0/0
no auto-summary
access-list 1 deny 200.1.1.0
access-list 1 permit any
转载于:https://blog.51cto.com/q3322095/913126