IS-IS 시작하기

Download Report

Transcript IS-IS 시작하기

KOREA TELECOM NEC
IS-IS
2000. 11
인터넷설계팀
인터넷시설단
목차
1. 라우팅 프로토콜과 라우터
2. IS-IS 시작하기
3. Network Map
4. 경로 계산
5. IS-IS 좀더 깊이 들어가기
6. IS-IS 정보 보기
7. IS-IS Troubleshooting
8. IS-IS 고급기능
9. IS-IS 초고급 기능
10. IS-IS QUIZ
KOREA TELECOM NEC
KORNET ENGINEERING T/F
2
1. Routing Protocol과 Router
 라우팅 프로토콜
 라우터
 라우팅 설계
KOREA TELECOM NEC
KORNET ENGINEERING T/F
3
Routing Protocol
 Routing
 경로 선택: Source  Destination
 IP망에서는 목적지 주소만을 보고 경로를 선택함
cf. Policy Routing
 Routing Protocol
 경로 선택을 위한 정보 전달 및 경로 선택 방법을 규정
cf. Routed Protocol
 Routing Protocol의 구성 요소
1) Routing 정보 전달 방법
- Routing 정보의 형식(Packet or PDU Format)
- Neighbor 간 정보 전달 규약
2) 경로 선택 방법: Route Calculation Algorithm
KOREA TELECOM NEC
KORNET ENGINEERING T/F
4
Routing Protocol
 Routing Protocol의 분류
 일반적으로 전달되는 라우팅 정보의 내용에 따라 분류
 Distance Vector Protocol vs. Link State Protocol
 세부적인 특성에 따른 분류
 Type: EGP or IGP
 Encapsulation: over IP, over TCP or UDP, over Data Link Layer
 최적 경로의 의미: Metric 특성
 Neighbor 탐색 및 유지 방법
 라우팅 정보의 전달 방법
 라우팅 정보 제거: How to Delete Unreachable Routes
 라우팅 테이블 계산
 기타: 안정성, 확장성, 보안, 정책, 축약
KOREA TELECOM NEC
KORNET ENGINEERING T/F
5
Routing Protocol
 Routing Protocol의 종류
Protocol Type
Distance Vector
Link State
IGP
RIP
IGRP
EIGRP
OSPF
Integrated IS-IS
EGP
EGP
BGP
IDRP*
KOREA TELECOM NEC
KORNET ENGINEERING T/F
6
Distance Vector Routing Protocol
 Distance Vector Routing Protocol
 Distance의 Vector를 전달: 자신으로부터 모든 목적지로의 거리
 경로 선택을 위한 부하(CPU)가 적으며 쉽게 구현 가능
 Convergence가 느림
 RIP(Routing Information Protocol)
 Type: Distance Vector IGP
 Encapsulation: over UDP (port 520)
 Metric: Hop Count (Max 15)
 Neighbor: 특정한 neighbor 탐색 및 유지 방법 없음
 Update: 변화시 Triggered Updates(Partial)
정상 상태에서 30초당 전체 정보를 Broadcast
 라우팅 테이블 계산: + 1 (최소 Hop)
 기타: Classful, 보안 없음, Filtering 가능
KOREA TELECOM NEC
KORNET ENGINEERING T/F
7
Distance Vector Routing Protocol
 IGRP(Inter-Gateway Routing Protocol)
 Type: Distance Vector IGP
 Encapsulation: over IP (Protocol ID 88)
 Metric: Composite
 Neighbor: 특정한 neighbor 탐색 및 유지 방법 없음
 Update: 90초당 전체 정보 Broadcast, 변화시 Triggered Update(Full)
 라우팅 테이블 계산: Composite Metric
 기타: Classful, 보안 없음, Filtering 가능
Cf. EIGRP
 Hello Message: Neighbor 탐색 및 유지
 Topology Table: 대체 경로 보관
 DUAL(Distributed Update ALgorithm)
KOREA TELECOM NEC
KORNET ENGINEERING T/F
8
Link State Routing Protocol
 Link State Routing Protocol의 특성
 Link State 정보를 전달: 자신에 인접한 Link 정보
 경로 선택을 위한 Algorithm: SPF(Shortest Path First) 사용
 확장성 및 안정성 우수, Convergence가 빠름
 Link State Routing Protocol의 중요한 사항
 모든 라우터가 네트워크에 대한 Map(Topology)를 계산
 모든 라우터가 전체 네트워크(또는 Area)에 대한 정보를 보유
 각각의 라우터는 모든 다른 라우터에 대해서 자신과 인접한 Neighbor
정보만을 생성함
Cf. DV 프로토콜은 인접한 라우터에 대해서 모든 라우팅 정보를 생성함
Link State Protocol의 핵심  모든 라우터에 대하여 전체망(또는
Area)에 대한 Map 정보(LS Database)가 일치하여야 함 !!!
KOREA TELECOM NEC
KORNET ENGINEERING T/F
9
Link State Routing Protocol
RouterA’s LSPDB
lspB
lspA
RouterE’s LSPDB
lspE
lspD
lspC
RouterB’s LSPDB
lspB
lspA
lspB
lspA
lspE
lspD
lspC
lspE
lspB
lspA
lspC
lspD
lspE
lspC
lspE
lspD
RouterC’s LSPDB
KOREA TELECOM NEC
KORNET ENGINEERING T/F
lspB
lspA
lspC
lspD
RouterD’s LSPDB
10
Link State Routing Protocol
 OSPF(Open Shortest Path First)
 Type: Link State IGP
 Encapsulation: over IP (protocol IP 89)
 Metric: 출력 인터페이스의 Cost 사용 합산
 Neighbor: Hello 패킷 사용
 Update: LSA (Reliable Flooding, MaxAge)
변화시 새로운 LSA 전달(Multicasting)
 라우팅 테이블 계산: SPF 알고리듬 사용 최소 Cost 경로 선택
 기타: Classless, Area, 보안 가능
KOREA TELECOM NEC
KORNET ENGINEERING T/F
11
Link State Routing Protocol
 IS-IS(Intermediate System- Intermediate System)
 Type: Link State IGP
 Encapsulation: over Data Link Layer
 Metric: Circuit Cost 사용 합산
 Neighbor: Hello PDU(IIH PDU) 사용
 Update: LSP (Reliable Flooding, MaxAge, TLV)
변화시 새로운 LSP 전달(Multicasting)
 라우팅 테이블 계산: SPF 알고리듬 사용 최소 Cost 경로 선택
 기타: Classless, Area, 보안 가능
KOREA TELECOM NEC
KORNET ENGINEERING T/F
12
Border Gateway Protocol
 BGP
 Type: Distance Vector EGP
 Encapsulation: over TCP (port 179)
 Metric: Complicated (Weight, Local Pref, Path Length, MED, etc)
 Neighbor: Open & Keepalive 사용
 Update: Withdrawn Routes + NLRI
Peer에게만 전달(no Multicast)
 라우팅 테이블 계산: Decision Process
 기타: Policy, 보안(MD-5), CIDR 축약
KOREA TELECOM NEC
KORNET ENGINEERING T/F
13
Router
 Packet Switching을 위한 Router Operation 순서
 Compression & Decompression
 Encryption
 Inbound Access List (Packet Filtering)
 Unicast RPF
 Input Rate Limiting
 Physical Broadcasting의 처리(예. Helper)
 TTL 감소
 Firewall
 NAT (Outside to Inside)
 라우팅 테이블 검색
 Policy Routing
 Web Cache Redirect
 NAT (Inside to Outside)
 Encryption
 Output Access List (Packet Filtering)
 Firewall
 TCP intercept
KOREA TELECOM NEC
KORNET ENGINEERING T/F
14
Router
 Router의 경로 선택 방법
3 Steps
 Routing Protocols: Static, OSPF, EIGRP, IS-IS, BGP(프로토콜별 선택)
 Routing Table: Administrative Distance(동일 Prefix에 대해서 적용)
 Packet Forwarding: Longest Prefix Match(Routing Table Entry에 대해서)
KOREA TELECOM NEC
KORNET ENGINEERING T/F
15
Router
 Router 구조
Shared Memory Routers: C1600, C2500, C4000, C4500, C4700
Shared BUS Routers: AGS+, C7000, C7513
Crossbar Switch Routers: GSR
 Router의 Packet Switching 구조
Process Switching, Fast Switching, CEF
 Router IOS
1) Process
2) Kernel: Scheduler, Memory Manager
3) Packet Buffers: System Buffers
4) Device Drivers
5) Fast Switching Software
KOREA TELECOM NEC
KORNET ENGINEERING T/F
16
Router
 라우팅 프로토콜이 필요로 하는 라우터 자원
일반적으로 라우팅 프로토콜이 라우터의 자원을 많이 필요로 하는
경우는 UPDATE Process 와 Routing Table 계산 Process임
 UPDATE Process
라우팅 정보의 생성 및 전달: CPU 및 네트워크 대역폭 사용
UPDATE 간격이 짧아질수록  자원 소요가 높아짐
따라서, Convergence Time과 라우터 자원 소요 사이에 Trade-Off
Cf. OSPF: MasAge, LSRefresh Time, etc
Cf. IS-IS: Max-lsp-lifetime, Lsp-refresh timer, etc
 라우팅 테이블의 계산
최적 경로의 계산: CPU 사용
Cf. SPF and PRC
 Monitoring: show process cpu
KOREA TELECOM NEC
KORNET ENGINEERING T/F
17
Routing 구조 설계
 Enterprise vs. ISP
 Enterprise Network: 대부분의 라우터가 Internal Router
- 대분분의 정보: 내부 정보
- 소수의 라우터만이 Border Router로 작용
- IGP가 대부분의 역할을 담당: OSPF
 다양한 응용 프로토콜 및 내부 고객 수요 수용
 ISP Network: 대부분의 라우터가 Border Router
- 대분분의 정보: 외부 정보
- 대부분의의 라우터가 Border Router로 작용
- EGP가 대부분의 역할을 담당: BGP
 안정성 및 정책 구현의 유연성이 우선
KOREA TELECOM NEC
KORNET ENGINEERING T/F
18
2. 시작하기
 IS-IS 시작하기
 HELLO !!!
 IS-IS 라우팅 보기
KOREA TELECOM NEC
KORNET ENGINEERING T/F
19
IS-IS 시작하기
LAB
hostname RouterA
!
interface FastEthernet0/0
ip address 192.168.120.5 255.255.255.0
ip router isis
!
router isis
net 49.0001.1921.6800.1005.00
KOREA TELECOM NEC
KORNET ENGINEERING T/F
20
IS-IS 시작하기:IS-IS Process 구동
router isis
!IS-IS Process를 시작합니다.
net 49.0001.1921.6800.1005.00
!Network Entity Title(NET)을 선언합니다.
interface FastEthernet0/0
ip address 192.168.120.5 255.255.255.0
ip router isis
!interface에 IS-IS를 적용합니다.
 IS-IS 시작하기
 준비
1) NET 선택: IS-IS 프로토콜에서 라우터를 인식하는 ID
2) Interface 선택: IS-IS가 구동될 인터페이스
 Configuration
KOREA TELECOM NEC
KORNET ENGINEERING T/F
21
IS-IS 시작하기:IS-IS Process 구동
 IGP의 시작
 IGP의 시작을 위한 작업
1) 프로세스 구동
2) Neighbor 탐색을 위한 정보 설정: network 또는 interface 선언
 프로세스 구동
1) OSPF
router ospf 10
! OSPF 프로세스 구동, 10:PID(Process ID)
2) IS-IS
router isis
cf. OSPF PID는 대상 라우터에서 local한 의미만 가집니다.
반면 EIGRP PID는 global한 의미를 가집니다.
KOREA TELECOM NEC
KORNET ENGINEERING T/F
22
IS-IS 시작하기:IS-IS Process 구동
 IGP의 시작(계속)
 Neighbor 탐색을 위한 정보 설정
1) OSPF
router ospf 10
network 192.168.30.0 0.0.0.255 area 1
2) IS-IS
interface별로 설정!!
 IGP 프로세스 구동후 라우터에서는……
해당 프로세스를 시작하고 neighbor 탐색을 시작합니다.(HELLO)
Cf. BGP
router bgp 100
neighbor 172.16.2.254 remote-as 120
BGP는 적용시 neighbor를 구체적으로 명시합니다. (NO HELLO)
KOREA TELECOM NEC
KORNET ENGINEERING T/F
23
IS-IS 시작하기:기본 용어
 기본 용어
 IS: Intermediate System  라우터
 ES: End System  Host
 IS-IS: Intermediate System to Intermediate System
 ES-IS: End System to Intermediate System
 SNPA: Subnetwork Point of Attachment: Interface*
 PDU: Protocol Data Unit (OSI)
 NSAP: Network Service Access Point (ISO 주소)
 NET: Network Entity Title(OSI 프로토콜의 Network Layer 주소)
 CLNP: Connectionless Network Protocol (ISO 프로토콜)
 CLNS: Connectionless-mode Network Service (CLNP의 network layer)
 Integrated IS-IS: IS-IS의 확장 버전(IP 수용)
KOREA TELECOM NEC
KORNET ENGINEERING T/F
24
IS-IS 시작하기: Area 이해하기
Area-3
L1-only
L1L2
Area-2
L2-only
L1L2
L1-only
L1L2
Area-4
L1L2
L1-only
Area-1
L1L2
L1-only
IS-IS 라우터는 하나의 Area에 속합니다: Area 경계가 인터페이스임
Cf. OSPF의 인터페이스는 하나의 Area에 속합니다.
: Area 경계가 라우터임(ABR)
KOREA TELECOM NEC
KORNET ENGINEERING T/F
25
IS-IS 시작하기:Area 이해하기
 IS-IS Hierarchy
 2 Level: Level-1, Level-2
1) Backbone Area: Level-2 라우터들의 집합(구체적으로 명시 않함)
2) 다른 Area들은 모두 L1 Area 임
Cf. OSPF에서는?
Backbone Area는 0(0.0.0.0)번으로 명시되어 있음
3) IS-IS 라우터: L1 또는 L2 또는 L1/L2
 경로 계산 알고리듬
IS-IS에서는 L1, L2에 대해서 동일한 경로 계산 알고리듬(SPF)을 적용
cf. OSPF에서는?
Non-Backbone은 SPF 사용, Backbone은 Distance Vector로 작용됨
KOREA TELECOM NEC
KORNET ENGINEERING T/F
26
IS-IS 시작하기:Area 이해하기
 Level-1 Router
 Neighbor 형성: 동일 Area내에서만 neighbor를 형성(L1 neighbor)
 L1 라우터는 해당 Area내의 정보만을 가짐(Level 1 Database)
 L1-only 라우터가 다른 Area로 정보를 보내기 위해서는
가장 가까운 L1/L2 라우터로 Default 경로를 생성함
(LSP의 ATT bit 이용)
 Level-2 Router
 Neighbor 형성: 물리적으로 인접한 L2 라우터와 neighbor 형성(Area 무관)
 L2 라우터는 L2 Topology 정보와 L2를 통해 접근 가능한 L1 정보를 보유
(Level 2 Database)
 L1/L2 라우터: L1과 L2 기능을 동시에 수행하며 L1 정보를 L2로 전달
만일 L1-only 라우터와 L2-only 라우터만 존재한다면?
Area간 L1 정보의 전달 및 L1 라우터의 타 Area로의 패킷 전달이 불가!!!
따라서 area를 분할할 경우는 L1/L2 라우터가 반드시 필요합니다.
KOREA TELECOM NEC
KORNET ENGINEERING T/F
27
IS-IS 시작하기:NET 이해하기
 NSAP Address
 NSAP Address는 CLNS 패킷의 네트워크 Layer 주소임
 NSAP Address는 BOX(IS 또는 ES) 단위로 할당
Cf. TCP/IP에서는?
IP 주소가 네트워크 Layer의 주소이며 인터페이스 단위로 할당
 SNPA: Data Link Layer (e.g., MAC address 또는 HDLC, etc)
- 해당 Area내에서의 동일한 라우팅 정보(Link State DB) 유지
KOREA TELECOM NEC
KORNET ENGINEERING T/F
28
IS-IS 시작하기:NET 이해하기
 NSAP Address를 읽어 봅시다.
 3부분으로 나뉘어짐
- Area Address: Area 지정(cf. OSPF에서는? 인터페이스별로 지정)
- System ID: IS-IS에서 BOX를 식별(전체 도메인에서 Unique)
(cf. OSPF에서는? Router ID)
- NSEL: NSAP Selector (CLNP의 Layer 4 서비스 접속점 표시)
(cf. TCP/IP에서는? Protocol ID)
KOREA TELECOM NEC
KORNET ENGINEERING T/F
29
IS-IS 시작하기:NET 이해하기
 NSAP Address를 읽어 봅시다.
 NET: Network Entity Title
- NSEL = 0x00(네트워크 Layer를 의미함)
- System ID: 6 Octet
- Area ID: Variable(1 octet 이상)
- NET는 single octet으로 시작함
 NET 예제
07.0000.3090.c7df.00
47.0004.30ac.0007.0000.3090.c7df.00
KOREA TELECOM NEC
KORNET ENGINEERING T/F
30
IS-IS 시작하기: Who is My Neighbor? HELLO!!!
 IS-IS Network Types
 2 종류의 network type
1) Point-to-Point Network
2) Broadcast Network
Cf. OSPF에서는?
P-T-P, Broadcast, NBMA(Non Broadcast Muli Access), P-T-MP
 IS-IS의 Adjacency형성
1) Level 별로 형성: L1, L2 (L1 Hello, L2 Hello)
2) L1 Hello: 동일 Area내에서만
3) L2 Hello: 인접한 L2(L1/L2) IS에 대해서(Area 무관)
4) 단순한 Adjaceny 형성 과정: Init – Up
cf. OSPF에서는?
init – two-way – Exstart – full
KOREA TELECOM NEC
KORNET ENGINEERING T/F
31
IS-IS 시작하기: IS Type 바꾸기
 IS Type 바꾸기
 Default: L1/L2 라우터로 설정됨
 Type 바꾸기
1) L1-only 라우터로 변경
router isis
is-type level-1
2) L2-only 라우터로 변경
router isis
is-type level-2-only
KOREA TELECOM NEC
KORNET ENGINEERING T/F
32
IS-IS 시작하기: 정리
GSR1 12.1.1.0/24
.8
.2
e0
GSR2
GSR4
.5
198.168.1.4/30
Pos1/0
hostname GSR2
clns routing
!
interface Loopback0
ip address 13.1.1.2 255.255.255.0
ip router isis
interface Ethernet0
ip address 12.1.1.2 255.255.255.0
ip router isis
!
interface POS2/0
ip address 10.1.1.1 255.255.255.252
ip router isis
!
router isis
net 49.0001.0000.0000.0002.00
passive-interface loopback0
!
clnsNEC
host GSR1 49.0001.0000.0000.0008.00
KOREA TELECOM
KORNET ENGINEERING T/F
.6
Pos1/0
hostname GSR4
clns routing
!
interface Loopback0
ip address 13.1.1.2 255.255.255.0
ip router isis
!
interface POS2/0
ip address 10.1.1.2 255.255.255.0
ip router isis
!
router isis
net 49.0002.0000.0000.0004.00
passive-interface loopback0
33
IS-IS 시작하기: 확인하기
GSR2#show clns neighbors
System Id
GSR1
GSR4
Interface SNPA
State Holdtime Type Protocol
Et0
00d0.58eb.d601 Up 8
L1L2 IS-IS
PO2/0
*HDLC*
Up 25
L2 IS-IS
GSR2#show clns neighbors detail
System Id
Interface SNPA
State Holdtime Type Protocol
GSR1
Et0
00d0.58eb.d601 Up 9
L1L2 IS-IS
Area Address(es): 49.0001
IP Address(es): 12.1.1.8*
Uptime: 00:08:57
GSR4
PO2/0
*HDLC*
Up 24
L2 IS-IS
Area Address(es): 49.0002
IP Address(es): 10.1.1.2*
Uptime: 00:24:08
KOREA TELECOM NEC
KORNET ENGINEERING T/F
34
IS-IS 시작하기: 확인하기
GSR2#sh clns interface pos2/0
POS2/0 is up, line protocol is up
Checksums enabled, MTU 4470, Encapsulation HDLC
ERPDUs enabled, min. interval 10 msec.
RDPDUs enabled, min. interval 100 msec., Addr Mask enabled
Congestion Experienced bit set at 4 packets
CLNS fast switching disabled
CLNS SSE switching disabled
DEC compatibility mode OFF for this interface
Next ESH/ISH in 43 seconds
Routing Protocol: IS-IS
Circuit Type: level-1-2
Interface number 0x0, local circuit ID 0x100
Level-1 Metric: 10, Priority: 64, Circuit ID: GSR4.00
Number of active level-1 adjacencies: 0
Level-2 Metric: 10, Priority: 64, Circuit ID: GSR2.00
Number of active level-2 adjacencies: 1
Next IS-IS Hello in 2 seconds
KOREA TELECOM NEC
KORNET ENGINEERING T/F
35
IS-IS 시작하기: 확인하기
GSR2#sh clns interface e0
Ethernet0 is up, line protocol is up
Checksums enabled, MTU 1497, Encapsulation SAP
ERPDUs enabled, min. interval 10 msec.
RDPDUs enabled, min. interval 100 msec., Addr Mask enabled
Congestion Experienced bit set at 4 packets
CLNS fast switching disabled
CLNS SSE switching disabled
DEC compatibility mode OFF for this interface
Next ESH/ISH in 4 seconds
Routing Protocol: IS-IS
Circuit Type: level-1-2
Interface number 0x1, local circuit ID 0x1
Level-1 Metric: 10, Priority: 64, Circuit ID: GSR1.01
Number of active level-1 adjacencies: 1
Level-2 Metric: 10, Priority: 64, Circuit ID: GSR1.01
Number of active level-2 adjacencies: 1
Next IS-IS LAN Level-1 Hello in 3 seconds
Next IS-IS LAN Level-2 Hello in 5 seconds
KOREA TELECOM NEC
KORNET ENGINEERING T/F
36
IS-IS 시작하기: 확인하기
GSR2#sh clns protocol
IS-IS Router: <Null Tag>
System Id: 0000.0000.0002.00 IS-Type: level-1-2
Manual area address(es):
49.0001
Routing for area address(es):
49.0001
Interfaces supported by IS-IS:
Loopback0 - IP
Ethernet0 - IP
POS2/0 - IP
Redistributing:static
Distance: 110
RRR level: none
Generate narrow metrics: level-1-2
Accept narrow metrics: level-1-2
Generate wide metrics: none
Accept wide metrics: none
KOREA TELECOM NEC
KORNET ENGINEERING T/F
37
IS-IS 시작하기: 라우팅 테이블 보기
Router1#sh ip route
***************
Gateway of last resort is not set
10.0.0.0 is variably subnetted, 8 subnets, 3masks
C
10.1.3.0 255.255.255.0 is directly connected, Ethernet0
i L2
10.1.2.0 255.255.255.0 [115/30] via 10.1.3.2, Ethernet0
[115/30] via 10.1.3.3, Ethernet0
i L1
10.1.5.0 255.255.255.0 [115/20] via 10.1.4.2, serial 0
******************
KOREA TELECOM NEC
KORNET ENGINEERING T/F
38
3. 네트워크 MAP
 IS-IS의 네트워크 표현
 PseudoNode
KOREA TELECOM NEC
KORNET ENGINEERING T/F
39
IS-IS Network MAP
 IS-IS Network MAP
 Node 종류
1) ES: End System
2) IS: Intermediate System
3) PseudoNode: Broadcast Network
 Link 정보
1) Node 간 연결: 인터페이스 및 PseudoNode로의 연결 정보
2) IP 주소 정보: Node에 연결된 leaf로 표현
ip 10.1.0.0 255.255.0.0
pseudonode
KOREA TELECOM NEC
KORNET ENGINEERING T/F
40
PseudoNode
 PseudoNode
 LAN을 가상 노드로 표현
 DIS: Designated IS (Router)  PseudoNode 생성
Cf. OSPF에서는? DR & BDR
Logical view
Physical view
the DIS
the DIS
a Pseudonode
LAN
ES
KOREA TELECOM NEC
KORNET ENGINEERING T/F
ES
41
PseudoNode: DIS
 DIS
 LAN을 가상 노드로 표현
 DIS: Designated IS (Router)  PseudoNode 생성
Cf. OSPF에서는? DR & BDR
 DIS 결정 방법: Priority(0~127), SNPA(MAC address)
 DIS가 한번 결정되면 해당 DIS가 죽지 않는 한 불변
Cf. Priority = 0 이면 DIS가 될 수 없음
Cf. default Priority = 64
Cf. Priority는 L1, L2에 따라서 다르게 적용될 수 있음
Cf. OSPF에서는? Priority, Router ID, OSPF의 DR은 유동적(Dynamic)
 PseudoNode 이름 붙이기
 IS-IS에서는 peudonode 를 일반 노드와 동일하게 취급
 일반 노드는 System ID로 구분
 Pseudonode는 PseudoNode ID로 구분
- Pseudonode ID = DIS의 system ID + LAN ID(2 octets)
eg. DIS:0000.0000.0012  Psedonode ID: 0000.0000.0012.02
KOREA TELECOM NEC
KORNET ENGINEERING T/F
42
4. 경로 계산
 경로 계산 알고리듬
 LSP란?
 Flooding
 경로 결정 알고리듬
KOREA TELECOM NEC
KORNET ENGINEERING T/F
43
경로 계산 알고리듬의 이해
 IS-IS Metric: Cost
 인터페이스/Level별로 변경 가능
 Default = 10 (대역폭에 무관함)
 출력 인터페이스의 Cost: 양방향의 비용이 다를 수 있음
Cf. OSPF에서는? IS-IS Cost와 유사하나 Deafult는 기준 대역폭(100M)에 대해
서 상대적인 비용으로 결정됩니다.
Cf. PS node에서 라우터로의 Cost는 0입니다.
Cf. 라우터에서 IP Prefix로의 Cost는 조정가능하고 Default=0입니다.
Cf. Passive Interface로 선언된 경우의 IP Prefix로의 Cost는 0입니다.
 IS-IS 경로 계산 알고리듬
 SPF(Shortest Path First; Dijkstra) Algorithm 이용
 2 단계로 계산
- SPF: Node (PS 노드 포함) 간 최단 경로 계산
- PRC(Partial Route Calculation): IP Prefix에 대한 비용 계산
KOREA TELECOM NEC
KORNET ENGINEERING T/F
44
경로 계산 알고리듬의 이해
Router1
Router3
10.2.0.1/16
10.3.0.0/16
10.2.0.2/16
Router4
10.1.0.1/16
10.1.0.2/16
10.4.0.1/16
10.4.0.2/16
Router2
Router5
Router6
KOREA TELECOM NEC
KORNET ENGINEERING T/F
45
경로 계산 알고리듬의 이해
IP 10.2.0.0/16
IP 10.2.0.0/16
IP 10.3.0.0/16
Router4
IP 10.1.0.0/16
IP 10.3.0.0/16
Router3
Router1
Router3.01
Router5
Router2
IP 10.3.0.0/16
IP 10.1.0.0/16
IP 10.3.0.0/16
IP 10.4.0.0/16
Router6
IP 10.4.0.0/16
COST=10
KOREA TELECOM NEC
KORNET ENGINEERING T/F
COST=0
46
경로 계산 알고리듬의 이해:SPF
IP 10.2.0.0/16
IP 10.2.0.0/16
IP 10.3.0.0/16
Router4
IP 10.3.0.0/16
Cost = 10
IP 10.1.0.0/16
Router3
Cost = 20
Router1
Cost = 0
Router3.01
Router5
Router2
Cost = 20
IP 10.3.0.0/16
Cost = 10
Cost = 20
IP 10.1.0.0/16
IP 10.3.0.0/16
IP 10.4.0.0/16
KOREA TELECOM NEC
KORNET ENGINEERING T/F
Router6
IP 10.4.0.0/16
47
경로 계산 알고리듬의 이해:PRC
Cost = 10
IP 10.2.0.0/16
IP 10.2.0.0/16
Cost = 20
IP 10.3.0.0/16
Cost = 30
Router4
Cost = 10
IP 10.1.0.0/16
IP 10.3.0.0/16
Cost = 10
Router3
Cost = 20
Router1
Cost = 0
Router3.01
Router5
Router2
Cost = 30
IP 10.3.0.0/16
Cost = 20
Cost = 10
Cost = 20
IP 10.1.0.0/16
IP 10.3.0.0/16
IP 10.4.0.0/16
Cost = 20
KOREA TELECOM NEC
KORNET ENGINEERING T/F
Router6
IP 10.4.0.0/16
Cost = 30
48
경로 계산 알고리듬의 이해
 SPF
 노드간 거리 계산
 SPF가 구동되는 경우
1) 노드의 변화
- 신규 노드 추가 또는 기존 노드 사망
- 기존 노드의 ID 변경: PS 노드 포함(DIS 변경)
2) 링크의 변화
- 새로운 링크 추가 또는 기존 링크 사망
- Cost 변경
 PRC
 IP Prefix에 대한 거리 계산
 PRC가 구동되는 경우
- SPF에 의해 Shortest Path Tree가 변화한 경우
- IP 정보 변경
KOREA TELECOM NEC
KORNET ENGINEERING T/F
49
경로 계산 알고리듬의 이해
 SPF/PRC의 장점
 IP 정보 변경시에는 PRC만 적용되므로 CPU 부하 감소
 OSPF에서는?
1) OSPF에서는 IP Prefix를 노드로 처리함
2) 따라서 IP 정보 변화시 SPF 구동됨
KOREA TELECOM NEC
KORNET ENGINEERING T/F
50
LSP: IS-IS PDU의 종류
 IS-IS Packet(PDU)의 종류
 4 Types: HELLO(IIH), LSP, CSNP, PSNP
 HELLO: IS-IS HELLO(IIH), Level-1, Level-2: 네이버 탐색 및 Keepalive
 LSP: Link State PDU, Level-1, Level-2  라우팅 정보 전달용
 SNP: Sequence Number PDU  LS Database의 Synchronization에 사용
- CSNP: Complete SNP
- PSNP: Partial SNP
KOREA TELECOM NEC
KORNET ENGINEERING T/F
51
LSP: LSP 이해하기
 LSP의 구성
 L1, L2별로 구성
 단일 노드는 Level별로 단일 LSP를 생성
- 일반 노드 및 PS 노드(DIS가 생성)
 LSP 구성 정보
1) 일반 정보(Header)
- LSP ID: LSP 식별용 ID
- LSP Sequence Number: 동일 LSP의 생성 순서 표시
- LSP Checksum: Error 감지용
- LSP Holdtime: LSP의 잔여 생존 시간
- LSP Type: Level-1, Level-2
- ATT/P/OL: Flag Bits
2) Link 정보(Metric, ID)
- 인접 IS에 대한 정보: PS 노드
- IP Prefix 정보
KOREA TELECOM NEC
KORNET ENGINEERING T/F
52
LSP: LSP 자세히 들여다 보기
 LSP ID 이해하기
 LSP ID: LSP 구별용
 LSP ID의 구성: 3부분으로 구성
- Source ID(6): LSP를 생성한 라우터 또는 DIS(PS 노드)의 System ID
- LAN ID(2): 일반 라우터 LSP는 0, PS 노드의 경우는 non-zero
- LSP Number: LSP Fragmentation Number
* LSP가 MTU보다 큰 경우 Fragmentation 함
 LSP ID 예제
00c0.0040.1234.02-00
(System ID).(LAN ID) – (LSP Number)
* PS Node의 LSP
cf. Deafult Setting에서는 System ID가 hostname으로 대치되어 보입니다.
 Router1.02-00
KOREA TELECOM NEC
KORNET ENGINEERING T/F
53
LSP: LSP 자세히 들여다 보기
 LSP Sequence Number
 동일 LSP를 구별: SN이 클 수록 신규 LSP임(1 부터 시작)
 Holding Time
 LSP의 잔여 생존 시간(Remaining Lifetime)
 Max-LSP-Lifetime에서 시작하여 시간에 따라 감소함
 Max-LSP-Lifetime이 0이 되면? 해당 LSP를 청소합니다.
 ATT:Attached Bit
 L1/L2 라우터가 자신이 다른 Area에 접근할 수 있음을 표시(=1)
 L1/L2 라우터가 L1 LSP에 표시함
 L1-only 라우터는 동일 Area에 속한 L1/L2 라우터의 LSP에 표시된 ATT bit
을 보고 자신의 Area로부터 나가는 출구(Exit)로 인식함
 P Bit
 Partition Repair Bit: 구현되지 않았음(=0)
 OL:Overload Bit
 추후 설명
KOREA TELECOM NEC
KORNET ENGINEERING T/F
54
LSP: LSDB 이해하기
 LSDB
 각 라우터는 Level별로 LS DB를 유지
Cf. OSPF는 Area별로 유지
 LSP는 LSP Header와 내용으로 구성됨
 SRM Bit: 인터페이스별로 해당 LSP를 전달할 필요가 있음을 표시함
 SSM Bit: 인터페이스별로 해당 LSP에 대해서 갱신 요청 필요가 있음을 표시(PSNP)
KOREA TELECOM NEC
KORNET ENGINEERING T/F
55
LSP: LSP 엿보기
Router1(L1/L2)
Router3(L1/L2)
10.2.0.1/16
10.2.0.2/16
10.3.0.0/16
Router4(L2)
10.1.0.1/16
10.1.0.2/16
10.4.0.1/16
10.4.0.2/16
Router2(L1)
Router5(L1/L2)
Router6(L2)
QUIZ
위와 같은 네트워크에는 몇 개의 LSP가 존재할까요?
KOREA TELECOM NEC
KORNET ENGINEERING T/F
56
LSP: LSP 엿보기
Router1(L1/L2)
Router3(L1/L2)
10.2.0.1/16
10.3.0.0/16
10.2.0.2/16
Router4(L2)
10.1.0.1/16
10.1.0.2/16
10.4.0.1/16
10.4.0.2/16
Router2(L1)
Router5(L1/L2)
Router6(L2)
Router1>show isis database
IS-IS Level-1 Link State Database:
LSPID
LSP Seq Num
Router1.00-00
*0x0000008F
Router2.00-00
0x00000509
IS-IS Level-2 Link State Database:
Router1.00-00
*0x0000009D
Router3.00-00
0x00000090
Router4.00-00
0x0000035
Router5.00-00
0x00000091
Router5.02-00
0x000004A3
Router6.00-00
0x00000463
LSP Checksum LSP Holdtime ATT/P/OL
0xAC98
790
1/0/0
0x99A9
1134
0/0/0
0x02CB
0x517F
0x4997
0x9E9E
0x5876
0x1A09
1194
1010
1002
679
640
679
0/0/0
0/0/0
0/0/0
0/0/0
0/0/0
0/0/0
QUIZ: DIS는 누구일까요?
KOREA TELECOM NEC
KORNET ENGINEERING T/F
57
LSP: LSP 엿보기
Router1(L1/L2)
Router3(L1/L2)
10.2.0.1/16
10.2.0.2/16
10.3.0.0/16
Router4(L2)
10.1.0.1/16
10.1.0.2/16
10.4.0.1/16
10.4.0.2/16
Router2(L1)
Router5(L1/L2)
Router6(L2)
Router1>show isis database level-1 Router1.00-00 detail
IS-IS Level-1 LSP Router1.00-00
LSPID
LSP Seq Num LSP Checksum LSP Holdtime
Router1.00-00
* 0x00000092 0xA68B
773
Area Address: 01
NLPID:
0xCC
Hostname: Router1
IP Address: 1.1.1.1
Metric: 10
IP 10.1.0.0 255.255.0.0
Metric: 10
IP 10.2.0.1 255.255.0.0
KOREA TELECOM NEC
KORNET ENGINEERING T/F
ATT/P/OL
1/0/0
58
LSP: LSP 엿보기
Router1(L1/L2)
Router3(L1/L2)
10.2.0.1/16
10.2.0.2/16
10.3.0.0/16
Router4(L2)
10.1.0.1/16
10.1.0.2/16
10.4.0.1/16
10.4.0.2/16
Router2(L1)
Router5(L1/L2)
Router6(L2)
Router1>show isis database level-2 Router5.02-00 detail
IS-IS Level-2 LSP Router5.02-00
LSPID
LSP Seq Num LSP Checksum LSP Holdtime
Router5.02-00
* 0x00000092 0xA68B
773
Metric: 0
IS Router3.00
Metric: 0
IS Router4.00
Metric: 0
IS Router5.00
Metric: 0
IS Router6.00
ATT/P/OL
0/0/0
QUIZ LSP Router3.00-00은 어떻게 구성되어 있을까요?
KOREA TELECOM NEC
KORNET ENGINEERING T/F
59
LSP: OSPF LSA와 비교
 LSA (Link State Advertisement)
 OSPF의 라우팅 정보 전달용
 LSA는 하나의 Packet이 아니고 UPDATE Packet을 구성하는 요소임
 LSA는 라우터 단위로 생성된다기 보다는 복적지 단위로 생성된다고 볼 수 있음
 LSA Type
Type
1
2
3
4
5
6
7
8
9-11
KOREA TELECOM NEC
KORNET ENGINEERING T/F
LSA
Router LSA
Network LSA
Network Summary LSA
ASBR Summary LSA
AS External LSA
Group Membership LSA
Not-So-Stubby Area LSA
External Attributes LSA
Opaque LSAs
60
LSP: Flooding
 LSP Synchronization
 LS 라우팅 프로토콜에서는 LS Database의 Synchronization이 가장 중요
 IS-IS의 DB Sync 방법: P-T-P, Broadcast Network
 LSP Synchronization: SNP Packet 이해하기
 CSNP
1) LS DB의 내용에 대한 Summary
- LSP ID, SEQ NUM, Checksum, Holding Time
2) 용도
- DIS가 생성
- LAN에서의 DB Sync를 위해서 사용됨
Cf. OSPF의 Database Description Packet과 유사합니다.
 PSNP PDU
- P-T-P에서의 정보 전달 및 ACK용
-CSNP와 구성은 같으나 일부 LSP 정보만 포함됨
Cf. OSPF의 Link State Request Packet과 유사합니다.
KOREA TELECOM NEC
KORNET ENGINEERING T/F
61
LSP: Flooding P-T-P
다른 라우터로부터 LSP를 받음
Id = x, seqnr = 22
새로운 LSP인걸 !!
LS DB에 넣고
Flooding 시작
SRM bit set (보내야 하는 LSP임을 표시)
P2P로 전송
LSP ->
음 LSP가 왔군.
내것은 seq nr =20이니까
이게 더 새로운 것이네.
LSDB에 넣고
Ack해야지!
id=x seqnr=22
<- PSNP
Ack가 왔네!
그럼 SRM bit을 clear하고 끝!
KOREA TELECOM NEC
KORNET ENGINEERING T/F
id=x seqnr=22
62
LSP: Flooding LAN
 DIS
 DIS(DR)이 Database Sync를 담당
 DIS의 역할은? 1) PS 노드에 대한 LSP 생성 2) LAN에서의 DB Sync
 LAN에서의 Flooding
 DIS는 10초에 한번씩 PSNP를 Multicasting
Cf. Multicasting 방법: MAC의 Multicasting 사용
0180.c2000.0015: AllL2IS
0180.c2000.0014: AllL1IS
 다른 IS는 CSNP와 자신의 LSDB를 비교
- 만일 자신의 DB에 없는 LSP나 새로운 LSP가 존재하면?
PSNP를 보냄
- 만일 CSNP에 자신의 DB에 있는 LSP가 없으면?
해당 LSP를 multicasting함
KOREA TELECOM NEC
KORNET ENGINEERING T/F
63
LSP: Flooding LAN
나는야 DIS
나?
그냥 라우터
a LAN
<- LSP
으악!!
LSP가 Drop 됐다!!! 
흠……
LSP y,z는 맞는데
내 LSP x는 옛날 거네…
보내달라고 하자!!!
PSNP ->
id=x
seqnr=21
새로운 게 왔으니….
DB에 넣고.
하지만 PSNP(ACK)는 안 보냅니다!!!
KOREA TELECOM NEC
KORNET ENGINEERING T/F
<- CSNP
id=y seqnr=...
id=x seqnr=22
id=z ...
<- LSP
id=x seqnr=22
음냐. 새로운 LSP가 왔네!
Id=x, seqnr=22
LSDB에 넣고
Flooding 준비
SRM bit을 setting 하고
해당 LSP를 전달
바로 SRM bit을 off !!!
시간이 됐으니까
CSNP를 날려야지.
오. 저자가 가진 LSP가
옛날 것이군.
새로 보내 주자!!
64
LSP: Flooding 좀 더 들여다보기
 LSP Lifetime
 모든 LSP는 Holding time(Remaing Lifetime)을 가지고 다님
 Default = 20 분
 LSDB에서 주기적으로 감소
 Periodic Refresh
 자신이 보낸 LSP를 주기적으로 갱신(Seq number 증가 +1)
 Default = 15분
Cf. 안정된 망에서는 주기를 증가시키는 것이 바람직합니다.
최대 18.7 시간까지 늘릴 수 있습니다.
Cf. OSPF에서는 MasAge = 1시간(0에서부터 증가합니다.)
 LSP 청소하기(Purge)
 자신의 DB에 있는 LSP의 Holding time이 0이 되면?
해당 LSP Header를 Flooding 함(Holding time =0 으로 setting)
다른 IS는 해당 LSP를 제거합니다.
 DIS가 바뀌면? 새로운 DIS가 기존 PS LSP를 청소함
KOREA TELECOM NEC
KORNET ENGINEERING T/F
65
LSP: Flooding in OSPF
 OSPF Flooding
 P-T-P는 유사함: Link State Acknowledge Packet 사용 ACK
 LAN에서는 다름
 OSPF Flooding in LAN
 새로운 LSA가 오면?
해당 라우터가 DR, DBR(AllDRouters)로 Multicating(IP Layer)
 DR이 새로운 LSA를 받으면
먼저 ACK를 하고
다른 neighbor로 전달(Multicasting)
cf. 만일 시간내에 새로운 LSA가 전달되지 않으면 BDR이 전달
각 neighbor별로 ACK를 기다림(Neighbor별 상태 유지 필요)
 ACK가 오면
해당 neighbor에 대한 상태를 clear
 ACK가 안 오면
해당 라우터로 재전송(Unicasting)
KOREA TELECOM NEC
KORNET ENGINEERING T/F
66
LSP: 경로 결정 방법
 경로 결정 원칙
 동일 Area내에서의 경로 선호(External 구별 없음)
 동일 Area내에서는 짧은 경로를 선택
KOREA TELECOM NEC
KORNET ENGINEERING T/F
67
5. IS-IS 좀더 깊이 들어가기
1. 인터페이스 파라미터 조정하기
2. LSP Flooding 파라미터 조정하기
3. Redistribution 설정하기
4. Address Summary 설정하기
KOREA TELECOM NEC
KORNET ENGINEERING T/F
68
인터페이스 파라미터 조정하기
 Hello Interval 조정하기
 인터페이스/Level별로 Hello interval 조정
 command: isis hello-interval second {level-1 | level-2}
 default = 10 초
 P-T-P
 level-1, level-2의 구별 없음
 P-T-P에서 Hello는 하나의 Type만 존재
 LAN
 level-1, level-2 구별 가능
 Hello interval 조정시 고려 사항
 Overhead vs. Fast Detection
Cf. IS-IS neighbor는 hello interval이 일치할 필요가 없습니다.
OSPF는 반드시 일치하여야 합니다.
KOREA TELECOM NEC
KORNET ENGINEERING T/F
69
인터페이스 파라미터 조정하기
 Dead Interval 조정하기
 인터페이스/Level별로 Dead interval 조정
 command: isis hello-multiplier multiplier {level-1 | level-2}
 default = 3
 dead interval(holding time)
 neighbor가 down되었음을 선언하기 위해 필요한 최소 시간
 IS-IS에서는 dead interval을 따로 설정하지 않고 hello interval의
배수로 규정
 Level
 P-T-P: level 구별 없음
 LAN: level-1, level-2 구별 가능
Cf. IS-IS neighbor는 dead interval이 일치할 필요가 없습니다.
OSPF는 반드시 일치하여야 합니다.
KOREA TELECOM NEC
KORNET ENGINEERING T/F
70
인터페이스 파라미터 조정하기
 Hello Interval/Holding Time 조정 예제
interface serial 1
ip router isis
isis hello-interval 6 level-1
isis hello-multiplier 10 level-1
KOREA TELECOM NEC
KORNET ENGINEERING T/F
71
인터페이스 파라미터 조정하기
 Metric 바꾸기
 인터페이스/Level별로 metric 값 조정
 isis metric default-metric {level-1 | level-2}
 default = 10
 level을 설정하지 않으면 level-1으로 가정함
 예제
interface serial 0
isis metric 15 level-1
 고려 사항
 IS-IS에서는 대역폭에 관계없이 default가 10으로 설정됨
 따라서 필요시 반드시 metric을 조정할 필요가 있습니다.
KOREA TELECOM NEC
KORNET ENGINEERING T/F
72
인터페이스 파라미터 조정하기
 Priority 바꾸기
 인터페이스/Level별로priority 값 조정(DIS 선정용)
 isis priority value {level-1 | level-2}
 default = 64
 예제
interface ethernet 0
isis priority 80 level-1
 고려 사항
 DIS 선정시 High Priority 라우터가 선정됨
 Tie 발생시에는 MAC Address로 선정
KOREA TELECOM NEC
KORNET ENGINEERING T/F
73
인터페이스 파라미터 조정하기
 LSP 전달 관련 파라미터들
 isis lsp-interval
 default = 33초
 연속적인 LSP 전송 간격 규정
 isis retransmit-interval
 default = 5초
 P-T-P에서 동일 LSP의 재전송을 위한 최소 시간 간격 설정
 isis retransmit-throttle-interval
 default = isis lsp-interval (milisecond)
 P-T-P에서 임의의 LSP의 재전송을 위한 최소 시간 간격 설정
 isis csnp-interval
 default = 10초
 DIS가 CSNP를 전달가는 간격을 규정
주의: 상기 파라미터들은 가급적 조정하지 마십시오.
KOREA TELECOM NEC
KORNET ENGINEERING T/F
74
LSP Flooding 파라미터 조정하기
 LSP Flooding 파라미터 조정하기
 max-lsp-lifetime
 default = 20분
 LSP의 Maximum Age 조정
 lsp-refresh-interval
 default = 15분
 Source가 LSP를 주기적으로 갱신하는 간격
 고려사항
 lsp-refresh-time < max-lsp-lifetime
 가능한 한 크게 설정(지침 참조)
KOREA TELECOM NEC
KORNET ENGINEERING T/F
75
Redistribution 설정하기
 Redistribution
 command
redistribute protocol [process-id] {level-1 | level-1-2 | level-2} [metric
metric-value] [metric-type type-value]
 protocol [process-id]: 대상 프로토콜 지정
 {level-1|level-1-2|level-2}: 재분배 level 지정
 [metric metric-value]: 재분배 대상 route의 metric 지정
 [metric-type type-value]: internal 또는 external
- internal: IS-IS metric과 비교 가능(default)
- external: IS-IS metric과 비교 불가
 예제
router isis
redistribute bgp 120 metric 5 metric-type external
 주의
redistribution은 꼭 필요시만 사용하고 가능하면 distribution list와
함께 사용하십시오.
KOREA TELECOM NEC
KORNET ENGINEERING T/F
76
IP 주소 Summary 하기
 IS-IS에서의 Summary
 모든 IP 주소에 대해서 summary 가능
 level-1, level-2, 외부 주소(redistribution)
 Redistribution 시점 또는 L1/L2 라우터에서 적용됨
 command
summary-address address mask {level-1 | level-1-2 | level-2}
 Level별로 설정
 고려사항
 Summary가 설정되지 않는 경우
- L1/L2 라우터는 L1 Route를 그대로 LSP에 추가함
- 단 해당 route가 routing table상에서 IS-IS route로 존재하여햐 함
 Summary 설정시 동작
- 해당 summary에 속하는 specific 주소 대신 summary만 전달
- metric은 해당 specific 주소 중 최소값
- summary는 해당 range에 속하는 specific 주소가 최소한 하나라도
존재하여야 동작함
KOREA TELECOM NEC
KORNET ENGINEERING T/F
77
IP 주소 Summary 하기
 IS-IS에서의 Summary 예제
 Redistribution과 summary
router isis
summary-address 55.0.0.0 255.0.0.0 level-1-2
redistribute static ip metric 44 level-1-2
passive-interface Loopback0
net 49.0001.1921.6800.1001.00
!
ip route 55.1.0.0 255.255.0.0 Null0
ip route 55.2.0.0 255.255.0.0 Null0
• Redistribution된 route는 55.0.0.0/8로 축약되어 전달됨(level 1/level 2)
• static 재분배시 static ip로 설정하는 것을 기억하십시오!!!
KOREA TELECOM NEC
KORNET ENGINEERING T/F
78
IP 주소 Summary 하기
 IS-IS에서의 Summary 예제
 L1 정보의 summary
router isis
summary-address 192.168.0.0 255.255.0.0 level-1-2
passive-interface Loopback0
net 49.0001.1921.6800.1001.00
• 192.168.0.0/16에 속하는 specific 주소는 summary되어 L2로 전달됨
• 동일 area내의 level-1 LSP는 영향이 없습니다.(cf. route leaking시 다름)
QUIZ
i 192.168.2.0/24 [115/30]
i 192. 168.3.0/24 [115/25]
위 경우 summary된 metric은?
만일 routing table에 192.168.0.0/16에 속하는 route가 모두 EIGRP인 경우는?
KOREA TELECOM NEC
KORNET ENGINEERING T/F
79
6. IS-IS 정보 보기
1. CLNS 정보 보기
2. Database 보기
3. Spf-log 보기
KOREA TELECOM NEC
KORNET ENGINEERING T/F
80
CLNS 정보 보기
 show clns
 언제 쓸까요?
• clns network에 대한 정보를 보고 싶을 때 사용
Cf. IS-IS 구동시 자동적으로 clns routing이 구동됩니다.
 어떻게 쓸까요?
show clns
 예제
Rtr-B> sh clns
Global CLNS Information:
2 Interfaces Enabled for CLNS
NET: 49.0001.1921.6800.1001.00
Configuration Timer: 60, Default Holding Timer: 300, Packet Lifetime 64
ERPDU's requested on locally generated packets
Intermediate system operation enabled (forwarding allowed)
IS-IS level-1-2 Router:
Routing for Area: 49.0001
KOREA TELECOM NEC
KORNET ENGINEERING T/F
81
CLNS 정보 보기
 show clns neighbors
 언제 쓸까요?
• clns neighbor(IS 및 ES) 정보를 display 합니다.
 어떻게 쓸까요?
show clns neighbors [type number] [detail]
 예제
router# show clns neighbors
System Id
0000.0000.0007
0000.0C00.0C35
0800.2B16.24EA
0800.2B14.060E
0000.0C00.3E51
0000.0C00.62E6
0A00.0400.2D05
SNPA
aa00.0400.6408
0000.0c00.0c36
aa00.0400.2d05
aa00.0400.9205
*HDLC*
0000.0c00.62e7
aa00.0400.2d05
Interface
Ethernet0
Ethernet1
Ethernet0
Ethernet0
Serial1
Ethernet1
Ethernet0
State
Init
Up
Up
Up
Up
Up
Init
Holdtime
277
91
29
1698
28
22
24
Type
IS
L1
L1L2
ES
L2
L1
IS
Protocol
ES-IS
IS-IS
IS-IS
ES-IS
IS-IS
IS-IS
ES-IS
- SNPA: Data Link 주소, State: Init 또는 Up (정상상태 = Up)
- Holdtime: adjacency의 time-out 시간
- Type: Adjacency type (정상상태에서는 L1, L2 또는 L1L2로 잡혀야 합니다.)
- Protocol: Adjaceny 관계를 설정하기 위해 사용된 프로토콜
(정상상태 = IS-IS)
KOREA TELECOM NEC
KORNET ENGINEERING T/F
82
CLNS 정보 보기
 show clns neighbors(계속)
 예제
router# show clns neighbors detail
System Id
Interface SNPA
State Holdtime
0102.5555.0036 Et1/1
0030.80aa.9b81
Up
23
Area Address(es):49.0002
IP Address(es): 175.1.19.36*
Uptime: 00:00:51
0000.0000.0001 Et1/1
0030.9655.201d
Up
23
Area Address(es): 49.0002
IP Address(es): 175.1.19.22* 123.120.33.54 30.12.33.253
Uptime: 00:25:30
Type
L1
Protocol
IS-IS
L1L2
IS-IS
- IP address: 직접 연결된 인터페이스의 IP 주소(들)
- *: 해당 IP 주소가 next-hop으로 사용됨을 의미함
- Uptime: 해당 neighbor와의 adjacency가 설정된 후 지속시간
* Uptime field를 관찰하여 neighbor adjacency의 변동 내역을 파악할 수 있습니다.
KOREA TELECOM NEC
KORNET ENGINEERING T/F
83
CLNS 정보 보기
 show clns neighbors(계속)
 예제
router# show clns neighbors detail
System Id
Interface SNPA
State Holdtime
0102.5555.0036 Et1/1
0030.80aa.9b81
Up
23
Area Address(es):49.0002
IP Address(es): 175.1.19.36*
Uptime: 00:00:51
0000.0000.0001 Et1/1
0030.9655.201d
Up
23
Area Address(es): 49.0002
IP Address(es): 175.1.19.22* 123.120.33.54 30.12.33.253
Uptime: 00:25:30
Type
L1
Protocol
IS-IS
L1L2
IS-IS
- IP address: 직접 연결된 인터페이스의 IP 주소(들)
- *: 해당 IP 주소가 next-hop으로 사용됨을 의미함
- Uptime: 해당 neighbor와의 adjacency가 설정된 후 지속시간
* Uptime field를 관찰하여 neighbor adjacency의 변동 내역을 파악할 수 있습니다.
KOREA TELECOM NEC
KORNET ENGINEERING T/F
84
CLNS 정보 보기
 show is-neighbors
 언제 쓸까요?
• clns neighor 정보 중 IS 정보를 보여줍니다.
 어떻게 쓸까요?
show clns is-neighbors [type number] [detail]
 예제
router# show clns is-neighbors
System Id
0000.0C00.0C35
0800.2B16.24EA
0000.0C00.3E51
0000.0C00.62E6
Interface
Ethernet1
Ethernet0
Serial1
Ethernet1
State
Up
Up
Up
Up
Type
L1
L1L2
L2
L1
Priority
64
64/64
0
64
Circuit Id
0000.0C00.62E6.03
0800.2B16.24EA.01
04
0000.0C00.62E6.03
Format
Phase V
Phase V
Phase V
Phase V
- Cuircuit ID: 해당 라우터 입자에서 본 인터페이스에 대한 circuit ID
cf. LAN의 경우 circuit ID = DIS의 System ID + LAN ID
- Format: Phase V (DECNet Phase V)  언제나 동일
KOREA TELECOM NEC
KORNET ENGINEERING T/F
85
CLNS 정보 보기
 show clns interface
 언제 쓸까요?
• clns interface 정보를 display 합니다.
 어떻게 쓸까요?
show clns interface [type number]
 예제
Rtr-B> sh clns int POS2/0/0
POS2/0/0 is up, line protocol is up
Checksums enabled, MTU 4470, Encapsulation PPP
ERPDUs enabled, min. interval 10 msec.
RDPDUs enabled, min. interval 100 msec., Addr Mask enabled
Congestion Experienced bit set at 4 packets
CLNS fast switching disabled
CLNS SSE switching disabled
DEC compatibility mode OFF for this interface
Next ESH/ISH in 47 seconds
Routing Protocol: IS-IS
Circuit Type: level-1-2
Interface number 0x0, local circuit ID 0x100
Level-1 Metric: 10, Priority: 64, Circuit ID: 1921.6800.2002.00
Number of active level-1 adjacencies: 0
Level-2 Metric: 10, Priority: 64, Circuit ID: 1921.6800.1001.00
Number of active level-2 adjacencies: 1
Next IS-IS Hello in 2 seconds
KOREA TELECOM NEC
KORNET ENGINEERING T/F
86
CLNS 정보 보기
 show clns protocol
 언제 쓸까요?
• IS-IS (및 ISO IGRP) 프로토콜 정보를 보여줍니다.
 어떻게 쓸까요?
show clns protocol
 예제
Rtr-B> show clns protocol
IS-IS Router: <Null Tag>
System Id: 1921.6800.1001.00 IS-Type: level-1-2
Manual area address(es):
49.0001
Routing for area address(es):
49.0001
Interfaces supported by IS-IS:
FastEthernet4/0/0 - IP
POS2/0/0 - IP
Redistributing:
static
Distance: 110
KOREA TELECOM NEC
KORNET ENGINEERING T/F
87
CLNS 정보 보기
 show clns traffic
 언제 쓸까요?
• 해당 라우터가 받은 CLNS(IS-IS PDU 포함) PDU 정보를 표시.
 어떻게 쓸까요?
show clns traffic
 예제
Rtr-B> show clns traffic
***********
IS-IS:
IS-IS:
IS-IS:
IS-IS:
IS-IS:
IS-IS:
IS-IS:
IS-IS:
IS-IS:
IS-IS:
IS-IS:
IS-IS:
IS-IS:
IS-IS:
IS-IS:
IS-IS:
IS-IS:
IS-IS:
KOREA TELECOM NEC
KORNET ENGINEERING T/F
Level-1 LSPs sourced (new/refresh): 7/1
Level-2 LSPs sourced (new/refresh): 5/0
Level-1 LSPs flooded (sent/rcvd): 5/5
Level-2 LSPs flooded (sent/rcvd): 1/6
LSP Retransmissions: 0
Level-1 CSNPs (sent/rcvd): 0/82
Level-2 CSNPs (sent/rcvd): 1/1
Level-1 PSNPs (sent/rcvd): 1/0
Level-2 PSNPs (sent/rcvd): 3/1
Level-1 DR Elections: 2
Level-2 DR Elections: 1
Level-1 SPF Calculations: 3
Level-2 SPF Calculations: 3
Level-1 Partial Route Calculations: 0
Level-2 Partial Route Calculations: 0
LSP checksum errors received: 0
Update process queue depth: 0/200
Update process packets dropped: 0
88
CLNS 정보 보기
 show isis topology
 언제 쓸까요?
• connected router 정보를 보여줍니다.
 어떻게 쓸까요?
show isis topology
 예제
Rtr-B#show isis topology
IS-IS paths to level-1 routers
System Id
Metric Next-Hop
Rtr-B
-1921.6800.1005 10
1921.6800.1005
IS-IS paths to level-2 routers
System Id
Metric
Next-Hop
Rtr-B
-Rtr-C
10
Rtr-C
KOREA TELECOM NEC
KORNET ENGINEERING T/F
Interface
SNPA
Se1
*HDLC*
Interface
SNPA
Se0
*HDLC*
89
IS-IS Databse 보기
 show isis database
 언제 쓸까요?
• IS-IS Database 정보를 보여줍니다.
 어떻게 쓸까요?
show isis database [level-1] [level-2] [l1] [l2] [detail] [lspid]
 예제
Router# show isis database
IS-IS Level-1 Link State Database
LSPID
LSP Seq Num
0000.0C00.0C35.00-00
0x0000000C
0000.0C00.40AF.00-00*
0x00000009
0000.0C00.62E6.00-00
0x0000000A
0000.0C00.62E6.03-00
0x00000006
0800.2B16.24EA.00-00
0x00001D9F
0800.2B16.24EA.01-00
0x00001E36
LSP Checksum
0x5696
0x8452
0x38E7
0x82BC
0x8864
0x0935
LSP Holdtime
792
1077
383
384
1188
1198
ATT/P/OL
0/0/0
1/0/0
0/0/0
0/0/0
1/0/0
1/0/0
IS-IS Level-2 Link State Database
LSPID
LSP Seq Num
0000.0C00.0C35.03-00
0x00000005
0000.0C00.3E51.00-00
0x00000007
0000.0C00.40AF.00-00*
0x0000000A
LSP Checksum
0x04C8
0xAF96
0x3AA9
LSP Holdtime
792
758
1077
ATT/P/OL
0/0/0
0/0/0
0/0/0
KOREA TELECOM NEC
KORNET ENGINEERING T/F
90
IS-IS Databse 보기
 show isis database (계속)
 예제(계속)
Rtr-B#show isis database 1921.6800.1001.00-00 detail
IS-IS Level-1 LSP Rtr-B.00-00
LSPID
LSP Seq Num LSP Checksum LSP Holdtime
Rtr-B.00-00
* 0x00000020
0x0C24
424
Area Address: 49.0001
NLPID:
0xCC
Hostname: Rtr-B
IP Address:
192.168.1.1
Metric: 0
IP 192.168.1.1 255.255.255.255
Metric: 10
IP 192.168.222.0 255.255.255.0
Metric: 10
IP 192.168.120.0 255.255.255.0
Metric: 10
IS 1921.6800.1005.00
IS-IS Level-2 LSP Rtr-B.00-00
LSPID
LSP Seq Num LSP Checksum LSP Holdtime
Rtr-B.00-00
* 0x00000025
0x7B99
1186
Area Address: 49.0001
NLPID:
0xCC
Hostname: Rtr-B
IP Address:
192.168.1.1
Metric: 10
IS Rtr-C.00
Metric: 10
IP 192.168.120.0 255.255.255.0
Metric: 0
IP 192.168.1.1 255.255.255.255
Metric: 20
IP 192.168.1.5 255.255.255.255
Metric: 10
IP 192.168.222.0 255.255.255.0
KOREA TELECOM NEC
KORNET ENGINEERING T/F
ATT/P/OL
1/0/0
ATT/P/OL
0/0/0
91
Spf-log 보기
 show isis spf-log
 언제 쓸까요?
• IS-IS가 언제, 왜 SPF를 구동했는지의 정보를 보여줍니다.
 어떻게 쓸까요?
show isis spf-log
KOREA TELECOM NEC
KORNET ENGINEERING T/F
92
Spf-log 보기
 show isis spf-log(계속)
 예제
Router# show isis spf-log
When
Duration
00:15:46
3124
00:15:24
3216
00:15:19
3096
00:14:54
3004
00:14:49
3384
00:14:23
2932
00:05:18
3140
00:03:54
3144
00:03:49
2908
00:03:28
3148
00:03:15
3054
00:02:53
2958
00:02:48
3632
00:02:23
2988
00:02:18
3016
00:02:14
2932
00:02:09
2988
00:01:54
3228
00:01:38
3120
Level 1 SPF log
Nodes Count
40
1
41
5
41
1
41
2
41
1
41
3
41
1
41
1
41
1
41
3
41
1
41
1
41
2
41
1
41
1
41
1
41
2
41
1
41
3
Last trigger LSP
milles.00-00
milles.00-00
deurze.00-00
milles.00-00
milles.00-01
milles.00-00
milles.01-00
milles.01-00
bakel.00-00
milles.00-00
mortel.00-00
milles.00-00
milles.00-01
gemert.00-00
bakel.00-00
bakel.00-00
milles.00-00
rips.03-00
Triggers
TLVCODE
TLVCODE NEWLSP
TLVCODE
ATTACHFLAG LSPHEADER
TLVCODE
TLVCODE
PERIODIC
TLVCODE
TLVCODE
TLVCODE TLVCONTENT
TLVCODE
TLVCODE
NEWADJ TLVCODE
TLVCODE
TLVCODE
TLVCONTENT
TLVCONTENT
TLVCODE
TLVCONTENT
- When: 시작 시간(최종 20개만 display 됨)
- Duration: 소요 시간(milisecond)
- Nodes: SPF 계산에 사용된 노드(PS 노드 포함)의 수
KOREA TELECOM NEC
KORNET ENGINEERING T/F
93
Spf-log 보기
 show isis spf-log(계속)
 예제(계속)
- Count: SPF run을 발생시킨 event의 수
(일반적으로 SPF를 최초로 발생시킨 event이후 5초를 기다림)
- Last Trigger LSP: SPF를 동작시킨 event 중 마지막 LSP의 id
- Triggers: SPF를 발생시킨 event의 목록
• Last Trigger LSP를 보면 네트워크에 불안정성을 발생한 노드의 추적이 가능함
• Trigger 항목 예시
- PERIODIC: 주기적으로 계산(lsp-refresh-interval 단위)
- NEWSYSID: 새로운 System ID(NET)가 설정됨
- NEWLEVEL: 새로운 Level이 설정됨(is-type)
- NEWMETRIC: 새로운 metric이 인터페이스에 설정됨(metric)
- NEWADJ: 새로운 neighbor 발견
- NEWLSP: 새로운 LSP 발생
- LSPEXPIRED: LSP가 expire 됨(max-lsp-lifetime)
- LSPHEADER: LSP Header에서 ATT/P/OL bit나 is-type이 변경됨
- TLVCODE: TLV code가 맞지 않음(새로운 TLV 발생)
- TLVCONTENT: TLV content의 변경(보통 adjacency 변경시 발생)
KOREA TELECOM NEC
KORNET ENGINEERING T/F
94
7. IS-IS Troubleshooting
1. Troubleshooting 순서
2. Adjacency
3. LSP
4. SPF
5. Monitoring
KOREA TELECOM NEC
KORNET ENGINEERING T/F
95
Troubleshooting 순서
 IS-IS에서의 Troubleshooting 순서
 Adjaceny
 LSP의 내용
 Flooding
 SPF 계산
 성능 감시
KOREA TELECOM NEC
KORNET ENGINEERING T/F
96
Adjacecny
 Troubleshooting Adjacecny
 무엇을?
- Hello Packet이 전달되는가?
- Neighbor 관계가 제대로 설정되었는가?
 Hello Packet이 제대로 전달되는가?
- Interface 검사: interface up/line protocol up
- show clns neighbor (is-neighbor)
- debug isis adj-packet: debugging
 Adjacecny가 제대로 설정되었는가?
- show clns neighbor: Protocol = IS-IS (not ES-IS), State=UP(not Init)
- 인터페이스에 ip router isis가 설정되었는지 확인
- is-type/area 확인
- 기타: network type(P-T-P, LAN), ip address
KOREA TELECOM NEC
KORNET ENGINEERING T/F
97
LSP
 Troubleshooting LSP
 무엇을?
- LSP의 내용이 올바른가?
- LSP가 제대로 전달되는가?
- LSP가 제대로 발생되는가?
 LSP의 내용이 올바른가?
- show isis database detail
- 내용 확인: is neighbor/metric/ip prefix
 LSP가 제대로 전달되는가?
- show isis database
sequence number, checksum 및 내용 확인
- show clns traffic
LSP가 전달/도착했는가?
KOREA TELECOM NEC
KORNET ENGINEERING T/F
98
LSP
 Troubleshooting LSP(계속)
 LSP가 제대로 발생되는가?
- show isis spf-log
trigger event 확인
- show clns traffic
PRC 확인?
KOREA TELECOM NEC
KORNET ENGINEERING T/F
99
SPF
 Troubleshooting SPF
 무엇을?
- spf가 경로를 제대로 계산하는가?
 spf가 경로를 제대로 계산하는가?
- show isis topology
다른 라우터로의 경로 확인
- show ip route
라우팅 테이블 확인
- debugging: debug-spf-events, debug-spf-stats
KOREA TELECOM NEC
KORNET ENGINEERING T/F
100
성능감시
 Monitoring IS-IS
 무엇을?
- IS-IS 프로세스가 CPU에 주는 부하를 감시합니다.
 성능 감시
- show process cpu
Adjacency 관련: Hello, DIS, Adjacency 유지
Update 관련: SPF 계산 및 Flooding
• 일반적으로 1% 이내
• Update이 순간적으로 올라갈 수 있으나 지속적으로 20%를 넘지않
는한 OK!
KOREA TELECOM NEC
KORNET ENGINEERING T/F
101
8. IS-IS 고급 기능
1. Dynamic Hostname Resolution
2. Overload Bit
3. Wide Metric
4. Route Leaking
5. Hello Padding
6. 기타
KOREA TELECOM NEC
KORNET ENGINEERING T/F
102
Dynamic Hostname Resolution
 Dynamic Hostname Resolution
 무엇일까요?
- 라우터 및 LSP를 System ID 대신 라우터의 hostname으로 표시.
- LSP를 통해 라우터의 hostname을 전달
 어떻게 쓰나요?
- Default로 ON!
- Disable하려면
router isis
no dynamic-hostname
 관련 명령어
- show isis hostname
Level
2
KOREA TELECOM NEC
KORNET ENGINEERING T/F
System ID
Dynamic Hostname (notag)
2222.2222.2222
Rtr-B
* 1111.1111.1111
Rtr-A
103
Overload Bit 설정하기
 Booting 시 Overload Bit 설정하기
 무엇일까요?
- overload bit: 라우터의 LSP 보관 메모리 부족을 표시.
- overload bit이 setting되면 다른 라우터는 해당 라우터를 통과
라우터로 사용하지 않음(단, 해당 라우터에 연결된 정보는 보냄)
- 라우터 booting시 라우팅 테이블이 완전하지 않을 경우 라우팅
불안정성을 해소하기 위해 설정할 수 있음
 어떻게 쓰나요?
- Rtr-A(config-router)#set-overload-bit on-startup ?
<5-86400> Time in seconds to advertise ourself as overloaded after reboot
- Booting후 overload bit이 해제되는 시간을 표시
 관련 명령어
- set-overload-bit on-startup wait-for-bgp
KOREA TELECOM NEC
KORNET ENGINEERING T/F
104
Wider Metric
 Wider Metric 설정하기
 무엇일까요?
- 원래 IS-IS의 metric은 0-63으로 제한되어 있음
- Metric을 24bit 값으로 확장하기 위해서 사용됨
 어떻게 쓰나요?
- Default는 narrow-metric (old metric)
Rtr-A(config-router)#metric-style ?
narrow Use old style of TLVs with narrow metric
wide Use new style of TLVs to carry wider metric
Rtr-A(config-router)#metric-style wide ?
level-1 Level-1 only
level-1-2 Level-1-2
level-2 Level-2 only
KOREA TELECOM NEC
KORNET ENGINEERING T/F
105
Route Leaking
 Route Leaking 설정하기
 무엇일까요?
- 원래 IS-IS는 L1 area로 L2 정보를 보내지 않음
- L1 area로 L2 정보를 보낼 때 사용
 어떻게 쓰나요?
- Redistribution 사용
redistribute isis ip level-2 into level-1 distribute-list 100
KOREA TELECOM NEC
KORNET ENGINEERING T/F
106
Hello Padding 없애기
 Hello Padding 없애기
 무엇일까요?
- 원래 IS-IS Hello message는 MTU 사이즈로 padding
- Padding을 Off함
 어떻게 쓰나요?
Rtr-A(config)#router isis
Rtr-A(config-router)#no hello padding
KOREA TELECOM NEC
KORNET ENGINEERING T/F
107
기타
 Mesh Group 설정하기
 무엇일까요?
- Mesh 형망에서 LSP가 중복되어 전달되는 것을 방지함
 LSP Error 무시하기
 무엇일까요?
- LSP error 감지시 source외의 라우터가 해당 LSP를 청소하는
것을 방지함
KOREA TELECOM NEC
KORNET ENGINEERING T/F
108
9. IS-IS 초고급 기능
Extension IS-IS
MPLS TE Support
KOREA TELECOM NEC
KORNET ENGINEERING T/F
109
10. IS-IS QUIZ
KOREA TELECOM NEC
KORNET ENGINEERING T/F
110

IS-IS를 구동시키기 위해서 할 일은 무엇입니까?

NET란 무엇이고 그 형식은 어떻게 됩니까?

SPF와 PRC를 설명하시오

L1, L2, L1/L2 라우터의 neighbor 형성시 차이점을 설명하시
오

ATT bit이란 무엇일까요?

DIS가 하는 일은 무었입니까?

IS neighbor에 대해서 프로토콜이 ES-IS로 잡힙니다. 무엇을
해야 할까요?

DIS와 OSPF의 DR의 공통점과 차이점을 설명하시요

IS-IS에서 Adjacency를 형성하기 위해 필요한 것은?

IS-IS의 Backbone area의 특성에 대해서 설명하시오.
KOREA TELECOM NEC
KORNET ENGINEERING T/F
111