2018年12月20日 星期四

upgrade c2960-lanbasek9-mz.122-58.SE2.bin to WS-C2960-8TC-L

There is difference procedure to upload .bin and .tar extension file in switch flash:

Like for .bin

it just simple steps type
"copy tftp flash:" and then just hit enter button, it will ask you for tftp server ip and Image detail.make sure you use .bin extension

Here is document available on cisco.com for

Switch#
1.

Switch#copy tftp flash:
Address or name of remote host []? 191.1.1.219
Source filename []? c2960-lanbasek9-mz.122-58.SE2.bin
Destination filename [c2960-lanbasek9-mz.122-58.SE2.bin]?
Accessing tftp://191.1.1.219/c2960-lanbasek9-mz.122-58.SE2.bin...
Loading c2960-lanbasek9-mz.122-58.SE2.bin from 191.1.1.219 (via Vlan1): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[OK - 11660773 bytes]

11660773 bytes copied in 167.445 secs (69639 bytes/sec)

2.
Switch#dir flash:
Directory of flash:/

  621  -rwx    11660773   Mar 1 1993 01:28:16 +00:00  c2960-lanbasek9-mz.122-58.SE2.bin
    2  drwx         512   Mar 1 1993 00:07:36 +00:00  c2960-lanbase-mz.122-35.SE5

27998208 bytes total (7546880 bytes free)

!--- After you delete the old Cisco IOS image file, there is now !--- over 5 MB of free memory. There is enough room for the upgrade.

3.
Switch#verify flash:c2960-lanbasek9-mz.122-58.SE2.bin
Verified flash:c2960-lanbasek9-mz.122-58.SE2.bin

4.
Switch#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)#boot system flash:c2960-lanbasek9-mz.122-58.SE2.bin

Switch(config)#exit
Switch#sho
01:35:18: %SYS-5-CONFIG_I: Configured from console by consol
% Type "show ?" for a list of subcommands

5.
Switch#show boot
BOOT path-list      : flash:c2960-lanbasek9-mz.122-58.SE2.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:   65536

6.
Switch#wr
Building configuration...
[OK]
Switch#wr mem
Building configuration...
[OK]

7.

Switch#reload
Proceed with reload? [confirm]


https://www.cisco.com/c/en/us/support/docs/switches/catalyst-3550-series-switches/41541-190.html#concept9

2018年12月5日 星期三

delete locked w3svc1 x_extend1.log when IIS is in use

https://serverfault.com/questions/484499/delete-iis-log-files

  1. Stop the IIS Admin and World Wide Web Publishing services either via the command line or the services.msc console to unlock the file (obviously this will stop IIS, so if you are hosting production sites do this in a maintenance window).
  2. Delete the file.
  3. Configure logging options as documented by Microsoft.
If for some reason you still show it as in use, use Process Explorerto find the process using it. Select Find->File Handle or DLL and enter the file name.

2018年12月1日 星期六

Sony α7R II + Metabone V轉接EF鏡使用心得,七年之癢——與Canon機身和平分手(07.2018更新)

https://mjohnsphoto.wordpress.com/2017/08/22/sony-%CE%B17r-ii-metabone-v%E8%BD%89%E6%8E%A5ef%E9%8F%A1%E4%BD%BF%E7%94%A8%E5%BF%83%E5%BE%97%EF%BC%8C%E4%B8%83%E5%B9%B4%E4%B9%8B%E7%99%A2-%E8%88%87canon%E6%A9%9F%E8%BA%AB%E5%92%8C/

[EQUIP]
Sony α7R II + Metabone V轉接EF鏡使用心得,七年之癢——與Canon機身和平分手(07.2018更新)