|
|
 |
HOME
> Ä¿¹Â´ÏƼ > Cisco Àåºñ¿î¿µ |
|
|
| |
|
 |
| |
Interface ¹× Operating
System |
| |
¶ó¿ìÅÍ´Â º»Ã¼¿Í LAN ¹× WAN Interface, Console Port µîÀÇ Çϵå¿þ¾î¿Í º»Ã¼³»¿¡¼ PacketÀÇ
Àü´Þ±â´É°ú ¶ó¿ìÆÃÁ¤º¸ ±³È¯±â´ÉÀ» ÇÏ´Â OS·Î ÀÌ·ç¾îÁ® ÀÖ´Ù.
º»Ã¼´Â Àü¿øÀåÄ¡ ¹× ½Ã½ºÅÛº¸µå°¡ ÀåÂøµÇ¾î ÀÖÀ¸¸ç, ½Ã½ºÅÛº¸µå¿¡´Â CPU
¹× ROM, Flash ROM, Non-Volitile RAM(NV-RAM), Volitile RAM(RAM)°ú °°Àº ¸Þ¸ð¸®µîÀÌ ÀåÂøµÇ¾î ÀÖ´Ù.
ÀϹÝÀûÀ¸·Î ºñ½Ñ ¶ó¿ìÅÍÀϼö·Ï CPU ¼º´ÉÀÌ ¿ì¼öÇϰí, ¸Þ¸ð¸®¾çÀÌ ¸¹¾Æ ´Ù¾çÇÑ ÀÛ¾÷À» »¡¸® ¼öÇàÇÒ ¼ö ÀÖ´Ù.
LAN Interface
·Î Ethernet, Fast Ethernet, Token-Ring, FDDI¿Í °°Àº °ÍÀÌ ÀÖ´Ù. ±×¸®°í WAN InterfaceÀº
Serial Interface¶ó°í ¸¹ÀÌ ºÒ¸°´Ù. º»Ã¼°¡ Å« °æ¿ì Interface CardÀ» ¿©·¯°³ Ãß°¡ÇÒ ¼ö Àִµ¥ ÀÛÀº °æ¿ì¿¡´Â È®ÀåÀÌ
ºÒ°¡´ÉÇÑ °æ¿ìµµ ÀÖ´Ù. µû¶ó¼ ÇâÈÄ ³×Æ®¿÷ÀÌ ¾î¶»°Ô º¯°æµÉÁö °í·ÁÇÏ¿© È®Àå °¡´ÉÇÑ ¶ó¿ìÅÍ ±¸ÀÔ¿©ºÎ¸¦ ÆÇ´ÜÇØ¾ß ÇÑ´Ù
´ÙÀ½Àº LAN
Interface 1°³¿Í Serial Interface 2°³¸¦ °¡Áø ¶ó¿ìÅ͸¦ ³ªÅ¸³½ °ÍÀÌ´Ù.
| |
|
| |

LAN Interface ÀÇ ÇüÅ´ Ethernet, Fast Ethernet, Token-Ring, FDDI µîÀÌ ÀÖ´Ù°í
Çߴµ¥ ÀÌÃ¥¿¡¼´Â Ethernet InterfaceÀº e, Token-Ring InterfaceÀº t, FDDI InterfaceÀº fi·Î
³ªÅ¸³»°Ú´Ù. LAN InterfaceÀº LAN calbe¿Í Á÷Á¢ ¿¬°áµÇ°Å³ª AUI Cable À̳ª TP CableµîÀ¸·Î LAN HUB¿Í °°Àº
Àåºñ¿Í Á¢¼ÓµÇ¾î ½Ã½ºÅÛµé°ú µ¥ÀÌŸ¸¦ ÁÖ°í ¹Þ´Â´Ù.
Serial InterfaceÀº V.35 Cable, RS232C CableµîÀ»
ÀÌ¿ëÇÏ¿© DCE Àåºñ·Î Á¢¼ÓµÈÈÄ Àü¿ëȸ¼± ȤÀº °øÁßµ¥ÀÌŸ³×Æ®¿÷°ú Åë½ÅÇÒ ¼ö ÀÖ´Â °æ·Î¸¦ Á¦°øÇÑ´Ù. µû¶ó¼ Serial InterfaceÀÌ
V.35³ª RS232C µî ¾î¶² ÇüÅÂÀÇ CableÀ» Á¦°øÇÏ´ÂÁö È®ÀÎÇÏ¿© ±×¿¡ ÀûÇÕÇÑ DCE¸¦ ±¸ÀÔÇÏ¿©¾ß ÇÑ´Ù. ÀÌ Ã¥¿¡¼´Â Serial
InterfaceÀ» s·Î ³ªÅ¸³»°Ú´Ù. Serial Interface¿¡µµ 2Mbps ´ë¿ª±îÁö Áö¿øÇÏ´Â ÀÏ¹Ý Serial Interface°ú
2Mbps ÀÌ»óÀ» Áö¿øÇÏ´Â high speed Serial InterfaceÀÌ ÀÖ´Ù.
Console PortÀº Á÷Á¢ Å͹̳ÎÀ»
Á¢¼ÓÇÏ¿© ¶ó¿ìÅ͸¦ Á¶ÀÛÇÒ ¼ö ÀÖµµ·Ï ÇÑ´Ù. ¶ó¿ìÅÍÀÇ Ãʱ⠼¾÷, Àå¾Ö½Ã 󸮵îÀº ¸ðµÎ Console Port¿¡ Å͹̳ÎÀ» Á¢¼ÓÇÏ¿©
¼öÇàÇÑ´Ù.
OS´Â ROM, Flash ROM¿¡ ÀúÀåµÇ¾î ÀÖÀ¸¸ç, Configuration ³»¿ëÀº NVRAM¿¡ ÀúÀåµÇ¾î ÀÖ´Ù. À̵éÀº
¶ó¿ìÅͰ¡ ºÎÆÃµÈÈÄ RAMÀ¸·Î ÀÐÇôÁø ´ÙÀ½ ÀÛ¾÷À» ¼öÇàÇϴµ¥, Çϵå¿þ¾îÀÇ ¼º´ÉÀº ÀÛ¾÷¼öÇà¼ÓµµÁ¤µµ¿¡¸¸ ¿µÇâÀ» ¹ÌÄ¡³ª, OS´Â ¾î¶² ³×Æ®¿÷ ÇÁ·ÎÅäÄÝÀÇ
PacketÀ» Àü´ÞÇÒÁö, ¾î¶² ¶ó¿ìÆÃÇÁ·ÎÅäÄÝÀ» Áö¿øÇÒÁö, PacketÀ» ¾î¶»°Ô Á¦¾îÇÒ °ÍÀÎÁö, ±×¸®°í LAN Interface ȤÀº Serial
InterfaceÀ» ¾î¶»°Ô ¼³Á¤ÇØ ÀÌ¿ëÇÒ °ÍÀÎÁö µî ÁÖ¿ä ¿ªÇÒÀ» ÇÑ´Ù.
|
| |
|
ROM |
Flash ROM |
NV RAM |
RAM |
|
booting ÇÁ·Î±×·¥ OS(Operating
System) |
OS (Operating System)
|
Configuration ³»¿ë |
ºÎÆÃÈÄ OS ¹× Configurtion, ±âŸ µ¥ÀÌŸ¸¦ ¸ðµÎ
ÀúÁ¤ÇÔ | | |
| |
|
| |
¶ó¿ìÅÍ ¸ðµå |
| |
|
¶ó¿ìÅÍÀÇ Ãʱâȯ°æÀ» ¼³Á¤Çϱâ ÀÌÀü¿¡´Â ¶ó¿ìÅÍ·Î ·Î±×ÀÎÇÏ·Á¸é Console Port¿¡ Å͹̳ÎÀ» ¿¬°áÇÏ¿©¾ß ÇÑ´Ù. óÀ½¿¡
Console PortÀ¸·Î ·Î±×ÀÎÇÏ¸é º°µµÀÇ ºñ¹Ð¹øÈ£¾øÀÌ ¶ó¿ìÅÍÀÇ ÇÁ·ÒÇÁÆ®¸¦ ¸¸³¯ ¼ö ÀÖ´Ù. ¿ì¸®´Â ÇÁ·ÒÇÁÆ®¿¡¼ ¶ó¿ìÅÍÀÇ È¯°æÀ» ¼³Á¤/ÆíÁýÇϰųª
¾î¶°ÇÑ ÀÏÀ» Çϵµ·Ï ¸í·ÉÀ» ³»¸± ¼ö ÀÖ´Ù.
UNIX ½Ã½ºÅÛ¿¡¼ ½Ã½ºÅÛÀÇ ÀÚ¿øÀ» Á¦¾îÇÒ ¼ö ¾ø´Â ÀÌ¿ëÀÚ¸ðµå°ú ½Ã½ºÅÛÀÇ ÀÚ¿øÀ» Á¦¾îÇÒ
¼ö ÀÖ´Â root¸ðµå°¡ ÀÖµíÀÌ ¶ó¿ìÅÍ¿¡µµ ÀÌ¿ëÀÚ¸ðµå¿Í ¿î¿µÀÚ¸ðµå°¡ ÀÖ´Ù. ¶ó¿ìÅÍÀÇ ÀÌ¿ëÀÚ¸ðµå¿¡¼´Â ȯ°æ¼³Á¤µîÀº ÇÒ ¼ö ¾ø°í, »óÅ µîÀ» ÆÄ¾ÇÇÒ
¼ö ÀÖ´Â ¸í·É¾î¸¸ »ç¿ëÇÒ ¼ö ÀÖ°í, ¿î¿µÀÚ¸ðµå¿¡¼´Â ȯ°æ ¼³Á¤À» ÇÑ´ÙµçÁö Ư¼öÇÑ ¸í·É¾îµéÀ» »ç¿ëÇÒ ¼ö ÀÖ´Ù.
CISCO Router
OSÀÇ ¿î¿µÀÚ¸ðµå¿¡¼´Â ¶ó¿ìÅͰ¡ ¾î¶² ³×Æ®¿÷ ÇÁ·ÎÅäÄÝÀ» Áö¿øÇÒÁö, ¾î¶² ¶ó¿ìÆÃ ÇÁ·ÎÅäÄÝÀ» Áö¿øÇÒÁö, ȤÀº PacketÀ» ¾î¶»°Ô Á¦¾îÇÒÁö µîÀ»
¼³Á¤ÇÒ ¼ö ÀÖÀ¸¸ç, ¶ÇÇÑ LAN InterfaceÀ̳ª Serial Interface º°·Î °¢ ȯ°æÀ» ¼³Á¤ÇØ ÁÙ ¼ö ÀÖ´Ù.
|
ÀÌ¿ëÀÚ ¸ðµå |
¶ó¿ìÅÍÀÇ »óÅÂ, InterfaceÀÇ »óŸ µîÀ» Á¶È¸ÇÒ ¼ö ÀÖ°í ¶ó¿ìÅÍÀÇ ±â´ÉÀ» Á¡°ËÇÒ ¼ö ÀÖ´Â ¸í·ÉÀ» ³»¸±
¼ö ÀÖ´Ù. |
|
¿î¿µÀÚ ¸ðµå |
¶ó¿ìÅÍÀÇ È¯°æÀ» ¼³Á¤ ÇÒ ¼ö ÀÖ´Â ¸í·ÉÀ» ³»¸± ¼ö ÀÖ´Ù.
| ´ÙÀ½Àº ¶ó¿ìÅÍÀÇ Console Port¿¡ Å͹̳ÎÀ» Á¢¼ÓÇØ ³õ°í ¶ó¿ìÅ͸¦ ºÎÆÃÇÑ
°ÍÀÌ´Ù.
System Bootstrap,
Version 5.2(5), RELEASE SOFTWARE Copyright (c) 3%86-3%94 by cisco
Systems 2500 processor with 4096 Kbytes of main memory
F3:
5884000+186056+258720 at 0x3000060
Use, duplication, or disclosure by the Government
is subject to restrictions as set forth in subparagraph (c) of the
Commercial Computer Software - Restricted Rights clause at FAR sec. 52.227-3%
and subparagraph (c) (1) (ii) of the Rights in Technical Data and
Computer Software clause at DFARS sec. 252.227-7013.
cisco Systems, Inc. 170 West Tasman
Drive San Jose, California 95134-1706 Cisco Internetwork Operating System Software IOS (tm)
3000 Software (IGS-J-L), Version 11.0(3), RELEASE SOFTWARE (fc1) Copyright
(c) 3%86-3%95 by cisco Systems, Inc. Compiled Tue 07-Nov-95 14:37 by
deannaw Image text-base: 0x03032008, data-base: 0x00001000
cisco 2500
(68030) processor (revision D) with 4092K/2048K bytes of memory. Processor
board ID 023%2669 Bridging software. SuperLAT software copyright 3%90 by
Meridian Technology Corp). X.25 software, Version 2.0, NET2, BFE and GOSIP
compliant. TN3270 Emulation software (copyright 3%94 by TGV Inc). 2
Ethernet/IEEE 802.3 interfaces. 2 Serial network interfaces. 32K bytes of
non-volatile configuration memory. 83%2K bytes of processor board System
flash (Read ONLY)
Press RETURN to get
started.
Router> Router>
enable Password: Router# Router>
| ¸ÇóÀ½¿¡
Á¢¼ÓÇϸé 'Router>'¶ó´Â ÇÁ·ÒÇÁÆ®°¡ ³ªÅ¸³ª´Âµ¥ ÀÌ »óŰ¡ ÀÌ¿ëÀÚ ¸ðµåÀÌ´Ù. 'enable'À̶ó´Â ¸í·É¾î¸¦ ÀÔ·ÂÇÏ¸é ¿î¿µÀÚ¸ðµå·Î µé¾î°¥
¼ö ÀÖ ´Âµ¥ ±×Àü¿¡ Password¸¦ ÀÔ·ÂÇ϶ó°í ÇÑ´Ù. ¿î¿µÀÚ¸ðµåÀÇ ÇÁ·ÒÇÁÆ®´Â #ÀÌ ºÙ Àº 'Router#'¶ó´Â °Í¿¡ À¯ÀÇÇÏÀÚ. ±×¸®°í
ÇÁ·ÒÇÁÆ®¿¡¼ 'disable'À̶ó´Â ¸í·É¾î¸¦ ÀÔ·ÂÇϸé ÀÌÀüÀÇ »óÅ·Πµ¹¾Æ°£´Ù.

À§ÀÇ »óȲÀº Console
Port·Î ¶ó¿ìÅÍ¿¡ Á¢¼ÓÇßÀ»¶§Àε¥ telnet°ú °°Àº ¹æ¹ýÀ¸·Î ¶ó¿ìÅÍ¿¡ Á¢¼ÓÇÏ¸é °ð¹Ù·Î ÀÌ¿ëÀÚ¸ðµå·Î °¥ ¼ö ÀÖ´Â °ÍÀº ¾Æ´Ï´Ù. ÀÌ¿ëÀÚ ¸ðµå·Î
µé¾î°¡±â À§Çؼ´Â ºñ¹Ð¹øÈ£¸¦ ÀÔ·ÂÇÏ¿©¾ß ÇÑ´Ù. ÀϹÝÀûÀ¸·Î ¶ó¿ìÅÍÀÇ Ãʱâȯ°æÀÌ ¼³Á¤µÈ ÀÌÈÄ¿¡´Â telnetµîÀ» ÀÌ¿ëÇÏ¿© Á¢¼ÓÇØ »óŸ¦ Á¶È¸Çϰųª
ȯ°æÀ» º¯°æÇϴµ¥, telnetÀ¸·Î ¶ó¿ìÅÍ¿¡ Á¢¼ÓÀ» ÇÏ¸é ºñ¹Ð¹øÈ£¸¦ Á¤È®È÷ ÀÔ·ÂÇØ¾ß ¶ó¿ìÅͳ»·Î ·Î±×ÀÎÇÒ ¼ö ÀÖ´Ù.
| Trying |
130.120.0.1 ...
Open User Access Verification Password: Router>
|

|
| |
|
| |
¶ó¿ìÅÍ »óÅÂÁ¶È¸
|
|
|
±×¸®°í ÀÌ¿ëÀÚ¸ðµå¿Í ¿î¿µÀÚ¸ðµå¿¡¼´Â ¿©·¯ ¸í·É¾î¸¦ ÀÔ·ÂÇÒ ¼ö Àִµ¥ ´ë°³ ÇÁ·ÒÇÁÆ®¿¡¼ '?'À»
ÀÔ·ÂÇÏ¸é ¾î¶² ¸í·É¾î¸¦ ÀÌ¿ëÇÒ ¼ö ÀÖ´ÂÁö ¾Ë·ÁÁØ´Ù. ÀÌ¿ëÀÚ¸ðµå¿Í ¿î¿µÀÚ¸ðµå¿¡¼ »ç¿ëÇÒ ¼ö ÀÖ´Â ¸í·É¾î´Â Á¶±Ý Â÷À̰¡ ÀÖ´Ù. '?'¸¦ ÀÔ·ÂÇßÀ»
°æ¿ì ³ªÅ¸³ª´Â ¼³¸íÀº °£´ÜÇϱ⠶§¹®¿¡ °¢ ¸í·É¾î¸¦ ÀÌ¿ëÇÏ´Â ÀÚ¼¼ÇÑ ¹æ¹ýÀº ¶ó¿ìÅÍ ¸Å´º¾óµîÀ» ÂüÁ¶ÇØ¾ß ÇÑ´Ù.
Router>? Exec
commands :
|
| |
<1-99> clear connect disable disconnect
enable |
Session number to
resume Reset functions Open a terminal connection Turn off privileged
commands Disconnect an existing network connection Turn on privileged
commands
|
.........Áß°£ ÀϺÎ
»ý·«.......
|
| |
ping rlogin show telnet traceroute
|
Send echo
messages Open an rlogin connection Show running system information Open
a telnet connection Trace route to destination
|
Router>enable Password: Router#? Exec
commands:
|
| |
<1-99> access-enable access-template clear configure
|
Session number to
resume Create a temporary Access-List entry Create a temporary Access-List
entry Reset functions Enter configuration mode
|
.........Áß°£ ÀϺÎ
»ý·«.......
|
| |
ping reload
setup show telnet terminal traceroute |
Send echo
messages Halt and perform a cold restart Run the SETUP command
facility Show running system information Open a telnet connection Set
terminal line parameters Trace route to destination
|
| Router#
| | ¶ó¿ìÅÍÀÇ »óŸ¦ Á¶È¸ÇÏ´Â ¸í·É¾î´Â show
ÀÌ´Ù. ÀÌ¿ëÀÚ¸ðµå¿Í ¿î¿µÀÚ¸ðµå¿¡¼ show·Î º¼ ¼ö ÀÖ´Â »óÅ´ Â÷À̰¡ ÀÖ´Ù. ÀÏ·Ê·Î ÀÌ¿ëÀÚ¸ðµå¿¡¼ Configuration FileÀº º¼ ¼ö
¾øÁö¸¸ ¿î¿µÀÚ¸ðµå¿¡¼´Â º¼ ¼ö ÀÖ´Ù. show´Â ±× ÀÚü¸¸À¸·Î´Â ¾î¶² »óŸ¦ Á¶È¸ÇÒ ¼ö ¾ø°í µÚ¿¡ ¾î¶² »óŸ¦ º¼ °ÍÀÎÁö ÁöÁ¤ÇØ¾ß Çϴµ¥
show µÚ¿¡ ? À» ÇÔ²² ÀÔ·ÂÇÏ¸é ¾î¶² »óŸ¦ º¼ ¼ö ÀÖ´ÂÁö ¾Ë ¼ö ÀÖ´Ù.
Router>show
?
|
| |
boot
calendar clock |
Boot and related
environment variable Display the hardware calendar Display the system
clock
|
....Áß°£
»ý·«.......
|
| |
|
terminal Display
terminal configuration parameters users Display information about
terminal lines version System hardware and software
status
|
Router>enable Password: Router#show
?
|
| |
access-expression access-lists accounting aliases
|
List access
expression List access lists Accounting data for active
sessions Display alias commands
|
...Áß°£
»ý·«.......
|
| |
|
x25 X.25
information xns XNS information xremote
XRemote
statistics
| | ¸í·É¾î¸¦
ÀÔ·ÂÇÒ¶§ ÇѰ¡Áö ¾Ë¾ÆµÎ¸é Æí¸®ÇÑ °ÍÀ» À̾߱â ÇϰڴÙ. ¶ó¿ìÅÍÀÇ ÀÌ¿ëÀÚ È¤Àº ¿î¿µÀÚ¸ðµå¿¡¼ sh ·Î ½ÃÀÛÇÏ´Â ¸í·É¾î´Â show ¹Û¿¡ ¾ø´Ù. ÀÌ
°æ¿ì show¶ó°í ¸ðµÎ ÀÔ·ÂÇÒ Çʿ䰡 ¾ø´Ù. ±×³É sh¸¸ ÀÔ·ÂÇØµµ µÈ´Ù.
¿©±â¿¡¼´Â ¶ó¿ìÅÍÀÇ ÁÖ¿ä »óŸ¦ È®ÀÎÇÒ ¼ö ÀÖ´Â ´ÙÀ½°ú
°°Àº show ¸í·É¾î¿Í ping, telnet µî¿¡ ´ëÇØ¼ ¾Ë¾Æº¸°Ú´Ù.
Router# show
running-config Router# show startup-config Router# show cdp Router#
show interface Router# show ip
route | |
|
|
|
| |
|
°¡. Configuration
File |
| |
|
| |
¶ó¿ìÅ͸¦ ÀÌ¿ëÇϱâ À§Çؼ´Â Console PortÀ¸·Î Á¢¼ÓÇÑ ÈÄ È¯°æÀ» ¼³Á¤ÇØ ÁÖ¾î¾ß ÇÑ´Ù. ȯ°æ¼³Á¤Àº ÀϹÝÀûÀ¸·Î
Configuration FileÀ» ¼öÁ¤ÇÔÀ¸·Î½á °¡´ÉÇѵ¥, ±×Àü¿¡ ¶ó¿ìÅÍÀÇ Configuration FileÀÌ ¾î¶² »óÅ·Π¼³Á¤µÇ¾î ÀÖ´ÂÁö
È®ÀÎÇØ º¸¾Æ¾ß ÇÑ´Ù. Configuration FileÀº ¿î¿µÀÚ¸ðµå¿¡¼¸¸ º¼ ¼ö ÀÖ´Ù.
CISCO RouterÀÇ
Configuration FileÀº 2°³°¡ Àִµ¥, ù¹øÂ° °ÍÀº NV-RAM¿¡ ÀúÀåµÇ¾î ÀÖ´Â °ÍÀ¸·Î ¶ó¿ìÅÍÀÇ Àü¿øÀÌ ²¨Áö´õ¶óµµ »ç¶óÁöÁö ¾Ê´Â´Ù.
¶ó¿ìÅͰ¡ ºÎÆÃµÉ ¶§ NV-RAM¿¡ ÀÖ´Â ³»¿ëÀ» RAMÀ¸·Î ÀоîµéÀδÙ. µû¶ó¼ NV-RAM¿¡ ÀÖ´Â Configuration FileÀ»
Startup Configuration FileÀ̶ó°í ÇÑ´Ù. Startup Configuration File ³»¿ëÀ» È®ÀÎÇÏ´Â ¹æ¹ýÀº ´ÙÀ½°ú °°ÀÌ
¸í·ÉÀ» ÀÔ·ÂÇÏ¸é µÈ´Ù. |
| |
|
| |
|
Router# show startup-config
|
| |
|
| |
µÎ¹øÂ° °ÍÀº ¶ó¿ìÅÍÀÇ RAM¿¡ ÀúÀåµÇ¾î ÀÖ´Â Configuration FileÀÌ´Ù. À̰ÍÀ» Running
Configuration FileÀ̶ó°í ÇÑ´Ù. ¶ó¿ìÅͰ¡ ºÎÆÃµÉ ¶§ ¶ó¿ìÅÍ´Â NV-RAM¿¡¼ Startup Configuration FileÀ»
Àоî RAM¿¡ ÀúÀåÇϹǷΠ¹æ±Ý ºÎÆÃµÈ ¶ó¿ìÅÍÀÇ Running Configuration File ÀÇ ³»¿ë°ú Startup Configuration
FileÀÇ ³»¿ëÀº °°À» °ÍÀÌ´Ù. Running Configuration File ³»¿ëÀ» È®ÀÎÇÏ´Â ¹æ¹ýÀº ´ÙÀ½°ú °°Àº ¸í·ÉÀ» ÀÔ·ÂÇϸé
µÈ´Ù. |
| |
|
| |
|
Router# show running-config
|
| |
|
| |
¿î¿µÀÚ°¡ ¶ó¿ìÅÍÀÇ ÇÁ·ÒÇÁÆ®¿¡¼ ConfigurationÀ» Á¶Á¤ÇÏ°Ô µÇ¸é À̰ÍÀº Running Configuration
File¿¡¸¸ ¿µÇâÀ» ¹ÌÄ¡°Ô µÈ´Ù. µû¶ó¼ ¿î¿µÀÚ´Â Configuration ÈÄ ¹Ýµå½Ã Running Configuration File ³»¿ëÀ»
Startup Configuration File¿¡ º¹»ç¸¦ ÇÏ¿©¾ß ¶ó¿ìÅÍÀÇ Àü¿øÀÌ ²¨Áö´õ¶óµµ ´Ù½Ã ºÎÆÃµÇ¾úÀ»¶§ Áö³¹ø ÀÛ¾÷ °á°ú¸¦ ÀÒ¾î¹ö¸®Áö ¾Ê°Ô
µÉ °ÍÀÌ´Ù. º¹»çÇÏ´Â ¹æ¹ýÀº |
| |
|
| |
|
Router# copy running-config
startup-config |
| |
|
| |
ȤÀº |
| |
|
| |
|
Router# write |
| |
|
|
| |
¶ó°í ¸í·É¾î¸¦ ÀÔ·ÂÇÏ¸é µÈ´Ù. |
| |
| |
| |
|
³ª. Interfaces |
| |
|
| |
¶ó¿ìÅÍ´Â ÀÚ½ÅÀÌ º¸À¯Çϰí ÀÖ´Â LAN ¹× Serial Interfaceµé¿¡ ´ëÇÑ Á¤º¸¸¦ °®°í ÀÖ´Ù. Interface Á¤º¸´Â
Interface¿¡ ¾î¶² Address°¡ ÇÒ´çµÇ¾ú°í, ¾î¶² Datalink ProtocolÀ» ÀÌ¿ëÇÏ´ÂÁö, ±×¸®°í Inteface°¡ ´Ù¸¥ ¶ó¿ìÅÍÀÇ
Interface¿Í Á¢¼ÓµÇ¾î ÀÖÀ» °æ¿ì ±× Link°¡ Á¦´ë·Î ÀÛµ¿(up)Çϰí ÀÖ´ÂÁö µîÀ» º¸¿©ÁØ´Ù.
¸¸¾à ¾Æ·¡¿Í °°Àº »óÅ·Î
¶ó¿ìÅ͵éÀÌ ¿¬°áµÇ¾î ÀÖ´Ù°í °¡Á¤ÇÒ ¶§ Router-A´Â3°³ÀÇ InterfaceÀÎ e0, s0, s1¿¡ ´ëÇÑ Á¤º¸¸¦ °®°í ÀÖÀ»
°ÍÀÌ´Ù. |
| |
|
| |
 |
| |
|
| |
CISCO Router¿¡¼´Â ¶ó¿ìÅÍ¿¡ ÀÖ´Â ¸ðµç Interface¿¡ ´ëÇÑ Á¤º¸¸¦ ¾Ë°íÀÚ ÇÒ¶§ 'show interface'
¸í·É¾î¸¦ ÀÔ·ÂÇÏ¸é µÇ¸ç, ¸í·ÉÀ» ³»¸°ÈÄ ¸ðµç interface¿¡ ´ëÇÑ Á¤º¸°¡ Ãâ·ÂÀÌ µÈ´Ù |
| |
|
| |
Router-A>sh
interfaces Ethernet0 is up, line protocol is up
...Áß°£
»ý·«.........
Serial0 is up, line protocol is up
......Áß°£
»ý·«.....
Serial1 is up, line protocol is up
......Áß°£
»ý·«..... | |
| |
|
| |
±×¸®°í Router-AÀÇ s1°ú Router-CÀÇ s0 °£¿¡ link°¡ Àִµ¥ À̰ÍÀÌ Á¦´ë·Î ÀÛµ¿ÇÏ´ÂÁö ¾Ë·Á¸é Router-A¿¡¼
'show interface serial 1 '¶ó´Â ¸í·É¾î¸¦ ÀÔ·ÂÇÏ¸é ´ÙÀ½°ú °°Àº °á°ú°¡ ³ª¿À´Âµ¥ ±×°÷¿¡¼ ÁÖ¸ñÇØ º¼ °ÍÀº 'serial1 is
up, line protocol is up' °ú °°ÀÌ interfaceÀÇ up ¿©ºÎ¿Í line protocolÀÇ up
¿©ºÎÀÌ´Ù. |
| |
|
| |
Router-A# sh
int s 1 Serial1 is up, line protocol is up
......Áß°£
»ý·«.....
|
| |
DCD=up DSR=up DTR=up
RTS=up CTS=up
| | |
| |
|
| |
¿©±â¿¡¼ serial ÀÌ down ÀÏ °æ¿ì´Â ¹°¸®ÀûÀ¸·Î ¿¬°áÀ» ÇØÁִ ȸ¼±»ó¿¡ ¹®Á¦°¡ ÀÖÀ½À» ³ªÅ¸³»¸ç, line protocolÀÌ
down ÀÏ °æ¿ì´Â ¾çÃø router °£¿¡ link protocolÀÌ Á¦´ë·Î ¼³Á¤µÇÁö ¾Ê¾Ò´Ù´Â °ÍÀ» ³ªÅ¸³½´Ù. serial°ú line
protocolÀÌ ¸ðµÎ up ÀÏ °æ¿ì´Â Á¦´ë·Î ÀÛµ¿ÇÏ´Â °ÍÀ» ÀǹÌÇÑ´Ù.
À§¿¡¼ 'show interface serial 1' ´ë½Å
°£´ÜÈ÷ 'sh int s 1'À̶ó°í ÀÔ·ÂÇÏ¿©µµ µÈ´Ù´Â »ç½ÇÀ» ¾Ë¾ÆµÎÀÚ. |
| |
|
| ´Ù. Link |
| |
Router-AÀÇ s1°ú Router-CÀÇ s0 °£ÀÇ link°¡ Á¦´ë·Î ÀÛµ¿ÇÏ´ÂÁö´Â 'show interface'¶ó´Â ¸í·É¾î¸¦ ÀÌ¿ëÇØ¼
¾Ë¾Æ³¾ ¼ö Àִµ¥, serial °ú line protocolÀÌ ¸ðµÎ upÀÌ µÇ¾î ÀÖ´Ù¸é
Router-A¿¡¼ Router-C·Î
Á¢¼ÓÇÒ ¼ö ÀÖ´ÂÁö¸¦ Á¶»çÇØ º¼ ¼ö ÀÖ´Ù. Router-A¿¡¼ Router-C·Î Á¢¼ÓÇÒ ¼ö ÀÖ´ÂÁö Á¶»çÇÒ ¼ö ÀÖ´Â ¹æ¹ýÀº telnet°ú
pingÀ̶ó´Â ¸í·É¾î¸¦ ÀÌ¿ëÇÏ¸é µÈ´Ù.
Router-AÀÇ s0ÀÇ IP Address°¡ 203.252.3%.5À̰í Router-CÀÇ
s1ÀÇ IP Address°¡ 203.252.3%.6À̶ó°í °¡Á¤ÇÏÀÚ. ±×·¸´Ù¸é Router-A¿¡¼´Â ´ÙÀ½°ú °°ÀÌ telnet ¸í·É¾î ȤÀº ping
¸í·É¾î¸¦ ÀÌ¿ëÇÏ¿© Router-C¿¡ Á¢¼ÓÇÒ ¼ö ÀÖ´ÂÁö È®ÀÎÇÒ ¼ö ÀÖ´Ù. |
| |
|
| |
Router-A>telnet
203.252.3%.6 Trying 203.252.3%.6 ... Open
User Access
Verification
Password:
Router-A>ping 203.252.3%.6 Type
escape sequence to abort. Sending 5, 100-byte ICMP Echos to 203.252.3%.6,
timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip
min/avg/max = 4/6/8 ms | |
| |
|
| |
telnetÀº »ó´ë ¶ó¿ìÅͱîÁö Á¢¼ÓÇÒ ¼ö ÀÖ´Â ¸í·É¾î·Î link°¡ µ¿ÀÛÇÑ´Ù¸é Æ¯º°ÇÑ °æ¿ì°¡ ¾Æ´Ï¸é Router-CÀÇ login ÇÁ·ÒÇÁÆ®¸¦
´ëÇÏ°Ô µÉ °ÍÀÌ´Ù. À̶§ Router-C·Î ·Î±×ÀÎÇÒ ¼ö ÀÖ´Â ºñ¹Ð¹øÈ£¸¦ ÀÔ·ÂÇϸé Router-CÀÇ ÇÁ·ÒÇÁÆ®¸¦ ¸¸³ª°Ô µÇ°í ±×·¸Áö ¾ÊÀ¸¸ç ·Î±×ÀÎ
ÇÒ ¼ö ¾ø´Ù.
pingÀº »ó´ë ¶ó¿ìÅÍ¿¡°Ô ½ÅÈ£¸¦ º¸³»°í ±× ½ÅÈ£¿¡ ÀÀ´äÀÌ ¿À´ÂÁö¸¦ Á¶»çÇÏ´Â °ÍÀ¸·Î ÀÀ´äÀÌ ¿Ã °æ¿ì´Â ! °¡
³ªÅ¸³´Ù. µû¶ó¼ !°¡ 1°³µµ ³ªÅ¸³ªÁö ¾ÊÀ¸¸é link´Â µ¿ÀÛÇÏÁö ¾Ê´Â °ÍÀÌ´Ù.
|
| |
|
| ¶ó. Route |
| |
¶ó¿ìÅͰ¡ ÇÏ´Â ¿ªÇÒÁß¿¡ °¡Àå Áß¿äÇÑ °ÍÀº ¸ñÀûÁö¿¡ ´ëÇÑ Routing InformationÀ» ¸ðÀ¸°í ±×Áß¿¡¼ ¸ñÀûÁö±îÁö °¥ ¼ö ÀÖ´Â
ÃÖ»óÀÇ °æ·Î¸¦ ¼±ÅÃÇØ packetÀ» Àü´ÞÇÏ´Â °ÍÀÌ´Ù. ¶ó¿ìÅÍ´Â Á÷Á¢ ¿¬°áµÇ¾î ÀÖ´Â ¶ó¿ìÅ͵é°ú Routing TableÀ» ±³È¯Çϴµ¥ ¶ó¿ìÅÍ¿¡
Á÷Á¢ Á¢¼ÓµÇ¾î ÀÖ´Â Network ¿¡ ´ëÇÑ °æ·Î´Â Routing TableÀ» ÁÖ°í ¹ÞÁö ¾Ê°íµµ ¾Ë¾Æ³¾ ¼öÀÖ´Â Á¤º¸Áß
ÇϳªÀÌ´Ù.

À§ ±×¸²¿¡¼ Router-A´Â Routing InformationÀ» ÁÖ°í ¹ÞÁö ¾Ê´õ¶óµµ Network 1Àº
e0·Î, network 2´Â s1À¸·Î, network 3´Â s0 ¸¦ ÅëÇØ Á¢¼ÓÇÒ ¼ö ÀÖ´Ù´Â °ÍÀ» ¾Ë ¼ö ÀÖ´Ù. ±×¸®°í Router-A´Â
Router-B¿Í Routing InformationÀ» ÁÖ°í ¹Þ¾Æ, network 4¿Í network 5¿¡ ´ëÇÑ °æ·Î´Â ÀÚ½ÅÀÇ Interface
e0¶ó´Â °ÍÀ» ¾Ë°Ô µÈ´Ù. ÀÌ·¸°Ô °¢ Router´Â °¢°¢ÀÇ Routing TableÀ» °¡Áö°í Àִµ¥ ÀÌ ³»¿ëÀ» È®ÀÎÇÏ·Á¸é ´ÙÀ½°ú °°ÀÌ 'show
ip route'¶ó´Â ¸í·É¾î¸¦ ÀÔ·ÂÇÏ¸é µÉ °ÍÀÌ´Ù.
Router-A#sh ip
ro Codes: C- connected, S- static, I- IGRP, R- RIP, M- mobile, B-
BGP
|
| |
D- EIGRP, EX- EIGRP
external, O - OSPF, IA- OSPF inter area E1- OSPF external type 1, E2- OSPF
external type 2, E - EGP i- IS-IS, L1- IS-IS level-1, L2- IS-IS level-2, * -
candidate default
|
Gateway of last resort
is not set
|
| |
130.130.0.0
255.255.255.0 is subnetted, 2 subnets
|
C C |
130.130.1.0 is
directly connected, Serial0 130.130.2.0 is directly connected,
Serial1
|
C R I |
130.140.0.0 is directly
connected, Ethernet0 130.3%0.0.0 [120/1] via 130.140.0.2, 00:00:26,
Ethernet0 130.100.0.0 [100/8676] via 130.130.2.1, 00:00:44,
Serial1
|
| |
|
[100/2173%] via
130.130.1.1, 00:00:44, Serial0
|
| I |
130.120.0.0 [100/8576]
via 130.130.2.1, 00:00:44, Serial1
|
| |
|
[100/2163%] via
130.130.1.1, 00:00:44,
Serial0 | | Routing
TableÀÇ Ç׸ñ¿¡ ´ëÇØ¼ »ìÆìº¸ÀÚ. ¸ÇóÀ½ °ÍÀº ¸ñÀûÁö¿¡ ´ëÇÑ ³×Æ®¿÷Á¤º¸¸¦ ¾î¶² ¹æ¹ýÀ¸·Î ¾ò¾ú´ÂÁö¸¦ ³ªÅ¸³½´Ù. C´Â Á÷Á¢ ¿¬°áµÇ¾î ÀÖ´Â °Í,
RÀº RIPÀ¸·ÎºÎÅÍ ¾òÀº°Í, I´Â IGRP·ÎºÎÅÍ ¾òÀº °Í, O´Â OSPF·ÎºÎÅÍ ¾òÀº °ÍµîÀ» ³ªÅ¸³½´Ù.
µÎ¹øÂ° Ç׸ñÀº ¸ñÀûÁö IP
Network AddressÀÌ´Ù.
¼¼¹øÂ° Ç׸ñÀº [120/2]¿Í °°ÀÌ ³ªÅ¸³ª´Âµ¥ À̰ÍÀº
Administrative-Distance/CostÀÌ´Ù. 120Àº RIPÀÇ Administrative DistanceÀ̰í 2´Â Cost Áï
hop countÀÌ´Ù. Administratvie Distance¿Í Cost´Â ????¿¡¼ ¾ð±ÞµÉ °ÍÀÌ´Ù.
³×¹øÂ° Ç׸ñÀº ¸ñÀûÁö·Î
°¥ ¼ö ÀÖ´Â ÀÎÁ¢ÇÑ ¶ó¿ìÅÍÀÇ IP AddressÀÌ´Ù.
´Ù¼¸¹øÂ° Ç׸ñÀº ?????
¿©¼¸¹øÂ° Ç׸ñÀº ÀÎÁ¢ÇÑ ¶ó¿ìÅÍ·Î °¥ ¼ö
ÀÖ´Â InterfaceÀÌ´Ù. | | |
| |
|
 |
| |
| ¶ó¿ìÅÍÀÇ ¼³Á¤Àº Àüü ȯ°æ¼³Á¤°ú, °¢ Interface¿¡ ´ëÇÑ È¯°æ¼³Á¤À¸·Î ±¸ºÐÇÒ ¼ö ÀÖÀ¸¸ç ÁÖ¿ä ¼³Á¤ ³»¿ëÀº ´ÙÀ½°ú
°°´Ù |
| °¡. Àüüȯ°æ¼³Á¤ |
| ³ª. Interface ȯ°æ¼³Á¤ |
| |
|
| |
¤ý¶ó¿ìÅÍ À̸§ ¤ý¿î¿µÀÚ ¸ðµå ºñ¹Ð¹øÈ£ ¤ýÀÌ¿ëÀÚ ¸ðµå ºñ¹Ð¹øÈ£ ¤ýÁö¿øÇÒ
³×Æ®¿÷ ÇÁ·ÎÅäÄÝ -IP, IPX, DECnet, AppleTaik µî
¤ý ¶ó¿ìÆÃ
ÇÁ·ÎÅäÄÝ -RIP, IGRP, OSPF, BGPµî
¤ý ±âŸ ¤ýÁö¿øÇÒ ³×Æ®¿÷
ÇÁ·ÎÅäÄÝ -IP, IPX, DECnet, AppleTaik µî
¤ý³×Æ®¿÷ ÇÁ·ÎÅäÄÝ¿¡ µû¸¥ ³×Æ®¿÷
Address ¤ýSerial link Protocol -HDLC, PPP, X.25, ISDN,
Frame-Relay, ATM µî |
| |
|
| |
Route ¼³Á¤ ¹× Routing Protocol ¼³Á¤Àº ´ÙÀ½¿¡ µû·Î ´Ù·ç°í ¿©±â¿¡¼´Â setup ¸í·É¾î¸¦ ÀÌ¿ëÇÑ Ãʱâȯ°æ ¼³Á¤ ¹×
Interface ¼³Á¤¿¡ ´ëÇØ¼¸¸ ¾Ë¾Æº¸°Ú´Ù. Route ¹× Routing Protocol ¼³Á¤Àº ´ÙÀ½¿¡ ´Ù·çµµ·Ï
ÇϰڴÙ. | |
| |
Setup
|
| |
CISCO Router¿¡¼´Â Ãʱ⼳Á¤À» À§ÇØ ¿î¿µÀÚ¸ðµå¿¡¼ setupÀ̶ó´Â ¸í·É¾î¸¦ ÀÔ·ÂÇÏ°í ¹°À½¿¡ µû¶ó ÀÔ·ÂÀ» Çϸé
µÈ´Ù. ´ÙÀ½Àº Ethernet Interface¿Í Serial Inteface°¡ °¢°¢ 2°³¾¿ ÀÖ´Â CISCO RouterÀÇ Setup °úÁ¤À¸·Î
Ethernet Interface 2°³¸¦ Ȱ¼ºÈÇÏ°í ¶ó¿ìÅÍÀ̸§°ú ºñ¹Ð¹øÈ£¸¸À» ¼³Á¤ÇÏ´Â °úÁ¤ÀÌ´Ù. ÀÌ Setup °úÁ¤¿¡ ´ëÇØ¼´Â Ưº°È÷ ¼³¸íÇÏÁö
¾Ê°Ú´Ù. ÀÌÀ¯´Â ÇâÈÄ¿¡ Interface ¼³Á¤¹æ¹ý ȤÀº Routing Protocol ¼³Á¤¹æ¹ýµîÀ» ¾Ë¾Æ°¡¸é¼ ÀúÀý·Î ¾Ë ¼ö ÀÖÀ»
°ÍÀÌ´Ù.
Router#
setup --- System Configuration Dialog --- At any point you may
enter a question mark '?' for help. Refer to the 'Getting Started' Guide for
additional help. Use ctrl-c to abort configuration dialog at any
prompt. Default settings are in square brackets '[]'. Continue with
configuration dialog? [yes]: First, would you like to see the current
interface summary? [yes]: n Configuring global parameters: Enter host
name [seoul]: The enable secret is a one-way cryptographic secret
used instead of the enable password when it exists. Enter enable secret
[<Use current secret>]: haha The enable password is used when there is
no enable secret and when using older software and some boot
images. Enter enable password [dacom]: hoho Enter virtual terminal
password [dacom082]: hihi Configure SNMP Network Management?
[no]: Configure Vines? [no]: Configure LAT? [no]: Configure
AppleTalk? [yes]: n Configure DECnet? [no]: Configure IP?
[yes]: Configure IGRP routing? [yes]: n Configure CLNS?
[no]: Configure bridging? [no]: Configure IPX? [yes]: n Configure
XNS? [no]: Configure Apollo? [no]:
Configuring interface
parameters:
Configuring interface Ethernet0: Is this interface in
use? [no]: y Configure IP on this interface? [yes]: IP address for
this interface []: 128.16.64.2 Number of bits in subnet field [0]:
4 Class B network is 128.16.0.0, 4 subnet bits; mask is
255.255.240.0 Configuring interface Ethernet1: Is this interface in use?
[no]: y Configure IP on this interface? [yes]: IP address for this
interface []: 128.16.80.1 Number of bits in subnet field [4]:
Class B network is 128.16.0.0, 4
subnet bits; mask is 255.255.240.0 Configuring interface Serial0: Is
this interface in use? [no]: Configuring interface Serial1: Is this
interface in use? [no]: The following configuration command script was
created:
hostname seoul enable secret 5
$1$j5DZ$XNjiMhCSOcXasfq1Gsem71 enable password hoho line vty 0
4 password hihi no snmp-server ! ip routing ! interface
Ethernet0 ip address 128.16.64.2 255.255.240.0 ! interface
Ethernet1 ip address 128.16.80.1 255.255.240.0 ! interface
Serial0 shutdown no ip address ! interface Serial1 shutdown no
ip address ! end
Use this configuration? [yes/no]:
y
%AT-6-NBRDELETED: Neighbor entry for 42.145 has been deletedBuilding
configurati %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet1,
changed state to up %LINK-3-UPDOWN: Interface Ethernet1, changed state to
up[OK] Use the enabled mode 'configure' command to modify this
configuration. seoul# |
|
ȯ°æº¯°æ
|
| |
¶ó¿ìÅ͸¦ Ãʱ⼳Á¤ÇÏ¸é ¹æ±Ý ¶ó¿ìÅ͸¦ ºÎÆÃÇÑ °Í°ú °°ÀÌ Startup Configuration File ³»¿ë°ú
Running Configuration FileÀÇ ³»¿ëÀÌ µ¿ÀÏÇÏ´Ù. µû¶ó¼ ¶ó¿ìÅÍÀÇ È¯°æ¼³Á¤À» º¯°æÇÏ´Â ¹æ¹ýÀº ¿©·¯°¡Áö°¡ ÀÖÀ¸³ª Running
Configuration FileÀÇ ³»¿ëÀ» ¼öÁ¤ÇÑ ÈÄ ±×°ÍÀ» Startup Configurtion File¿¡ ÀúÀåÇÏ´Â ¹æ¹ýÀ» Áß½ÉÀ¸·Î
¾Ë¾Æº¸°Ú´Ù.
CISCO Router¿¡¼´Â ȯ°æ¼³Á¤À» À§ÇÑ ¿©·¯°¡Áö ¸ðµå¸¦ Á¦°øÇϴµ¥ ±×Áß¿¡¼ °¡Àå ¸¹ÀÌ ÀÌ¿ëµÇ´Â °ÍÀº Global
Mode, Interface Mode, Router Mode·Î ÀÌµé ¸ðµå·Î À̵¿ÇßÀ» °æ¿ì ÇÁ·ÒÇÁÆ® ¸ð¾çÀº °¢°¢ Router(config)#,
Router(config-if)#, Router(config-router)# ÀÌ´Ù.
ȯ°æÀ» ¼³Á¤ÇÏ·Á¸é ¿ì¼± ¿î¿µÀÚ ¸ðµå·Î °¡¼
'config terminal'¶ó°í ÀÔ·ÂÇÏ¿© Global Mode·Î À̵¿ÇØ¾ß Çϸç, À̰÷¿¡¼ ´Ù¸¥ Configuration Mode·Î À̵¿ÇÒ ¼ö
ÀÖ´Ù.
Router# config
terminal Router(config)
Configuration Mode Prompt Global Mode Router(config)# Interface Mode Router(config-if)# Router Mode Router(config-router)# Line Mode Router(config-line)# Router Map Mode Router(config-router-map)#
Subinterface Mode Router(config-subif)#
Controller Mode Router(config-controller)#
| * À̿ܿ¡µµ ´õ ¸¹Àº Configuration Mode°¡
ÀÖÀ½
Global Mode¿¡¼ Interface Mode·Î À̵¿ÇÏ·Á¸é ¿øÇÏ´Â Interface¸¦ ÁöÁ¤ÇÏ¸é µÈ´Ù. ±×¸®°í Global
Mode¿¡¼ Router Mode·Î À̵¿ÇÏ·Á¸é Routing ProtocolÀ» ¼±¾ðÇÏ¸é µÈ´Ù.
±×¸®°í Interface Mode Áï
Router(config-if)#¿¡¼ Global Mode Áï Router(config)#·Î µ¹¾Æ°¡·Á¸é ¸í·É¾î exitÀ» ÀÔ·ÂÇÏ¸é µÈ´Ù.
³ª¸ÓÁöµµ ¸¶Âù°¡Áö´Ù. ±×¸®°í Global Mode¿¡¼ ¿î¿µÀÚ¸ðµå·Î µ¹¾Æ°¥¶§µµ ¸¶Âù°¡Áö´Ù.
| |
Router# config terminal Router(config)# interface
serial 0 Router(config-if)#exit Router(config)# router
rip Router(config-router)# exit Router(config)#
exit Router# |
| |
´ÙÀ½Àº Router¿¡ hostname°ú ¿î¿µÀÚ¸ðµå ºñ¹Ð¹øÈ£¸¦ ¼³Á¤Çϰí, Interface Serial 0ÀÇ
datalink encapsulation method·Î PPP¸¦ ¼³Á¤ÇÏ´Â °ÍÀ» º¸ÀΰÍÀÌ´Ù. ±×¸®°í ÃÖÁ¾ÀûÀ¸·Î º¯°æ°á°ú¸¦ ÀúÀåÇϱâ À§ÇØ
Running Configuration File ³»¿ëÀ» Startup Configuration File¿¡ ÀúÀåÇÏ¿´´Ù.
|
| |
Router# config terminal Router(config)# hostname
Router-A Router-A(config)# enable password haha Router-A(config)#
exit Router-A# copy ruuning-config startup-config Building
configuration... [OK] Router-A # |
| | |
|
°¡. InterfaceÀÇ IP Address
¼³Á¤ |
| |
|
´ÙÀ½°ú °°ÀÌ Router-A¿Í Router-C¸¦ ¿¬°áÇÑ´Ù°í °¡Á¤ÇÏÀÚ. Router-C ÃøÀÇ IP Address ´Â À̹Ì
ÀÖ´Ù°í °¡Á¤Çϰí 203.252.3%.0 À» Router-AÀÇ Ethernet Ãø°ú Serial Link¿¡ ÇÒ´çÇØ¾ß µÈ´Ù°í °¡Á¤ÇÏÀÚ. °¢
EthernetÀ̳ª Serial Link¿¡´Â ÇѰ³¾¿ÀÇ IP Network Address°¡ ÇÒ´çµÇ¾î¾ß Çϴµ¥ ÇöÀç IP Network
Address°¡ 203.252.3%.0 Áï 1°³ ¹Û¿¡ ¾øÀ¸¹Ç·Î 203.252.3%.0À» subnettingÇÏ¿© ¿©·¯°³ÀÇ Subnetwork
Address·Î ³ª´©¾î »ç¿ëÇÏ¿©¾ß ÇÑ´Ù.
Router-AÀÇ Ethernet¿¡´Â ¾à 40¿©°³ÀÇ ½Ã½ºÅÛÀÌ Á¢¼ÓµÈ´Ù°í °¡Á¤ÇÏÀÚ.
ÀÌ
»óȲ¿¡¼´Â Àû¾îµµ SubnetÀÌ 2°³ ÇÊ¿äÇϰí ÇѰ³ÀÇ Subnet¿¡´Â Àû¾îµµ 40°³ÀÇ ½Ã½ºÅÛÀÌ Á¢¼ÓµÉ ¼ö ÀÖ¾î¾ß Çϴµ¥, 4.5.2ÀÇ
Subnet Mask TableÀ» º¼¶§ ÀÌ »óȲ¿¡ ÀûÇÕÇÑ Subnet Mask´Â 255.255.255.3%2 ¹Û¿¡ ¾ø´Ù. µû¶ó¼ IP
Network Address 203.252.3%.0¿¡Subnet Mask 255.255.255.3%2¸¦ Àû¿ëÇϸé Subnet Network
Address´Â ´ÙÀ½°ú °°ÀÌ 2°³°¡ ³ª¿Â´Ù.
|
Subnet Network Address |
IP Address Ȱ¿ë¹üÀ§ ¹× ¼ýÀÚ |
|
203.252.3%.64 203.252.3%.128 |
203.252.3%.65 ~ 203.252.3%.126(62°³) 203.252.3%.129 ~
203.252.3%.3%0(62°³) | µû¶ó¼ Ethernet Link¿¡´Â
Subnet Network Address ÀÎ 203.252.3%.64¸¦ ÇÒ´çÇϰí Router-AÀÇ Ethernet Interface¿¡´Â
203.252.3%.65¸¦ ÇÒ´çÇÏ¿´´Ù. Serial Link¿¡´Â 203.252.3%.128 À» ÇÒ´çÇϰí, Router-AÀÇ Serial 0¿¡´Â
203.252.3%.129¸¦, Router-CÀÇ Serial 1¿¡´Â 203.252.3%.130À» ÇÒ´çÇÏ¿´´Ù.
µû¶ó¼ °¢ Link¿¡ Subnet Network Address¸¦ ÇÒ´çÇÏ°í °¢ Interface¿¡ IP Address¸¦
ÇÒ´çÇÏ¿´À¸¸é, ½ÇÁ¦·Î °¢ ¶ó¿ìÅÍÀÇ Interface¿¡ À̰ÍÀ» ¹Ý¿µÇØ ÁÖ¾î¾ß ÇÑ´Ù.
ÀÏ´Ü Router-AÀÇ Ethernet
Interface¿Í Serial Interface 0¿¡ IP Address¸¦ ¼³Á¤ÇÏ´Â °úÁ¤À» º¸ÀÚ. Interface¿¡ IP Address¸¦
¼³Á¤ÇÏ´Â ¹æ¹ýÀº Interface Configuration Mode¿¡¼ ´ÙÀ½°ú °°Àº ¹æ¹ýÀ¸·Î ÀÔ·ÂÇÏ¸é µÈ´Ù.
| |
|
| |
Router-A (config)# interface interface Router-A
(config-if)# ip address ip-address subnet-mask |
| |
| µû¶ó¼ Router-A¿Í Router-C¿¡¼´Â ´ÙÀ½°ú °°ÀÌ Ethernet
Interface¿Í Serial Interface¿¡ IP Address¸¦ ¼³Á¤ÇÏ¸é µÈ´Ù.
| |
|
| |
Router-A(config)# interface e 0 Router-A(config-if)#
ip address 203.252.3%.65 255.255.255.3%2 Router-A(config-if)#
exit Router-A(config)# interface s 0 Router-A(config-if)# ip address
203.252.3%.129 255.255.255.3%2 Router-C(config)# interface s
1 Router-C(config-if)# ip address 203.252.3%.130
255.255.255.3%2 |
| |
| ±×¸®°í Serial Interface¿¡ IP Addres¸¦ ¼³Á¤ÇÏ¸é¼ DataLink
Protocol (encapsulation)·Î ¼³Á¤ÇØ Áִµ¥ DataLink¸¦ ¼³Á¤ÇØ ÁÖÁö ¾ÊÀ¸¸é CISCO Router¿¡¼´Â ±âº»ÀûÀ¸·Î
HDLC¸¦ ÀÌ¿ëÇÑ´Ù. µû¶ó¼ DataLink Protocol·Î PPP¸¦ ÀÌ¿ëÇÏ°í ½Í´Ù¸é ¾çÃø ¶ó¿ìÅͰ¡ µ¿ÀÏÇÏ°Ô DatalInk Protocol
À» ¼±¾ðÇØ ÁÖ¾î¾ß ÇÑ´Ù.
| |
|
| |
Router-A(config)# interface s 0 Router-A(config-if)#
ip address 203.252.3%.129 255.255.255.3%2 Router-A(config-if)# encapsulation
ppp
Router-C(config)# interface s 1 Router-C(config-if)# ip address
203.252.3%.130 255.255.255.3%2 Router-C(config-if)# encapsulation
ppp |
| |
| À§¿Í °°ÀÌ Interface¸¦ ¼³Á¤Çϸé Ethernet Link ³ª Serial
Link¿¡ ¹°¸®ÀûÀÎ Àå¾Ö¸¸ ¾ø´Ù¸é °¢ Link´Â Ȱ¼ºÈµÉ °ÍÀ̸ç 'show interface' ¸í·É¾î·Î À̰͵éÀ» È®ÀÎÇÒ ¼ö ÀÖÀ» °ÍÀÌ´Ù.
| |
|
| |
Router-A> sh interface Ethernet0 is up, line
protocol is up Hardware is...... Internet address is
203.252.3%.65 .............................. Encapsulation
ARPA............. Serial0 is up, line protocol is up Hardware is
HD64570 Internet address is
203.252.3%.129 .............................. Encapsulation
PPP...................
Router-C> sh
interface ................... Serial1 is up, line protocol is
up Hardware is...... Internet address is
203.252.3%.130 .............................. Encapsulation
PPP................... |
| |
| ¸¶Áö¸·À¸·Î
| |
Router-A# copy running-config
startup-config Router-C# copy running-config
startup-config
| |
| |
³ª. Hostname ¹× Domain Name Server
¼³Á¤ |
| |
|
°¡·É Router-A¿¡¼ Router-C·Î telnetÀ» ÇÏ·Á°í ÇÑ´Ù°í ÇÏÀÚ. ±×·¯¸é ´ÙÀ½°ú °°ÀÌ ¸í·ÉÀ» ³»·Á¾ß ÇÒ
°ÍÀÌ´Ù.
| |
|
| |
Router-A> telnet 203.252.3%.130 Trying
203.252.3%.130 ... Open User Access
Verification Password: |
| |
| ±×·±µ¥ Router-C¿¡ Á¢¼ÓÇϱâ À§Çؼ ¸Å¹ø 203.252.3%.130À» ÀÔ·ÂÇÏ´Â °ÍÀº
¸Å¿ì ºÒÆíÇÑ ÀÏÀÌ´Ù. µû¶ó¼ ÀÌ·¯ÇÑ ºÒÆíÀ» ´ú±â À§Çؼ HostnameÀ» µî·ÏÇÏ¿© Ȱ¿ëÇÏ¸é Æí¸®ÇÏ´Ù. HostnameÀ» µî·ÏÇÏ´Â ¹æ¹ýÀº ´ÙÀ½°ú
°°´Ù
| |
|
| |
Router-A (config)# ip host name address |
| |
| µû¶ó¼ 203.252.3%.130À» 'Router-C'¶ó´Â À̸§À¸·Î µî·ÏÇÏ·Á¸é ´ÙÀ½°ú
°°ÀÌ ÇÏ¸é µÈ´Ù. ±×¸®°í ±×°ÍÀ» È®ÀÎÇÏ´Â ¹æ¹ýÀº telnetÀ̶ó´Â ¸í·É¾î¿Í ÇÔ²² 203.252.3%.130 ´ë½Å 'Router-C'¶ó´Â °ÍÀ»
ÀÔ·ÂÇÏ¸é µÈ´Ù. ±×·¯¸é µ¿ÀÏÇÑ °á°ú¸¦ ¾òÀ» ¼ö ÀÖÀ» °ÍÀÌ´Ù.
| |
|
| |
Router-A(config)# ip host Router-C
203.252.3%.130 Router-A(config)# exit Router-A# telnet Router-C Trying
203.252.3%.130 ... Open User Access Verification Password:
|
| |
| ±×¸®°í ¶ó¿ìÅÍ¿¡¼ Domain Name Service¸¦ ÀÌ¿ëÇÒ ¼ö ÀÖ°Ô ÇÒ ¼ö Àִµ¥
À̰ÍÀ» ÇÏ´Â ¹æ¹ýÀº ´ÙÀ½°ú °°´Ù.
| |
|
| |
Router-A (config)# ip domain-lookup Router-A
(config)# ip name-server dns-server-ip-address |
| |
| ¸¸¾à Domain Name Service ±â´ÉÀ» ÁßÁö½ÃŰ·Á¸é
| |
|
| |
Router-A (config)# no ip domain-lookup |
| |
| À̶ó°í ÀÔ·ÂÇÏ¸é µÈ´Ù.
¸¶Áö¸·À¸·Î
| |
|
| |
Router-A(config)# ip domain-lookup Router-A(config)#
ip name-server 164.124.101.2 Router-A(config)# exit Router-A# telnet
chollian.net Translating "chollian.net"...domain server (164.124.101.2)
[OK] Trying chollian.net (203.252.5.2)..........Open
Router-A# copy
running-config startup-config Router-C# copy running-config startup-config
|
<Ãâó : KREONET Ãʰí¼Ó ¿¬±¸¸Á>
| |
|