本文共 1741 字,大约阅读时间需要 5 分钟。
switch: set BAUD 57600
confreg 0x2142
switch: copy xmodem: flash:c2960-lanbasek9-mz.150-2.SE6.bin
boot system c2960-lanbasek9-mz.150-2.SE9.bin
copy tftp://192.168.1.10/c3560e-universalk9-mz.122-55.SE1.bin flash:c3560e-universalk9-mz.122-55.SE1.bin
archive tar /xtract tftp://192.168.1.123/c2960-lanbasek9-tar.122-55.SE11.tar flash:/c2960-lanbasek9-tar.122-55.SE11
switch: boot flash:c2950-i6q4l2-mz.121-22.EA1.bin
sh diag
sh hardsh invsh verinterface FastEthernet12
interface GigabitEthernet49Controller51no shutdownUser: admin
Password: (aruba) >enablePassword: enable (aruba) #configure terminalEnter Configuration commands, one per line. End with CNTL/Z(aruba) (config) #enable secret Password: Re-Type password: (aruba) (config) #write memorywrite erase
reload
sys
dis currinterface GigabitEthernet1/0/26
undo sh<4500> system
[4500] int vlan 1[4500] ip address x.x.x.x y.y.y.yx.x.x.x = ip
y.y.y.y = netmaskแค่นั้นแหละ
ถ้าจะใส่ gateway ด้วยก็
[4500] ip route-static 0.0.0.0 0.0.0.0 z.z.z.z
z.z.z.z = gw
แล้วก็ save config ด้วย
[4500] save
ตอบ Y
หลังจากนันจะเข้าทาง gui ได้แล้ว จะตั้งง่ายขึ้น
<4500>sys
System View: return to User View with Ctrl+Z.[4500]]password-control length 6[4500]local-user admin[4500-luser-admin]password cipher abcdef
tftp 192.168.2.5 get t423_05.Bin
get เอาใส่ put รับมา
ip ดูจาก tftp转载于:https://blog.51cto.com/14095933/2324185