IS-IS 프로토콜 확인
목적
MPLS 네트워크가 IGP(Interior Gateway Protocol)로 IS-IS로 구성되어 있고 명령의 show mpls lsp extensive 출력에 문제가 있는 것으로 나타나면 IP 및 IS-IS 계층을 확인합니다. IS-IS(Intermediate System to Intermediate System)와 IP는 서로 독립적이기 때문에 두 레이어 중 하나를 먼저 확인할 수 있습니다. IP 레이어 확인에 대한 자세한 내용은 IP 레이어 확인을 참조하십시오.
IP 레이어를 확인하고 여전히 문제가 있다고 판단한 후, IS-IS 레이어를 확인하고, IS-IS 인접 항목이 작동 중인지 확인하고, 인터페이스와 IS-IS 프로토콜이 올바르게 설정되었는지 확인합니다.
에서 손상된 MPLS 네트워크
IS-IS 프로토콜을 확인하려면 다음 단계를 따르십시오.
LSP 확인
목적
인터페이스가 IS-IS를 위해 구성되었는지, IS-IS 프로토콜이 올바르게 구성되었는지, 인접성이 설정되었는지 확인합니다.
행동
레이블 스위칭 경로(LSP)를 확인하기 위해 수신, 전송, 송신 라우터에 다음 명령을 입력합니다.
user@host> show mpls lsp extensive
샘플 출력 1
명령 이름
user@R1> show mpls lsp extensive Ingress LSP: 1 sessions 10.0.0.6 From: 10.0.0.1, State: Dn, ActiveRoute: 0 , LSPname: R1-to-R6 ActivePath: (none) LoadBalance: Random Encoding type: Packet, Switching type: Packet, GPID: IPv4 Primary State: Dn 24 Oct 21 13:48:01 No Route toward dest [3 times] 23 Oct 21 13:47:44 Deselected as active 22 Oct 21 13:47:43 No Route toward dest[2 times] 21 Oct 21 13:47:43 ResvTear received 20 Oct 21 13:47:43 Down 19 Oct 21 13:47:43 10.1.13.2: No Route toward dest[2 times] 18 Oct 21 13:47:38 Record Route: 10.1.13.2 10.1.36.2 [...Output truncated...] Created: Tue Oct 19 21:22:53 2004 Total 1 displayed, Up 0, Down 1 Egress LSP: 0 sessions Total 0 displayed, Up 0, Down 0 Transit LSP: 0 sessions Total 0 displayed, Up 0, Down 0
샘플 출력 2
명령 이름
user@R3> show mpls lsp extensive Ingress LSP: 0 sessions Total 0 displayed, Up 0, Down 0 Egress LSP: 0 sessions Total 0 displayed, Up 0, Down 0 Transit LSP: 0 sessions Total 0 displayed, Up 0, Down 0
샘플 출력 3
명령 이름
user@R6> show mpls lsp extensive
Ingress LSP: 1 sessions
10.0.0.1
From: 10.0.0.6, State: Dn, ActiveRoute: 0 , LSPname: R6-to-R1
ActivePath: (none)
LoadBalance: Random
Encoding type: Packet, Switching type: Packet, GPID: IPv4
Primary State: Dn
Will be enqueued for recomputation in 3 second(s).
13 Oct 21 14:23:33 CSPF failed: no route toward 10.0.0.1[90 times]
12 Oct 21 13:39:56 Deselected as active
11 Oct 21 13:39:56 CSPF: could not determine self
[...Output truncated...]
Created: Tue Oct 19 22:28:30 2004
Total 1 displayed, Up 0, Down 1
Egress LSP: 0 sessions
Total 0 displayed, Up 0, Down 0
Transit LSP: 0 sessions
Total 0 displayed, Up 0, Down 0
의미
샘플 출력은 LSP R1-to-R6 및 역방향 LSP R6-to-R1 가 중단되고 전송 라우터 R3에 LSP 세션이 없음을 보여줍니다.
IS-IS 인접 및 인터페이스 확인
목적
IS-IS 레이어를 확인할 때, IS-IS 인접 항목이 작동 중이고 IS-IS 인터페이스가 프로토콜 수준에 포함되어 있는지 확인합니다.
행동
인접 인터페이스의 기능을 확인하려면 관련 라우터에서 다음 명령을 입력하세요.
user@host> show isis adjacency user@host> show isis interface
샘플 출력 1
명령 이름
user@R1> show isis adjacency Interface System L State Hold (secs) SNPA so-0/0/0.0 R2 2 Up 20 so-0/0/1.0 R5 2 Up 23 so-0/0/2.0 R3 2 Up 26 user@R3> show isis adjacency Interface System L State Hold (secs) SNPA so-0/0/0.0 R4 2 Up 23 so-0/0/1.0 R2 2 Up 21 so-0/0/2.0 R1 2 Up 19 so-0/0/3.0 R6 2 Down 0 user@R6> show isis adjacency IS-IS instance is not running
샘플 출력 2
명령 이름
user@R1> show isis interface IS-IS interface database: Interface L CirID Level 1 DR Level 2 DR L1/L2 Metric lo0.0 0 0x1 Passive Passive 0/0 so-0/0/0.0 2 0x1 Disabled Point to Point 10/10 so-0/0/1.0 2 0x1 Disabled Point to Point 10/10 so-0/0/2.0 2 0x1 Disabled Point to Point 10/10 user@R3> show isis interface IS-IS interface database: Interface L CirID Level 1 DR Level 2 DR L1/L2 Metric lo0.0 0 0x1 Passive Passive 0/0 so-0/0/0.0 2 0x1 Disabled Point to Point 10/10 so-0/0/1.0 2 0x1 Disabled Point to Point 10/10 so-0/0/2.0 2 0x1 Disabled Point to Point 10/10 so-0/0/3.0 2 0x1 Disabled Point to Point 10/10 user@R6> show isis interface IS-IS interface database: Interface L CirID Level 1 DR Level 2 DR L1/L2 Metric lo0.0 0 0x1 Passive Passive 0/0 so-0/0/0.0 1 0x1 Point to Point Disabled 10/10 so-0/0/1.0 1 0x1 Down Disabled 10/10 so-0/0/2.0 1 0x1 Point to Point Disabled 10/10 so-0/0/3.0 1 0x1 Point to Point Disabled 10/10
의미
샘플 출력 1은 수신 라우터 R1이 관련 라우터와 인접성을 설정했음을 보여줍니다. 전송 라우터 R3은 송신 라우터 R6과 인접성이 없고, 송신 라우터 R6은 IP 및 IGP 계층에서 MPLS 네트워크 고장에 표시된 네트워크에서 설정된 인접성이 없어 IS-IS 프로토콜 수준에 문제가 있을 수 있음을 나타냅니다.
샘플 출력 2는 레벨 1 라우터인 R6과 대조적으로 R1과 R2가 레벨 2 라우터임을 보여줍니다. 라우터가 명시적으로 레벨 1 또는 레벨 2 라우터로 구성된 경우, 다른 수준에서 구성된 라우터와 통신하지 않습니다. 레벨 1 라우터는 해당 영역 내의 다른 레벨 1 라우터와 통신하는 반면, 레벨 2 라우터는 다른 레벨 2 라우터와 통신하고 다른 AS(Autonomous System)와 통신합니다. 이 네트워크의 모든 라우터는 레벨 2용으로 구성되므로 레벨 1 라우터로 잘못 구성된 R6과 인접성을 형성할 수 없습니다.
참조
IS-IS 구성 확인
목적
문제가 IS-IS 프로토콜 수준일 수 있다고 판단되면 네트워크에 있는 라우터의 IS-IS 구성을 확인합니다.
행동
IS-IS 구성을 확인하려면 관련 라우터에서 다음 명령을 입력하십시오.
user@host> show configuration protocols isis
샘플 출력
명령 이름
user@R1> show configuration protocols isis
level 1 disable;
interface so-0/0/0.0;
interface so-0/0/1.0;
interface so-0/0/2.0;
interface lo0.0; {
passive
user@R3> show configuration protocols isis
level 1 disable;
interface all {
level 2 metric 10;
}
interface fxp0.0 {
disable;
}
interface lo0.0; {
passive
user@R6> show configuration protocols isis
level 2 disable; <<< Incorrect level disabled
interface all {
level 2 metric 10;
}
interface fxp0.0 {
disable;
}
interface lo0.0; {
passive
의미
샘플 출력은 R6의 레벨 2가 비활성화된 반면, R1과 R3은 레벨 1이 비활성화되었음을 보여줍니다. IS-IS 인접 관계를 설정하려면 라우터가 동일한 수준에 있어야 합니다. 또 다른 일반적인 구성 오류는 계층 수준의 구성에서 루프백 인터페이스(lo0)를 생략하는 [edit protocols isis] 것입니다. 루프백 인터페이스(lo0)가 이 수준에서 구성되지 않으면 IS-IS(Intermediate System to Intermediate System)가 올바르게 작동하지 않습니다. 또한 명령문을 포함 passive 하면 프로토콜이 루프백 인터페이스(lo0)를 통해 실행되지 않고 루프백 인터페이스(lo0)가 네트워크 전체에 걸쳐 올바르게 보급됩니다.
적절한 조치 취하기
문제
묘사
조사 중에 발생한 오류에 따라 문제를 해결하기 위해 적절한 조치를 취해야 합니다. 아래 예에서 라우터는 IS-IS 프로토콜의 다른 수준에서 작동하도록 구성됩니다.
용액
이 예에서 오류를 수정하려면 다음 명령을 입력하십시오.
샘플 출력
[edit protocols isis]
user@R6# show
level 2 disable;
interface all {
level 2 metric 10;
}
interface fxp0.0 {
disable;
}
interface lo0.0; {
passive
[edit protocols isis]
user@R6# delete level 2
[edit protocols isis]
user@R6# set level 1 disable
[edit protocols isis]
user@R6# show
level 1 disable;
interface all {
level 2 metric 10;
}
interface fxp0.0 {
disable;
}
interface lo0.0; {
passive
[edit protocols isis]
user@R6# commit
commit complete
[edit protocols isis]
user@R6# run show isis adjacency
Interface System L State Hold (secs) SNPA
so-0/0/0.0 R5 2 Up 22
so-0/0/1.0 R4 2 Up 22
so-0/0/2.0 R2 2 Up 22
so-0/0/3.0 R3 2 Up 22
의미
샘플 출력은 송신 라우터 R6의 구성 오류가 수정되었으며 IS-IS 인접성이 설정되었음을 보여줍니다.
참조
LSP 다시 확인
목적
오류 수정을 위한 적절한 조치 후, RSVP 계층의 문제가 해결되었는지 확인하기 위해 레이블 스위칭 경로(LSP)를 다시 점검해야 합니다.
행동
예상대로 LSP가 작동하고 네트워크를 트래버스하는지 확인하려면, 수신, 송신 및 전송 라우트로부터 다음 명령을 입력합니다:
user@host> show mpls lsp extensive
샘플 출력 1
명령 이름
user@R1> show mpls lsp extensive
Ingress LSP: 1 sessions
10.0.0.6
From: 10.0.0.1, State: Up, ActiveRoute: 1 , LSPname: R1-to-R6
ActivePath: (primary)
LoadBalance: Random
Encoding type: Packet, Switching type: Packet, GPID: IPv4
*Primary State: Up
Computed ERO (S [L] denotes strict [loose] hops): (CSPF metric: 20)
10.1.13.2 S 10.1.36.2 S
Received RRO (ProtectionFlag 1=Available 2=InUse 4=B/W 8=Node 10=SoftPreempt):
10.1.13.2 10.1.36.2
5 Oct 21 15:52:07 Selected as active path
4 Oct 21 15:52:07 Record Route: 10.1.13.2 10.1.36.2
3 Oct 21 15:52:07 Up
2 Oct 21 15:52:07 Originate Call
1 Oct 21 15:52:07 CSPF: computation result accepted
Created: Thu Oct 21 15:52:06 2004
Total 1 displayed, Up 1 , Down 0
Egress LSP: 1 sessions
10.0.0.1
From: 10.0.0.6, LSPstate: Up, ActiveRoute: 0
LSPname: R6-to-R1 , LSPpath: Primary
Suggested label received: -, Suggested label sent: -
Recovery label received: -, Recovery label sent: -
Resv style: 1 FF, Label in: 3, Label out: -
Time left: 142, Since: Thu Oct 21 15:41:59 2004
Tspec: rate 0bps size 0bps peak Infbps m 20 M 1500
Port number: sender 2 receiver 39082 protocol 0
PATH rcvfrom: 10.1.13.2 (so-0/0/2.0) 17 pkts
Adspec: received MTU 1500
PATH sentto: localclient
RESV rcvfrom: localclient
Record route: 10.1.36.2 10.1.13.2 <self>
Total 1 displayed, Up 1 , Down 0
Transit LSP: 0 sessions
Total 0 displayed, Up 0, Down 0
샘플 출력 2
명령 이름
user@R3> show mpls lsp extensive Ingress LSP: 0 sessions Total 0 displayed, Up 0, Down 0 Egress LSP: 0 sessions Total 0 displayed, Up 0, Down 0 Transit LSP: 2 sessions 10.0.0.1 From: 10.0.0.6, LSPstate: Up, ActiveRoute: 1 LSPname: R6-to-R1 , LSPpath: Primary Suggested label received: -, Suggested label sent: - Recovery label received: -, Recovery label sent: 3 Resv style: 1 FF, Label in: 100528, Label out: 3 Time left: 125, Since: Thu Oct 21 15:29:26 2004 Tspec: rate 0bps size 0bps peak Infbps m 20 M 1500 Port number: sender 2 receiver 39082 protocol 0 PATH rcvfrom: 10.1.36.2 (so-0/0/3.0) 17 pkts Adspec: received MTU 1500 sent MTU 1500 PATH sentto: 10.1.13.1 (so-0/0/2.0) 17 pkts RESV rcvfrom: 10.1.13.1 (so-0/0/2.0) 17 pkts Explct route: 10.1.13.1 Record route: 10.1.36.2 <self> 10.1.13.1 10.0.0.6 From: 10.0.0.1, LSPstate: Up, ActiveRoute: 1 LSPname: R1-to-R6 , LSPpath: Primary Suggested label received: -, Suggested label sent: - Recovery label received: -, Recovery label sent: 3 Resv style: 1 FF, Label in: 100544, Label out: 3 Time left: 147, Since: Thu Oct 21 15:39:33 2004 Tspec: rate 0bps size 0bps peak Infbps m 20 M 1500 Port number: sender 1 receiver 47963 protocol 0 PATH rcvfrom: 10.1.13.1 (so-0/0/2.0) 4 pkts Adspec: received MTU 1500 sent MTU 1500 PATH sentto: 10.1.36.2 (so-0/0/3.0) 4 pkts RESV rcvfrom: 10.1.36.2 (so-0/0/3.0) 4 pkts Explct route: 10.1.36.2 Record route: 10.1.13.1 <self> 10.1.36.2 Total 2 displayed, Up 2, Down 0
샘플 출력 3
명령 이름
user@R6> show mpls lsp extensive
Ingress LSP: 1 sessions
10.0.0.1
From: 10.0.0.6, State: Up, ActiveRoute: 1, LSPname: R6-to-R1
ActivePath: (primary)
LoadBalance: Random
Encoding type: Packet, Switching type: Packet, GPID: IPv4
*Primary State: Up
Computed ERO (S [L] denotes strict [loose] hops): (CSPF metric: 20)
10.1.36.1 S 10.1.13.1 S
Received RRO (ProtectionFlag 1=Available 2=InUse 4=B/W 8=Node 10=SoftPreempt):
10.1.36.1 10.1.13.1
18 Oct 21 15:34:18 Selected as active path
17 Oct 21 15:34:17 Record Route: 10.1.36.1 10.1.13.1
16 Oct 21 15:34:17 Up
15 Oct 21 15:34:17 Originate Call
14 Oct 21 15:34:17 CSPF: computation result accepted
[...Output truncated...]
Created: Tue Oct 19 22:28:30 2004
Total 1 displayed, Up 1, Down 0
Egress LSP: 1 sessions
10.0.0.6
From: 10.0.0.1, LSPstate: Up, ActiveRoute: 0
LSPname: R1-to-R6 , LSPpath: Primary
Suggested label received: -, Suggested label sent: -
Recovery label received: -, Recovery label sent: -
Resv style: 1 FF, Label in: 3, Label out: -
Time left: 126, Since: Thu Oct 21 15:44:25 2004
Tspec: rate 0bps size 0bps peak Infbps m 20 M 1500
Port number: sender 1 receiver 47963 protocol 0
PATH rcvfrom: 10.1.36.1 (so-0/0/3.0) 4 pkts
Adspec: received MTU 1500
PATH sentto: localclient
RESV rcvfrom: localclient
Record route: 10.1.13.1 10.1.36.1 <self>
Total 1 displayed, Up 1, Down 0
Transit LSP: 0 sessions
Total 0 displayed, Up 0, Down 0
의미
수신 라우터 R1 및 송신 라우터 R6의 샘플 출력 1과 3은 LSP가 현재 R1에서 R3에서 R6을 통해 예상되는 경로를 따라 네트워크를 트래버스하고 역방향 LSP가 R6에서 R3을 거쳐 R1을 통해 네트워크를 트래버스하고 있음을 보여줍니다. 또한 전송 라우터 R3의 샘플 출력 2는 R1에서 R6까지 그리고 R6에서 R1까지 각각 하나씩, 그리고 R6에서 R1까지 두 개의 전송 LSP 세션이 있음을 보여줍니다.