2013년 11월 26일 화요일

CISCO 라우터의 IOS 구분방법

출처는 공성호씨의 nnw에서 가져왔습니다.

보통 cisco ios를 이렇게 나누는 걸로 알고 잇습니다

is - 기본버젼?

ds  - 이게 lab구성용으로 좋을듯(ipx/spx가 되네요)

js  -  엔터프라이스 급이라고 하네요.

show version 커맨드를 통해 Cisco IOS 에 대한 정보를 살펴보면 대개 다음과 같은 내용의 한 줄을 볼 수가 있는데, 그 형식은 다음과 같습니다.

'platform_series' Software ('image_name'), Version 'version' [,'release_type']

이 가운데 플랫폼의 시리즈 넘버를 가리키는 'platform_series' 는 별다른 설명을 요하는 것 같지 않구요, 'image_name' 과  'version', 그리고 'release_type' 에 대한 설명을 두 세차례에 나누어 올리도록 하겠습니다.  그 첫번째로 오늘은 'image_name', 즉 Cisco IOS Software Image 의 naming convention 에 대해 말씀드리지요.

------------------------------------------------------------------

[ Cisco IOS Software Image Naming Convention ]


[ 1 ]  개  요

일반적으로 image name 은 다음과 같이 세 파트로 이루어져 있습니다.

PPPPP - FFFF - MM

   PPPPP  :  Platform
   FFFF  :  Features
   MM  :  Run-time memory and compression format

한편, 이미지가 올려진 플랫폼이 시스템 보드일 경우 이름 명명 방식이 바뀌어지지만, 그 역시 다음과 같이 세 파트로 이루어져 있습니다.

BBB - PPPP - MM

   BBB  :  Board
   PPPP  :  Platform
   MM  :  Run-time memory and compression format

여기서 마지막의 rum-time memory 는 실행시 이용되는 메모리 영역을 나타냅니다.
그럼 각각의 부분에 들어가는 코드와 그 내용들에 대해 구체적으로 살펴보겠습니다.


[ 2 ]  Cisco IOS Image Platform (PPPP) and Board (BBB) Code Definitions

가장 일반적으로 볼 수 있는 것은 'c1234' 의 형식입니다.  시스코 장비의 플랫폼 넘버를 직접 표시하고 있습니다.  몇 가지 예를 들어보면,

c1000  :  1003, 4
c1005  :  1005
c1600  :  1600
c2500  :  25xx, 3xxx, 5100, AO  (11.2 and later only)
c2600  :  2600 Quake
c2800  :  Catalyst 2800
c2900  :  2910, 2950
c3620  :  3620
c3640  :  3640
c3800  :  3800
c4000  :  4000  (11.2 and later - earlier release use xx)
c4500  :  4500, 4700
c7000  :  7000, 7010  (11.2 and later only)
c7200  :  7200

여기서 조금 변형된 것들은 다음과 같습니다.

c25fx  :  Fixed FRAD
c29atm  :  2900 ATM
c5rsfc  :  Catalyst 5000 series
c5rsm  :  Catalyst 5k RSP
c5atm  :  Catalyst ATM
c6400s  :  6400 NSP
c6400r  :  6400 NRP
c6msm  :  Catalyst

그 밖의 코드들은 다음과 같습니다. (알파벳 순서입니다.)

as5200  :  5200
ca1003  :  CiscoAdvantage 1003
ca1005  :  CiscoAdvantage 1005
cpa1003  :  CiscoPro 1003, 4
cpa1005  :  CiscoPro 1005
cpa25  :  CiscoPro 2500
cpa3620  :  CiscoPro 3620
cpa3640  :  CiscoPro 3640
cpa45  :  CiscoPro 4500
cs  :  Communication server
cs500  :  cs500

igs  :  IGS, 25xx, 3xxx, 5100, AP
gs3  :  Gateway server  (AGS, AGS+)
gs7  :  Gateway server  (7000, 7010)
gsr  :  Gigabit switch router  (12000)
ls1010  :  LightStream 1010
mc3810  :  Ardent Multiservice Cisco 3810
p[n  :  Partners' platform n
pt  :  Protocol translator
rpm  :  MGX 8850
rsp  :  75xx
ubr7200  :  Universal Broadband Router 7200
ubr900  :  Universal Broadband Router 900
ubr920  :  Universal Broadband Router 920
vcw  :  Voice card ware
xx  :  4000

igsetx  :  2500  (media specific image that supports only Ethernet, Token Ring, and X.25)

das  :  Dial shelf feature board
dsc  :  Dial shelf controller board platforms


[ 2 ]  Cosco IOS Image Feature Identifiers Definition (FFFF)

이 부분은 image feature 의 내용을 나타냅니다.  보통 하나의 알파벳이나 하나의 알파벳과 숫자의 조합으로 하나의 image feature 를 나타내며 - 예외로는 boot, diag, eboot, hdiag 과 encryption 방식을 나타내는 40, 56, 56i 가 있습니다 - , 하나 이상의 image feature 가 포함되어 있을 경우 알파벳 순서에 의해 표시됩니다.

예를 들어 "c7200-ajs56-mz" 에서 "ajs56" 의 경우,
"a" 는 APPN features 를,
"j" 는 enterprise features (desktop + all routing protocols) 를,
"s" 는 NAT, ISL, L2F, VPDN 과 같은 plus features 를, 그리고
"56" 은 56-bit encryption 을 나타내고 있음을 알 수 있습니다.

다음은 feature designator table 입니다.

----------
a  :  APPN
a2  :  ATM
a3  :  APPN replacement called SNA Switch  (12.0(4)XN and 12.1)*

cf. (12.0(4)XN and 12.1)* 는 차후에 release version 에 대한 내용에서 자세하게 다룹니다.
----------
b  :  AppleTalk
boot  :  Boot image
----------
c  :  CommServer / Remote Access Server (RAS) subset
     (SNMP, IP, Bridging, IPX, AppleTalk, DECnet, FR, HDLC, PPP,
      X.25, ARAP, tn3270, PT, XRemote, LAT)  (non-CiscoPro)
c  :  CommServer lite  (CiscoPro)
c2  :  CommServer / Remote Access Server (RAS) subset
       (SNMP, IP, Bridging, IPX, AppleTalk, DECnet, FR, HDLC, PPP,
        X.25, ARAP, tn3270, PT, XRemote, LAT)  (CiscoPro)
c3  :  Clustering
----------
d  :  Desktop subset
     (SNMP, IP, Bridging, WAN, Remote Node, Terminal Services,
      IPX, AppleTalk, ARAP)  (11.2 - DECnet)
d2  :  Reduced desktop subset  (SNMP, IP, IPX, AppleTalk, ARAP)
diag :  IOS based diagnostic images
----------
e  :  IPeXchange  (prior to 11.3)
      StarPipes DB2 Access - Enables Cisco IOS to act as a "gateway"
      to all IBM DB2 products for downstream clients / servers in 11.3T
eboot  :  Ethernet boot image for mc 3810 platform
----------
f  :  FRAD subset  (SNMP, FR, PPP, SDLLC, STUN)
f2  :  Modified FRAD subset, EIGRP, Pcbus, Lan Mgr removed, OSPF added
----------
g  :  ISDN subset  (SNMP, IP, Bridging, ISDN, PPP, IPX, AppleTalk)
g2  :  Gatekeeper proxy, voice, and video
g3  :  ISDN subset for c800  (IP, ISDN, FR)
----------
h  :  For Malibu (2910), 8021D, switch functions, IP Host
hdiag  :  Diagnostics image for Malibu  (2910)
----------
i  :  IP subset  (SNMP, IP, Bridging, WAN, Remote Node, Terminal Services)
i2  :  Subset similar to IP subset for system controller image  (3600)
i3  :  Reduced IP subset with BGP / MIB, EGP / MIB, NHRP, DIRRESP removed.
i4  :  Subset of IP  (available on 5200)

cf. These are not used for low-end routers.
----------
j  :  Enterprise subset  (formerly bpx, includes protocol translation)
     Note that this was not used until 10.3
----------
k  :  Kitchen sink  (enterprise for high-end)  (same as bx)  (not used after 10.3)
k1  :  Baseline Privacy key encryption  (on 11.3 and later)
k2  :  High-end enterprise w / CIP2 ucode  (not used after 10.3)
k2  :  Triple DES  (on 11.3 and later)
k3  :  56 bit encryption with secured shell  (ssh)
k4  :  168 bit encryption with secured shell  (ssh)
k5  :  Reserved for future encryption capabilities  (on 11.3 and later)
k6  :  Reserved for future encryption capabilities  (on 11.3 and later)
k7  :  Reserved for future encryption capabilities  (on 11.3 and later)
k8  :  Reserved for future encryption capabilities  (on 11.3 and later)
k9  :  Reserved for future encryption capabilities  (on 11.3 and later)
----------
l  :  IPeXchange (IPX), static routing, gateway
----------
m  :  RMON  (11.1 only)
m  :  For 11.2, Catalyst 2820 - Kernel, parser, ATM, signaling,
       LANE Client, Bridging
----------
n  :  IPX
----------
o  :  Firewall  (formerly IPeXchange Net Management)
o2  :  Firewall  (3xx0)
o3  :  Firewall with ssh  (36x0  26x0)
----------
p  :  Service Provider  (IP RIP / IGRP / EIGRP / OSPF / BGP, CLNS ISIS / IGRP)
p2  :  Service Provider w / CIP2 ucode
p3  :  as5200 Service Provider
p4  :  5800 (Nitro) Service Provider
----------
q  :  Async
q2  :  IPeXchange Async
----------
r  :  IBM base option  (SRB, SDLLC, STUN, DLSW, QLLC) - used with i, in, d
r2  :  IBM variant for 1600 images
r3  :  IBM variant for Ardent images  (3810)
r4  :  Reduced IBM subset with BSC / MIB, BSTUN / MIB, ASPP / MIB,
       RSRB / MIB removed.
----------
s  :  Source route switch  (SNMP, IP, Bridging, SRB)  (10.x release)

s  :  11.2 (only) division by platform
   c1000  ;  (OSPF, PIM, SMRP, NLSP, ATIP, ATAURP, FRSVC, RSVP, NAT)
   c1005  ;  (X.25, full WAN, OSPF, PIM, NLSP, SMRP, ATIP, ATAURP, FRSVC,
                  RSVP, NAT)
   c1600  ;  (OSPF, IPMULTICAST, NHRP, NTP, NAT, RSVP, FRAME_RELAY_SVC)
                  AT "s" images also have : (SMRP, ATIP, AURP)
                  IPX "s" images also have : (NLSP, NHRP)
   c2500  ;  (NAT, RMON, IBM, MMP, VPDN / L2F)
   c2600  ;  (NAT, IBM, MMP, VPDN / L2F, VoIP and ATM)
   c3620  ;  (NAT, IBM, MMP, VPDN / L2F) In 11.3T added VoIP
   c3640  ;  (NAT, IBM, MMP, VPDN / L2F) In 11.3T added VoIP 
   c4000  ;  (NAT, IBM, MMP, VPDN / L2F)
   c4500  ;  (NAT, ISL, LANE, IBM, MMP, VPDN / L2F)
   c5200  ;  (PT, v.120, managed modems, RMON, MMP, VPDN / L2F)
   c5300  ;  (MMP, VPDN, NAT, Modem Management, RMON, IBM)
   c5rsm  ;  (NAT, LANE, VLANs)
   c7000  ;  (ISL, LANE, IBM, MMP, VPDN / L2F)
   c7200  ;  (NAT, ISL, IBM, MMP,  VPDN / L2F)
   rsp  ;  (NAT, ISL, LANE, IBM, MMP,  VPDN / L2F)
----------
t  :  AIP w / modified Ucode to connect to Teralink 1000 data  (11.2)
t  :  Telco return  (12.0)
----------
u  :  IP with VLAN RIP  (Network Layer 3 Switching Software, rsrb, srt, srb, sr / tlb)
----------
v  :  VIP and dual RSP (HSA) support
v2  :  Voice V2D
v3  :  Voice feature card
----------
w  :  WBU Feature Sets  (11.3WA and 12.0W5 release)
   i  :  IISP
   l  :  LANE and PVC
   p  :  PNNI
   v  :  PVC traffic shaping

w2  :  Cisco Advantage ED Train Feature Sets
   a  :  IPX, static routing, gateway
   b  :  Net management
   c  :  FR / X.25
   y  :  Async

w3  :  Distributed director feature sets
----------
x  :  X.25 in 11.1 and earlier release.  Also available in 12.0T on c800 series.
x  :  FR / X.25 in 11.2  (IPeXchange)
x  :  H.323 Gatekeeper / Proxy in 11.3 and later release for 2500, 3620, 3640, mc3810
----------
y  :  Reduced IP (SNMP, IP RIP / IGRP / EIGRP, Bridging, ISDN, PPP)  (c1003/4)
y  :  Reduced IP (SNMP, IP RIP / IGRP / EIGRP, Bridging, WAN - X.25)  (c1005)
      (11.2 - includes X.25)  (c1005)
y  :  IP variant  (no Kerberos, Radius, NTP, OSPF, PIM, SMRP, NHRP)  (c1600)
y2  :  IP variant  (SNMP, IP RIP / IGRP / EIGRP, WAN - X.25, OSPF, PIM)  (c1005)
y2  :  IP Plus variant (no Kerberos, Radius, NTP, ...)  (c1600)
y3  :  IP / X.31
y4  :  Reduced IP variant  (Cable, Mibs, DHCP, EZHTTP)
y5  :  Reduced IP variant  (Cable, Mibs, DHCP, EZIP)  Home Office
y6  :  Reduced IP variant  (c800)

cf. These are not used for low-end routers.
----------
z  :  Managed modems
----------
40  :  40 bit encryption
56  :  56 bit encryption
56i  :  56 bit encryption with IPSEC
----------
Obsolete

h  :  Reduced desktop subset  (SNMP, IP RIP / IGRP / EIGRP, Bridging, ISDN,
      PPP, IPX, AppleTalk)  1003/4
h  :  Reduced desktop subset  (SNMP, IP RIP / IGRP / EIGRP, Bridging,
      WAN - X.25, IPX, AppleTalk)  1005
----------


[ 3 ]  Cisco IOS Software Run-Time Memory Space (MM)

Image name 의 세번째 부분은 대개 두 개의 알파벳 문자로 이루어져 있으며, 앞에 있는 문자는 IOS 이미지가 실행되는 메모리 영역을, 뒤에 있는 문자는 IOS 바이너리 이미지를 압축하는데 사용한 압축 방법을 나타내고 있습니다.

먼저 IOS 이미지가 실행되는 영역에 따라

f  :  Image runs in Flash memory
m  :  Image runs in RAM
r  :  Image runs in ROM
l  :  Image is relocated at run time

으로 구분되며,  IOS 이미지의 압축 방법에 따라

z  :  Image is Zip compressed  (lowercase z)
x  :  Image is Mzip compressed
w  :  Image is "Stac" compressed

로 구분됩니다.


[ 4 ]  맺 음 말

이상으로 IOS Software Image 의 naming convention 에 대해 알아보았습니다. 
하지만 특정 customer 를 위한 Special Image, 그밖에 일부 Obsolete Image, 그리고 동일한 IOS Image 일지라도 release version 에 따라 약간씩 변화되고 상이하게 명명된 이름들로 인해 획일적인 적용이 무리가 있을 수도 있음을 알려드립니다.


참고자료
CISCO IOS RELEASES : The Complete Reference by Mack M. Coulibaly, Cisco Press

홈페이지 jQuery 라이브러리에서 CVE-2019-11358 취약점 패치 여부 확인 방법

현재 홈페이지에서 사용 중인 jQuery 라이브러리가 CVE-2019-11358 취약점 패치를 적용했는지 확인하는 방법은 다음과 같습니다. 1. jQuery 버전 확인 홈페이지 소스 코드를 확인하여 jQuery 라이브러리 버전을 직접 확인합니다. 웹 ...