HOWTO : Find IP and/or MAC address of Brocade switch

If you have to work with Brocade Switches and for some reason you need to find out the ip and/or the mac address of the network interface, you might have to use (at least) two options, depending on the model/firmware version.

To find the IP:

broc01:FID340:admin> ipaddrshow

SWITCH
Ethernet IP Address: 1.1.2.4
Ethernet Subnetmask: 255.255.240.0
Gateway IP Address: 1.1.2.1
DHCP: Off


To find the MAC address (two options):

broc01:FID340:admin> ifmodeshow eth0

but depending on the model/firmware version you might get this output:

"This command is deprecated in Fabric OS v8.0.1. Please use command ethif."


broc01:FID340:admin> ethif --show eth0
eth0 interface:

Link mode: negotiated 100baseTx-FD, link ok
MAC Address: 00:F8:72:90:56:36

eth0      Link encap:Ethernet  HWaddr 00:F8:72:90:56:36
          inet addr:1.1.2.1  Bcast:1.1.2.255  Mask:255.255.2255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:535961005 errors:0 dropped:0 overruns:0 frame:0
          TX packets:280738 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000


FATAL: Module vboxguest not found.

While creating a new virtual machin using VirtualBox and using CentOS 7.6-1810 I forget the steps to install the packages needed to compile the modules needed.

This time after "inserting" the "Guest Additions" image and running the script to install them the following error mesage was displayed:

FATAL: Module vboxguest not found.

These are the steps I found from different sources to install the packages needed:

yum install dkms binutils gcc make patch libgomp glibc-headers glibc-devel

There's one thing, the package "dkms" was not available from the origial repos:


I'm not sure where to get it but until now never need it.

The install the following:

yum install kernel-headers-$(uname -r) 
yum install kernel-devel-$(uname -r)

Now, you should be ready to install the "Guest Additions".


// Cookie consent