Reset Search
 

 

Article

Updating software using locally attached TFTP serer

« Go Back

Information

 
TitleUpdating software using locally attached TFTP serer
Question

Unable to update software on all FastIron, NetIron, ServerIron or NOS platforms.

At some point, a user may discover the following conditions when attempting to update code on a Brocade device:

- A locally accessible TFTP server is not available.
- The USB stick or PCMCIA card that contains the desired code updates is not being recognized by the Brocade device.
- Internet access to the Brocade device is not possible.
Environment
Answer

Locally attach a laptoprunning a TFTP server to the Brocade device.

To use this solution, the user must have the following available:

  1. The required code updates are stored onthe users laptop.
  2. A TFTP server is installed on the users Laptop.
  3. A RJ-45 Ethernet port or Ethernet Management port is available on the Brocade device.
  4. A RJ-45 Ethernet cable is available.
  5. The users laptop can be serially connected to the console port of the Brocade device. (This may require a USB to serial adapter.)
  6. The users laptop can be connected to an available Ethernet port on the Brocade device.

With the above resources, the user can update code on the Brocade device using the TFTP server that is installed on the laptop by using the following steps:

  1. Connect the laptop to the console port of the equipment using the serial port (or an available USB port) on the laptop.
  2. Using the CLI of the device, run show version in order to verify if you are running switching (layer 2) or routing (layer 3) code. If you are running routing code, proceed to Step 3.
    If the device is running Layer 2 (switching) code, execute show ip address in order to determine the IP address and subnet mask assigned to the Brocade device. If no IP address is currently installed, follow the instructions in the Hardware Installation Guide appropriate to the device and its current code version to install an IP address, subnet mask, and default gateway. Skip to Step 5 of this procedure.
  3. Using the CLI of the device, execute show run and/or show ip route in order to determine a private IP address that can be used to configure the available RJ-45 Ethernet port.
  4. Configure the available Ethernet port with a the selected IP address and netmask of 255.255.255.252 (/30).
    (10.x.x.1/30 or 172.x.x.1/30 or 192.168.x.1/30 can be used where x is not used in the route table or already assigned to an interface)
  5. Enable the available Ethernet port of the device by using the following CLI commands:
    configure terminal
    interface ethernet
    <port number of Ethernet port>
    enable
  6. If the device is running switching code, configure the Ethernet port on the laptop to use an available IP address within the subnet of the Brocade device.
    If the device is running routing code, configure the Ethernet port on the laptop to use the second IP address of the subnet assigned to the Ethernet port on the switch.
    (10.x.x.2/30 or 172.x.x.2/30 or 192.168.x.2/30can be used where x is the value used on the switch/router. Note: /30 is equivalent to a netmask of 255.255.255.252.)
  7. Enable the Ethernet port on the laptop.
  8. Connect the Ethernet port on the laptop to the Ethernet port on the Brocade device.
  9. Check connectivity by pinging the laptop from the Brocade device and pinging the Brocade device from the laptop

The switch or router can be upgraded using the locally attached TFTP server.

Variations:

  1. The above procedure can also be used to access a local FTP or SCP server.
  2. If the device is running switch code and already has an IP address assigned, ping for an unused address in the IP address range defined by the chassis address and its netmask to assign to the laptop's Ethernet port.
  3. If the device is running router code and already has an IP address assigned to the available port that resides in an ethernet network you can connect to, ping for an unused address in the IP address range defined by the port address and its netmask to assign to the laptop's Ethernet port.

Please note:

The commands to configure the IP address on an Ethernet port may vary between Brocade devices and code versions. The specific commands to configure an interface on a specific box that have been included in this document are applicable to most FastIron series devices. Consult the appropriate configuration guide for the Brocade device being configured for the correct commands.

The procedure to manually set the IP address on a laptop interface varies from one operating system to another. The specific steps to configure an interface on a specific laptop operating system have not been included but can be found in the appropriate documentation for the specific operating system in question.

The user is be responsible for obtaining and installing the appropriate TFTP server software on the laptop. Many free TFTP server programs are available, and some are bundled with specific device operating systems.


Additional notes

Feedback

 

Was this article helpful?


   

Feedback

Please tell us how we can make this article more useful.

Characters Remaining: 255