Reassigning interfaces on an XG-7100
Hi, I've just installed an intel SFP+ NIC in my XG-7100, and it has registered as ix0 and ix1. I had all of my VLANs and the switch set up and now nothing is working. Is there a way to re-assign the interfaces through the console, without losing the VLAN's and LAGGs? I'm assuming most stuff isn't working because the uplink interfaces (ix2 & ix3) are now the SFP ports, so I need to change the LAGG to use ix4 & ix5.
Managed to sort it out, I connected via the WAN link and got access to the interface.
Glad you were able to recover access.
Yes, as you found the expansion card is parsed first so if it uses the ix driver it will become ix0 and ix1. That's one of the reasons we use an ixl based NIC.
When I have hit that I have edited the config at the console and rebooted to correct the interface assignment.
@stephenw10 out of interest, what config is it I would need to edit at the console? If it do the config assignment I expect it wouldn't pick up the lagg config properly for the switch uplinks.
The main config file is: /cf/conf/config.xml
You would want to change the interface assignments in the <interfaces> section and also the <laggs> section where lagg0 would become ix4 and ix5.
The <vlans> would be on lagg0 by default so that would not need to be changed.
@stephenw10 Excellent, thanks. I did have a snoop around but was only grepping for the ix* in /etc, knowing /cf is helpful for future.