FC Target WWPNs Not Detected on Cisco MDS Switches due to Disabled NPIV Feature
Symptom
During initial deployment or expansion of an NGX Storage array in a Fibre Channel (FC) SAN environment managed by Cisco MDS switches, the following symptom is observed:
NGX Storage FC Target Worldwide Port Names (WWPNs) are not visible in the switch’s FLOGI (Fabric Login) database.
Cause
NGX Storage controllers utilize N-Port ID Virtualization (NPIV) to advertise multiple virtual FC Target WWPNs over a single physical FC port/link. This allows high availability, multi-tenancy, and clean port abstraction.
By default, the NPIV feature is disabled globally on factory-default Cisco MDS switches with software prior to Cisco MDS NX-OS Release 8.4(2). With Cisco MDS NX-OS Release 8.4(2), NPIV is enabled by default.
Cisco MDS NX-OS Release Notes 8.4(2)
Solution
Step-by-Step Configuration
- Log in to the Cisco MDS Switch CLI via SSH or console with administrator privileges.
- Verify the current NPIV status by running the following command:
MDS-Switch# show feature | include npiv
If the output shows
npiv disabled, proceed to the next steps. - Enter global configuration mode:
MDS-Switch# configure terminal
- Enable the NPIV feature:
MDS-Switch(config)# feature npiv
- Verify that NPIV is enabled:
MDS-Switch(config)# end MDS-Switch# show feature | include npiv npiv 1 enabled
- Verify WWPN discovery and confirm that the NGX Storage target WWPNs are successfully logged into the fabric:
MDS-Switch# show flogi database
You should now see the multiple virtual WWPNs from the NGX Storage interfaces assigned to the respective physical interface.
- Save the configuration to prevent losing changes after a switch reboot:
MDS-Switch# copy running-config startup-config
COPYRIGHT
© 2025 NGX Teknoloji A.Ş. (NGX Storage). All rights reserved. Printed in the Turkey. Specifications subject to change without notice. No part of this document covered by copyright may be reproduced in any form or by any means-graphic, electronic, or mechanical, including photocopying, recording, taping, or storage in an electronic retrieval system-without prior written permission of NGX Storage. Software derived from copyrighted NGX Storage material is subject to the following license and disclaimer:
THIS SOFTWARE IS PROVIDED BY NGX Storage “AS IS” AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, WHICH ARE HEREBY DISCLAIMED. IN NO EVENT SHALL NGX Storage BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
NGX Storage reserves the right to change any products described herein at any time, and without notice. NGX Storage assumes no responsibility or liability arising from the use of products described herein, except as expressly agreed to in writing by NGX Storage. The use or purchase of this product does not convey a license under any patent rights, trademark rights, or any other intellectual property rights of NGX Storage.
TRADEMARK
NGX Storage and the NGX Storage logo are trademarks of NGX TEKNOLOJI A.Ş. Other company and product names may be trademarks of their respective owners.