2014年2月7日 星期五
[Win2008] 忘記密碼
1. 以 Windows server 2008光碟片或 ISO 開機
2. 進入修復電腦 -> 命令提示符
3. 指令:
D:> cd windows\system32
D:\Windows\System32>rename magnify.exe magnify.exe.bak
D:\Windows\System32>copy cmd.exe magnify.exe
4. 重開機 ->登入畫面 -> 輕鬆訪問 -> 放大鏡選項 ->命令提示符
5. 指令:
whoami
explorer
net user administrator "newpassword"
2014年1月20日 星期一
[Cisco]設定網路
a. IP設定
Cisco800Router(config)#interface ethernet 0
Cisco800Router(config-if)#ip address 192.168.1.1 255.255.255.0
Cisco800Router(config-if)#no shutdown
b. 開啟Web管理介面 Cisco800Router(config)#no ip http server
Cisco800Router(config-if)#description LAN Port to CoreSW
c. 閘道設定
Cisco800Router(config)#ip default-gateway 192.168.1.99 255.255.255.0
[Cisco] 常用show指令
- Show version:顯示硬體、軟體資訊
- Show interface:查看每個介面的資訊
- Show ip interface brief:快速看每個介面IP資訊
- Show protocols:快速查看Layer1與Layer2之間的狀態
- Show cdp nei:查看直接連接設備的資訊
- Show ip route:快速了解路徑表
[Cisco] 安全性設定
安全性設定選譯:
a. SSH
RouterA(config)#ip domain-name test.com
RouterA(config)#crypto key generate rsa general-keys modulus 1024
RouterA(config)#line vty 0 4
RouterA(config)#login local
RouterA(config-line)#transport input ssh
RouterA(config)#username oya password 1234
b. Enable secret
Router(config)#enable secret 1234
c. Console Password
Router(config)# line con 0
Router(config-line)# password 1234
d.Type 7全改為MD5加密
Router(config)#service password-encryption
2014年1月16日 星期四
[Cisco] PC->樓層Switch->Core Switch
樓層Switch
ps.
1. 接到電腦、主機:Access Port
2. Switch之間的Vlan需溝通:Trunk Port
Core Switch
1F_SW(config)#vl 11 建立Vlan 11
1F_SW(config-vlan)#int ra f0/1 - 22
1F_SW(config-if-range)#sw mo ac 設定成Access Port
1F_SW(config-if-range)#sw ac vl 11 Port指定給Vlan 11
1F_SW(config-if-range)#int ra f0/23 - 24
1F_SW(config-if-range)#sw mo tr 設定成Trunk Port
1. 接到電腦、主機:Access Port
2. Switch之間的Vlan需溝通:Trunk Port
ip default-gateway x.x.x.x
CORE_SW(config)#int ra f0/1 - 2
CORE_SW(config-if-range)#sw tr encapsulation dot1q 設定Trunk封裝模式為dot1q
CORE_SW(config-if-range)#switchport trunk allowed vlan ID 限制讓某些Vlan通過
CORE_SW(config-if-range)#sw mo tr 設定成Trunk Port
CORE_SW(config)#vl 11 建立Vlan 11
CORE_SW(config-vlan)#int vl 11
CORE_SW(config-if)#ip add 192.168.11.254 255.255.255.0 設定Vlan 11的IP
CORE_SW(config)#ip routing Switch設定成可路由模式
ip default-gateway x.x.x.x
ip default-gateway x.x.x.x
[Cisco] 清除Router & Switch設定
清除Router所有的設定
#write erase
#relad
清除Switch所有設定:
#delete flash:vlan.dat (清 vlan資料)
#write erase
#relad
2013年6月7日 星期五
[VMware] ESXI 5.0 in HP DL115 G5
網路上看到的一篇教學~
http://www.michaelm.info/blog/?p=329
得先裝ESXI 3.5版,再修改部份內容,方能升級到5.0的版本
截取部份較重要的說明
Note that this server needed a further tweak as the SCSI passthrough of the SCSI attached LTO3 drive stopped working after the installation of ESXi5.0. A bit of Googling revealed that the following would solve this problem:
esxcli storage nmp satp rule add --satp=VMW_SATP_LOCAL --vendor="HP" --model="Ultrium 3-SCSI"
訂閱:
文章 (Atom)