Note: You will need an SCP or FTP server to apply license, software and RCF. I tend to use - FREE SFTP/SCP Server | SolarWinds - but also sometime use - Serva 4.6.0 - Download (vercot.com).
0) Scenario
I had to prepare some Brocade G720 switches in readiness for some NetApp Fabric MetroCluster work. These were brand new (from NetApp) switches and they shipped with FOS v9.0.1b.
1) Initial Setup
- Power up the switch.
- Note: Brocade G720 use 9600 baud for serial connection.
- Login with:
- username = admin
- password = password
- Note: You will be prompted to change the admin & user password.
- Check the version:
- admin> version
- Note: For the purposes of this blogpost, we expect to see:
- Fabric OS: v9.0.1b
- admin> firmwareshow
- Appl Primary/Secondary Versions
- ------------------------------------------
- FOS v9.0.1b
- v9.0.1b
- Set the management IP address so you can transfer software to it:
- admin> ipaddrset
- admin> ipaddrshow
- IMPORTANT: Set timezone and date and time:
- admin> tstimezone --interactive
- admin> date 0619125024
- admin> date
- Note: Date format is mmddhhmmyy (month, day, hour, minutes, year)
- Get the LID (switch License Id):
- admin> license --show
- You will need to get your TruFOS license from here:
- https://support.broadcom.com/group/certificate/trufos-certificate-request
- Note: I found these links useful:
- Install the TruFOS license:
- admin> license --install -h x.x.x.x -t scp -u USERNAME -p PASSWORD -f /download/trufos_certificate.xml
- admin> license --show
NOTE: If a License Certificate XML
file is attached to this email, The XML file must be installed to
the Switch, instead of the License
Key provided below. If
this is the case, please disregard the License Key provided below.
The following instructions assume the switch has been attached to a network and is accessible from your PC or workstation. Follow these steps to install the Software License Key or License Certificate XML file to the Switch. Connect to the Switch through the CLI or Brocade Web Tools.
1. CLI: Install the License using one of the following command syntax.a. If your FOS version is FOS v8.x, use the following syntax.
licenseAdd <lic_key>
b. If your FOS version is FOS v9.x or greater, and the License generated is a License string, use the following command syntax.
license --install <lic_key>
c. If your FOS version is FOS v9.x or greater, and the License generated is a License Certificate XML file, save the XML file to a remote server and use the following command syntax.
license --install {-h <hostip> -t <protocol> [-m <server_port_number>] -u <user> [-p <password>] -f <filepath/xmlfile>}
where
-h: remote host IP address, -t: transport protocol, -m: server port number, -u: username to login into remote server, -p: password of the remote server,
-f: file path to the remote server with the saved License Certificate XML file.
2. GUI: Connect to the Switch using a Web browser (this will open Web Tools). Log in as Admin and enter your Switch password.
a. If your FOS version is FOS v8.x, use the Web Tools Switch Admin to add the License string.
b. If your FOS version is FOS v9.x or greater, select Settings in the Top Menu Bar, then select Services in the left panel, and then select License in the right panel to see the current licenses installed on the switch. Select the plus (+) icon in the top right to add a new License Certificate XML file.
- Set switch's persistent state to disabled:
- admin> switchCfgPersistentDisable
- Run the firmware upgrade:
- admin> firmwaredownload -s
- Firmwareshow will look like this:
- admin> firmwareshow
- Reboot the switch:
- admin> reboot
- After reboot, run firmwareshow again:
- Note: It may take a few minutes until both primary and secondary versions are v9.2.0a.
- admin> firmwareshow
- Run ConfigDownload:
- admin> configDownload
- Reboot the switch:
- admin> reboot
- Set switch's persistent state to enabled:
- admin> switchCfgPersistentEnable
- Run switchshow to verify the switches domain ID is correct:
- admin> switchshow
- Because I'm prepping switches for future work, I also set the switch name to reflect the configuration:
- admin> switchname FAB1_SW1_D5_XXXXXXXXXXX
THE END! (switches prepared)
Other information: ISL Configuration
I was preping for a Brocade 6510 to G720 migration.
Other things I had to do was the ISL configuration:
portcfgspeed 40 8 # existing ISLs on 8 Gbps
portcfgspeed 41 8 # existing ISLs on 8 Gbps
portcfgshow # Are 40 & 41 ON for 'Trunk Port'?
#ALREADY SET# portcfgtrunkport 40 1 # Configure 40 as trunk port with IOD
#ALREADY SET# portcfgtrunkport 41 1 # Configure 41 as trunk port with IOD
#ALREADY SET# portcfgqos --enable 40
#ALREADY SET# portcfgqos --enable 41
portcfgshow # Will show "ON" for 'Trunk Port'
portbuffershow # Need output from old switch 'Link Distance'
portcfglongdistance 40 LS 1 -distance 117 # XX from prior portbuffershow
portcfglongdistance 41 LS 1 -distance 117 # XX from prior portbuffershow
portbuffershow
And a special configuration to get the ISL working for the G720:
portcfglosstov 40 1
portcfglosstov 40 -dwdmlosyncon
portcfgshow 40
portcfglosstov 41 1
portcfglosstov 41 -dwdmlosyncon
portcfgshow 41
Comments
Post a Comment