disk0:asr9k-mgbl-px-5.1.0 \
disk0:asr9k-bng-px-5.1.0 \ "set image_list "disk0:asr9k-mini-px-5.1.0 \
disk0:asr9k-fpd-px-5.1.0 \
disk0:asr9k-mpls-px-5.1.0 \
disk0:asr9k-mgbl-px-5.1.0 \
disk0:asr9k-bng-px-5.1.0 \ "
8
Modify the script to include the IRLs. Enter the show nv edge data forwarding location 0/RSP0/CPU0
command in order to check the links.
set irl_list {{TenGigE 0/0/2/0} {TenGigE 0/0/2/1} {TenGigE 1/0/2/0} {TenGigE 1/0/2/1} }
9
Modify the script to include a Linux Telnet disconnect sequence. The octal value 35 is the equivalent of
a Ctrl-] key combination, which is used to gracefully terminate the console reverse Telnet connection and
allow the script to complete successfully. The modification should be around line 162 in the script.
proc router_disconnect { } {
global debug_mode
global connected_rack
if {$debug_mode == 1} { return }
send -- ?\35?
sleep 1
expect -exact "telnet> "
send -- "quit\r"
expect eof
set connected_rack -1
sleep 5
10
Install add the new software or the SMUs to the Cisco ASR 9000 cluster.
admin
install add tar ftp://cisco:cisco@10.118.12.236/5.1.0.tar sync
11
Disconnect any active terminal sessions to the console ports of the cluster after the install add operation
completes.
12
Activate the script from the Linux server.
root@ubuntu:~/nV$ expect nv_edge_upgrade.exp
########################
This CLI Script performs a software upgrade on
an ASR9k Nv Edge system, using a rack-by-rack
parallel reload method. This script will modify
the configuration of the router, and will incur
traffic loss.
Do you wish to continue [y/n] y
The progress of the script/upgrade is visible from the Linux workstation. The rack-by-rack upgrade takes
about 45 to 60 minutes to complete.
Note
Verification
Use this section to confirm that your configuration works properly. On the Cisco ASR 9000 Series Router,
complete these steps in order to confirm the software upgrade/SMU activation and Cisco ASR 9000 nV Edge
system status:
1
Verify the Cisco IOS XR software.
RP/0/RSP0/CPU0:ASR9006#show install active summary
Cisco ASR 9000 Series Aggregation Services Router nV System Configuration Guide, Release 5.3.x
151
Configuring the nV Edge System on the Cisco ASR 9000 Series Router
Verification