초기화
- 스위치 콘솔로 접속
- 장비 전원을 off
- 앞쪽 MODE버튼을 누른 상태로 장비 전원 on
Base ethernet MAC Address: 00:1e:f6:9d:72:80
Xmodem file system is available.
The password-recovery mechanism is enabled.
The system has been interrupted prior to initializing the
flash filesystem. The following commands will initialize
the flash filesystem, and finish loading the operating
system software:
flash_init
load_helper
boot
switch:
- flash_init 입력
switch: flash_init
Initializing Flash...
flashfs[0]: 603 files, 19 directories
flashfs[0]: 0 orphaned files, 0 orphaned directories
flashfs[0]: Total bytes: 32514048
flashfs[0]: Bytes used: 8336384
flashfs[0]: Bytes available: 24177664
flashfs[0]: flashfs fsck took 10 seconds.
...done Initializing Flash.
Boot Sector Filesystem (bs) installed, fsid: 3
Setting console baud rate to 9600...
2. dir flash: 입력
switch: dir flash:
Directory of flash:/
2 -rwx 1872 <date> config.text
3 -rwx 5 <date> private-config.text
7 drwx 192 <date> c2960-lanbase-mz.122-35.SE5
24177664 bytes available (8336384 bytes used)
1. rename flash:config.text flash:config.backup 입력
switch: rename flash:config.text flash:config.backup
usage: rename <old_name> <new_name>
switch: dir flash:
Directory of flash:/
2 -rwx 1872 <date> config.text
3 -rwx 5 <date> private-config.text
7 drwx 192 <date> c2960-lanbase-mz.122-35.SE5
24177664 bytes available (8336384 bytes used)
switch: rename flash:config.text flash:config.backup
switch: dir flash:
Directory of flash:/
2 -rwx 1872 <date> config.backup
3 -rwx 5 <date> private-config.text
7 drwx 192 <date> c2960-lanbase-mz.122-35.SE5
24177664 bytes available (8336384 bytes used)
switch: ?
? -- Present list of available commands
boot -- Load and boot an executable image
cat -- Concatenate (type) file(s)
copy -- Copy a file
delete -- Delete file(s)
dir -- List files in directories
flash_init -- Initialize flash filesystem(s)
format -- Format a filesystem
fsck -- Check filesystem consistency
help -- Present list of available commands
load_helper -- Load and initialize a helper image
memory -- Present memory heap utilization information
mkdir -- Create dir(s)
more -- Concatenate (display) file(s)
rename -- Rename a file
reset -- Reset the system
rmdir -- Delete empty dir(s)
set -- Set or display environment variables
set_bs -- Set attributes on a boot sector filesystem
set_param -- Set system parameters in flash
sleep -- Pause (sleep) for a specified number of seconds
-- MORE --
trap -- Cause a software breakpoint to occur
type -- Concatenate (type) file(s)
unset -- Unset one or more environment variables
version -- Display boot loader version
3. boot 입력
switch: boot
Loading "flash:c2960-lanbase-mz.122-35.SE5/c2960-lanbase-mz.122-35.SE5.bin"...@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
File "flash:c2960-lanbase-mz.122-35.SE5/c2960-lanbase-mz.122-35.SE5.bin" uncompressed and installed, entry point: 0x3000
executing...
Restricted Rights Legend
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-19 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 IOS Software, C2960 Software (C2960-LANBASE-M), Version 12.2(35)SE5, RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2007 by Cisco Systems, Inc.
Compiled Thu 19-Jul-07 20:06 by nachen
Image text-base: 0x00003000, data-base: 0x00D40000
Initializing flashfs...
flashfs[1]: 603 files, 19 directories
flashfs[1]: 0 orphaned files, 0 orphaned directories
flashfs[1]: Total bytes: 32514048
flashfs[1]: Bytes used: 8336384
flashfs[1]: Bytes available: 24177664
flashfs[1]: flashfs fsck took 1 seconds.
flashfs[1]: Initialization complete....done Initializing flashfs.
POST: CPU MIC register Tests : Begin
POST: CPU MIC register Tests : End, Status Passed
POST: PortASIC Memory Tests : Begin
POST: PortASIC Memory Tests : End, Status Passed
POST: CPU MIC interface Loopback Tests : Begin
POST: CPU MIC interface Loopback Tests : End, Status Passed
POST: PortASIC RingLoopback Tests : Begin
POST: PortASIC RingLoopback Tests : End, Status Passed
POST: PortASIC CAM Subsystem Tests : Begin
POST: PortASIC CAM Subsystem Tests : End, Status Passed
POST: PortASIC Port Loopback Tests : Begin
POST: PortASIC Port Loopback Tests : End, Status Passed
Waiting for Port download...Complete
cisco WS-C2960-24TC-L (PowerPC405) processor (revision E0) with 61440K/4088K bytes of memory.
Processor board ID FOC1151Z00D
Last reset from power-on
1 Virtual Ethernet interface
24 FastEthernet interfaces
2 Gigabit Ethernet interfaces
The password-recovery mechanism is enabled.
64K bytes of flash-simulated non-volatile configuration memory.
Base ethernet MAC Address : 00:1E:F6:9D:72:80
Motherboard assembly number : 73-9832-07
Power supply part number : 341-0097-02
Motherboard serial number : FOC11503D8Y
Power supply serial number : AZS114704K1
Model revision number : E0
Motherboard revision number : A0
Model number : WS-C2960-24TC-L
System serial number : FOC1151Z00D
Top Assembly Part Number : 800-26671-03
Top Assembly Revision Number : B0
Version ID : V03
CLEI Code Number : COM3K00BRB
Hardware Board Revision Number : 0x01
Switch Ports Model SW Version SW Image
------ ----- ----- ---------- ----------
* 1 26 WS-C2960-24TC-L 12.2(35)SE5 C2960-LANBASE-M
Press RETURN to get started!
00:00:23: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to down
00:00:24: %SPANTREE-5-EXTENDED_SYSID: Extended SysId enabled for type vlan
00:00:44: %SYS-5-RESTART: System restarted --
Cisco IOS Software, C2960 Software (C2960-LANBASE-M), Version 12.2(35)SE5, RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2007 by Cisco Systems, Inc.
Compiled Thu 19-Jul-07 20:06 by nachen
00:00:46: %LINK-3-UPDOWN: Interface FastEthernet0/1, changed state to up
00:00:46: %LINK-3-UPDOWN: Interface F
Would you like to terminate autoinstall? [yes]:
4. show flash 로 확인
Switch>en
Switch#show flash
Directory of flash:/
2 -rwx 1872 Mar 14 1993 22:55:16 +00:00 config.backup
3 -rwx 5 Mar 14 1993 22:55:16 +00:00 private-config.text
7 drwx 192 Mar 1 1993 00:06:10 +00:00 c2960-lanbase-mz.122-35.SE5
32514048 bytes total (24177664 bytes free)
Switch#
00:01:17: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up
1. rename flash:config.backup flash:config.text 입력
Switch#rename flash:config.backup flash:config.text
Destination filename [config.text]?
Switch#show flash
Directory of flash:/
2 -rwx 1872 Mar 14 1993 22:55:16 +00:00 config.text
3 -rwx 5 Mar 14 1993 22:55:16 +00:00 private-config.text
7 drwx 192 Mar 1 1993 00:06:10 +00:00 c2960-lanbase-mz.122-35.SE5
32514048 bytes total (24177664 bytes free)
Switch#copy fla
Switch#copy flash:con
Switch#copy flash:config.text sy
Switch#copy flash:config.text system:r
Switch#copy flash:config.text system:running-config
Destination filename [running-config]?
1872 bytes copied in 0.226 secs (8283 bytes/sec)
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#en
Switch(config)#enb
Switch(config)#ena
Switch(config)#enable sec
Switch(config)#enable secret cisco
Switch(config)#wr
% Incomplete command.
'NETWORK' 카테고리의 다른 글
show 명령어 (0) | 2020.10.31 |
---|---|
Static 라우팅 (0) | 2020.10.31 |