Juniper 交换机升级.docx
《Juniper 交换机升级.docx》由会员分享,可在线阅读,更多相关《Juniper 交换机升级.docx(13页珍藏版)》请在冰豆网上搜索。
Juniper交换机升级
Juniperex4200交换机通过CLI方式版本升级实例
By:
binbin96123
QQ:
414649959
21-Mar-12
以4200升级到10.4.r1.9为例
升级文件:
jinstall-ex-4200-10.4R1.9-domestic-signed.tgz
升级前版本9.0.r2.10
step1:
登陆设备
Step2:
设置根密码
Step3:
配置一个VLAN及将接口加入VLAN,以便通过FTP将文件COPY进交换机
setvlansvlan0vlan-id0
setvlansvlan0interfacege-0/0/22.0
setvlansvlan0l3-interfacevlan.0
setinterfacesvlanunit0familyinetaddress192.168.0.1/24
commit
然后把电脑的IP设为192.168.0.0/24网段的任意地址,并运行3cdaemon软件,配置FTP并启动FTP服务器,如下:
使用以下命令将文件COPY到交换机上
admin>filecopy
ftp:
//username:
password@
/var/tmp/filename
安装新的JUNOS软件:
user@host>requestsystemsoftwareaddsourcereboot
其中source参数为通过上一步骤保存在系统中的文件,
如:
/var/tmp/jinstall-ex-4200-10.4R1.9-domestic-signed.tgz
最后可以去喝杯茶回来就升级成功了
以下是COSOLE口显示的升级日志:
Rebooting...
U-Boot1.1.6(Feb62008-11:
27:
42)
Board:
EX4200-24T2.11
EPLD:
Version6.0(0x85)
DRAM:
Initializing(1024MB)
FLASH:
8MB
USB:
scanningbusfordevices...2USBDevice(s)found
scanningbusforstoragedevices...1StorageDevice(s)found
Consoles:
U-Bootconsole
FoundcompatibleAPI,ver.7
FreeBSD/PowerPCU-Bootbootstraploader,Revision2.1
(marcelm@apg-,WedFeb611:
23:
55PST2008)
Memory:
1024MB
Package/jinstall-ex-4200-10.4R1.9-domestic-signed.tgzissigned...
/kerneldata=0x54c7c8+0x56198syms=[0x4+0x52ae0+0x4+0x78366]
Kernelentryat0x800000e0...
GDB:
nodebugportspresent
KDB:
debuggerbackends:
ddb
KDB:
currentbackend:
ddb
Copyright(c)1996-2010,JuniperNetworks,Inc.
Allrightsreserved.
Copyright(c)1992-2006TheFreeBSDProject.
Copyright(c)1979,1980,1983,1986,1988,1989,1991,1992,1993,1994
TheRegentsoftheUniversityofCalifornia.Allrightsreserved.
JUNOS10.4R1.9#0:
2010-12-0409:
51:
02UTC
builder@:
/volume/build/junos/10.4/release/10.4R1.9/obj-powerpc/bsd/sys/compile/INSTALL-EX
Timecounter"decrementer"frequency50000000Hzquality0
cpu0:
Freescalee500v2corerevision2.2
cpu0:
HID080004080
realmemory=1043333120(995MB)
availmemory=1021054976(973MB)
InitializingEXSERIESplatformproperties...
nexus0:
ocpbus0:
onnexus0
openpic0:
iomem0xfef40000-0xfef600b3onocpbus0
memctl0:
iomem0xfef20000-0xfef20e5b,0xfef02000-0xfef02e5birq32,34onocpbus0
i2c0:
iomem0xfef03000-0xfef03014irq59onocpbus0
i2c1:
iomem0xfef03100-0xfef03114irq59onocpbus0
uart0:
<16550orcompatible>iomem0xfef04500-0xfef0450firq58onocpbus0
uart0:
console(9600,n,8,1)
uart1:
<16550orcompatible>iomem0xfef04600-0xfef0460firq58onocpbus0
lbc0:
iomem0xfef05000-0xfef05fff,0xff000000-0xffffffffirq22onocpbus0
cfi0:
iomem0xff800000-0xffffffffonlbc0
syspld0iomem0xff000000-0xff00ffffonlbc0
tsec0:
iomem0xfef24000-0xfef24fffirq45,46,50onocpbus0
tsec0:
hardwareMACaddress00:
21:
59:
c9:
62:
3f
miibus0:
ontsec0
e1000phy0:
onmiibus0
e1000phy0:
10baseT,10baseT-FDX,100baseTX,100baseTX-FDX,1000baseTX-FDX,auto
pcib0:
iomem0xfef08000-0xfef08fff,0xf0000000-0xf3ffffffonocpbus0
pci0:
onpcib0
ohci0:
mem0xf0000000-0xf0000fffirq22atdevice18.0onpci0
usb0:
OHCIversion1.0
usb0:
onohci0
usb0:
USBrevision1.0
uhub0:
(0x1131)OHCIroothub,class9/0,rev1.00/1.00,addr1
uhub0:
2portswith2removable,selfpowered
ehci0:
mem0xf0001000-0xf00010ffirq22atdevice18.2onpci0
usb1:
EHCIversion1.0
usb1:
companioncontroller,2portseach:
usb0
usb1:
onehci0
usb1:
USBrevision2.0
uhub1:
PhilipsEHCIroothub,class9/0,rev2.00/1.00,addr1
uhub1:
2portswith2removable,selfpowered
umass0:
STMicroelectronicsST72682HighSpeedMode,rev2.00/2.10,addr2
pcib1:
iomem0xfef0a000-0xfef0afff,0xe0000000-0xe3ffffff,0xec000000-0xec0fffffirq42onocpbus0
pci1:
onpcib1
pcib2:
atdevice0.0onpci1
pci2:
onpcib2
pci2:
atdevice0.0(nodriverattached)
pcib3:
iomem0xfef0b000-0xfef0bfff,0xe8000000-0xebffffff,0xec200000-0xec2fffffirq43onocpbus0
pci3:
onpcib3
pcib4:
atdevice0.0onpci3
pci4:
onpcib4
pci4:
atdevice0.0(nodriverattached)
Initializingproduct:
41..
Timecounterstickevery10.000msec
md0:
Preloadedimage11022336bytesat0x8066d7b0
da0atumass-sim0bus0target0lun0
da0:
RemovableDirectAccessSCSI-2device
da0:
40.000MB/stransfers
da0:
1000MB(2048000512bytesectors:
64H32S/T1000C)
Tryingtomountrootfromcd9660:
/dev/md0
1+0recordsin
1+0recordsout
512bytestransferredin0.000489secs(1047042bytes/sec)
FILESYSTEMCLEAN;SKIPPINGCHECKS
clean,99436free(28frags,12426blocks,0.0%fragmentation)
tunefs:
softupdatesremainsunchangedasdisabled
FILESYSTEMCLEAN;SKIPPINGCHECKS
clean,28296free(16frags,3535blocks,0.1%fragmentation)
/dev/da0s2a:
187.2MB(383352sectors)blocksize16384,fragmentsize2048
using4cylindergroupsof46.80MB,2995blks,6016inodes.
withsoftupdates
super-blockbackups(forfsck-b#)at:
32,95872,191712,287552
/dev/da0s2f:
124.8MB(255584sectors)blocksize16384,fragmentsize2048
using4cylindergroupsof31.20MB,1997blks,4096inodes.
withsoftupdates
super-blockbackups(forfsck-b#)at:
32,63936,127840,191744
Installingdisk0s3d:
/jinstall-ex-4200-10.4R1.9-domestic-signed.tgz
date:
connect:
Can'tassignrequestedaddress
Checkingpackageintegrity...
VerifiedSHA1checksumofjbase-ex-10.4R1.9.tgz
VerifiedSHA1checksumofjboot-ex-10.4R1.9.tgz
VerifiedSHA1checksumofjcrypto-ex-10.4R1.9.tgz
VerifiedSHA1checksumofjdocs-ex-10.4R1.9.tgz
VerifiedSHA1checksumofjkernel-ex-10.4R1.9.tgz
VerifiedSHA1checksumofjpfe-ex42x-10.4R1.9.tgz
VerifiedSHA1checksumofjroute-ex-10.4R1.9.tgz
VerifiedSHA1checksumofjswitch-ex-10.4R1.9.tgz
VerifiedSHA1checksumofjweb-ex-10.4R1.9.tgz
Runningrequirementscheckfirstforjbundle-ex-4200-10.4R1.9-domestic...
Runningpre-installforjbundle-ex-4200-10.4R1.9-domestic...
Installingjbundle-ex-4200-10.4R1.9-domesticin/tmp/pa2415.26/jbundle-ex-4200-10.4R1.9-domestic.x2415...
Runningpost-installforjbundle-ex-4200-10.4R1.9-domestic...
Addingjkernel-ex...
Addingjcrypto-ex...
Addingjdocs-ex...
Addingjswitch-ex...
Addingjpfe-ex42x...
Addingjroute-ex...
Addingjweb-ex...
Rebootingtocompletetheinstallation.Pleasewait...
Waiting(max300seconds)forsystemprocess`vnlru'tostop...done
Waiting(max300seconds)forsystemprocess`vnlru_mem'tostop...done
Waiting(max300seconds)forsystemprocess`bufdaemon'tostop...done
Waiting(max300seconds)forsystemprocess`syncer'tostop...
Syncingdisks,vnodesremaining...000000000done
syncingdisks...Allbufferssynced.
Uptime:
3m22s
Rebooting...
U-Boot1.1.6(Feb62008-11:
27:
42)
Board:
EX4200-24T2.11
EPLD:
Version6.0(0x85)
DRAM:
Initializing(1024MB)
FLASH:
8MB
USB:
scanningbusfordevices...2USBDevice(s)found
scanningbusforstoragedevices...1StorageDevice(s)found
Consoles:
U-Bootconsole
FoundcompatibleAPI,ver.7
FreeBSD/PowerPCU-Bootbootstraploader,Revision2.1
(marcelm@apg-,WedFeb611:
23:
55PST2008)
Memory:
1024MB
Loading/boot/defaults/loader.conf
/kerneldata=0x8d8e8c+0x947ccsyms=[0x4+0x7a1a0+0x4+0xad2a2]
Hit[Enter]tobootimmediately,orspacebarforcommandprompt.
Booting[/kernel]...
Kernelentryat0x800000e0...
GDB:
nodebugportspresent
KDB:
debuggerbackends:
ddb
KDB:
currentbackend:
ddb
Copyright(c)1996-2010,JuniperNetworks,Inc.
Allrightsreserved.
Copyright(c)1992-2006TheFreeBSDProject.
Copyright(c)1979,1980,1983,1986,1988,1989,1991,1992,1993,1994
TheRegentsoftheUniversityofCalifornia.Allrightsreserved.
JUNOS10.4R1.9#0:
2010-12-0409:
57:
12UTC
builder@:
/volume/build/junos/10.4/release/10.4R1.9/obj-powerpc/bsd/sys/compile/JUNIPER-EX
Timecounter"decrementer"frequency50000000Hzquality0
cpu0:
Freescalee500v2corerevision2.2
cpu0:
HID080004080
realmemory=1048576000(1000MB)
availmemory=1026605056(979MB)
ETHERNETSOCKETBRIDGEinitialising
InitializingEXSERIESplatformproperties...
nexus0:
ocpbus0:
onnexus0
openpic0:
iomem0xfef40000-0xfef600b3onocpbus0
memctl0:
iomem0xfef20000-0xfef20e5b,0xfef02000-0xfef02e5birq32,34onocpbus0
i2c0:
iomem0xfef03000-0xfef03014irq59onocpbus0
i2c1:
iomem0xfef03100-0xfef03114irq59onocpbus0
uart0:
<16550orcompatible>iomem0xfef04500-0xfef0450firq58onocpbus0
uart0:
console(9600,n,8,1)
uart1:
<16550orcompatible>iomem0xfef04600-0xfef0460firq58onocpbus0
lbc0:
iomem0xfef05000-0xfef05fff,0xff000000-0xffffffffirq22onocpbus0
cfi0:
iomem0xff800000-0xffffffffonlbc0
syspld0iomem0xff000000-0xff00ffffonlbc0
tsec0:
iomem0xfef24000-0xfef24fffirq45,46,50onocpbus0
tsec0:
hardwareMACaddress00:
21:
59:
c9:
62:
3f
miibus0:
ontsec0
e1000phy0:
onmiibus0
e1000phy0:
10baseT,10baseT-FDX,