Upgrading the Cisco EtherSwitch Service Module Software

This section describes how to upgrade the Cisco EtherSwitch service module software by using TFTP.

Restrictions

The procedure in this section is for upgrading a standalone Cisco EtherSwitch service module in the router.

SUMMARY STEPS

  1. enable
  2. configure terminal
  3. interface switch/slot/port
  4. no switchport
  5. ip address ip address/subnet mask
  6. no shutdown
  7. end
  8. show flash
  9. copy tftp: flash:

DETAILED STEPS

Command or Action
Purpose

Step 1

enable

Example:

Switch> enable

Enters privileged EXEC mode.

Step 2

configure terminal

Example:

Switch# configure terminal

Enters global configuration mode.

Step 3

interface switch/slot/port

Example:

Switch(config)# interface fastethernet 1/0/24

Enter interface configuration mode and places you at the Fast Ethernet 1/0/24 interface.

Step 4

no switchport

Example:

Switch(config-if)# no switchport

Enables the routed port.

Step 5

ip address ip address/subnet mask

Example:

Switch(config-if)# ip address 172.16.1.100 255.255.255.0

Sets a primary or secondary IP address for this interface.

Step 6

no shutdown

Example:

Switch(config-if)# no shutdown

Enables the port that is connected to the TFTP server.

Step 7

end

Example:

Switch(config)# end

Switch#

Exits interface configuration mode, and returns to privileged EXEC mode.

Step 8

show run interface fastethernet switch/slot/port

Example:

Switch# show run interface fastEthernet 1/0/24

Shows the configuration applied on this interface.

Step 9

ping tftpserver

Example:

Switch# ping tftpserver

Pings the TFTP server. This command copies an image from a TFTP server to flash memory.

Step 10

show flash:

Example:

Switch# show flash:

Displays a list of all files and directories in the Cisco EtherSwitch service module flash memory.

Step 11

copy tftp: flash:

Example:

Switch# copy tftp: flash:

Copies an image from a TFTP server to flash memory.

The following are some sample command outputs for upgrading a standalone Cisco EtherSwitch service module in the router.

Sample Output for the show run interface fastethernet Command

The following example shows what appears when you enter the show run interface fastEthernet command:

Switch# show run interface fa1/0/24
Building configuration...
Current configuration : 87 bytes
!
interface FastEthernet1/0/24
 no switchport
 ip address 172.16.1.100 255.255.255.
end

Sample Output for the ping tftpserver Command

The following example shows what appears when you enter the ping tftpserver command:

Switch# ping tftpserver

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.1.100, timeout is 2 seconds:
!!!!!br> Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/9 ms
Copy the image from the tftp server to the switch flash using standard tftp copy
procedure.

Sample Output for the show flash: Command

The following example shows what appears when you enter the show flash: command:

Switch# show flash:
Directory of flash:/
	3  -rwx     4815232   Jan 1 1970 00:10:53 +00:00  c3825-i5-mz.050404
   4  -rwx        6496  May 11 2004 10:43:15 +00:00  vlan.dat 
   5  -rwx        2377   Mar 1 1993 04:33:45 +00:00  config.text
   6  -rwx           5   Mar 1 1993 04:33:46 +00:00  private-config.text
15998976 bytes total (6355968 bytes free)
Switch#

Sample Output for the copy tftp: flash: Command

The following example shows what appears when you enter the copy tftp: flash: command:

Switch# copy tftp: flash:
Address or name of remote host []? Tftpserver
Source filename [] /xyz/c3825-i5-mz.032304
Destination filename [c3825-i5-mz.032304]?
Accessing tftp://tftpserver/xyz/c3825-i5-mz.032304...
Loading mirage/switch/bin/c3825-i5-mz.032304 from 172.16.1.100 (via FastEthernet1/0/24):
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!
[OK - 4814025 bytes]

4814025 bytes copied in 99.481 secs (48391 bytes/sec)
Switch#

 All contents are Copyright 1992–2009 Cisco Systems, Inc. All rights reserved.