How to configure duplicate WWPN event notification on switch?
Applies to
- Brocade switch
 - SANnav
 
Answer
- According to Fibre Channel standards, the Port World Wide Name (PWWN) of a device cannot overlap with that of another device, thus having duplicate PWWNs within the same fabric is not a supported configuration.
 - If a PWWN conflict occurs with two devices attached to the same domain, Fabric OS handles device login in such a way that only one device may be logged in to the fabric at a time.
 - If a PWWN conflict occurs and two duplicate devices are attached to the fabric through different domains, the devices are removed from the NS database and a RAS log is generated.
    
- Note that if a device attempts to log in with the same PWWN as another device on a different switch, both devices are logged out.
 
 
- We can configure how duplicate PWWNs are handled by selecting an option in the Enforce 
FLOGI/FDISClogin prompt of theconfigurecommand:- Connect to the switch and log in using an account with admin permissions.
 - Enter the 
switchDisablecommand to disable the switch. - Enter the 
configurecommand. - Enter 
yafter theF_Portlogin parameters prompt. - Enter one of the following options at the Enforce 
FLOGI/FDISClogin prompt to select the behavior for handling duplicate PWWNs.- Setting 0: First login takes precedence over second login (default behavior).
 - Setting 1: Second login overrides first login.
 - Setting 2: The port type determines whether the first or second login takes precedence
 
 - Respond to the remaining prompts, or press
Ctrl + Dto accept the other settings and exit. - Enter the 
switchEnablecommand to re-enable the switch. 
 
- Refer: Brocade Fabric OS Administration Guide ( Page 115 and 116)
 - 
    
RASlogmessages with message idFCPH-1003andFCPH-1004will be logged inerrdumpwhen switch hits this duplicate wwpn behaviour.
FCPH-1003-> For F port
FCPH-1004-> For NPIV ports - 
    
Refer to this document for configuring Raslog messages for a particular event id- How to configure RASlog messages
 
