|
http://www.hackerschool.org/HS_Boards/zboard.php?id=Free_Board&no=15311 [º¹»ç]
½Ã½ºÄÚ ¶ó¿ìÅÍ ±âÃÊ ¸í·É¾î ã¾ÆºÃÀ½¿©
# ¶ó¿ìÅÍ ÃʱâÈ Çϱâ
Router>en
Router#erase startup-config
Erasing the nvram filesystem will remove all configuration files! Continue? [confirm] <enter>
[OK]
Erase of nvram: complete
Router#reload
Proceed with reload? [confirm] <enter>
## ¶ó¿ìÅÍ¿¡ °¢ Á¤º¸ È®ÀÎÇϱâ À§ÇÑ ¸í·É¾îµé...
>> Flash¿¡ IOS Á¤º¸ È®ÀÎÇϱâ
Router#show flash
System flash directory:
File Length Name/status
1 16124776 /c2500-jk8s-l.122-1d.bin
[16124840 bytes used, 652376 available, 16777216 total]
16384K bytes of processor board System flash (Read ONLY)
>> DRAM¿¡ Active Config File Á¤º¸ º¸±â
Router#show running-config ´ÜÃà¸í·É: sh run
Router#sh run
Building configuration...
Current configuration : 572 bytes
!
version 12.2
no service single-slot-reload-enable
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Router
<»ý·«>
.....
>> VNRAM¿¡ Backup Config File Á¤º¸ º¸±â
Router#show startup-config ´ÜÃà¸í·É: sh star
Router#sh start
Using 565 out of 32762 bytes
!
version 12.2
no service single-slot-reload-enable
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Router
<»ý·«>
.......
>> ¶ó¿ìÅÍ¿¡ Çϵå¿þ¾î ¹× ¼ÒÇÁ¿þ¾î Á¤º¸¸¦ È®ÀÎÇÏ´Â ¸í·É
Router#show version ´ÜÃà¸í·É: sh ver
Router#sh ver
Cisco Internetwork Operating System Software
IOS (tm) 2500 Software (C2500-JK8S-L), Version 12.2(1d), RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2002 by cisco Systems, Inc.
Compiled Sun 03-Feb-02 18:14 by srani
Image text-base: 0x0307C2FC, data-base: 0x00001000
ROM: System Bootstrap, Version 5.2(8a), RELEASE SOFTWARE
BOOTFLASH: 3000 Bootstrap Software (IGS-RXBOOT), Version 10.2(8a), RELEASE SOFTWARE (fc1)
Router uptime is 5 minutes
System returned to ROM by power-on
System image file is "flash:/c2500-jk8s-l.122-1d.bin"
cisco 2509 (68030) processor (revision D) with 16384K/2048K bytes of memory.
Processor board ID 01756284, with hardware revision 00000000
Bridging software.
X.25 software, Version 3.0.0.
SuperLAT software (copyright 1990 by Meridian Technology Corp).
TN3270 Emulation software.
1 Ethernet/IEEE 802.3 interface(s)
2 Serial network interface(s)
8 terminal line(s)
32K bytes of non-volatile configuration memory.
16384K bytes of processor board System flash (Read ONLY)
Configuration register is 0x2102
>> Terminal (ÀÛ¾÷â) ¼³Á¤ »óÅ ȮÀÎ ¸í·É
Router#show terminal ´ÜÃà¸í·É: sh ter
Router#show term
Line 0, Location: "", Type: ""
Length: 24 lines, Width: 80 columns
Status: PSI Enabled, Ready, Active, Automore On
Capabilities: none
Modem state: Ready
Group codes: 0
Special Chars: Escape Hold Stop Start Disconnect Activation
^^x none - - none
Timeouts: Idle EXEC Idle Session Modem Answer Session Dispatch
00:10:00 never none not set
Idle Session Disconnect Warning
never
Login-sequence User Response
00:00:30
Autoselect Initial Wait
not set
Modem type is unknown.
Session limit is not set.
Time since activation: 00:04:03
Editing is enabled.
History is enabled, history size is 10.
DNS resolution in show commands is enabled
Full user help is disabled
Allowed input transports are none.
Allowed output transports are lat pad v120 mop telnet rlogin nasi.
Preferred transport is lat.
No output characters are padded
No special data dispatching characters
>> History Buffer Á¤º¸ º¸±â
Router#show history
Router#sh his
en
sh flash
sh run
sh start
sh ver
show term
sh his
Router#
**********************************
¶ó¿ìÅÍ ±âÃÊ ¼³Á¤À» À§ÇÑ ±âº» ¸í·É¾î
**********************************
>> Hostname ¼³Á¤
Router#conf t
Router(config)#hostname R1
R1(config)#
>> UserMode -> PrivilegedMode·Î À̵¿½Ã ¾ÏÈ£ Á¦¾îÇϱâ
R1(config)#enable ?
last-resort Define enable action if no TACACS servers respond
password Assign the privileged level password
secret Assign the privileged level secret
use-tacacs Use TACACS to check enable passwords
¿¹Á¦>
Router(config)#enable secret cisco ! ¾ÏÈ£ÈµÈ ¹®ÀÚ·Î ±âº» ÀúÀåµÈ´Ù.
R1(config)#enable password 12345 ! password·Î ÇÒ´çÇÑ ¾ÏÈ£´Â ±âº»ÀûÀ¸·Î ¾ÏÈ£È µÇÁö ¾Ê°í ÀúÀåµÈ´Ù.
R1(config)#service password-encryption ! Password·Î ÇÒ´çÇÑ ¾ÏȣȵÇÁö ¾ÊÀº ¹®ÀÚ¸¦ ¾ÏÈ£È ÇØÁØ´Ù.
>> Console Log µ¿±âÈ Çϱâ
R1(config)#line console 0
R1(config-line)#logging synchronous
>> Console¿¡ Timeout ½Ã°£ º¯°æ
R1(config)#line console 0
R1(config-line)#exec-timeout 8 0
******************
Interface ±¸¼ºÇϱâ
******************
Ethternet/fastethernet/serial/loopback
>>>> ¶ó¿ìÅÍ¿¡ ÀÎÅÍÆäÀ̽º ¿ä¾àÁ¤º¸¸¦ È®ÀÎÇϱâ
R1#show ip interface brief ! ÇöÀç ¶ó¿ìÅÍ¿¡ °¢ ÀÎÅÍÆäÀ̽º Name, IP, State¸¦ º¸¿©ÁØ´Ù.
>> LAN Interface
> Ethernet Inetface (10baseT)
R1(config)#interface ethernet 0 ´ÜÃà¸í·É: int e0
R1(config-if)#ip address <IP> <subnetmask>
R1(config-if)#no shutdown ! ÀÎÅÍÆäÀ̽º Ȱ¼ºÈ
> Fastethernet (100BaseTx)
R1(config)#interface fastethernet 0/0
R1(config-if)#ip address <IP> <subnetmask>
R1(config-if)#speed {auto|100|10}
R1(config-if)#duplex {auto|Full|Half}
R1(config-if)#no shutdown
>> WAN Interface
Serial interface´Â Leased-Line/Frame-relay/X25 ¿Í °°Àº ³×Æ®¿öÅ©¿¡ ¿¬°áÇØ¼ »ç¿ëÇÑ´Ù.
> DTE Type Serial Interface ¼³Á¤
R1(config)#interface serial 0
R1(config-if)#ip address <IP> <Subnetmask>
R1(config-if)#encapsulation {HDLC|PPP|Frame-relay...}
R1(config-if)#bandwidth 1024 ! ¼³Á¤ÇÏÁö ¾ÊÀ¸¸é 1544k °¡ ±âº»°ªÀÌ´Ù.
R1(config-if)#no shutdown
> DCE Type Serial Interface ¼³Á¤
R1(config)#interface serial 0
R1(config-if)#ip address <IP> <Subnetmask>
R1(config-if)#encapsulation {HDLC|PPP|Frame-relay...}
R1(config-if)#bandwidth 1024 ! ¼³Á¤ÇÏÁö ¾ÊÀ¸¸é 1544k °¡ ±âº»°ªÀÌ´Ù.
R1(config-if)#clock rate 1000000 ! speed¸¦ ±âÁØÀ¸·Î bps ´ÜÀ§·Î List¿¡ ÀÖ´Â °ªÀ» ÇÒ´ç.
R1(config-if)#no shutdown
*** DCE/DTE Type CableÀ» ±¸ºÐÇÏ´Â ¹æ¹ý
R1#sh controllers serial 0
HD unit 0, idb = 0x27326C, driver structure at 0x27A830
buffer size 1524 HD unit 0, V.35 DTE cable
cpb = 0x1, eda = 0x4940, cda = 0x4800
>> Logical Interface (°¡»óÀÎÅÍÆäÀ̽º)
> Loopback Interface (»ý¼ºÈÄ ¼³Á¤À» ÇÑ´Ù.)
R1(config)#interface loopback 0
R1(config-if)#ip address <IP> <subnetmask>
[Ãâó] CISCO IOS ±âº» ¸í·É¾î |ÀÛ¼ºÀÚ ³ë¸·
À̰ŸéµÇ¿©? |
Hit : 14087 Date : 2010/03/17 08:29
|