예: 영역 간 플러딩을 제어하기 위한 다레벨 IS-IS 토폴로지 구성
이 예는 다중 레벨 IS-IS 토폴로지를 구성하는 방법을 보여줍니다.
요구 사항
이 예를 구성하기 전에 디바이스 초기화를 제외한 특별한 구성은 필요하지 않습니다.
개요
최단 경로 우선(OSPF)과 마찬가지로 IS-IS 프로토콜은 영역 간 플러딩을 제어하는 수준으로 라우팅 도메인을 여러 영역으로 분할하는 것을 지원합니다. 여러 수준을 사용하면 프로토콜 확장성이 향상되는데, 이는 레벨 2(백본) link-state PDU가 일반적으로 레벨 1 영역으로 플러딩되지 않기 때문입니다.
IS-IS 레벨 2 영역은 최단 경로 우선(OSPF) 백본 영역(0)과 유사하지만, 레벨 1 영역은 기본 경로가 일반적으로 레벨 간 및 AS 외부 경로 모두에 도달하는 데 사용된다는 점에서 OSPF 완전 스터비 영역과 매우 유사하게 작동합니다.
최단 경로 우선(OSPF)과는 달리, IS-IS(Intermediate System to Intermediate System) 영역 경계는 라우터 간에 발생하므로 주어진 라우팅 디바이스는 항상 특정 영역 내에 완전히 포함됩니다. 공통 영역 번호를 공유하는 라우터 간에 레벨 1 인접성이 형성될 수 있는 반면, 영역 번호를 공유하거나 공유하지 않을 수 있는 라우터 간에 레벨 2 인접성이 형성될 수 있습니다.
그림 1 은 이 예에서 사용되는 토폴로지입니다.
CLI 빠른 구성은 그림 1의 모든 디바이스에 대한 구성을 보여줍니다. #configuration69__isis-multi-level-step-by-step 섹션에서는 디바이스 R5의 단계를 설명합니다.
이 예에는 다음과 같은 특징이 있습니다.
-
디바이스 R5는 레벨 1/레벨 2 라우터로 기능하여 디바이스 R6 및 디바이스 R7을 포함하는 레벨 2 백본 영역 49.0001과 레벨 1 영역 49.0002를 상호 연결합니다.
-
시스템 ID는 디바이스의 IPv4 lo0 주소를 기반으로 합니다.
-
개별 인터페이스가 손실되더라도 IS-IS 작전이 완전히 중단되는 것은 아닙니다.
-
모든 라우터의 IPv4 lo0 주소는 IS-IS를 통해 연결할 수 있습니다.
-
디바이스 R3과 디바이스 S1 사이의 링크는 영역 내 경로로 영역 49.0001에 나타납니다. 이 인터페이스에서는 IS-IS 인접성을 설정할 수 없습니다. 이 작업은 디바이스 R3의 인터페이스에서 디바이스 S1에 대한 문을 구성
passive하여 수행됩니다. -
레벨 2 디바이스의 루프백 주소는 레벨 1 영역에 나타나지 않습니다.
-
각 장치 페어링에는 하나의 인접성만 있습니다.
위상수학
구성
절차
CLI 빠른 구성
이 예를 빠르게 구성하려면, 아래 명령을 복사하여 텍스트 파일로 붙여 넣은 다음 모든 라인브레이크를 제거하고, 네트워크 구성을 일치하는 데 필요한 세부 사항을 바꾸고 계층 수준에서 명령을 CLI [edit] 로 복사해 붙여 넣습니다.
디바이스 R3
set interfaces fe-1/2/0 unit 0 description to-R4
set interfaces fe-1/2/0 unit 0 family inet address 10.0.0.17/30
set interfaces fe-1/2/0 unit 0 family iso
set interfaces fe-1/2/1 unit 0 description to-R5
set interfaces fe-1/2/1 unit 0 family inet address 10.0.0.21/30
set interfaces fe-1/2/1 unit 0 family iso
set interfaces fe-1/2/2 unit 0 family inet address 10.0.0.41/30
set interfaces fe-1/2/2 unit 0 description to-S1
set interfaces lo0 unit 0 family inet address 192.168.0.3/32
set interfaces lo0 unit 0 family iso address 49.0001.1921.6800.0003.00
set protocols isis interface fe-1/2/0.0 level 1 disable
set protocols isis interface fe-1/2/1.0 level 1 disable
set protocols isis interface lo0.0 level 1 disable
set protocols isis interface fe-1/2/2.0 passive
디바이스 R4
set interfaces fe-1/2/0 unit 0 description to-R3
set interfaces fe-1/2/0 unit 0 family inet address 10.0.0.18/30
set interfaces fe-1/2/0 unit 0 family iso
set interfaces fe-1/2/1 unit 0 description to-R5
set interfaces fe-1/2/1 unit 0 family inet address 10.0.0.25/30
set interfaces fe-1/2/1 unit 0 family iso
set interfaces lo0 unit 0 family inet address 192.168.0.4/32
set interfaces lo0 unit 0 family iso address 49.0001.0192.0168.0004.00
set protocols isis interface fe-1/2/0.0 level 1 disable
set protocols isis interface fe-1/2/1.0 level 1 disable
set protocols isis interface lo0.0 level 1 disable
디바이스 R5
set interfaces fe-1/2/0 unit 0 description to-R3
set interfaces fe-1/2/0 unit 0 family inet address 10.0.0.22/30
set interfaces fe-1/2/0 unit 0 family iso
set interfaces fe-1/2/1 unit 0 description to-R4
set interfaces fe-1/2/1 unit 0 family inet address 10.0.0.26/30
set interfaces fe-1/2/1 unit 0 family iso
set interfaces fe-1/2/2 unit 0 description to-R6
set interfaces fe-1/2/2 unit 0 family inet address 10.0.0.29/30
set interfaces fe-1/2/2 unit 0 family iso
set interfaces fe-1/2/3 unit 0 description to-R7
set interfaces fe-1/2/3 unit 0 family inet address 10.0.0.38/30
set interfaces fe-1/2/3 unit 0 family iso
set interfaces lo0 unit 0 family inet address 192.168.0.5/32
set interfaces lo0 unit 0 family iso address 49.0002.0192.0168.0005.00
set protocols isis interface fe-1/2/0.0 level 1 disable
set protocols isis interface fe-1/2/1.0 level 1 disable
set protocols isis interface fe-1/2/2.0 level 2 disable
set protocols isis interface fe-1/2/3.0 level 2 disable
set protocols isis interface lo0.0 level 1 disable
디바이스 R6
set interfaces fe-1/2/0 unit 0 description to-R5
set interfaces fe-1/2/0 unit 0 family inet address 10.0.0.30/30
set interfaces fe-1/2/0 unit 0 family iso
set interfaces fe-1/2/1 unit 0 description to-R7
set interfaces fe-1/2/1 unit 0 family inet address 10.0.0.33/30
set interfaces fe-1/2/1 unit 0 family iso
set interfaces lo0 unit 0 family inet address 192.168.0.6/32
set interfaces lo0 unit 0 family iso address 49.0002.0192.0168.0006.00
set protocols isis interface fe-1/2/0.0 level 2 disable
set protocols isis interface fe-1/2/1.0 level 2 disable
set protocols isis interface lo0.0 level 2 disable
디바이스 R7
set interfaces fe-1/2/0 unit 0 description to-R6
set interfaces fe-1/2/0 unit 0 family inet address 10.0.0.34/30
set interfaces fe-1/2/0 unit 0 family iso
set interfaces fe-1/2/1 unit 0 description to-R5
set interfaces fe-1/2/1 unit 0 family inet address 10.0.0.37/30
set interfaces fe-1/2/1 unit 0 family iso
set interfaces lo0 unit 0 family inet address 192.168.0.7/32
set interfaces lo0 unit 0 family iso address 49.0002.0192.0168.0007.00
set protocols isis interface fe-1/2/0.0 level 2 disable
set protocols isis interface fe-1/2/1.0 level 2 disable
set protocols isis interface lo0.0 level 2 disable
디바이스 S1
set interfaces fe-1/2/0 unit 0 family inet address 10.0.0.42/30
set interfaces fe-1/2/0 unit 0 description to-R3
단계별 절차
다음 예제에서는 구성 계층에서 다양한 수준의 탐색이 필요합니다. CLI 탐색에 관한 정보는 CLI 사용자 가이드에서 구성 모드에서 CLI 편집기 사용을 참조하십시오.
다중 레벨 IS-IS 구성:
-
네트워크 인터페이스를 구성합니다.
각 인터페이스에 ISO 주소 패밀리를 포함하여 인터페이스에서 IS-IS(Intermediate System to Intermediate System)를 활성화합니다.
[edit interfaces] user@R5# set fe-1/2/0 unit 0 description to-R3 user@R5# set fe-1/2/0 unit 0 family inet address 10.0.0.22/30 user@R5# set fe-1/2/0 unit 0 family iso user@R5# set fe-1/2/1 unit 0 description to-R4 user@R5# set fe-1/2/1 unit 0 family inet address 10.0.0.26/30 user@R5# set fe-1/2/1 unit 0 family iso user@R5# set fe-1/2/2 unit 0 description to-R6 user@R5# set fe-1/2/2 unit 0 family inet address 10.0.0.29/30 user@R5# set fe-1/2/2 unit 0 family iso user@R5# set fe-1/2/3 unit 0 description to-R7 user@R5# set fe-1/2/3 unit 0 family inet address 10.0.0.38/30 user@R5# set fe-1/2/3 unit 0 family iso -
두 개의 루프백 인터페이스 주소를 구성합니다.
하나의 주소는 IPv4용입니다.
다른 하나는 IS-IS 영역 49.0002를 위한 것이므로 디바이스 R5는 영역 49.0002의 다른 레벨 1 디바이스와 인접성을 형성할 수 있습니다. 디바이스 R5의 NET은 스스로를 레벨 1 영역 49.0002에 속하는 것으로 식별하지만, 루프백 인터페이스는 레벨 1 인터페이스로 구성되지 않습니다. 이렇게 하면 디바이스 R5의 루프백에 대한 경로가 레벨 1 영역에 삽입됩니다.
[edit interfaces lo0 unit 0] user@R5# set family inet address 192.168.0.5/32 user@R5# set family iso address 49.0002.0192.0168.0005.00 -
인터페이스별로 IS-IS 수준을 지정합니다.
디바이스 R5는 각 링크에서 동일한 수준의 다른 라우팅 디바이스와 인접하게 됩니다.
기본적으로 IS-IS(Intermediate System to Intermediate System)는 ISO 프로토콜 체계가 활성화된 모든 인터페이스(계층 수준)의 IS-IS(Intermediate System to Intermediate System) 영역에 대해 활성화되어 있습니다
[edit interfaces interface-name unit logical-unit-number]. 인터페이스의 특정 수준에서 IS-IS(Intermediate System to Intermediate System)를disable비활성화하려면 문을 포함합니다.디바이스 R5의 루프백 인터페이스는 레벨 2만 실행하도록 구성됩니다. lo0.0에서 레벨 1 작동이 활성화된 경우, 디바이스 R5는 레벨 1 링크 상태 PDU에 루프백 주소를 포함하는데, 이는 레벨 2 디바이스의 루프백 주소가 레벨 1 영역에 나타나지 않아야 하는 이 예에는 올바르지 않습니다.
최단 경로 우선(OSPF)과는 달리, 라우터의 lo0 인터페이스
[edit protocols isis]는 라우터의 NET 소스이기 때문에 계층 수준에서 명시적으로 나열해야 하며, 따라서 IS-IS 인터페이스로 구성되어야 합니다. IS-IS(Intermediate System to Intermediate System)에서 lo0 인터페이스는 기본적으로 패시브 모드로 작동하는데, 이는 가상 인터페이스에서 인접 형성이 절대 발생할 수 없기 때문에 이상적입니다.[edit protocols isis] user@R5# set interface fe-1/2/0.0 level 1 disable user@R5# set interface fe-1/2/1.0 level 1 disable user@R5# set interface fe-1/2/2.0 level 2 disable user@R5# set interface fe-1/2/3.0 level 2 disable user@R5# set interface lo0.0 level 1 disable
결과
구성 모드에서 및 show protocols 명령을 입력하여 show interfaces 구성을 확인합니다. 출력 결과가 의도한 구성대로 표시되지 않으면 이 예의 지침을 반복하여 구성을 수정하십시오.
user@R5# show interfaces
fe-1/2/0 {
unit 0{
description to-R3;
family inet {
address 10.0.0.22/30;
}
family iso;
}
}
fe-1/2/1 {
unit 0 {
description to-R4;
family inet {
address 10.0.0.26/30;
}
family iso;
}
}
fe-1/2/2 {
unit 0 {
description to-R6;
family inet {
address 10.0.0.29/30;
}
family iso;
}
}
fe-1/2/3 {
unit 0 {
description to-R7;
family inet {
address 10.0.0.38/30;
}
family iso;
}
}
lo0 {
unit 0 {
family inet {
address 192.168.0.5/32;
}
family iso {
address 49.0002.0192.0168.0005.00;
}
}
}
user@R5# show protocols
isis {
interface fe-1/2/0.0 {
level 1 disable;
}
interface fe-1/2/1.0 {
level 1 disable;
}
interface fe-1/2/2.0 {
level 2 disable;
}
interface fe-1/2/3.0 {
level 2 disable;
}
interface lo0.0 {
level 1 disable;
}
}
디바이스 구성을 마쳤으면 구성 모드에서 을(를) 입력합니다 commit .
확인
구성이 올바르게 작동하고 있는지 확인합니다.
인터페이스-영역 연결 확인
목적
인터페이스-영역 연결이 예상대로 구성되었는지 확인합니다.
행동
운영 모드에서 명령을 입력합니다 show isis interface .
user@R5> show isis interface IS-IS interface database: Interface L CirID Level 1 DR Level 2 DR L1/L2 Metric lo0.0 3 0x1 Disabled Passive 0/0 fe-1/2/0.0 2 0x3 Disabled R5.03 10/10 fe-1/2/1.0 2 0x2 Disabled R5.02 10/10 fe-1/2/2.0 1 0x1 R6.02 Disabled 10/10 fe-1/2/3.0 1 0x4 R5.04 Disabled 10/10
의미
출력 결과, 디바이스 R5의 인터페이스가 ISO 제품군으로 올바르게 구성되었으며 인터페이스가 올바른 수준으로 배치되었음을 보여줍니다.
또한 디바이스 R5가 브로드캐스트 지원 IS-IS 인터페이스에서 DIS(지정 중간 시스템)로 선택되었음을 확인할 수 있습니다.
IS-IS 인접성 확인
목적
디바이스 R5와 IS-IS neighbor 간에 예상되는 인접성이 형성되었는지 확인합니다.
행동
운영 모드에서 명령을 입력합니다 show isis adjacency detail .
user@R5> show isis adjacency detail R3 Interface: fe-1/2/0.0, Level: 2, State: Up, Expires in 25 secs Priority: 64, Up/Down transitions: 1, Last transition: 03:19:31 ago Circuit type: 2, Speaks: IP, IPv6, MAC address: 0:5:85:8f:c8:bc Topologies: Unicast Restart capable: Yes, Adjacency advertisement: Advertise LAN id: R5.03, IP addresses: 10.0.0.21 R4 Interface: fe-1/2/1.0, Level: 2, State: Up, Expires in 24 secs Priority: 64, Up/Down transitions: 1, Last transition: 03:19:36 ago Circuit type: 2, Speaks: IP, IPv6, MAC address: 0:5:85:8f:c8:bc Topologies: Unicast Restart capable: Yes, Adjacency advertisement: Advertise LAN id: R5.02, IP addresses: 10.0.0.25 R6 Interface: fe-1/2/2.0, Level: 1, State: Up, Expires in 6 secs Priority: 64, Up/Down transitions: 1, Last transition: 03:20:24 ago Circuit type: 1, Speaks: IP, IPv6, MAC address: 0:5:85:8f:c8:bd Topologies: Unicast Restart capable: Yes, Adjacency advertisement: Advertise LAN id: R6.02, IP addresses: 10.0.0.30 R7 Interface: fe-1/2/3.0, Level: 1, State: Up, Expires in 21 secs Priority: 64, Up/Down transitions: 1, Last transition: 03:19:29 ago Circuit type: 1, Speaks: IP, IPv6, MAC address: 0:5:85:8f:c8:bc Topologies: Unicast Restart capable: Yes, Adjacency advertisement: Advertise LAN id: R5.04, IP addresses: 10.0.0.37
의미
이러한 결과는 디바이스 R5에 2개의 레벨 2 인접성과 2개의 레벨 1 인접성이 있음을 확인합니다.
IS-IS 데이터베이스 검사
목적
디바이스 R5는 레벨 1/레벨 2(L1/L2) 연결 라우터이므로, 영역 49.0002와 연결된 레벨 1 링크 상태 데이터베이스를 검토하여 백본 라우터의 루프백 주소가 레벨 1 영역으로 보급되지 않는지 확인합니다.
행동
운영 모드에서 명령을 입력합니다 show isis database detail .
user@R5> show isis database detail IS-IS level 1 link-state database: R5.00-00 Sequence: 0x19, Checksum: 0x7488, Lifetime: 727 secs IS neighbor: R5.04 Metric: 10 IS neighbor: R6.02 Metric: 10 IP prefix: 10.0.0.28/30 Metric: 10 Internal Up IP prefix: 10.0.0.36/30 Metric: 10 Internal Up R5.04-00 Sequence: 0x14, Checksum: 0x2668, Lifetime: 821 secs IS neighbor: R5.00 Metric: 0 IS neighbor: R7.00 Metric: 0 R6.00-00 Sequence: 0x17, Checksum: 0xa65, Lifetime: 774 secs IS neighbor: R6.02 Metric: 10 IS neighbor: R7.02 Metric: 10 IP prefix: 10.0.0.28/30 Metric: 10 Internal Up IP prefix: 10.0.0.32/30 Metric: 10 Internal Up IP prefix: 192.168.0.6/32 Metric: 0 Internal Up R6.02-00 Sequence: 0x13, Checksum: 0xd1c0, Lifetime: 908 secs IS neighbor: R5.00 Metric: 0 IS neighbor: R6.00 Metric: 0 R7.00-00 Sequence: 0x17, Checksum: 0xe39, Lifetime: 775 secs IS neighbor: R5.04 Metric: 10 IS neighbor: R7.02 Metric: 10 IP prefix: 10.0.0.32/30 Metric: 10 Internal Up IP prefix: 10.0.0.36/30 Metric: 10 Internal Up IP prefix: 192.168.0.7/32 Metric: 0 Internal Up R7.02-00 Sequence: 0x13, Checksum: 0x404d, Lifetime: 966 secs IS neighbor: R6.00 Metric: 0 IS neighbor: R7.00 Metric: 0 IS-IS level 2 link-state database: R3.00-00 Sequence: 0x17, Checksum: 0x5f84, Lifetime: 1085 secs IS neighbor: R4.02 Metric: 10 IS neighbor: R5.03 Metric: 10 IP prefix: 10.0.0.16/30 Metric: 10 Internal Up IP prefix: 10.0.0.20/30 Metric: 10 Internal Up IP prefix: 10.0.0.40/30 Metric: 10 Internal Up IP prefix: 192.168.0.3/32 Metric: 0 Internal Up R4.00-00 Sequence: 0x17, Checksum: 0xab3a, Lifetime: 949 secs IS neighbor: R4.02 Metric: 10 IS neighbor: R5.02 Metric: 10 IP prefix: 10.0.0.16/30 Metric: 10 Internal Up IP prefix: 10.0.0.24/30 Metric: 10 Internal Up IP prefix: 192.168.0.4/32 Metric: 0 Internal Up R4.02-00 Sequence: 0x14, Checksum: 0xf2a8, Lifetime: 1022 secs IS neighbor: R3.00 Metric: 0 IS neighbor: R4.00 Metric: 0 R5.00-00 Sequence: 0x1f, Checksum: 0x20d7, Lifetime: 821 secs IS neighbor: R5.02 Metric: 10 IS neighbor: R5.03 Metric: 10 IP prefix: 10.0.0.20/30 Metric: 10 Internal Up IP prefix: 10.0.0.24/30 Metric: 10 Internal Up IP prefix: 10.0.0.28/30 Metric: 10 Internal Up IP prefix: 10.0.0.32/30 Metric: 20 Internal Up IP prefix: 10.0.0.36/30 Metric: 10 Internal Up IP prefix: 192.168.0.5/32 Metric: 0 Internal Up IP prefix: 192.168.0.6/32 Metric: 10 Internal Up IP prefix: 192.168.0.7/32 Metric: 10 Internal Up R5.02-00 Sequence: 0x14, Checksum: 0x6135, Lifetime: 977 secs IS neighbor: R4.00 Metric: 0 IS neighbor: R5.00 Metric: 0 R5.03-00 Sequence: 0x14, Checksum: 0x1483, Lifetime: 1091 secs IS neighbor: R3.00 Metric: 0 IS neighbor: R5.00 Metric: 0
의미
이 디스플레이는 디바이스 R5의 루프백 인터페이스가 레벨 2만 실행하도록 올바르게 구성되었음을 나타냅니다. lo0.0에서 레벨 1 작업이 활성화되었다면 디바이스 R5는 레벨 1 링크 상태 PDU에 루프백 주소를 포함했을 것입니다.
또한 디바이스 R5가 인접 이웃에서 수신된 레벨 2 link-state PDU를 가지고 있음을 확인할 수 있습니다.
OSPF 전체 stubby 영역과 마찬가지로, 기본적으로 백본(레벨 2) 또는 외부 접두사가 레벨 1 영역으로 유출되지 않습니다. 그러나 디바이스 R5의 레벨 2 링크 상태 PDU에서 볼 수 있듯이 레벨 1 접두사는 IS-IS 백본으로 유출됩니다.