mirror of
https://github.com/Fohdeesha/lab-docu.git
synced 2024-12-01 11:33:23 +01:00
5b439543d9
thanks to jorddenn for the report
113 lines
5.7 KiB
Markdown
113 lines
5.7 KiB
Markdown
# Setting up Brocade ICX6430
|
|
|
|
## Preparation
|
|
If you haven't already, visit the [Brocade Overview](brocade-overview.md) page to download the latest guide package and get it ready to be served via TFTP - this unified package includes all the latest firmware, licenses, and documentation.
|
|
|
|
**Connect** to the serial/console port on the front using a program like Putty (9600 8N1), then connect the **management ethernet port** to your network (do NOT use any of the regular switch ports yet).
|
|
|
|
|
|
Power on the switch while watching your serial terminal - start smashing the `b` key until you're dropped into the bootloader prompt, which looks like `ICX64XX-boot>` . If you missed the prompt and it boots the OS instead, pull power and try again.
|
|
|
|
At the boot prompt, we need to give it a temporary IP in the subnet of your network, so it can talk to your TFTP server. This IP will not be used again after it leaves the bootloader. Replace the IP in the example below with an unused IP on your subnet. We also need to supply the IP of your TFTP server, and the filenames of the new software:
|
|
|
|
```
|
|
setenv ipaddr 192.168.1.50
|
|
setenv netmask 255.255.255.0
|
|
|
|
#tell the switch the IP of your tftp server:
|
|
setenv serverip 192.168.1.8
|
|
setenv image_name ICX64xx/ICX64S08030u.bin
|
|
setenv uboot ICX64xx/kxz10105.bin
|
|
```
|
|
Now we can tell it to flash the new OS and bootloader:
|
|
```
|
|
update_primary
|
|
update_uboot
|
|
```
|
|
After a couple minutes, it should complete. Now we clear the temporary IP, then clear out any old configs and passwords with a factory reset:
|
|
```
|
|
setenv ipaddr
|
|
saveenv
|
|
factory set-default
|
|
```
|
|
To confirm the factory reset action, you must send CAPITAL `Y` - sending a lowercase `y` will just make it abort. Once finished, reset the switch and let it boot fully to continue:
|
|
```
|
|
reset
|
|
```
|
|
??? info "If you get "Unknown command factory""
|
|
If you get an `Unknown command factory` error, this means your switch has a very old bootloader. In that case since we just flashed the latest bootloader already, we just have to tell the switch to reset to load it. Then in the new bootloader the command will work:
|
|
|
|
```
|
|
reset
|
|
#hit b a bunch so it drops into the bootloader again
|
|
#now it's booted the latest bootloader, so the command will work:
|
|
factory set-default
|
|
#you must send CAPITAL Y, not lowercase y
|
|
reset
|
|
```
|
|
Let the switch boot fully and move to the next section
|
|
|
|
??? info "If your switch still claims to be a stack member after booting"
|
|
If your switch says that it's part of a stack even after the above factory reset, you'll need to unstack it before being able to configure and update it. You'll see several prompts when booting that it's a stack member. You can unstack your switch by running the following command:
|
|
```
|
|
enable
|
|
stack unconfigure clean
|
|
# hit y at the prompt
|
|
```
|
|
You can then continue the guide as normal when it finishes resetting
|
|
|
|
|
|
## Initial Configuration
|
|
|
|
Now that it's booted into the full OS you may get ***TFTP timed out*** errors in the console, this is normal. just hit enter until they go away. We'll fix that in the next section. Now to make any changes we must enter the enable level:
|
|
```
|
|
enable
|
|
```
|
|
Now we enter the configure terminal level to make config changes:
|
|
```
|
|
configure terminal
|
|
```
|
|
Now we turn off the DHCP client, so it doesn't automatically grab an IP and look for a TFTP config (the cause of the earlier timeout messages):
|
|
```
|
|
no ip dhcp-client enable
|
|
```
|
|
Now we give the switch its permanent IP address. As the ICX6430 only runs the layer 2 image, we do not assign an IP to a `ve` like usual, we instead assign the switch an IP globally, as well as give it a default gateway (usually your home router/firewall):
|
|
```
|
|
ip address 192.168.1.50/24
|
|
ip default-gateway 192.168.1.1
|
|
write mem
|
|
```
|
|
|
|
Now your switch is set up for basic switching, and has an IP address you can use to manage the switch. But you're not done yet!
|
|
|
|
> **Note:** You should now unplug your ethernet connection from the dedicated management port, and instead connect it to any of the **regular switch ports**. If you skip this, the rest of the guides will not work.
|
|
|
|
|
|
## Update PoE Firmware
|
|
If your switch is the PoE model, you need to update the PoE controller firmware. If it's a non-PoE model, skip this section. Assuming you completed the previous section and the switch now has in-band network access (one of the regular ports are connected), just do the following:
|
|
|
|
**Note:** if you have the small white C12 version of this switch, use the `icx64xxc12_poeplus_02.03.09.fw` file instead.
|
|
```
|
|
exit
|
|
inline power install-firmware stack-unit 1 tftp 192.168.1.8 ICX64xx/icx64xx_poeplus_02.1.0.b004.fw
|
|
#after a few seconds, hit enter to return to cli
|
|
#save changes you made from the previous section
|
|
write memory
|
|
#reload the switch
|
|
reload
|
|
#you'll probably get a message that it hasn't finished. it can take up to 10 minutes
|
|
#run "show log" occasionally to monitor the update progress
|
|
#try the "reload" command again once it's reached 100%
|
|
#once you've rebooted back into the OS:
|
|
enable
|
|
configure terminal
|
|
```
|
|
Now you have the latest PoE firmware, and can continue on.
|
|
|
|
## Further Configuration
|
|
|
|
You now have a bare minimum setup on your switch, and the latest firmware. To continue with further configuration including securing and naming the switch, setting up SSH and Web UI access, PoE commands etc, please continue to the [ICX6xxx Series Config Page](icx6xxx-adv.md).
|
|
>**Note:** The ICX6430 only runs the limited Layer 2 OS image, so some commands in the ICX6xxx Config Guide will not work. For instance, the **Default Route & DNS** and the **Inter-VLAN Routing** sections are only for the Layer 3 OS. However, most other commands will work.
|
|
|
|
## Licensing Info
|
|
The ICX6430 is Layer 2 only with no 10gbE ports, so there were never any license unlocks for this model. |