lab-docu/docs/icx6650.md
2022-08-08 23:07:16 -04:00

86 lines
4.6 KiB
Markdown

# Setting up Brocade ICX6650
## 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 rear using a program like Putty (9600 8N1), then connect the rear **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 `ICX6650-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 ICX6650/ICXR08030u.bin
setenv uboot ICX6650/fxz10101.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
## 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):
```
ip dhcp-client disable
```
Now we give the switch its permanent IP address. By default, all ports are in VLAN 1, so it will behave like a typical switch. First we need to give VLAN 1 its own virtual interface:
```
vlan 1
router-interface ve 1
exit
```
Now we need to assign that virtual interface an address. Choose an IP that is unused in your subnet, and out of your DHCP server range (ping it first to be sure it's unused):
```
interface ve 1
ip address 192.168.1.55/24
exit
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 any of the **regular switch ports** to your network. On the ICX6650, this means one of the 10gbE ports. If you skip this, the rest of the guides will not work.
## 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). Don't forget to return here when you're finished for the licensing info below, if you need it.
## Licensing Info
Like other EoL ICX6xxx series switches, the ICX6650 requires license file unlocks for 10gbE/40gbE port functionality as well as some advanced software features. These licenses are no longer sold. To prevent e-waste and save these from landfills, I am providing free unlocks for use in a homelab or personal environment. Once you've finished the update and configuration process, proceed to the [ICX6650 Licensing](6650.md) section to fully license and unlock your switch.