Справочник по настройке сетевого оборудования Cisco. Александр Владимирович Меньшуткин
via "eigrp 1", distance 170, metric 435200
Tag 100, type external
Redistributing via eigrp 1
Last update from 10.0.24.2 on FastEthernet0/1, 00:02:41 ago
Routing Descriptor Blocks:
* 10.0.34.3, from 10.0.34.3, 00:02:41 ago, via FastEthernet0/0
Route metric is 435200, traffic share count is 1
Total delay is 7000 microseconds, minimum bandwidth is 10000 Kbit
Reliability 255/255, minimum MTU 1500 bytes
Loading 1/255, Hops 2
Route tag 100
10.0.24.2, from 10.0.24.2, 00:02:41 ago, via FastEthernet0/1
Route metric is 435200, traffic share count is 1
Total delay is 7000 microseconds, minimum bandwidth is 10000 Kbit
Reliability 255/255, minimum MTU 1500 bytes
Loading 1/255, Hops 2
Route tag 100
EIGRP
фильтрация
по
административной
дистанции
(Filtering with Administrative Distance)
В данном примере мы устанавливаем для адреса 10.1.1.1 максимальную административную дистанцию и делаем его не достижимым.
r4#show ip route eigrp
10.0.0.0/8 is variably subnetted, 8 subnets, 2 masks
D 10.0.12.0/24 [90/307200] via 10.0.24.2, 01:19:12, FastEthernet0/1
D 10.0.13.0/24 [90/307200] via 10.0.34.3, 01:19:12, FastEthernet0/0
D 10.2.2.2/32 [90/409600] via 10.0.24.2, 01:40:23, FastEthernet0/1
D 10.3.3.3/32 [90/409600] via 10.0.34.3, 01:19:12, FastEthernet0/0
D 10.1.1.1/32 [90/435200] via 10.0.34.3, 00:27:58, FastEthernet0/0
[90/435200] via 10.0.24.2, 00:27:58, FastEthernet0/1
r4(config)#access-list 2 permit 10.1.1.1
r4(config-router)#distance 255 0.0.0.0 255.255.255.255 2
Проверка осуществляется командами:
r4#show ip route eigrp
10.0.0.0/8 is variably subnetted, 7 subnets, 2 masks
D 10.0.12.0/24 [90/307200] via 10.0.24.2, 00:00:12, FastEthernet0/1
D 10.0.13.0/24 [90/307200] via 10.0.34.3, 00:00:12, FastEthernet0/0
D 10.2.2.2/32 [90/409600] via 10.0.24.2, 00:00:12, FastEthernet0/1
D 10.3.3.3/32 [90/409600] via 10.0.34.3, 00:00:12, FastEthernet0/0
r4#show ip route 10.1.1.1
% Subnet not in table
EIGRP
фильтрация
с
командой
пассивный
интерфейс
(Filtering with Passive-Interface)
Данный пример рассматривался ранее, данная команда полностью отключает EIGRP на интерфейсах.
r1(config)#router eigrp 1
r1(config-router)#passive-interface default
r1(config-router)#no passive-interface FastEthernet 0/0
r1(config-router)#no passive-interface Loopback 0
r1(config-router)#no auto-summary
r1(config-router)#end
r1#wr
EIGRP
фильтрация
с
офсет
листом
(Filtering with Offset-List)
В EIGRP при помощи офсет листа можно изменить метрику, данные действия показаны ниже:
r4#sh ip route 10.3.3.3
Routing entry for 10.3.3.3/32
Known via "eigrp 1", distance 90, metric 409600, type internal
Redistributing via eigrp 1
Last update from 10.0.34.3 on FastEthernet0/0, 00:00:41 ago
Routing Descriptor Blocks:
* 10.0.34.3, from 10.0.34.3, 00:00:41 ago, via FastEthernet0/0
Route metric is 409600, traffic share count is 1
Total delay is 6000 microseconds, minimum bandwidth is 10000 Kbit
Reliability 255/255, minimum MTU 1500 bytes
Loading 1/255, Hops 1
r3(config)#access-list 1 permit 10.3.3.3
r3(config)#router eigrp 1
r3(config-router)#offset-list 1 out 2147483647
r4#sh ip route 10.3.3.3
Routing entry for 10.3.3.3/32
Known via "eigrp 1", distance 90, metric 2147893247, type internal
Redistributing via eigrp 1
Last update from 10.0.34.3 on FastEthernet0/0, 00:00:05 ago
Routing Descriptor Blocks:
* 10.0.34.3, from 10.0.34.3, 00:00:05 ago, via FastEthernet0/0
Route metric is 2147893247, traffic share count is 1
Total delay is 83892079 microseconds, minimum bandwidth is 10000 Kbit
Reliability 255/255, minimum MTU 1500 bytes
Loading 1/255, Hops 1
EIGRP фильтрация с закрытой областью (Filtering with Stub Routing)
Если маршрутизатор указан как Stub, то соседи не посылают ему запросы о маршрутах.
r1(config)#route-map conn permit 10
r1(config-route-map)#match interface loopback10 loopback100
r1(config-route-map)#router eigrp 1
r1(config-router)#redistribute connected route-map conn
r1(config-router)#eigrp stub connected summary
Проверка осуществляется командами:
r4#show ip route eigrp | include EX
D EX 10.0.10.1/32 [170/435200] via 10.0.34.3, 00:39:29,FastEthernet0/0
D EX 10.0.100.1/32 [170/435200] via 10.0.34.3,00:39:29,FastEthernet0/0
r2#show ip eigrp neighbors detail
IP-EIGRP neighbors for process 1
H Address Interface Hold Uptime SRTT RTO Q Seq
(sec) (ms) Cnt Num
0 10.0.12.1 Fa0/0 14 00:44:27 97 582 0 146
Version 12.4/1.2, Retrans: 0, Retries: 0, Prefixes: 4
Stub Peer Advertising ( CONNECTED