To prepare the switch for an EOS upgrade, take the following steps:
- Back up all essential files.
- Address and ensure the following:
- You are logged in to the primary supervisor.
- Confirm that the primary supervisor is reachable and that the management
interfaces are configured.
- There is enough room on both supervisors for the new image file.
- Any extensions running on the active supervisor are also available on the
standby.
Before upgrading the EOS image, ensure that backup copies of the currently running EOS
version and the running-config file are available in case of
corruption during the upgrade process. To copy the
running-config file, use the copy
running-config command. In the following example, the
running-config file is copied to a file called
backup2 on the flash drive.
switch# copy running-config backup2
Copy completed successfully.
switch#
Be sure you log into the primary supervisor, not the standby. Use the show
redundancy status command, and verify that
my status reads
ACTIVE and not
STANDBY.
switch# show redundancy status
my status = Active
peer state = STANDBY HOT
Unit = Secondary
Unit ID = 1
Redundancy Protocol (Operational) = Stateful Switchover
Redundancy Protocol (Configured) = Stateful Switchover
Communications = Up
Ready for switchover
Last switchover time = 25 days, 19:51:34 ago
Last switchover reason = Other supervisor stopped sending heartbeats
Be sure the switch has a management interface configured with an IP address and default
gateway. Refer to the sections Assigning a Virtual IP Address to Access the Active Ethernet Management Port and Configuring a Default Route to the Gateway, and confirm that both management interfaces have an Up state and can ping the
default gateway by using the show interfaces status command
and ping command.
Note: If the management VRF interface is used, use the virtual management interface
(management 0) instead of the IP address on the physical management
interface.
switch# show interfaces status
Port Name Status Vlan Duplex Speed Type
Et3/1 notconnect 1 auto auto 1000BASE-T
<-------OUTPUT OMITTED FROM EXAMPLE-------->
Ma1/1 connected routed unconf unconf Unknown
switch# ping 1.1.1.10
PING 172.22.26.1 (172.22.26.1) 72(100) bytes of data.
80 bytes from 1.1.1.10: icmp_seq=1 ttl=64 time=0.180 ms
80 bytes from 1.1.1.10: icmp_seq=2 ttl=64 time=0.076 ms
80 bytes from 1.1.1.10: icmp_seq=3 ttl=64 time=0.084 ms
80 bytes from 1.1.1.10: icmp_seq=4 ttl=64 time=0.073 ms
80 bytes from 1.1.1.10: icmp_seq=5 ttl=64 time=0.071 ms
Determine the size of the new EOS image. Then verify that there is enough space available
on the flash drive for two copies of this image (use the dir
command to check the bytes free figure).
switch# dir flash:
Directory of flash:/
-rwx 293168526 Nov 4 22:17 EOS4.11.0.swi
-rwx 36 Nov 8 10:24 boot-config
-rwx 37339 Jun 16 14:18 cfg_06162014
<-------OUTPUT OMITTED FROM EXAMPLE-------->
606638080 bytes total (602841088 bytes free)
Standby supervisor:
switch# dir supervisor-peer:mnt/flash/
Directory of flash:/
-rwx 293168526 Nov 4 22:17 EOS4.11.0.swi
-rwx 36 Nov 8 10:24 boot-config
-rwx 37339 Jun 16 14:18 cfg_06162014
<-------OUTPUT OMITTED FROM EXAMPLE-------->
606638080 bytes total (602841088 bytes free)
Finally, ensure that any extensions running on the primary supervisor are also available
on the secondary supervisor.