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


No hay comentarios.:

// Cookie consent