Tftp boot的步骤,范例: RP/0/RSP0/CPU0:router#router# cfs check RP/0/RSP0/CPU0:router# admin RP/0/RSP0/CPU0:router(admin)# config-register boot-mode rom-monitor location all RP/0/RSP0/CPU0:router(admin)# reload location all rommon B1> unset BOOT rommon B2> unset TFTP_FILE rommon B3> sync rommon B1> unset BOOT_DEV_SEQ_OPER rommon B2> unset MIRROR_ENABLE rommon B3> sync rommon B4> IP_ADDRESS=1.1.1.1 rommon B5> IP_SUBNET_MASK=255.255.254.0 rommon B6> DEFAULT_GATEWAY=1.1.0.1 rommon B4> TFTP_VERBOSE=0 rommon B5> TFTP_RETRY_COUNT=4 rommon B6> TFTP_TIMEOUT=6000 rommon B7> TFTP_CHECKSUM=0 rommon B8> TFTP_SERVER=223.255.255.254 rommon B9> TFTP_MGMT_INTF=0 rommon B9> TURBOBOOT=on,disk0,format rommon B10> sync rommon B11> boot tftp://223.255.254.254/softdir/comp-asr9k-mini.vm 或U盘升级 mediaboot usb:\asr9k-mini-px.vm-5.3.0 进入ROMMON模式
config-register 0x0 reload
ROMMON下面:
IP_ADDRESS =10.75.13.12 IP_SUBNET_MASK=255.255.255.0 DEFAULT_GATEWAY=10.75.13.1 TFTP_SERVER=10.75.13.130 TFTP_RETRY_COUNT=3 TURBOBOOT=on,disk0,format <<<做的时候format就不要带了 sync //保存配置 set //检查配置
boot tftp://10.75.13.130/asr9k-mini-px.vm-5.1.2
现在因为XR过期,所以所有5.3.2之前的版本都需要打XR certification的SMU. 在10月17号之后是POST-SMU
POST SMU 的名字是CSCut52232,下载这个SMU就会包括所有需要的文件。 关于POST SMU的安装可以参阅如下文档: http://www.cisco.com/c/en/us/td/docs/routers/technotes/MOP-CSS-to-Abraxas.html
我们也在实验室进行过测试,如下是我们的测试步骤和结果,看起来可能更直观一些。
Download asr9k-px-4.3.2.CSCut52232.tar from CCO. There are root certification file and the CSCut52232 pie included.
Add root certification:
RP/0/RSP0/CPU0:9010-1#copy usb:\css-root.cer disk0: Fri Oct 30 17:20:18.408 UTC Destination filename [/disk0:/css-root.cer]? Accessing tftp://10.75.13.130/css-root.cer C 1217 bytes copied in 0 sec
Install the certificate using the sam add certificate command from console. If you do not login via console, the command cannot exec.
From console: RP/0/RSP0/CPU0:9010-1#sam add certificate /disk0:/css-root.cer root trust Fri Oct 30 17:22:13.740 UTC SAM: Successful adding certificate /disk0:/css-root.cer
Install CSCut52232 like normal SMU RP/0/RSP0/CPU0:9010-1(admin)#install add tftp://10.75.13.130/asr9k-px-4.3.2.CSCut52232.pie activate synchronous
RP/0/RSP0/CPU0:9010-1(admin)#show install active summary Fri Oct 30 17:24:55.248 UTC Default Profile: SDRs: Owner Active Packages: disk0:asr9k-mini-px-4.3.2 disk0:asr9k-mpls-px-4.3.2 disk0:asr9k-mcast-px-4.3.2 disk0:asr9k-bng-px-4.3.2 disk0:asr9k-mgbl-px-4.3.2 disk0:asr9k-px-4.3.2.CSCut52232-1.0.0