Locally attach a laptoprunning a TFTP server to the Brocade device.
To use this solution, the user must have the following available:
- The required code updates are stored onthe users laptop.
- A TFTP server is installed on the users Laptop.
- A RJ-45 Ethernet port or Ethernet Management port is available on the Brocade device.
- A RJ-45 Ethernet cable is available.
- The users laptop can be serially connected to the console port of the Brocade device. (This may require a USB to serial adapter.)
- 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:
- Connect the laptop to the console port of the equipment using the serial port (or an available USB port) on the laptop.
- 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.
- 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.
- 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)
- Enable the available Ethernet port of the device by using the following CLI commands:
interface ethernet <port number of Ethernet port>
- 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.)
- Enable the Ethernet port on the laptop.
- Connect the Ethernet port on the laptop to the Ethernet port on the Brocade device.
- 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.
- The above procedure can also be used to access a local FTP or SCP server.
- 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.
- 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.
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.