Category Archives: SAN / WAN

How to upgrade a Cisco MDS SAN switch

Cisco MDS

After a few years of not having had to perform switch upgrades, I had to perform a few firmware upgrades on MDS switches. I decided to write down the steps I had to take:

  • First make sure you have a reachable ftp server somewhere and write down its ip address
  • Log on to the Cisco MDS SAN switch you need to upgrade
  • Make sure the bootflash: has enough available space to hold the 2 new files

# dir bootflash:

4096 Feb 23 14:58:04 2020 lost+found/
26049024 Feb 10 12:57:55 2020 m9100-s5ek9-kickstart-mz.8.3.2.bin
121121564 Feb 10 12:56:47 2020 m9100-s5ek9-mz.8.3.2.bin

Usage for bootflash://sup-local
463962112 bytes used
2894815232 bytes free
3358777344 bytes total

Read more »

How to get a Brocade switch configured for Dell EMC SRS (ESRS)

Perform a

esrsconfig -show

to check whether the settings are saved to te switch. If the switch shows this output:

fcsw-01:admin> esrsconfig –show

ESRS SERVER AND PRODUCT CONFIGURATION
=======================================

ESRS Server IP: 10.20.30.40
ESRS Server Port: 9443
Product Serial Number: BRCCCD1946R04G
Product Model Number: SWITCH-BROCADE-B-GW
Status: Device is not Managed by ESRS

ESRS is not yet active.

Read more »

How to set the DNS server in a Brocade switch

In order to do DNS lookups in a Brocade SAN switch (for example to read the NTP server’s time), you need to configure DNS first.

By using the command “dnsconfig”, you can configure which 2 DNS servers the switch can use to do lookups:

dnsconfig

Now you see a 4-item menu:

Enter option
1 Display Domain Name Service (DNS) configuration
2 Set DNS configuration
3 Remove DNS configuration
4 Quit
Select an item: (1..4) [4]

Read more »

Cisco DCNM server unresponsive

Cisco MDS

You’re running a DCNM virtual appliance and when you’re trying to log on, it looks like the appliance’s webserver is no longer active.

Connect to the Linux prompt of the appliance and do the following:

Stop DCNM services:

/usr/local/cisco/dcm/dcnm/bin/stopLANSANServer.sh

Open the psql prompt:

/usr/local/cisco/dcm/db/bin/psql dcmdb

log on with root password (user root is assumed)

Type the command:

VACUUM FULL ANALYZE VERBOSE;

This will produce tons of output, but just let it run and eventually it all ends and you just need to start the DCNM services again.

When done, quit the psql prompt:

dcmdb=> \q

Start DCNM services:

/usr/local/cisco/dcm/dcnm/bin/startLANSANServer.sh

Source: cisco.com

Brocade SAN Switch commands that prove to be very useful

Brocade commands are usually very easy to find out. Simply type “help” and look for the command you think you need, but what exactly does each command do? Here’s a list:

Info

uptime                          – Same as unix uptime
date                              – Same as unix date
version                          – Gives versions of firmwares & OS

Hardware State

faultshow                     – Show switch faults
fanshow                       – Show switch FAN faults
psshow                        – Show switch POWER SUPPLY faults
tempshow                    – Show switch TEMPERATURE values
switchstatusshow          – Overall status of switch

Config

Read more »