IS-IS(Intermediate System to Intermediate System) 시스템에 대한 분석
논리적 시스템을 사용하면 단일 물리적 라우터에서 IS-IS(Intermediate System to Intermediate System) 네트워크를 구성할 수 있습니다. 자세한 내용은 다음 항목을 참조하십시오.
예: IS-IS(Intermediate System to Intermediate System) 내 논리적 시스템에서 구성
이 예에서는 단일 물리적 라우터에서 실행되는 IS-IS(Intermediate System to Intermediate System) 논리적 시스템을 사용하여 단일 네트워크를 구성하는 방법을 보여줍니다. 논리적 시스템은 논리 터널 인터페이스로 연결됩니다.
요구 사항
논리 터널(lt) 인터페이스를 사용하여 논리적 시스템을 연결해야 합니다. 예제 를 확인하십시오. MX 시리즈 라우터와 EX 시리즈 스위치에서 논리적 터널 인터페이스를 사용하여 동일한 디바이스에서 논리적 시스템을 연결합니다.
개요
이 예에서는 하나의 물리적 IS-IS(Intermediate System to Intermediate System) 실행되는 3개의 논리적 시스템을 통해 하나의 논리적 구성을 보여줍니다. 각 논리적 시스템에는 자체 라우팅 테이블이 있습니다. 이 구성은 네트워크 도메인에 참여하는 모든 논리적 터널 인터페이스에서 프로토콜을 IS-IS(Intermediate System to Intermediate System) 수 있습니다.
구성
CLI 빠른 구성
이 예제를 신속하게 구성하려면 다음 명령을 복사하여 텍스트 파일에 붙여넣기하고, 라인 끊기를 제거하고, 네트워크 구성과 일치하는 데 필요한 세부 정보를 변경하고, [edit] 계층 수준에서 CLI 명령어에 복사하여 붙여넣은 다음 구성 모드에서 커밋을 입력합니다.
set logical-systems LS1 interfaces lt-0/1/0 unit 2 description LS1->LS2 set logical-systems LS1 interfaces lt-0/1/0 unit 2 encapsulation ethernet set logical-systems LS1 interfaces lt-0/1/0 unit 2 peer-unit 1 set logical-systems LS1 interfaces lt-0/1/0 unit 2 family inet address 10.0.0.1/30 set logical-systems LS1 interfaces lt-0/1/0 unit 2 family iso set logical-systems LS1 interfaces lt-0/1/0 unit 0 description LS1->LS3 set logical-systems LS1 interfaces lt-0/1/0 unit 0 encapsulation ethernet set logical-systems LS1 interfaces lt-0/1/0 unit 0 peer-unit 5 set logical-systems LS1 interfaces lt-0/1/0 unit 0 family inet address 10.0.1.2/30 set logical-systems LS1 interfaces lt-0/1/0 unit 0 family iso set logical-systems LS1 interfaces lo0 unit 1 family iso address 49.0001.1720.1600.1001.00 set logical-systems LS1 protocols isis interface lt-0/1/0.0 set logical-systems LS1 protocols isis interface lt-0/1/0.2 set logical-systems LS1 protocols isis interface lo0.1 passive set logical-systems LS2 interfaces lt-0/1/0 unit 1 description LS2->LS1 set logical-systems LS2 interfaces lt-0/1/0 unit 1 encapsulation ethernet set logical-systems LS2 interfaces lt-0/1/0 unit 1 peer-unit 2 set logical-systems LS2 interfaces lt-0/1/0 unit 1 family inet address 10.0.0.2/30 set logical-systems LS2 interfaces lt-0/1/0 unit 1 family iso set logical-systems LS2 interfaces lt-0/1/0 unit 4 description LS2->LS3 set logical-systems LS2 interfaces lt-0/1/0 unit 4 encapsulation ethernet set logical-systems LS2 interfaces lt-0/1/0 unit 4 peer-unit 3 set logical-systems LS2 interfaces lt-0/1/0 unit 4 family inet address 10.0.2.2/30 set logical-systems LS2 interfaces lt-0/1/0 unit 4 family iso set logical-systems LS2 interfaces lo0 unit 2 family iso address 49.0001.1720.1600.2002.00 set logical-systems LS2 protocols isis interface lt-0/1/0.1 set logical-systems LS2 protocols isis interface lt-0/1/0.4 set logical-systems LS2 protocols isis interface lo0.2 passive set logical-systems LS3 interfaces lt-0/1/0 unit 3 description LS3->LS2 set logical-systems LS3 interfaces lt-0/1/0 unit 3 encapsulation ethernet set logical-systems LS3 interfaces lt-0/1/0 unit 3 peer-unit 4 set logical-systems LS3 interfaces lt-0/1/0 unit 3 family inet address 10.0.2.1/30 set logical-systems LS3 interfaces lt-0/1/0 unit 3 family iso set logical-systems LS3 interfaces lt-0/1/0 unit 5 description LS3->LS1 set logical-systems LS3 interfaces lt-0/1/0 unit 5 encapsulation ethernet set logical-systems LS3 interfaces lt-0/1/0 unit 5 peer-unit 0 set logical-systems LS3 interfaces lt-0/1/0 unit 5 family inet address 10.0.1.1/30 set logical-systems LS3 interfaces lt-0/1/0 unit 5 family iso set logical-systems LS3 interfaces lo0 unit 3 family iso address 49.0001.1234.1600.2231.00 set logical-systems LS3 protocols isis interface lt-0/1/0.5 set logical-systems LS3 protocols isis interface lt-0/1/0.3 set logical-systems LS3 protocols isis interface lo0.3 passive
절차
단계별 절차
다음 예제에서는 구성 계층의 다양한 수준을 탐색해야 합니다. 네트워크의 CLI 대한 자세한 내용은 CLI 사용자 가이드의 CLI 편집 기 사용 CLI 참조하십시오.
논리적 IS-IS(Intermediate System to Intermediate System) 구성하기:
논리적 시스템 LS1에 논리적 시스템 LS2 연결의 논리적 터널 인터페이스를 구성합니다.
[edit logical-systems LS1] user@host# set interfaces lt-0/1/0 unit 2 description LS1->LS2 user@host# set interfaces lt-0/1/0 unit 2 encapsulation ethernet user@host# set interfaces lt-0/1/0 unit 2 peer-unit 1 user@host# set interfaces lt-0/1/0 unit 2 family inet address 10.0.0.1/30 user@host# set interfaces lt-0/1/0 unit 2 family iso
논리적 시스템 LS1에 논리적 시스템 LS3에 연결하는 논리적 터널 인터페이스를 구성합니다.
[edit logical-systems LS1] user@host# set interfaces lt-0/1/0 unit 0 description LS1->LS3 user@host# set interfaces lt-0/1/0 unit 0 encapsulation ethernet user@host# set interfaces lt-0/1/0 unit 0 peer-unit 5 user@host# set interfaces lt-0/1/0 unit 0 family inet address 10.0.1.2/30 user@host# set interfaces lt-0/1/0 unit 0 family iso
논리적 시스템 LS2가 논리적 시스템 LS1에 연결되는 논리적 터널 인터페이스를 구성합니다.
[edit logical-systems LS2] user@host# set interfaces lt-0/1/0 unit 1 description LS2->LS1 user@host# set interfaces lt-0/1/0 unit 1 encapsulation ethernet user@host# set interfaces lt-0/1/0 unit 1 peer-unit 2 user@host# set interfaces lt-0/1/0 unit 1 family inet address 10.0.0.2/30 user@host# set interfaces lt-0/1/0 unit 1 family iso
논리적 시스템 LS2에 논리적 시스템 LS3에 연결하는 논리적 터널 인터페이스를 구성합니다.
[edit logical-systems LS2] user@host# set interfaces lt-0/1/0 unit 4 description LS2->LS3 user@host# set interfaces lt-0/1/0 unit 4 encapsulation ethernet user@host# set interfaces lt-0/1/0 unit 4 peer-unit 3 user@host# set interfaces lt-0/1/0 unit 4 family inet address 10.0.2.2/30 user@host# set interfaces lt-0/1/0 unit 4 family iso
논리적 시스템 LS3에서 논리적 터널 인터페이스를 논리적 시스템 LS2에 연결합니다.
[edit logical-systems LS3] user@host# set interfaces lt-0/1/0 unit 3 description LS3->LS2 user@host# set interfaces lt-0/1/0 unit 3 encapsulation ethernet user@host# set interfaces lt-0/1/0 unit 3 peer-unit 4 user@host# set interfaces lt-0/1/0 unit 3 family inet address 10.0.2.1/30 user@host# set interfaces lt-0/1/0 unit 3 family iso
논리적 시스템 LS3에 논리적 시스템 LS1에 연결하는 논리적 터널 인터페이스를 구성합니다.
[edit logical-systems LS3] user@host# set interfaces lt-0/1/0 unit 5 description LS3->LS1 user@host# set interfaces lt-0/1/0 unit 5 encapsulation ethernet user@host# set interfaces lt-0/1/0 unit 5 peer-unit 0 user@host# set interfaces lt-0/1/0 unit 5 family inet address 10.0.1.1/30 user@host# set interfaces lt-0/1/0 unit 5 family iso
3가지 논리적 시스템에 대해 루프백 인터페이스에서 ISO 주소를 구성합니다.
[edit logical-systems LS1] user@host# set interfaces lo0 unit 1 family iso address 49.0001.1720.1600.1001.00 user@host# set protocols isis interface lo0.1 passive
[edit logical-systems LS2] user@host# set interfaces lo0 unit 2 family iso address 49.0001.1720.1600.2002.00 user@host# set protocols isis interface lo0.2 passive
[edit logical-systems LS3] user@host# set interfaces lo0 unit 3 family iso address 49.0001.1234.1600.2231.00 user@host# set protocols isis interface lo0.3 passive
모든 IS-IS(Intermediate System to Intermediate System) 구성합니다.
[edit logical-systems LS1 protocols isis] user@host# set interface lt-0/1/0.0 user@host# set interface lt-0/1/0.2
[edit logical-systems LS2 protocols isis] user@host# set interface lt-0/1/0.1 user@host# set interface lt-0/1/0.4
[edit logical-systems LS3 protocols isis] user@host# set interface lt-0/1/0.5 user@host# set interface lt-0/1/0.3
디바이스 구성이 완료되면 구성을 커밋합니다.
[edit] user@host# commit
결과
구성 모드에서 명령을 발행하여 구성을 확인 show logical-systems 출력이 의도한 구성을 표시하지 않는 경우 이 예제의 지침을 반복하여 구성을 수정합니다.
user@host# show logical-systems
LS1 {
interfaces {
lt-0/1/0 {
unit 0 {
description LS1->LS3;
encapsulation ethernet;
peer-unit 5;
family inet {
address 10.0.1.2/30;
}
family iso;
}
unit 2 {
description LS1->LS2;
encapsulation ethernet;
peer-unit 1;
family inet {
address 10.0.0.1/30;
}
family iso;
}
}
lo0 {
unit 1 {
family iso {
address 49.0001.1720.1600.1001.00;
}
}
}
}
protocols {
isis {
interface lt-0/1/0.0;
interface lt-0/1/0.2;
interface lo0.1 {
passive;
}
}
}
}
LS2 {
interfaces {
lt-0/1/0 {
unit 1 {
description LS2->LS1;
encapsulation ethernet;
peer-unit 2;
family inet {
address 10.0.0.2/30;
}
family iso;
}
unit 4 {
description LS2->LS3;
encapsulation ethernet;
peer-unit 3;
family inet {
address 10.0.2.2/30;
}
family iso;
}
}
lo0 {
unit 2 {
family iso {
address 49.0001.1720.1600.2002.00;
}
}
}
}
protocols {
isis {
interface lt-0/1/0.1;
interface lt-0/1/0.4;
interface lo0.2 {
passive;
}
}
}
}
LS3 {
interfaces {
lt-0/1/0 {
unit 3 {
description LS3->LS2;
encapsulation ethernet;
peer-unit 4;
family inet {
address 10.0.2.1/30;
}
family iso;
}
unit 5 {
description LS3->LS1;
encapsulation ethernet;
peer-unit 0;
family inet {
address 10.0.1.1/30;
}
family iso;
}
}
lo0 {
unit 3 {
family iso {
address 49.0001.1234.1600.2231.00;
}
}
}
}
protocols {
isis {
interface lt-0/1/0.3;
interface lt-0/1/0.5;
interface lo0.3 {
passive;
}
}
}
}
확인
구성이 제대로 작동하고 있는지 확인합니다.
논리적 시스템이 구성 중개인가 하는지 확인
목적
인터페이스가 올바르게 구성되었는지 확인합니다.
작업
user@host> show interfaces terse
Interface Admin Link Proto Local Remote
...
lt-0/1/0 up up
lt-0/1/0.0 up up inet 10.0.1.2/30
iso
lt-0/1/0.1 up up inet 10.0.0.2/30
iso
lt-0/1/0.2 up up inet 10.0.0.1/30
iso
lt-0/1/0.3 up up inet 10.0.2.1/30
iso
lt-0/1/0.4 up up inet 10.0.2.2/30
iso
lt-0/1/0.5 up up inet 10.0.1.1/30
iso
...
논리적 시스템 간 연결 검증
목적
논리적 시스템 IS-IS(Intermediate System to Intermediate System) 항목을 검사하고 논리적 시스템을 핑하여 인접한 것이 설정되어 있는지 확인
작업
user@host> show route logical-system LS1
inet.0: 5 destinations, 5 routes (5 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
10.0.0.0/30 *[Direct/0] 3w0d 01:37:52
> via lt-0/1/0.2
10.0.0.1/32 *[Local/0] 3w0d 01:37:52
Local via lt-0/1/0.2
10.0.1.0/30 *[Direct/0] 3w0d 01:37:52
> via lt-0/1/0.0
10.0.1.2/32 *[Local/0] 3w0d 01:37:52
Local via lt-0/1/0.0
10.0.2.0/30 *[IS-IS/15] 3w0d 01:37:13, metric 20
> to 10.0.1.1 via lt-0/1/0.0
to 10.0.0.2 via lt-0/1/0.2
iso.0: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
49.0001.1720.1600.1001/72
*[Direct/0] 3w0d 01:37:52
> via lo0.1
user@host> show route logical-system LS2
inet.0: 5 destinations, 5 routes (5 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
10.0.0.0/30 *[Direct/0] 3w0d 01:38:01
> via lt-0/1/0.1
10.0.0.2/32 *[Local/0] 3w0d 01:38:01
Local via lt-0/1/0.1
10.0.1.0/30 *[IS-IS/15] 3w0d 01:37:01, metric 20
to 10.0.0.1 via lt-0/1/0.1
> to 10.0.2.1 via lt-0/1/0.4
10.0.2.0/30 *[Direct/0] 3w0d 01:38:01
> via lt-0/1/0.4
10.0.2.2/32 *[Local/0] 3w0d 01:38:01
Local via lt-0/1/0.4
iso.0: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
49.0001.1720.1600.2002/72
*[Direct/0] 3w0d 01:38:01
> via lo0.2
user@host> show route logical-system LS3
inet.0: 5 destinations, 5 routes (5 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
10.0.0.0/30 *[IS-IS/15] 3w0d 01:37:10, metric 20
to 10.0.2.2 via lt-0/1/0.3
> to 10.0.1.2 via lt-0/1/0.5
10.0.1.0/30 *[Direct/0] 3w0d 01:38:10
> via lt-0/1/0.5
10.0.1.1/32 *[Local/0] 3w0d 01:38:11
Local via lt-0/1/0.5
10.0.2.0/30 *[Direct/0] 3w0d 01:38:11
> via lt-0/1/0.3
10.0.2.1/32 *[Local/0] 3w0d 01:38:11
Local via lt-0/1/0.3
iso.0: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
49.0001.1234.1600.2231/72
*[Direct/0] 3w0d 01:38:11
> via lo0.3
LS1, Ping LS3에서
user@host> set cli logical-system LS1
user@host:LS1> ping 10.0.2.1 PING 10.0.2.1 (10.0.2.1): 56 data bytes 64 bytes from 10.0.2.1: icmp_seq=0 ttl=63 time=1.264 ms 64 bytes from 10.0.2.1: icmp_seq=1 ttl=63 time=1.189 ms 64 bytes from 10.0.2.1: icmp_seq=2 ttl=63 time=1.165 ms ^C --- 10.0.2.1 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max/stddev = 1.165/1.206/1.264/0.042 ms
LS3에서 Ping LS1
user@host> set cli logical-system LS3
user@host:LS3> ping 10.0.0.1 PING 10.0.0.1 (10.0.0.1): 56 data bytes 64 bytes from 10.0.0.1: icmp_seq=0 ttl=63 time=1.254 ms 64 bytes from 10.0.0.1: icmp_seq=1 ttl=63 time=1.210 ms ^C --- 10.0.0.1 ping statistics --- 2 packets transmitted, 2 packets received, 0% packet loss round-trip min/avg/max/stddev = 1.210/1.232/1.254/0.022 ms
LS1, Ping LS2에서
user@host> set cli logical-system LS1
user@host:LS1> ping 10.0.2.2 PING 10.0.2.2 (10.0.2.2): 56 data bytes 64 bytes from 10.0.2.2: icmp_seq=0 ttl=64 time=1.240 ms 64 bytes from 10.0.2.2: icmp_seq=1 ttl=64 time=1.204 ms 64 bytes from 10.0.2.2: icmp_seq=2 ttl=64 time=1.217 ms ^C --- 10.0.2.2 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max/stddev = 1.204/1.220/1.240/0.015 ms
LS2, Ping LS1에서
user@host> set cli logical-system LS2
user@host:LS2> ping 10.0.1.2 PING 10.0.1.2 (10.0.1.2): 56 data bytes 64 bytes from 10.0.1.2: icmp_seq=0 ttl=64 time=1.308 ms 64 bytes from 10.0.1.2: icmp_seq=1 ttl=64 time=1.235 ms ^C --- 10.0.1.2 ping statistics --- 2 packets transmitted, 2 packets received, 0% packet loss round-trip min/avg/max/stddev = 1.235/1.272/1.308/0.037 ms
LS2, Ping LS3에서
user@host> set cli logical-system LS2
user@host:LS2> ping 10.0.1.1 PING 10.0.1.1 (10.0.1.1): 56 data bytes 64 bytes from 10.0.1.1: icmp_seq=0 ttl=64 time=1.253 ms 64 bytes from 10.0.1.1: icmp_seq=1 ttl=64 time=1.194 ms 64 bytes from 10.0.1.1: icmp_seq=2 ttl=64 time=1.212 ms 64 bytes from 10.0.1.1: icmp_seq=3 ttl=64 time=1.221 ms 64 bytes from 10.0.1.1: icmp_seq=4 ttl=64 time=1.195 ms ^C --- 10.0.1.1 ping statistics --- 5 packets transmitted, 5 packets received, 0% packet loss round-trip min/avg/max/stddev = 1.194/1.215/1.253/0.022 ms
LS3, Ping LS2에서
user@host> set cli logical-system LS3
user@host:LS3> ping 10.0.0.2 PING 10.0.0.2 (10.0.0.2): 56 data bytes 64 bytes from 10.0.0.2: icmp_seq=0 ttl=64 time=1.240 ms 64 bytes from 10.0.0.2: icmp_seq=1 ttl=64 time=1.217 ms ^C --- 10.0.0.2 ping statistics --- 2 packets transmitted, 2 packets received, 0% packet loss round-trip min/avg/max/stddev = 1.217/1.228/1.240/0.012 ms
예: 논리적 시스템에서 IS-IS(Intermediate System to Intermediate System) 기본 경로 정책 구성
이 예에서는 단일 물리적 라우터에 구성된 논리적 시스템을 보여 주며 하나의 논리적 시스템에서 기본 경로를 구성하는 방법을 설명합니다.
요구 사항
이 예제를 구성하기 전에 장치 초기화 이외에는 특별한 구성이 필요하지 않습니다.
개요
이 예에서는 기본 경로를 다른 논리적 시스템으로 재배포하는 논리적 시스템을 보여줍니다. 모든 논리적 시스템은 모든 IS-IS(Intermediate System to Intermediate System). 기본 경로의 일반적인 이유는 네트워크 도메인 외부로 전달되는 트래픽을 전송하기 위한 IS-IS(Intermediate System to Intermediate System) 것입니다.
이 예에서는 기본 경로가 트래픽을 전달하는 데 사용되지 않습니다. 이 no-install 명령문은 논리적 시스템 LS3의 포우링 테이블에 루트가 설치되지 못하게 합니다. 포우링 테이블에 설치되지 않은 루트를 구성하면 여전히 라우팅 테이블에서 다른 프로토콜로 내보낼 수 있는 경로가 됩니다. 이 discard 명령문은 예고 없이 패킷을 자동으로 삭제합니다.
토폴로지
그림 2 는 샘플 네트워크를 보여줍니다.
구성
CLI 빠른 구성
이 예제를 신속하게 구성하려면 다음 명령을 복사하여 텍스트 파일에 붙여넣기하고, 라인 끊기를 제거하고, 네트워크 구성과 일치하는 데 필요한 세부 정보를 변경하고, [edit] 계층 수준에서 CLI 명령어에 복사하여 붙여넣은 다음 구성 모드에서 커밋을 입력합니다.
set logical-systems LS3 interfaces lt-1/2/0 unit 3 description LS3->LS2 set logical-systems LS3 interfaces lt-1/2/0 unit 3 encapsulation ethernet set logical-systems LS3 interfaces lt-1/2/0 unit 3 peer-unit 4 set logical-systems LS3 interfaces lt-1/2/0 unit 3 family inet address 10.0.2.1/30 set logical-systems LS3 interfaces lt-1/2/0 unit 3 family iso set logical-systems LS3 interfaces lt-1/2/0 unit 5 description LS3->LS1 set logical-systems LS3 interfaces lt-1/2/0 unit 5 encapsulation ethernet set logical-systems LS3 interfaces lt-1/2/0 unit 5 peer-unit 0 set logical-systems LS3 interfaces lt-1/2/0 unit 5 family inet address 10.0.1.1/30 set logical-systems LS3 interfaces lt-1/2/0 unit 5 family iso set logical-systems LS3 interfaces lo0 unit 3 family iso address 49.0001.1234.1600.2231.00 set logical-systems LS3 protocols isis export isis-default set logical-systems LS3 protocols isis interface lt-1/2/0.3 set logical-systems LS3 protocols isis interface lt-1/2/0.5 set logical-systems LS3 protocols isis interface lo0.3 passive set logical-systems LS3 routing-options static route 0.0.0.0/0 discard set logical-systems LS3 routing-options static route 0.0.0.0/0 no-install set logical-systems LS3 policy-options policy-statement isis-default from protocol static set logical-systems LS3 policy-options policy-statement isis-default from route-filter 0.0.0.0/0 exact set logical-systems LS3 policy-options policy-statement isis-default then accept
절차
단계별 절차
다음 예제에서는 구성 계층의 다양한 수준을 탐색해야 합니다. 네트워크의 CLI 대한 자세한 내용은 CLI 사용자 가이드의 CLI 편집 기 사용 CLI 참조하십시오.
논리적 시스템에서 IS-IS(Intermediate System to Intermediate System) 기본 라우팅 정책을 구성하는 경우:
논리 터널 인터페이스를 구성합니다.
[edit logical-systems LS3 interfaces lt-1/2/0] user@R1# set unit 3 description LS3->LS2 user@R1# set unit 3 encapsulation ethernet user@R1# set unit 3 peer-unit 4 user@R1# set unit 3 family inet address 10.0.2.1/30 user@R1# set unit 3 family iso user@R1# set unit 5 description LS3->LS1 user@R1# set unit 5 encapsulation ethernet user@R1# set unit 5 peer-unit 0 user@R1# set unit 5 family inet address 10.0.1.1/30 user@R1# set unit 5 family iso [edit logical-systems LS3 interfaces lo0 unit 3] user@R1# set family iso address 49.0001.1234.1600.2231.00
인터페이스에서 IS-IS(Intermediate System to Intermediate System) 활성화합니다.
[edit logical-systems LS3 protocols isis] user@R1# set interface lt-1/2/0.3 user@R1# set interface lt-1/2/0.5 user@R1# set interface lo0.3 passive
논리적 시스템 LS3에 대한 기본 경로를 구성합니다.
[edit logical-systems LS3 routing-options] user@R1# set static route 0.0.0.0/0 discard user@R1# set static route 0.0.0.0/0 no-install
논리적 시스템 LS3에서 기본 라우팅 정책을 구성합니다.
[edit logical-systems LS3 policy-options] user@R1# set policy-statement isis-default from protocol static user@R1# set policy-statement isis-default from route-filter 0.0.0.0/0 exact user@R1# set policy-statement isis-default then accept
논리적 시스템 LS3에서 IS-IS(Intermediate System to Intermediate System) 내보내기 정책을 적용합니다.
[edit logical-systems LS3 protocols isis] user@R1# set export isis-default
디바이스 구성이 완료되면 구성을 커밋합니다.
[edit] user@R1# commit
결과
구성 모드에서 명령을 발행하여 구성을 확인 show logical-systems LS3 출력이 의도한 구성을 표시하지 않는 경우 이 예제의 지침을 반복하여 구성을 수정합니다.
user@R1# show logical-systems LS3
interfaces {
lt-1/2/0 {
unit 3 {
description LS3->LS2;
encapsulation ethernet;
peer-unit 4;
family inet {
address 10.0.2.1/30;
}
family iso;
}
unit 5 {
description LS3->LS1;
encapsulation ethernet;
peer-unit 0;
family inet {
address 10.0.1.1/30;
}
family iso;
}
}
lo0 {
unit 3 {
family iso {
address 49.0001.1234.1600.2231.00;
}
}
}
}
protocols {
isis {
export isis-default;
interface lt-1/2/0.3;
interface lt-1/2/0.5;
interface lo0.3 {
passive;
}
}
}
policy-options {
policy-statement isis-default {
from {
protocol static;
route-filter 0.0.0.0/0 exact;
}
then accept;
}
}
routing-options {
static {
route 0.0.0.0/0 {
discard;
no-install;
}
}
}
}
확인
구성이 제대로 작동하고 있는지 확인합니다.
정적 경로가 재배포된지 확인
목적
라우팅 테이블을 IS-IS(Intermediate System to Intermediate System) 정책이 작동하고 있는지 확인
작업
user@R1> show route logical-system LS3
inet.0: 6 destinations, 6 routes (6 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
0.0.0.0/0 *[Static/5] 00:00:45
Discard
10.0.0.0/30 *[IS-IS/15] 1w0d 10:14:14, metric 20
to 10.0.2.2 via lt-1/2/0.3
> to 10.0.1.2 via lt-1/2/0.5
10.0.1.0/30 *[Direct/0] 1w0d 10:15:18
> via lt-1/2/0.5
10.0.1.1/32 *[Local/0] 1w0d 10:15:18
Local via lt-1/2/0.5
10.0.2.0/30 *[Direct/0] 1w0d 10:15:18
> via lt-1/2/0.3
10.0.2.1/32 *[Local/0] 1w0d 10:15:18
Local via lt-1/2/0.3
iso.0: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
49.0001.1234.1600.2231/72
*[Direct/0] 1w0d 10:17:19
> via lo0.3
user@R1> show route logical-system LS2
inet.0: 6 destinations, 6 routes (6 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
0.0.0.0/0 *[IS-IS/160] 00:01:38, metric 10
> to 10.0.2.1 via lt-1/2/0.4
10.0.0.0/30 *[Direct/0] 1w0d 10:16:11
> via lt-1/2/0.1
10.0.0.2/32 *[Local/0] 1w0d 10:16:11
Local via lt-1/2/0.1
10.0.1.0/30 *[IS-IS/15] 1w0d 10:15:07, metric 20
> to 10.0.0.1 via lt-1/2/0.1
to 10.0.2.1 via lt-1/2/0.4
10.0.2.0/30 *[Direct/0] 1w0d 10:16:11
> via lt-1/2/0.4
10.0.2.2/32 *[Local/0] 1w0d 10:16:11
Local via lt-1/2/0.4
iso.0: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
49.0001.1720.1600.2002/72
*[Direct/0] 1w0d 10:18:12
> via lo0.2
user@R1> show route logical-system LS1
inet.0: 6 destinations, 6 routes (6 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
0.0.0.0/0 *[IS-IS/160] 00:02:01, metric 10
> to 10.0.1.1 via lt-1/2/0.0
10.0.0.0/30 *[Direct/0] 1w0d 10:16:34
> via lt-1/2/0.2
10.0.0.1/32 *[Local/0] 1w0d 10:16:34
Local via lt-1/2/0.2
10.0.1.0/30 *[Direct/0] 1w0d 10:16:34
> via lt-1/2/0.0
10.0.1.2/32 *[Local/0] 1w0d 10:16:34
Local via lt-1/2/0.0
10.0.2.0/30 *[IS-IS/15] 1w0d 10:15:55, metric 20
to 10.0.1.1 via lt-1/2/0.0
> to 10.0.0.2 via lt-1/2/0.2
iso.0: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
49.0001.1720.1600.1001/72
*[Direct/0] 1w0d 10:18:35
> via lo0.1
의미
논리적 시스템 LS3의 라우팅 테이블에는 프로토콜의 기본 0.0.0.0/0 경로가 포함되어 있습니다 Static. 논리적 시스템 LS1 및 논리적 시스템 LS2의 라우팅 테이블에는 프로토콜의 기본 0.0.0.0/0 경로가 포함되어 있습니다 IS-IS. 논리적 시스템 LS1 및 논리적 시스템 LS2가 라우팅 테이블에 지정되지 않은 네트워크로 전달되는 패킷을 수신하는 경우, 해당 패킷은 추가 처리를 위해 논리적 시스템 LS3로 전송됩니다. 이 구성은 논리적 시스템 LS3이 ISP 또는 다른 외부 네트워크에 연결되어 있는 것으로 가정합니다.
