본 제품에 대한 문서 세트는 편견 없는 언어를 사용하기 위해 노력합니다. 본 설명서 세트의 목적상, 편견 없는 언어는 나이, 장애, 성별, 인종 정체성, 민족 정체성, 성적 지향성, 사회 경제적 지위 및 교차성에 기초한 차별을 의미하지 않는 언어로 정의됩니다. 제품 소프트웨어의 사용자 인터페이스에서 하드코딩된 언어, RFP 설명서에 기초한 언어 또는 참조된 서드파티 제품에서 사용하는 언어로 인해 설명서에 예외가 있을 수 있습니다. 시스코에서 어떤 방식으로 포용적인 언어를 사용하고 있는지 자세히 알아보세요.
Cisco는 전 세계 사용자에게 다양한 언어로 지원 콘텐츠를 제공하기 위해 기계 번역 기술과 수작업 번역을 병행하여 이 문서를 번역했습니다. 아무리 품질이 높은 기계 번역이라도 전문 번역가의 번역 결과물만큼 정확하지는 않습니다. Cisco Systems, Inc.는 이 같은 번역에 대해 어떠한 책임도 지지 않으며 항상 원본 영문 문서(링크 제공됨)를 참조할 것을 권장합니다.
이 문서에서는 EIGRP(Enhanced Interior Gateway Routing Protocol) 메트릭에 영향을 줄 때 기본 설정 경로를 생성하는 방법에 대해 설명합니다.
다음 주제에 대한 지식을 보유하고 있으면 유용합니다.
IP 라우팅 및 EIGRP에 대한 자세한 내용은 Enhanced Interior Gateway Routing Protocol을 참조하십시오.
이 문서의 정보는 다음 소프트웨어 및 하드웨어 버전을 기반으로 합니다.
EIGRP는 Cisco IOS® Software 릴리스 9.21 이상에서 지원됩니다. 이 문서의 정보는 Cisco IOS Software 릴리스 12.3(3)을 기반으로 합니다.
EIGRP는 모든 라우터(예: Cisco 2500 Series 및 Cisco 2600 Series) 및 모든 레이어 3 스위치에 구성할 수 있습니다.
이 문서의 정보는 특정 랩 환경의 디바이스를 토대로 작성되었습니다. 이 문서에 사용된 모든 디바이스는 초기화된(기본) 컨피그레이션으로 시작되었습니다. 현재 네트워크가 작동 중인 경우 모든 명령의 잠재적인 영향을 미리 숙지하시기 바랍니다.
문서 규칙에 대한 자세한 내용은 Cisco 기술 팁 표기 규칙을 참조하십시오.
네트워크 다이어그램에 표시된 토폴로지를 고려할 때 이 문서에서는 클라이언트에서 서버로 향하는 IP 트래픽에 영향을 주어 경로 R1>R2>R3를 기본 설정하는 몇 가지 방법을 설명합니다. 목표는 경로 R1>R2>R4를 R3에서 장애가 발생하는 경우에만 사용되는 백업으로 만드는 것입니다.
EIGRP 메트릭에 영향을 주어 기본 경로를 설정하는 방법에는 여러 가지가 있습니다. 이 문서에서는 이러한 방법을 설명하고 각각의 장단점을 자세히 설명합니다. 이 문서에서는 또한 이 예에서 경로를 변경할 수 있는 실행 가능한 방법은 아니지만 대역폭이 수정될 때의 효과에 대해서도 설명합니다.
네트워크 다이어그램
네트워크 다이어그램을 클릭하면 이 문서의 뒷부분에 있는 참조로 사용할 수 있도록 별도의 브라우저 창에 표시됩니다.
EIGRP 동작을 확인하기 위해 이 문서 전체에서 사용되는 두 가지 명령은 show ip eigrp topology
및 show ip eigrp topology network-ip subnet-mask
명령을 사용합니다.
의 출력이 있는 경우 show ip eigrp topology
명령 또는 a show ip eigrp topology network-ip subnet-mask
명령을 사용하여 Cisco 디바이스에서 Cisco CLI Analyzer를 사용하여 잠재적인 문제 및 해결 방법을 표시할 수 있습니다.
참고: 등록된 Cisco 사용자만 내부 Cisco 툴 및 정보에 액세스할 수 있습니다.
EIGRP 업데이트에는 최소 대역폭, 지연, 로드, 신뢰성 및 MTU(Maximum Transmission Unit)의 5가지 메트릭이 포함됩니다. 이러한 5가지 메트릭 중 기본적으로 최소 대역폭과 지연만 최적 경로를 계산하는 데 사용됩니다. 대부분의 메트릭과 달리 최소 대역폭은 전체 경로의 최소 대역폭으로 설정되며, 경로에 있는 홉 수 또는 낮은 대역폭 링크가 반영되지 않습니다. Delay는 경로에 있는 각 세그먼트의 지연 값만큼 증가하는 누적 값입니다. EIGRP 메트릭에 대한 자세한 내용은 Enhanced Interior Gateway Routing Protocol을 참조하십시오.
이러한 컨피그레이션을 사용하여 기본 경로를 설정할 수 있습니다.
R1#show run Current configuration: 640 bytes ! version 12.3 ! hostname R1 ! interface Serial0 no ip address encapsulation frame-relay ! interface Serial0.201 point-to-point !--- Enables a point-to-point link on the sub-interface. ip address 10.1.1.1 255.255.255.0 frame-relay interface-dlci 201 !--- Assigns a data-link connection identifier (DLCI)
!--- to a Frame Relay sub-interface. ! router eigrp 1 network 10.0.0.0 ! end
참고: Frame Relay 스위치는 네트워크 다이어그램에 숨겨져 있습니다.
R1#show ip route Codes: C - connected, S - static, I - IGRP, 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, E - EGP i - IS-IS, L1 - ISIS level-1, L2 - ISIS level-2, * - candidate default U - per-user static route, o - ODR Gateway of last resort is not set 10.0.0.0/24 is subnetted, 3 subnets D 10.1.3.0 [90/2221056] via 10.1.1.2, 00:07:08, Serial0.201 D 10.1.2.0 [90/2195456] via 10.1.1.2, 00:07:08, Serial0.201 C 10.1.1.0 is directly connected, Serial0.201 R1#show ip eigrp topology 10.1.3.0 255.255.255.0 IP-EIGRP (AS 1): topology entry for 10.1.3.0/24 State is Passive, Query origin flag is 1, 1 Successor(s), FD is 2221056 Routing Descriptor Blocks: 10.1.1.2 (Serial0.201), from 10.1.1.2, Send flag is 0x0 Composite metric is (2221056/307200), Route is Internal Vector metric: Minimum bandwidth is 1544 Kbit Total delay is 22000 microseconds Reliability is 255/255 Load is 1/255 Minimum MTU is 1500 Hop count is 2
R2#show run Current configuration: 618 bytes ! version 12.3 ! hostname R2 ! interface Ethernet0 ip address 10.1.2.2 255.255.255.0 no ip directed-broadcast ! ! interface Serial0 no ip address encapsulation frame-relay ! interface Serial0.101 point-to-point ip address 10.1.1.2 255.255.255.0 frame-relay interface-dlci 101 ! router eigrp 1 network 10.0.0.0 ! end R2#show ip route Codes: C - connected, S - static, I - IGRP, 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, E - EGP i - ISIS, L1 - ISIS level-1, L2 - ISIS level-2, * - candidate default U - per-user static route, o - ODR Gateway of last resort is not set 10.0.0.0/24 is subnetted, 3 subnets D 10.1.3.0 [90/307200] via 10.1.2.4, 00:03:47, Ethernet0 [90/307200] via 10.1.2.3, 00:03:48, Ethernet0 C 10.1.2.0 is directly connected, Ethernet0 C 10.1.1.0 is directly connected, Serial0.101
참고: R2에는 R3(10.1.2.3) 및 R4(10.1.2.4)를 통해 10.1.3.0/24으로 연결되는 두 개의 동일 비용 경로가 있습니다.
R2#show ip eigrp topology 10.1.3.0 255.255.255.0 IP-EIGRP (AS 1): topology entry for 10.1.3.0/24 State is Passive, Query origin flag is 1, 2 Successor(s), FD is 307200 Routing Descriptor Blocks: 10.1.2.3 (Ethernet0), from 10.1.2.3, Send flag is 0x0 Composite metric is (307200/281600), Route is Internal Vector metric: Minimum bandwidth is 10000 Kbit Total delay is 2000 microseconds Reliability is 255/255 Load is 1/255 Minimum MTU is 1500 Hop count is 1 10.1.2.4 (Ethernet0), from 10.1.2.4, Send flag is 0x0 Composite metric is (307200/281600), Route is Internal Vector metric: Minimum bandwidth is 10000 Kbit Total delay is 2000 microseconds Reliability is 255/255 Load is 1/255 Minimum MTU is 1500 Hop count is 1
참고: 두 경로의 복합 메트릭(거리/보고된 거리)은 동일합니다. R1에 대한 실행 가능 거리(FD)가 알려지면 R1에 대해 보고된 거리가 됩니다.
R3#show run Current configuration: 556 bytes ! version 12.3 ! hostname R3 ! interface Ethernet0/0 ip address 10.1.2.3 255.255.255.0 no ip directed-broadcast ! interface Ethernet0/1 ip address 10.1.3.3 255.255.255.0 no ip directed-broadcast ! router eigrp 1 network 10.0.0.0 ! end R3#show ip route Codes: C - connected, S - static, I - IGRP, 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, E - EGP i - ISIS, L1 - ISIS level-1, L2 - ISIS level-2, ia - ISIS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static route Gateway of last resort is not set 10.0.0.0/24 is subnetted, 3 subnets C 10.1.3.0 is directly connected, Ethernet0/1 C 10.1.2.0 is directly connected, Ethernet0/0 D 10.1.1.0 [90/20537600] via 10.1.2.2, 00:16:14, Ethernet0/0 R3#show ip eigrp topology 10.1.3.0 255.255.255.0 IP-EIGRP (AS 1): topology entry for 10.1.3.0/24 State is Passive, Query origin flag is 1, 1 Successor(s), FD is 281600 Routing Descriptor Blocks: 0.0.0.0 (Ethernet0/1), from Connected, Send flag is 0x0 Composite metric is (281600/0), Route is Internal Vector metric: Minimum bandwidth is 10000 Kbit Total delay is 1000 microseconds Reliability is 255/255 Load is 1/255 Minimum MTU is 1500 Hop count is 0 10.1.2.4 (Ethernet0/0), from 10.1.2.4, Send flag is 0x0 Composite metric is (307200/281600), Route is Internal Vector metric: Minimum bandwidth is 10000 Kbit Total delay is 2000 microseconds Reliability is 255/255 Load is 1/255 Minimum MTU is 1500 Hop count is 1 R3#show interface ethernet0/1 Ethernet0/1 is up, line protocol is up Hardware is AmdP2, address is 0050.7329.52e1 (bia 0050.7329.52e1) Internet address is 10.1.3.3/24 MTU 1500 bytes, BW 10000 Kbit, DLY 1000 usec, reliability 255/255, txload 1/255, rxload 1/255 Encapsulation ARPA, loopback not set Keepalive set (10 sec) ARP type: ARPA, ARP Timeout 04:00:00 Last input 00:00:02, output 00:00:01, output hang never Last clearing of "show interface" counters never Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0 Queueing strategy: fifo Output queue: 0/40 (size/max) 5 minute input rate 0 bits/sec, 0 packets/sec 5 minute output rate 0 bits/sec, 0 packets/sec 291 packets input, 28402 bytes, 0 no buffer Received 283 broadcasts, 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored 0 input packets with dribble condition detected 500 packets output, 50876 bytes, 0 underruns 0 output errors, 0 collisions, 2 interface resets 0 babbles, 0 late collision, 0 deferred 0 lost carrier, 0 no carrier 0 output buffer failures, 0 output buffers swapped out
R4#show run Current configuration: 549 bytes ! version 12.3 ! hostname R4 ! interface Ethernet0/0 ip address 10.1.2.4 255.255.255.0 no ip directed-broadcast ! interface Ethernet0/1 ip address 10.1.3.4 255.255.255.0 no ip directed-broadcast ! router eigrp 1 network 10.0.0.0 ! end R4#show ip route Codes: C - connected, S - static, I - IGRP, 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, E - EGP i - ISIS, L1 - ISIS level-1, L2 - ISIS level-2, IA - ISIS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static route Gateway of last resort is not set 10.0.0.0/24 is subnetted, 3 subnets C 10.1.3.0 is directly connected, Ethernet0/1 C 10.1.2.0 is directly connected, Ethernet0/0 D 10.1.1.0 [90/20537600] via 10.1.2.2, 00:17:08, Ethernet0/0 R4#show ip eigrp topology 10.1.3.0 255.255.255.0 IP-EIGRP (AS 1): topology entry for 10.1.3.0/24 State is Passive, Query origin flag is 1, 1 Successor(s), FD is 281600 Routing Descriptor Blocks: 0.0.0.0 (Ethernet0/1), from Connected, Send flag is 0x0 Composite metric is (281600/0), Route is Internal Vector metric: Minimum bandwidth is 10000 Kbit Total delay is 1000 microseconds Reliability is 255/255 Load is 1/255 Minimum MTU is 1500 Hop count is 0 10.1.2.3 (Ethernet0/0), from 10.1.2.3, Send flag is 0x0 Composite metric is (307200/281600), Route is Internal Vector metric: Minimum bandwidth is 10000 Kbit Total delay is 2000 microseconds Reliability is 255/255 Load is 1/255 Minimum MTU is 1500 Hop count is 1
지연 메트릭에 대한 변경 사항은 모든 다운스트림 라우터에 전파되므로 인터페이스 지연 매개변수에 대한 변경 사항은 다음 두 시나리오의 경로 선택에 영향을 주는 바람직한 방법입니다.
이더넷 세그먼트 10.1.3.0/24에는 서버만 포함되며 10.1.3.0/24 서브넷 뒤에 다른 서브넷은 없습니다. (이 컨피그레이션은 서버 팜에 이상적인 설정입니다.)
10.1.3.0/24 세그먼트에서 EIGRP 네이버를 통해 학습된 모든 경로에 대한 경로 선택에 영향을 미치려고 합니다.
변경하기 전에 인터페이스의 지연 시간을 확인합니다.
현재 R3와 동일하게 설정되어 있는데, 이에 대한 예시는 다음과 같다.
R4#show interface ethernet0/1 Ethernet0/1 is up, line protocol is up Hardware is AmdP2, address is 0050.7329.5321 (bia 0050.7329.5321) Internet address is 10.1.3.4/24 MTU 1500 bytes, BW 10000 Kbit, DLY 1000 usec, reliability 255/255, txload 1/255, rxload 1/255 Encapsulation ARPA, loopback not set Keepalive set (10 sec) ARP type: ARPA, ARP Timeout 04:00:00 Last input 00:00:02, output 00:00:02, output hang never Last clearing of "show interface" counters never Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0 Queueing strategy: fifo Output queue: 0/40 (size/max) 5 minute input rate 0 bits/sec, 0 packets/sec 5 minute output rate 0 bits/sec, 0 packets/sec 284 packets input, 27914 bytes, 0 no buffer Received 276 broadcasts, 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored 0 input packets with dribble condition detected 482 packets output, 49151 bytes, 0 underruns 0 output errors, 0 collisions, 2 interface resets 0 babbles, 0 late collision, 0 deferred 0 lost carrier, 0 no carrier 0 output buffer failures, 0 output buffers swapped out
10.1.3.0/24 세그먼트의 지연 값을 변경합니다.
새로운 지연을 선택할 때는 주의해야 합니다. R2가 더 이상 경로를 실행 가능한 successor로 보지 않을 때까지 지연을 늘리지 않습니다.
R4#configure terminal Enter configuration commands, one per line. End with CNTL/Z. R4(config)#interface ethernet0/1 R4(config-if)#delay 120 !--- Delay is entered in tens of microseconds. R4(config-if)#end R4#
이 인터페이스에 대해 지연이 1200마이크로초로 변경되었는지 확인합니다.
R4#show interface ethernet0/1 Hardware is AmdP2, address is 0050.7329.5321 (bia 0050.7329.5321) Internet address is 10.1.3.4/24 MTU 1500 bytes, BW 10000 Kbit, DLY 1200 usec, reliability 255/255, txload 1/255, rxload 1/255 Encapsulation ARPA, loopback not set Keepalive set (10 sec) ARP type: ARPA, ARP Timeout 04:00:00 Last input 00:00:03, output 00:00:00, output hang never Last clearing of "show interface" counters never Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0 Queueing strategy: fifo Output queue: 0/40 (size/max) 5 minute input rate 0 bits/sec, 0 packets/sec 5 minute output rate 0 bits/sec, 0 packets/sec 345 packets input, 33508 bytes, 0 no buffer Received 333 broadcasts, 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored 0 input packets with dribble condition detected 575 packets output, 57863 bytes, 0 underruns 0 output errors, 0 collisions, 2 interface resets 0 babbles, 0 late collision, 0 deferred 0 lost carrier, 0 no carrier 0 output buffer failures, 0 output buffers swapped out
R2에 R3를 통해 10.1.3.0에 대한 최적 경로가 하나만 있는지 확인합니다.
R2#show ip route Codes: C - connected, S - static, I - IGRP, 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, E - EGP i - ISIS, L1 - ISIS level-1, L2 - ISIS level-2, * - candidate default U - per-user static route, o - ODR Gateway of last resort is not set 10.0.0.0/24 is subnetted, 3 subnets D 10.1.3.0 [90/307200] via 10.1.2.3, 00:02:43, Ethernet0 C 10.1.2.0 is directly connected, Ethernet0 C 10.1.1.0 is directly connected, Serial0.101 R2#show ip eigrp topology 10.1.3.0 255.255.255.0 IP-EIGRP (AS 1): topology entry for 10.1.3.0/24 State is Passive, Query origin flag is 1, 1 Successor(s), FD is 307200 Routing Descriptor Blocks: 10.1.2.3 (Ethernet0), from 10.1.2.3, Send flag is 0x0 Composite metric is (307200/281600), Route is Internal Vector metric: Minimum bandwidth is 10000 Kbit Total delay is 2000 microseconds Reliability is 255/255 Load is 1/255 Minimum MTU is 1500 Hop count is 1 10.1.2.4 (Ethernet0), from 10.1.2.4, Send flag is 0x0 Composite metric is (312320/286720), Route is Internal Vector metric: Minimum bandwidth is 10000 Kbit Total delay is 2200 microseconds Reliability is 255/255 Load is 1/255 Minimum MTU is 1500 Hop count is 1
이 show ip eigrp topology
이 명령은 R4에서 보급하는 지연 메트릭이 예상대로 200마이크로초(2200마이크로초)만큼 증가했음을 보여줍니다. 이렇게 증가하면 두 경로의 비용이 달라지며 R2의 로드 밸런싱이 방지됩니다.
참고: R4(286720)가 광고하는 거리가 R2(실현 가능한 거리, 307200)가 광고하는 거리보다 작으므로 경로는 루프 없는 것으로 간주됩니다. R4에서 광고하는 경로는 루프 프리(loop-free)로 간주되므로, 이는 실현 가능한 successor이며 R3에서 10.1.3.0/24에 대한 경로 광고를 중단하는 경우 즉시 설치됩니다.
R1#show ip route Codes: C - connected, S - static, I - IGRP, 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, E - EGP i - ISIS, L1 - ISIS level-1, L2 - ISIS level-2, * - candidate default U - per-user static route, o - ODR Gateway of last resort is not set 10.0.0.0/24 is subnetted, 3 subnets D 10.1.3.0 [90/2221056] via 10.1.1.2, 00:25:27, Serial0.201 D 10.1.2.0 [90/2195456] via 10.1.1.2, 00:25:27, Serial0.201 C 10.1.1.0 is directly connected, Serial0.201 R1#show ip eigrp topology 10.1.3.0 255.255.255.0 IP-EIGRP (AS 1): topology entry for 10.1.3.0/24 State is Passive, Query origin flag is 1, 1 Successor(s), FD is 2221056 Routing Descriptor Blocks: 10.1.1.2 (Serial0.201), from 10.1.1.2, Send flag is 0x0 Composite metric is (2221056/307200), Route is Internal Vector metric: Minimum bandwidth is 1544 Kbit Total delay is 22000 microseconds Reliability is 255/255 Load is 1/255 Minimum MTU is 1500 Hop count is 2
R2의 Composite Metric은 라우터 R4의 오프셋 목록으로 수정할 수 있습니다. R4에서 오프셋-목록 값이 20이면 경로 R2-R4의 Composite Metric이 R2에서 20만큼 증가합니다. 따라서 경로 R2-R4는 R2-R3에 대한 백업 경로가 됩니다. 다음과 같은 경우 offset-list가 기본 방법입니다.
광고되는 특정 경로에만 영향을 미치려는 경우
추가 라우터가 10.1.3.0/24 서브넷에 연결되어 있으며, 라우터에서 시작된 경로에 영향을 주지 않을 수 있습니다.
10.1.3.x로 시작된 경로의 지연 시간을 20만큼 늘리는 R4의 offset-list를 구성합니다.
R4#configure terminal Enter configuration commands, one per line. End with CNTL/Z. R4(config)#access-list 99 permit 10.1.3.0 0.0.0.255 R4(config)#router eigrp 1 R4(config-router)#offset-list 99 out 20 e0/0 R4(config-router)#end R4#
이 출력에서 offset-list가 R4의 EIGRP 토폴로지 테이블에서 어떤 것도 변경하지 않는다는 것을 확인할 수 있습니다.
경로는 광고될 때만 메트릭이 변경됩니다.
R4#show ip eigrp topology 10.1.3.0 255.255.255.0 IP-EIGRP (AS 1): topology entry for 10.1.3.0/24 State is Passive, Query origin flag is 1, 1 Successor(s), FD is 281600 Routing Descriptor Blocks: 0.0.0.0 (Ethernet0/1), from Connected, Send flag is 0x0 Composite metric is (281600/0), Route is Internal Vector metric: Minimum bandwidth is 10000 Kbit Total delay is 1000 microseconds Reliability is 255/255 Load is 1/255 Minimum MTU is 1500 Hop count is 0 10.1.2.3 (Ethernet0/0), from 10.1.2.3, Send flag is 0x0 Composite metric is (307200/281600), Route is Internal Vector metric: Minimum bandwidth is 10000 Kbit Total delay is 2000 microseconds Reliability is 255/255 Load is 1/255 Minimum MTU is 1500 Hop count is 1
R2에서 R3(10.1.2.3)을 통과하는 경로가 다시 한 번 최상의 경로임을 확인합니다.
R2#show ip route Codes: C - connected, S - static, I - IGRP, 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, E - EGP i - ISIS, L1 - ISIS level-1, L2 - ISIS level-2, * - candidate default U - per-user static route, o - ODR Gateway of last resort is not set 10.0.0.0/24 is subnetted, 3 subnets D 10.1.3.0 [90/307200] via 10.1.2.3, 00:00:20, Ethernet0 C 10.1.2.0 is directly connected, Ethernet0 C 10.1.1.0 is directly connected, Serial0.101
EIGRP 토폴로지 테이블은 R4(10.1.2.4)에서 지연이 증가한 것을 반영합니다.
R4 가능 거리 (281600) + R4 오프셋 목록 (20) = R4 보고된 거리 (281620).
참고: Cisco IOS Software Release 12.0(7)의 외관상 결함으로 인해 여기 표시된 출력의 Total Delay(총 지연) 섹션에서 증가된 지연이 정확하게 반영되지 않습니다.
참고: 등록된 Cisco 사용자만 내부 Cisco 툴 및 버그 정보에 액세스할 수 있습니다.
DDT | 설명 |
---|---|
Cisco 버그 ID CSCdp36097 | EIGRP: offset-list가 잘못된 지연 값을 추가합니다. |
R2# show ip eigrp topology 10.1.3.0 255.255.255.0 IP-EIGRP (AS 1): topology entry for 10.1.3.0/24 State is Passive, Query origin flag is 1, 1 Successor(s), FD is 307200 Routing Descriptor Blocks: 10.1.2.3 (Ethernet0), from 10.1.2.3, Send flag is 0x0 Composite metric is (307200/281600), Route is Internal Vector metric: Minimum bandwidth is 10000 Kbit Total delay is 2000 microseconds Reliability is 255/255 Load is 1/255 Minimum MTU is 1500 Hop count is 1 10.1.2.4 (Ethernet0), from 10.1.2.4, Send flag is 0x0 Composite metric is (307220/281620), Route is Internal Vector metric: Minimum bandwidth is 10000 Kbit Total delay is 2000 microseconds Reliability is 255/255 Load is 1/255 Minimum MTU is 1500 Hop count is 1
R4에서 학습한 경로의 R2 관리 거리를 변경할 때 경로 선택 프로세스를 변경할 수도 있습니다. 이 방법은 다른 방법보다 덜 이상적이다. 여기에 나열된 이유로 인해 라우팅 루프의 잠재성을 높일 수 있습니다.
관리 거리는 일반적으로 경로를 학습한 방법을 결정하는 데 사용됩니다. 잘못 설정하면 개별 라우터가 실제 최상의 경로 대신 재배포된 경로를 선택할 수 없습니다.
관리 거리는 다른 라우터로 전파되지 않습니다. 라우팅 프로토콜은 모든 라우터가 동일한 매개 변수 집합이 제공되면 동일한 경로를 선택한다는 사실에 따라 달라집니다. 단일 라우터의 매개변수를 변경하면 라우팅 루프가 발생할 수 있습니다.
서브넷 10.1.3.0/24에 대한 R4(10.1.2.4)의 라우팅 업데이트가 수신되면 관리 거리가 91로 늘어나도록 R2의 컨피그레이션을 변경합니다.
91은 내부(90)의 기본 EIGRP 관리 거리보다 1이 크기 때문에 선택됩니다. EIGRP 외부(EIGRP로 재배포된 경로)의 기본 관리 거리는 170입니다. 모든 라우팅 프로토콜의 기본값은 What Is Administrative Distance? 문서의 Default Distance Value 표를 참조하십시오.
R2#configure terminal Enter configuration commands, one per line. End with CNTL/Z. R2(config)#access-list 99 permit 10.1.3.0 0.0.0.255 R2(config)#router eigrp 1 R2(config-router)#distance 91 10.1.2.4 0.0.0.0 99 R2(config-router)#end R2#
이 단계에서는 clear ip route
명령을 사용하여 변경 사항을 적용합니다.
참고: 이제 R3(10.1.2.3)을 통해 10.1.3.0/24으로 연결되는 경로는 하나만 있습니다.
R2#show ip route Codes: C - connected, S - static, I - IGRP, 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, E - EGP i - ISIS, L1 - ISIS level-1, L2 - ISIS level-2, * - candidate default U - per-user static route, o - ODR Gateway of last resort is not set 10.0.0.0/24 is subnetted, 3 subnets D 10.1.3.0 [90/307200] via 10.1.2.3, 00:05:28, Ethernet0 C 10.1.2.0 is directly connected, Ethernet0 C 10.1.1.0 is directly connected, Serial0.101
참고: EIGRP 토폴로지 테이블에서 아무것도 변경되지 않았습니다.
R2#show ip eigrp topology 10.1.3.0 255.255.255.0 IP-EIGRP (AS 1): topology entry for 10.1.3.0/24 State is Passive, Query origin flag is 1, 1 Successor(s), FD is 307200 Routing Descriptor Blocks: 10.1.2.3 (Ethernet0), from 10.1.2.3, Send flag is 0x0 Composite metric is (307200/281600), Route is Internal Vector metric: Minimum bandwidth is 10000 Kbit Total delay is 2000 microseconds Reliability is 255/255 Load is 1/255 Minimum MTU is 1500 Hop count is 1 10.1.2.4 (Ethernet0), from 10.1.2.4, Send flag is 0x0 Composite metric is (307200/281600), Route is Internal Vector metric: Minimum bandwidth is 10000 Kbit Total delay is 2000 microseconds Reliability is 255/255 Load is 1/255 Minimum MTU is 1500 Hop count is 1
이 방법을 신중하게 사용하지 않을 경우 발생할 수 있는 잠재적인 문제를 설명하기 위해 R1 및 R2가 10.0.0.0/8 네트워크에 대해 관리 거리가 110인 OSPF(Open Shortest Path First)를 실행한다고 가정해 보십시오. R4에 R2(10.1.2.2)를 가리키는 10.1.1.0/24에 대한 고정 경로가 있다고 가정해 보십시오. R4는 10.1.3.0/24의 일부 새 라우터가 10.1.1.0/24에 도달할 수 있도록 고정 경로를 EIGRP로 재배포합니다.
일반적으로 R2는 관리 거리가 170인 R4에서 10.1.1.0/24에 대한 EIGRP 외부 경로를 수신합니다. 이 거리는 OSPF 경로(110)보다 크므로 설치되지 않습니다.
이 출력은 잘못 구성된 경우 이전에 사용된 distance 명령의 예입니다.
R2#configure terminal Enter configuration commands, one per line. End with CNTL/Z. R2(config)#access-list 99 permit 10.1.1.0 0.0.0.255 R2(config)#router eigrp 1 R2(config-router)#distance 91 10.1.2.4 0.0.0.0 99 R2(config-router)#end R2#
이 컨피그레이션은 서브넷 10.1.1.0/24에 대해 R2와 R4 사이에 라우팅 루프를 생성합니다. 이제 R2는 R4에서 광고하는 10.1.1.0/24 경로를 선호합니다. 이는 관리 거리(91)가 OSPF 경로(110)의 관리 거리보다 낮기 때문입니다.
EIGRP 경로에 영향을 주기 위해 대역폭을 사용하지 말아야 하는 두 가지 이유가 있습니다.
대역폭을 변경하면 EIGRP 메트릭에 미치는 영향 외에 영향을 미칠 수 있습니다. 예를 들어 QoS(Quality of Service)는 인터페이스의 대역폭도 확인합니다.
EIGRP는 구성된 대역폭의 50%를 사용하도록 조절합니다. 대역폭을 낮출 경우 EIGRP 네이버에서 hello 패킷을 수신하는 것을 방지할 수 있습니다. EIGRP 네이버는 다시 스로틀링되기 때문입니다.
지연을 변경하면 다른 프로토콜에도 영향을 주지 않으며 EIGRP가 다시 스로틀링하지 않습니다.
변경하기 전에 R1에 대한 EIGRP 토폴로지 테이블을 확인합니다.
R1#show ip eigrp topology 10.1.3.0 255.255.255.0 IP-EIGRP (AS 1): topology entry for 10.1.3.0/24 State is Passive, Query origin flag is 1, 1 Successor(s), FD is 2221056 Routing Descriptor Blocks: 10.1.1.2 (Serial0.201), from 10.1.1.2, Send flag is 0x0 Composite metric is (2221056/307200), Route is Internal Vector metric: Minimum bandwidth is 1544 Kbit Total delay is 22000 microseconds Reliability is 255/255 Load is 1/255 Minimum MTU is 1500 Hop count is 2
R2에서 ethernet0 인터페이스의 초기값을 확인합니다.
R2#show interface ethernet0 Ethernet0 is up, line protocol is up Hardware is Lance, address is 0010.7b3c.6786 (bia 0010.7b3c.6786) Internet address is 10.1.2.2/24 MTU 1500 bytes, BW 10000 Kbit, DLY 1000 usec, rely 255/255, load 1/255 Encapsulation ARPA, loopback not set, keepalive set (10 sec) ARP type: ARPA, ARP Timeout 04:00:00 Last input 00:00:01, output 00:00:02, output hang never Last clearing of "show interface" counters never Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0 Queueing strategy: fifo Output queue: 0/40 (size/max) 5 minute input rate 0 bits/sec, 0 packets/sec 5 minute output rate 0 bits/sec, 0 packets/sec 1938 packets input, 165094 bytes, 0 no buffer Received 1919 broadcasts, 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort 0 input packets with dribble condition detected 1482 packets output, 124222 bytes, 0 underruns 0 output errors, 0 collisions, 18 interface resets 0 babbles, 0 late collision, 0 deferred 0 lost carrier, 0 no carrier 0 output buffer failures, 0 output buffers swapped out
R1에 대한 영향을 보려면 대역폭을 줄이십시오.
R2#configure terminal Enter configuration commands, one per line. End with CNTL/Z. R2(config)#interface ethernet0 R2(config-if)#bandwidth 5000 R2(config-if)#end R2#
변경 사항을 확인합니다.
R2#show interface ethernet0 Ethernet0 is up, line protocol is up Hardware is Lance, address is 0010.7b3c.6786 (bia 0010.7b3c.6786) Internet address is 10.1.2.2/24 MTU 1500 bytes, BW 5000 Kbit, DLY 1000 usec, rely 255/255, load 1/255 Encapsulation ARPA, loopback not set, keepalive set (10 sec) ARP type: ARPA, ARP Timeout 04:00:00 Last input 00:00:02, output 00:00:01, output hang never Last clearing of "show interface" counters never Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0 Queueing strategy: fifo Output queue: 0/40 (size/max) 5 minute input rate 0 bits/sec, 0 packets/sec 5 minute output rate 0 bits/sec, 0 packets/sec 1995 packets input, 169919 bytes, 0 no buffer Received 1969 broadcasts, 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort 0 input packets with dribble condition detected 1525 packets output, 127831 bytes, 0 underruns 0 output errors, 0 collisions, 18 interface resets 0 babbles, 0 late collision, 0 deferred 0 lost carrier, 0 no carrier 0 output buffer failures, 0 output buffers swapped out
EIGRP 토폴로지 테이블에서도 변경되었는지 확인합니다.
R2#show ip eigrp topology 10.1.3.0 255.255.255.0 IP-EIGRP (AS 1): topology entry for 10.1.3.0/24 State is Passive, Query origin flag is 1, 2 Successor(s), FD is 563200 Routing Descriptor Blocks: 10.1.2.4 (Ethernet0), from 10.1.2.4, Send flag is 0x0 Composite metric is (563200/281600), Route is Internal Vector metric: Minimum bandwidth is 5000 Kbit Total delay is 2000 microseconds Reliability is 255/255 Load is 1/255 Minimum MTU is 1500 Hop count is 1 10.1.2.3 (Ethernet0), from 10.1.2.3, Send flag is 0x0 Composite metric is (563200/281600), Route is Internal Vector metric: Minimum bandwidth is 5000 Kbit Total delay is 2000 microseconds Reliability is 255/255 Load is 1/255 Minimum MTU is 1500 Hop count is 1
R1에 대한 EIGRP 토폴로지 테이블에 미치는 영향을 확인합니다.
R1#show ip eigrp topology 10.1.3.0 255.255.255.0 IP-EIGRP (AS 1): topology entry for 10.1.3.0/24 State is Passive, Query origin flag is 1, 1 Successor(s), FD is 2221056 Routing Descriptor Blocks: 10.1.1.2 (Serial0.201), from 10.1.1.2, Send flag is 0x0 Composite metric is (2221056/563200), Route is Internal Vector metric: Minimum bandwidth is 1544 Kbit Total delay is 22000 microseconds Reliability is 255/255 Load is 1/255 Minimum MTU is 1500 Hop count is 2
R1과 R2 사이의 Frame Relay 연결은 여전히 최저 속도 링크이므로 변화가 없습니다. R2에 대한 ethernet0 인터페이스의 대역폭을 1544 미만의 값으로 줄이는 경우에만 변경 사항이 표시됩니다.
R2에 대한 ethernet0 인터페이스의 대역폭을 1000으로 줄입니다.
R2#configure terminal Enter configuration commands, one per line. End with CNTL/Z. R2(config)#interface ethernet 0 R2(config-if)#bandwidth 1000 R2(config-if)#end R2#
R1에 대한 EIGRP 토폴로지 테이블에 미치는 영향을 확인합니다.
R1#show ip eigrp topology 10.1.3.0 255.255.255.0 IP-EIGRP (AS 1): Topology entry for 10.1.3.0/24 State is Passive, Query origin flag is 1, 1 Successor(s), FD is 312320 Routing Descriptor Blocks: 10.1.1.2 (Serial0.201), from 10.1.1.2, Send flag is 0x0 Composite metric is (3123200/2611200), Route is Internal Vector metric: Minimum bandwidth is 1000 Kbit Total delay is 22000 microseconds Reliability is 255/255 Load is 1/255 Minimum MTU is 1500 Hop count is 2
개정 | 게시 날짜 | 의견 |
---|---|---|
2.0 |
19-Dec-2022 |
서식을 업데이트합니다. 사용법과 구두점에 필요한 대로 수정합니다. 문서의 인증서 |
1.0 |
10-Dec-2001 |
최초 릴리스 |