When upgrading from 7.x "trunk" command to the 8.x "lag" command on the Brocade ICX series, you wonder if the commands will translate OK. Well, I put that to the test a few days ago for a customer to verify his upgrade will go well. He was going from 7.2 to 8.30. Below is what I did from 7.4 to 8.30. Notice first, on the 7.4 code, the commands "trunk" and "show trunk":
7.4 code:
trunk ethe 2/1/1 ethe 2/1/2
trunk ethe 2/1/3 ethe 2/1/4
ICX6610-24P Switch#sh trunk
Configured trunks:
Trunk ID: 257
Hw Trunk ID: 1
Ports_Configured: 2
Primary Port Monitored: Jointly
Ports PortName
Port_Status Monitor Rx_Mirr Tx_Mirr Monitor_Dir
2/1/1 none enable
off N/A N/A
N/A
2/1/2 none enable
off N/A N/A
N/A
Trunk ID: 259
Hw Trunk ID: 2
Ports_Configured: 2
Primary Port Monitored: Jointly
Ports PortName
Port_Status Monitor Rx_Mirr Tx_Mirr Monitor_Dir
2/1/3 none enable
off N/A N/A
N/A
2/1/4 none enable
off N/A N/A
N/A
Operational trunks:
--More--, next page: Space, next line: Return key, quit:
Control-c^C ICX6610-24P Switch#boot sys flash pri Are you sure? (enter 'y' or
'n'): y
Running Config data has been changed. Do you want to continue
the reload without saving the running config? (enter 'y'
or 'n'): y Halt and reboot
========================================================================
Now notice on the 8.30 code the "lag" and "show lag" commands. I did nothing for the translation, as it did it all on its own during the upgrade:
8.30 code:
lag LAG_1 static id 1
ports ethernet
2/1/1 to 2/1/2
primary-port 2/1/1
deploy
lag LAG_2 static id 2
ports ethernet
2/1/3 to 2/1/4
primary-port 2/1/3
deploy
ICX6610-24P Switch#sh lag
Total number of LAGs: 2
Total number of deployed LAGs: 0
Total number of trunks created:0 (120 available)
LACP System Priority / ID: 1 / 748e.f8e8.750a
LACP Long timeout: 90, default: 90
LACP Short timeout: 3, default: 3
=== LAG "LAG_1" ID 1 (static Deployed) === LAG
Configuration:
Ports: e 2/1/1 to 2/1/2
Port Count: 2
Primary
Port: 2/1/1
Trunk Type: hash-based
Deployment: HW Trunk ID 1
Port
Link State Dupl Speed Trunk Tag Pvid Pri MAC Name
2/1/1
Down None None None
1 Yes N/A 0
0000.0000.0000
2/1/2
Down None None None
1 Yes N/A 0
0000.0000.0000
=== LAG "LAG_2" ID 2 (static Deployed) === LAG
Configuration:
Ports: e 2/1/3 to 2/1/4
Port Count: 2
Primary
Port: 2/1/3
Trunk Type: hash-based
Deployment: HW Trunk ID 2
Port
Link State Dupl Speed Trunk Tag Pvid Pri MAC Name
2/1/3
Down None None None
2 Yes N/A 0
0000.0000.0000
2/1/4
Down None None None
2 Yes N/A 0
0000.0000.0000
ICX6610-24P Switch#
========================================================================