ТОП просматриваемых книг сайта:
Справочник по настройке сетевого оборудования Cisco. Александр Владимирович Меньшуткин
Читать онлайн.Название Справочник по настройке сетевого оборудования Cisco
Год выпуска 2020
isbn
Автор произведения Александр Владимирович Меньшуткин
Жанр ОС и Сети
Издательство ЛитРес: Самиздат
картой
(Filtering with Stub Routing and Leak Map)
Не рекламирует маршрут 10.0.10.0/24
r1(config)#router eigrp 1
r1(config-router)#network 10.0.10.0 0.0.0.0
r1(config)#ip prefix-list lo10 seq 5 permit 10.0.10.0/24
r1(config)#route-map stub_leak_map deny 10
r1(config-route-map)#match ip address prefix-list lo10
r1(config-route-map)#route-map stub_leak_map permit 20
r1(config-route-map)#router eigrp 1
r1(config-router)#eigrp stub connected leak-map stub_leak_map
Проверка осуществляется командами:
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:00:19 95 570 0 183
Version 12.4/1.2, Retrans: 0, Retries: 0, Prefixes: 4
Stub Peer Advertising ( CONNECTED ) Routes
Suppressing queries
r4#sh 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, 00:02:44, FastEthernet0/1
D 10.0.13.0/24 [90/307200] via 10.0.34.3, 00:02:44, FastEthernet0/0
D 10.2.2.2/32 [90/409600] via 10.0.24.2, 01:39:31, FastEthernet0/1
D 10.3.3.3/32 [90/2147893247] via 10.0.34.3, 01:39:31,FastEthernet0/0
D 10.1.1.1/32 [90/435200] via 10.0.34.3, 00:02:44, FastEthernet0/0
[90/435200] via 10.0.24.2, 00:02:44, FastEthernet0/1
EIGRP уникальная балансировка с не равной стоимостью (Unequal Cost Load Balancing)
EIGRP позволяет балансировать нагрузку к определённой сети, загружать оба доступных пути.
В последующих примерах используется приведённая ниже схема.
r1#sh ip route eigrp
10.0.0.0/8 is variably subnetted, 8 subnets, 2 masks
D 10.2.2.2/32 [90/2357760] via 10.0.13.3, 00:00:32, Serial0/1
D 10.3.3.3/32 [90/2306560] via 10.0.13.3, 00:00:31, Serial0/1
D 10.4.4.4/32 [90/2332160] via 10.0.13.3, 00:00:32, Serial0/1
D 10.0.24.0/24 [90/2229760] via 10.0.13.3, 00:00:32, Serial0/1
D 10.0.34.0/24 [90/2204160] via 10.0.13.3, 00:00:33, Serial0/1
В данном примере, мы устанавливаем на интерфейсах разную пропускную способность.
r1(config)# interface Serial0/0
r1(config-if)# bandwidth 256
r1(config-if)# interface Serial0/1
r1(config-if)# bandwidth 1280
r1#show ip eigrp topology 10.4.4.4 255.255.255.255
IP-EIGRP (AS 1): Topology entry for 10.4.4.4/32
State is Passive, Query origin flag is 1, 1 Successor(s), FD is 2665472
Routing Descriptor Blocks:
10.0.13.3 (Serial0/1), from 10.0.13.3, Send flag is 0x0
Composite metric is (2665472/409600), Route is Internal
Vector metric:
Minimum bandwidth is 1280 Kbit
Total delay is 26000 microseconds
Reliability is 255/255
Load is 1/255
Minimum MTU is 1500
Hop count is 2
10.0.12.2 (Serial0/0), from 10.0.12.2, Send flag is 0x0
Composite metric is (10665472/409600), Route is Internal
Vector metric:
Minimum bandwidth is 256 Kbit
Total delay is 26000 microseconds
Reliability is 255/255
Load is 1/255
Minimum MTU is 1500
Hop count is 2
После этого используем указанную команду и получаем результат, показанный ниже.
r1(config-if)#router eigrp 1
r1(config-router)# variance 5
r1(config-router)#do clear ip eigrp neighbor
r1(config-router)#do show ip route 10.4.4.4
Routing entry for 10.4.4.4/32
Known via "eigrp 1", distance 90, metric 2665472, type internal
Redistributing via eigrp 1
Last update from 10.0.12.2 on Serial0/0, 00:00:03 ago
Routing Descriptor Blocks:
* 10.0.13.3, from 10.0.13.3, 00:00:03 ago, via Serial0/1
Route metric is 2665472, traffic share count is 4
Total delay is 26000 microseconds, minimum bandwidth is 1280 Kbit
Reliability 255/255, minimum MTU 1500 bytes
Loading 1/255, Hops 2
10.0.12.2, from 10.0.12.2, 00:00:03 ago, via Serial0/0
Route metric is 10665472, traffic share count is 1
Total delay is 26000 microseconds, minimum bandwidth is 256 Kbit
Reliability 255/255, minimum MTU 1500 bytes
Loading 1/255, Hops 2
EIGRP Traffic Engineering with Metric
r1#sh ip route eigrp
10.0.0.0/8 is variably subnetted, 8 subnets, 2 masks
D 10.2.2.2/32 [90/2691072] via 10.0.13.3, 00:00:03, Serial0/1
D 10.3.3.3/32 [90/2639872] via 10.0.13.3, 00:00:03, Serial0/1
D 10.4.4.4/32 [90/2665472] via 10.0.13.3, 00:00:03, Serial0/1
D 10.0.24.0/24 [90/2563072] via 10.0.13.3, 00:00:03, Serial0/1
D 10.0.34.0/24 [90/2537472] via 10.0.13.3, 00:00:03, Serial0/1
r3(config)#interface FastEthernet 0/1
r3(config-if)#delay 100000
r1#show ip route eigrp
10.0.0.0/8 is variably subnetted, 8 subnets, 2 masks
D 10.2.2.2/32 [90/10639872] via 10.0.12.2, 00:00:11, Serial0/0
D 10.3.3.3/32 [90/2639872] via 10.0.13.3, 00:02:10, Serial0/1
D 10.4.4.4/32 [90/10665472] via 10.0.12.2, 00:00:11, Serial0/0
D 10.0.24.0/24 [90/10537472] via 10.0.12.2, 00:00:11, Serial0/0
D 10.0.34.0/24 [90/10563072]