Specifications

ISSU Introduction
New and Enhanced Features in AlliedWare Plus 5.4.4 Major and Minor Versions 91
Step 2: Write scripts and create the triggers
Example One From the show output, the AT-SBx81GP24 line cards in card slots 1.1 and 2.1 need to be
rebooted. You decide that a good time to do this is Sunday at 1:00 a.m.
Create the following script “lif.scp” that will reboot these cards:
Write the Script enable
reboot card 1.1
y
wait 120
reboot card 2.1
y
Create the Trigger Next, create a trigger called “trigger 1” that will run this script at the desired time:
trigger 1
type time 01:00
repeat once
day sunday
script 1 lif.scp
Example Two An alternative arrangement might be for the line cards to be rebooted during the day. This
method uses a trigger that would activate when the ISSU reaches CFC Upgraded, i.e. that
the automatic phase has successfully completed.
Create the following script “lif.scp” that will reboot these cards:
Write the Script enable
reboot card 1.1
y
wait 120
reboot card 2.1
y
Create the Trigger trigger 1
type issu cfcs-upgraded
script 1 lif.scp
Related Information
For more information on creating and using triggers, see the Triggers Introduction chapter
and the type issu command on page 107.