beautypg.com

Brocade Network OS Administrator’s Guide v4.1.1 User Manual

Page 681

background image

1. Link the wwncardshow command to survey the extent of the damage. (This does not have to be

done for single boards.)

switch# ln -s /fabos/cliexec/em /fabos/bin/wwncardshow

2. Display the wwncardshow data.

switch# wwncardshow ipdata

packet count is 2

++ Wwn Card IP Data ++

Type Num Field Address Mask Cfg/Zone

---------------------------------------------------------

CP 0 Eth IP: 255.255.255.255 255.255.255.255

CP 1 Eth IP: 255.255.255.255 255.255.255.255

Chassis GW IP: 255.255.255.255

LicID: 10:00:00:ff:ff:ff:ff:ff enet cfg

Name: VDX 6710-54 Gen# : -1/0

Sw 0 Eth IP: 10.17.10.84 255.255.240.0

FC IP: 0.0.0.0 0.0.0.0

GW IP: 10.17.0.1

WWN: 10:00:00: 05:33:14:b2:70

Name: swd77 Gen# : 0/0

Sw 1 Eth IP:

FC IP:

GW IP:

WWN: 10:00:00:05:33:14:b2:71

Name: Gen# : 0/0

Items that are FFs, 255s, or zeros are unacceptable. Only the first two groups count, and the items
that must be correct are the following:

The CP Eth IP entries. They need valid data only if that CP/MM is present.

The chassis LicID entry.

The Sw 0 Eth IP entry.

The Sw 0 GW IP entry.

The Sw 0 WWN entry.

3. To correct the CP Eth IP entries, run ipaddrset -cp x, where x is 0 for MM1 and 1 for MM2, and put

in correct data at the prompts. Then run ipaddrset -chassis and enter the correct data as needed.

Sometimes, if the entries have enough 255/0xfFFs in them, running ipaddrset does not update the
values properly, in which case you have to run test_sysmod to clear a couple of entries.

4. To correct Sw 0 WWN, enter wwn -d626 xx:xx:xx:xx:xx:xx:xx:xx with the correct wwn value. The

system must be rebooted for the change to take effect (at the prompt or manually).

5. To correct chassis LicID, you need the test_sysmod tool. Mount a filesystem (if necessary get eth0

up manually with ifconfig, or set the gateway first).

switch# run test_sysmod

test_sysmod

6. At the first menu, enter 11 for WWN testing, then 2 for copy WWN to LID, and then enter 1 to

confirm. Perform a Ctrl+C to exit.

7. The system must be rebooted for the change to take effect. Exit test_sysmod with Ctrl+C.

If you have lost both the WWN and license ID, then you must perform step 4 first. If you do not know
the value, it is available in the MAC address in the boot environment variables (for pizza boxes only).

This value can be entered in the wwn command by inserting 10:00: before the MAC value).

8. Finally, if you can't correct the IP addresses, there is one more option in test_sysmod that can help.

At the main menu, enter 11 for WWN testing and then 1 for clear WWN IP data entry, then 0, 1, 2, or
3 for entries that had a lot of FFs. If you clear all of the entries that are corrupted with FFs, you
should be able to run ipaddrset to restore the real addresses.

9. Reboot the switch in order for the change to take effect and make the ipaddrset command available.

Troubleshooting procedures

Network OS Administrator’s Guide

681

53-1003225-04