728x90
1. TFTP 다운
2. 펌웨어 파일 디렉토리 위치 지정
3. 통신 IP 임시 설정
Switch# Switch#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#interface vlan1 Switch(config-if)#ip address 192.168.10.1 255.255.255.0 Switch(config-if)#no shutdown Switch(config-if)#end Switch(config)#show run |
3-1. 설정 확인
Switch#show run Building configuration... Current configuration : 2095 bytes ! version 12.2 no service pad service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname Switch ! boot-start-marker boot-end-marker ! ! ! ! no aaa new-model ! ! ! ! ! spanning-tree mode pvst spanning-tree extend system-id ! ! ! ! vlan internal allocation policy ascending ! ! interface FastEthernet0 no ip address ! interface GigabitEthernet0/1 ! .... ! interface GigabitEthernet0/48 ! interface GigabitEthernet0/49 ! interface GigabitEthernet0/50 ! interface Vlan1 ip address 192.168.10.1 255.255.255.0 ! |
4. 이미지 다운
Switch#ping 192.168.10.10 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.10.10, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/203/1006 ms Switch#boot system tftp://192.168.10.10/c2960s-universalk9-mz.152-2.E9.bin ^ % Invalid input detected at '^' marker. Switch#show flash Directory of flash:/ 583 -rwx 1048 Mar 1 1993 00:01:38 +00:00 multiple-fs 3 drwx 512 Mar 1 1993 00:14:31 +00:00 c2960s-universalk9-mz.122-55.SE5 57931776 bytes total (42675712 bytes free) Switch#show boot BOOT path-list : flash:/c2960s-universalk9-mz.122-55.SE5/c2960s-universalk9-mz.122-55.SE5.bin Config file : flash:/config.text Private Config file : flash:/private-config.text Enable Break : no Manual Boot : no HELPER path-list : Auto upgrade : yes Auto upgrade path : NVRAM/Config file buffer size: 524288 Timeout for Config Download: 0 seconds Config Download via DHCP: disabled (next boot: disabled) Switch#copy tftp flash: Address or name of remote host []? 192.168.10.10 Source filename []? c2960s-universalk9-mz.152-2.E9.bin Destination filename [c2960s-universalk9-mz.152-2.E9.bin]? c2960s-universalk9-mz.152-2.E9.bin Accessing tftp://192.168.10.10/c2960s-universalk9-mz.152-2.E9.bin... Loading c2960s-universalk9-mz.152-2.E9.bin from 192.168.10.10 (via Vlan1): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! [OK - 16800768 bytes] 16800768 bytes copied in 251.899 secs (66696 bytes/sec) |
5. boot 이미지 변경
Switch#config Configuring from terminal, memory, or network [terminal]? Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#boot system flash:/c2960s-universalk9-mz.152-2.E9.bin Switch(config)# Switch(config)#exit Switch#show b *Mar 1 00:38:34.333: %SYS-5-CONFIG_I: Configured from console by consoleoot BOOT path-list : flash:/c2960s-universalk9-mz.152-2.E9.bin Config file : flash:/config.text Private Config file : flash:/private-config.text Enable Break : no Manual Boot : no HELPER path-list : Auto upgrade : yes Auto upgrade path : NVRAM/Config file buffer size: 524288 Timeout for Config Download: 0 seconds Config Download via DHCP: disabled (next boot: disabled) Switch#reload |
728x90