예: IS-IS 인터페이스의 메시 그룹 구성
이 예는 IS-IS 인터페이스의 메시 그룹을 구성하는 방법을 보여줍니다.
요구 사항
이 예를 구성하기 전에 디바이스 초기화를 제외한 특별한 구성은 필요하지 않습니다.
개요
링크 상태 PDU가 영역 전체에 플러딩되는 경우, 메시 그룹 내의 각 라우터는 각 이웃으로부터 하나의 사본을 수신하는 대신 link-state PDU의 단일 사본만 수신하므로 link-state PDU 플러딩과 관련된 오버헤드를 최소화합니다.
메시 그룹을 생성하고 인터페이스가 그룹의 일부가 되도록 지정하려면 그룹의 모든 라우팅 디바이스 인터페이스에 메시 그룹 번호를 할당합니다.
mesh-group value;
메시 그룹의 인터페이스가 link-state PDU를 플러딩하는 것을 방지하기 위해 해당 인터페이스에서 차단을 구성합니다.
mesh-group blocked;
그림 1 은 이 예에서 사용된 토폴로지 를 보여줍니다.

CLI 빠른 구성 은 그림 1의 모든 디바이스에 대한 구성을 보여줍니다. #configuration663__isis 메시 단계 별 섹션은 디바이스 R1의 단계를 설명합니다.
구성
절차
CLI 빠른 구성
이 예를 빠르게 구성하려면, 아래 명령을 복사하여 텍스트 파일로 붙여 넣은 다음 모든 라인브러브를 제거하고, 네트워크 구성을 일치하는 데 필요한 세부 사항을 변경한 다음 계층 수준에서 명령을 CLI [edit]
로 복사해 붙여 넣습니다.
디바이스 R1
set interfaces fe-1/2/0 unit 0 description to-R2 set interfaces fe-1/2/0 unit 0 family inet address 10.0.0.1/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.5/30 set interfaces fe-1/2/1 unit 0 family iso set interfaces fe-1/2/2 unit 0 description to-R3 set interfaces fe-1/2/2 unit 0 family inet address 10.0.0.9/30 set interfaces fe-1/2/2 unit 0 family iso set interfaces lo0 unit 0 family inet address 192.168.0.1/32 set interfaces lo0 unit 0 family iso address 49.0002.0192.0168.0001.00 set protocols isis interface fe-1/2/0.0 mesh-group 1 set protocols isis interface fe-1/2/1.0 mesh-group 1 set protocols isis interface fe-1/2/2.0 mesh-group 1 set protocols isis interface lo0.0
디바이스 R2
set interfaces fe-1/2/0 unit 0 description to-R1 set interfaces fe-1/2/0 unit 0 family inet address 10.0.0.2/30 set interfaces fe-1/2/0 unit 0 family iso set interfaces fe-1/2/1 unit 0 description to-R1 set interfaces fe-1/2/1 unit 0 family inet address 10.0.0.14/30 set interfaces fe-1/2/1 unit 0 family iso set interfaces fe-1/2/2 unit 0 description to-R1 set interfaces fe-1/2/2 unit 0 family inet address 10.0.0.21/30 set interfaces fe-1/2/2 unit 0 family iso set interfaces lo0 unit 0 family inet address 192.168.0.2/32 set interfaces lo0 unit 0 family iso address 49.0002.0192.0168.0002.00 set protocols isis interface fe-1/2/0.2 mesh-group 1 set protocols isis interface fe-1/2/1.0 mesh-group 1 set protocols isis interface fe-1/2/2.0 mesh-group 1 set protocols isis interface lo0.0
디바이스 R3
set interfaces fe-1/2/0 unit 0 description to-R1 set interfaces fe-1/2/0 unit 0 family inet address 10.0.0.10/30 set interfaces fe-1/2/0 unit 0 family iso set interfaces fe-1/2/1 unit 0 description to-R2 set interfaces fe-1/2/1 unit 0 family inet address 10.0.0.13/30 set interfaces fe-1/2/1 unit 0 family iso set interfaces fe-1/2/2 unit 0 description to-R4 set interfaces fe-1/2/2 unit 0 family inet address 10.0.0.17/30 set interfaces fe-1/2/2 unit 0 family iso set interfaces lo0 unit 0 family inet address 192.168.0.3/32 set interfaces lo0 unit 0 family iso address 49.0002.0192.0168.0003.00 set protocols isis interface fe-1/2/0.0 mesh-group 1 set protocols isis interface fe-1/2/1.0 mesh-group 1 set protocols isis interface fe-1/2/2.0 mesh-group 1 set protocols isis interface lo0.0
디바이스 R4
set interfaces fe-1/2/0 unit 0 description to-R1 set interfaces fe-1/2/0 unit 0 family inet address 10.0.0.6/30 set interfaces fe-1/2/0 unit 0 family iso set interfaces fe-1/2/1 unit 0 description to-R3 set interfaces fe-1/2/1 unit 0 family inet address 10.0.0.18/30 set interfaces fe-1/2/1 unit 0 family iso set interfaces fe-1/2/2 unit 0 description to-R2 set interfaces fe-1/2/2 unit 0 family inet address 10.0.0.22/30 set interfaces fe-1/2/2 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.0002.0192.0168.0004.00 set protocols isis interface fe-1/2/0.0 mesh-group 1 set protocols isis interface fe-1/2/1.0 mesh-group 1 set protocols isis interface fe-1/2/2.0 mesh-group 1 set protocols isis interface lo0.0
단계별 절차
다음 예제에서는 구성 계층에서 다양한 수준의 탐색이 필요합니다. CLI 탐색에 대한 정보는 CLI 사용자 가이드의 구성 모드에서 CLI 편집기 사용을 참조하십시오.
IS-IS 메시 그룹을 구성하려면 다음을 수행합니다.
인터페이스를 구성합니다.
[edit interfaces] user@R1# set fe-1/2/0 unit 0 description to-R2 user@R1# set fe-1/2/0 unit 0 family inet address 10.0.0.1/30 user@R1# set fe-1/2/0 unit 0 family iso user@R1# set fe-1/2/1 unit 0 description to-R4 user@R1# set fe-1/2/1 unit 0 family inet address 10.0.0.5/30 user@R1# set fe-1/2/1 unit 0 family iso user@R1# set fe-1/2/2 unit 0 description to-R3 user@R1# set fe-1/2/2 unit 0 family inet address 10.0.0.9/30 user@R1# set fe-1/2/2 unit 0 family iso user@R1# set lo0 unit 0 family inet address 192.168.0.1/32 user@R1# set lo0 unit 0 family iso address 49.0002.0192.0168.0001.00
인터페이스에서 IS-IS를 활성화하고 메시 그룹 번호를 할당합니다.
[edit protocols isis] user@R1# set interface fe-1/2/0.0 mesh-group 1 user@R1# set interface fe-1/2/1.0 mesh-group 1 user@R1# set interface fe-1/2/2.0 mesh-group 1 user@R1# set interface lo0.0
결과
구성 모드에서 및 show protocols
명령을 입력하여 구성을 show interfaces
확인합니다. 출력에 의도한 구성이 표시되지 않으면 이 예의 지침을 반복하여 구성을 수정합니다.
user@R1# show interfaces
fe-1/2/0 {
unit 0 {
description to-R2;
family inet {
address 10.0.0.1/30;
}
family iso;
}
}
fe-1/2/1 {
unit 0 {
description to-R4;
family inet {
address 10.0.0.5/30;
}
family iso;
}
}
fe-1/2/2 {
unit 0 {
description to-R3;
family inet {
address 10.0.0.9/30;
}
family iso;
}
}
lo0 {
unit 0 {
family inet {
address 192.168.0.1/32;
}
family iso {
address 49.0002.0192.0168.0001.00;
}
}
}
user@R1# show protocols
isis {
interface fe-1/2/0.0 {
mesh-group 1;
}
interface fe-1/2/1.0 {
mesh-group 1;
}
interface fe-1/2/2.0 {
mesh-group 1;
}
interface lo0.0;
}
디바이스 구성이 완료되면 구성 모드에서 커밋 을 입력합니다.
확인
구성이 제대로 작동하는지 확인합니다.
인터페이스 메시 그룹 확인
목적
IS-IS 인터페이스에서 메시 그룹이 활성화되어 있는지 확인합니다.
작업
운영 모드에서 명령을 입력합니다 show isis interface extensive
.
user@R1> show isis interface extensive IS-IS interface database: lo0.0 Index: 68, State: 0x6, Circuit id: 0x1, Circuit type: 0 LSP interval: 100 ms, CSNP interval: disabled, Loose Hello padding Adjacency advertisement: Advertise Level 1 Adjacencies: 0, Priority: 64, Metric: 0 Passive Level 2 Adjacencies: 0, Priority: 64, Metric: 0 Passive fe-1/2/0.1 Index: 73, State: 0x206, Circuit id: 0x1, Circuit type: 3 LSP interval: 100 ms, CSNP interval: 10 s, Loose Hello padding Adjacency advertisement: Advertise CSNP interval: disabled, Mesh group: 1 Level 1 Adjacencies: 1, Priority: 64, Metric: 10 Hello Interval: 9.000 s, Hold Time: 27 s Designated Router: tp5-R2.03 (not us) Level 2 Adjacencies: 1, Priority: 64, Metric: 10 Hello Interval: 9.000 s, Hold Time: 27 s Designated Router: tp5-R2.03 (not us) fe-1/2/1.0 Index: 75, State: 0x206, Circuit id: 0x1, Circuit type: 3 LSP interval: 100 ms, CSNP interval: 10 s, Loose Hello padding Adjacency advertisement: Advertise CSNP interval: disabled, Mesh group: 1 Level 1 Adjacencies: 1, Priority: 64, Metric: 10 Hello Interval: 9.000 s, Hold Time: 27 s Designated Router: tp5-R4.03 (not us) Level 2 Adjacencies: 1, Priority: 64, Metric: 10 Hello Interval: 9.000 s, Hold Time: 27 s Designated Router: tp5-R4.03 (not us) fe-1/2/2.0 Index: 76, State: 0x206, Circuit id: 0x1, Circuit type: 3 LSP interval: 100 ms, CSNP interval: 10 s, Loose Hello padding Adjacency advertisement: Advertise CSNP interval: disabled, Mesh group: 1 Level 1 Adjacencies: 1, Priority: 64, Metric: 10 Hello Interval: 9.000 s, Hold Time: 27 s Designated Router: tp5-R3.02 (not us) Level 2 Adjacencies: 1, Priority: 64, Metric: 10 Hello Interval: 9.000 s, Hold Time: 27 s Designated Router: tp5-R3.02 (not us)
의미
Mesh group: 1
출력에서 메시 그룹이 예상대로 활성화되어 있음을 보여줍니다.
IS-IS 통계 확인
목적
메시 그룹이 활성화되지 않은 경우, 수신 및 전송된 link-state PDU 수가 현재보다 적은지 확인합니다.
작업
운영 모드에서 명령을 입력합니다 show isis statistics
.
user@R1> show isis statistics IS-IS statistics for tp5-R1: PDU type Received Processed Drops Sent Rexmit LSP 73 73 0 37 0 IIH 4463 85 0 1525 0 CSNP 1294 1294 0 0 0 PSNP 0 0 0 2 0 Unknown 0 0 0 0 0 Totals 5830 1452 0 1564 0 Total packets received: 5830 Sent: 1564 SNP queue length: 0 Drops: 0 LSP queue length: 0 Drops: 0 SPF runs: 26 Fragments rebuilt: 15 LSP regenerations: 4 Purges initiated: 0
의미
인접 항목이 약 38분 동안 업된 후, 출력 결과 디바이스 R1이 73개 link-state PDU를 수신하고 37개 link-state PDU를 전송한 것을 보여줍니다. 메시 그룹이 활성화되지 않은 동일한 시간에 동일한 토폴로지에서 디바이스 R1은 약 156개 link-state PDU를 수신하고 약 117개 link-state PDU를 전송했을 것입니다.