Lab 9
Lab 9
• Enable NPV on N9K-A. This action will make the switch reload and erase most of the configuration.
• Reconfigure the N9K-A and configure interfaces toward MDS to function as NP (Node Proxy) Ports.
• Configure interfaces on MDS toward N9K-A to function as F Ports.
• Investigate how the behavior of N9K-A and MDS changed with the conversion.
Show Steps
• Step 1:
Click the Play icon in the middle of the screen or the Play button on the player below the simulation screen to begin the simulation.
Note
If stuck, click the Forward button in the Playbar to continue to the next slide.
Tip:
The following are the Playbar buttons and their functions:
◦ Rewind: Resets the interactive activity.
◦ Play: Plays the interactive activity. In the middle of the interactive activity, it can also be used to go to the next slide.
◦ Back: Go to the previous slide.
◦ Forward: Go to the next slide.
Note
When clicking off the interactive activity, the hover function will stop responding. To fix this, click anywhere in the interactive activity. If the step
requires text input, you must also click on the input field needed for this step (the cursor will change to the text pointer). When using the CLI-
based slide, this will usually be just behind the number (#) sign.
• Step 2:
You have VLAN 1000 allocated to carry the FCoE traffic. VSAN is already configured on the switch for SAN-A. Use PuTTY and choose N9K-A
from the preconfigured device list to connect to your N9K-A.
Tip:
Open PuTTY, under Saved Sessions choose the N9K-A option, and click the Open button.
• Step 3:
In the CLI, enter the username and password provided in the Job Aid and note down the Pod, VSAN, Server PWWN, and Server WWNN.
Tip:
Login using the admin username and the 1234QWer password.
login as: admin
N9K-A#
• Step 4:
On N9K-A, investigate the FLOGI database and the FCNS database for VSAN 1011.
Tip:
Enter the following commands. Within the FLOGI database, you should see an entry that belongs to the VIC on UCS-A; the interface should be
vFC 1000.
N9K-A# show flogi database
-------------------------------------------------------------------------
INTERFACE VSAN FCID PORT NAME NODE NAME
-------------------------------------------------------------------------
vfc1000 1011 0x3d0000 20:00:00:25:B5:01:01:01 20:00:00:25:B5:01:01:01
You should see an FCNS database populated with pWWNs from a CNA on UCS-A.
VSAN 1011:
------------------------------------------------------------------------
FCID TYPE PWWN (VENDOR) FC4-TYPE:FEATURE
------------------------------------------------------------------------
0x5e0000 N 20:00:00:25:B5:01:01:01 (Cisco) scsi-fcp:init fc-gs
<... output omitted ...>
• Step 5:
Tip:
Open another PuTTY instance. Under Saved Sessions choose the MDS option and click the Open button.
• Step 6:
In the CLI, enter the username and password provided in the Job Aid.
Tip:
Login using the admin username and the 1234QWer password.
• Step 7:
On MDS, investigate the FLOGI database and FCNS database for VSAN 1011.
Tip:
In the CLI, use the following commands.
MDS# show flogi database
No flogi sessions found.
You should see an FCNS database populated with pWWNs from a CNA on UCS-A.
VSAN 1011:
------------------------------------------------------------------------
FCID TYPE PWWN (VENDOR) FC4-TYPE:FEATURE
------------------------------------------------------------------------
0x5e0000 N 20:00:00:25:B5:01:01:01 (Cisco) scsi-fcp:init fc-gs
<... output omitted ...>
• Step 8:
Tip:
Switch to the N9K-A PuTTY instance.
• Step 9:
Tip:
In the CLI, use the no feature-set fcoe command.
N9K-A(config)# no feature-set fcoe
no feature-set fcoe command is allowed only when there is no FC ports configured. Convert all FC ports to Eth and try again
• Step 10:
Tip:
In the CLI use the following commands.
N9K-A(config)# slot 1
N9K-A(config-slot)# port 45-48 type ethernet
Port type is changed. ACTION REQUIRED: Please save configurations and reload the switch
• Step 11:
Save configurations and reload the switch. The switch will take about 5 minutes to reboot. Log back into the switch after it reboots.
Tip:
In the CLI, use the following commands.
N9K-A(config)# copy running-config startup-config
[########################################] 100%
Copy complete, now saving to disk (please wait)...
Copy complete.
N9K-A(config)# reload
This command will reboot the system. (y/n)? [n] y
• Step 12:
Login and disable and uninstall the FCoE feature set. Then save configuration and reload the switch again.
Tip:
Login using the admin username and the 1234QWer password. After logging in, use the following commands.
N9K-A# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
N9K-A(config)# no feature-set fcoe
Feature-set Operation may take up to 30 minutes depending on the size of configuration.
Disabling feature-set. ACTION REQUIRED: Copy the running config to startup and reload the box for the disable to take effect correctly
N9K-A(config)# no install feature-set fcoe
N9K-A(config)# copy running-config startup-config
[########################################] 100%
Copy complete, now saving to disk (please wait)...
Copy complete.
N9K-A(config)# reload
This command will reboot the system. (y/n)? [n] y
• Step 13:
Login again and install and enable the FCoE-NPV feature set. This will install both Fibre Channel and FCoE-NPV feature sets.
Tip:
Login using the admin username and the 1234QWer password. After logging in, use the following commands.
N9K-A# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
N9K-A(config)# install feature-set fcoe-npv
N9K-A(config)# feature-set fcoe-npv
• Step 14:
On N9K-A, configure ports uplink to the parent switch as Fibre Channel ports. Then save configuration and reload the switch again.
Tip:
In the CLI use the following commands.
N9K-A(config)# slot 1
N9K-A(config-slot)# port 45-48 type fc
Port type is changed. Please reload the switch
N9K-A(config-slot)# copy running-config startup-config
[########################################] 100%
Copy complete, now saving to disk (please wait)...
N9K-A(config-slot)# reload
WARNING: This command will reboot the system
Do you want to continue? (y/n) [n] y
<... output omitted ...>
• Step 15:
Login again and configure everything as it was before the conversion to NPV, except for the switch port mode on the uplink to MDS; set the switch
port mode of that interface to NP.
Tip:
Login using the admin username and the 1234QWer password. After logging in, use the following commands.
N9K-A# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
N9K-A(config)# interface fc1/47-48
N9K-A(config-if-range)# channel-group 10
fc1/47 fc1/48 added to port-channel 10 and disabled
please do the same operation on the switch at the other end of the port-channel,
then do "no shutdown" at both ends to bring it up
N9K-A(config-if-range)# no shutdown
When it comes to the switch port mode configuration on the upstream interface (to the parent switch, MDS), you should configure the NP mode.
Map your Pod VSAN 1011 to VLAN 1000. Create a vFC interface and bind it to the Ethernet 1/5 interface.
You will notice that some of the commands that were present before the conversion to NPV will not work now. NPV switch does not run all storage
services and does not consume a domain ID.
N9K-A(config-vsan-db)# fcdomain ?
^
% Invalid parameter detected at '^' marker.
N9K-A(config-vsan-db)# zone ?
^
% Invalid parameter detected at '^' marker.
N9K-A(config-vsan-db)# zoneset ?
^
% Invalid parameter detected at '^' marker.
• Step 16:
To enable trunking and for the FLOGI from NP uplink of Cisco Nexus 9000 Series Switches to be successful on the core switch (MDS), the core
should be configured with the OUI of a Cisco Nexus 9000 Series Switch. Check the OUI of the N9K switch.
Tip:
In the CLI, use the show wwn switch command.
N9K-A(config-vsan-db)# show wwn switch
Switch WWN is 20:00:c0:14:fe:bc:d4:40
• Step 17:
On MDS, check if the OUI (in this example, 0xac4a67) is already registered. If the OUI is not registered with the MDS, configure it manually.
Tip:
Switch to the MDS PuTTY instance.
• Step 18:
Tip:
In the CLI, use the show feature | include npiv command.
MDS# show feature | include npiv
npiv 1 enabled
• Step 19:
On MDS, configure interfaces fc1/1 and fc1/2 (which connect to your N9K-A) as F Ports.
Because interfaces fc1/1 and fc1/2 are already bundled into port channel 10, you should not perform the configuration on the interface level but
on port channel level. Even more, the switch will not even allow you to perform the configuration on the interface level. Shut down the port and
then re-enable it.
Tip:
In the CLI, use the following commands.
MDS(config)# interface port-channel 10
MDS(config-if)# switchport mode f
MDS(config-if)# channel mode active
MDS(config-if)# shutdown
MDS(config-if)# no shutdown
• Step 20:
Tip:
Switch to the N9K-A PuTTY instance.
• Step 21:
You should see that the port channel is up, the mode is F, and VSAN is 1011.
• Step 22:
Tip:
Switch to the N9K-A PuTTY instance.
You should see that port channel is up, the mode is NP, and VSAN is 1011.
• Step 23:
Tip:
In the CLI, use the show npv status command.
N9K-A# show npv status
npiv is disabled
External Interfaces:
====================
Interface: san-port-channel 10, State: Up
VSAN: 1011, State: Up, FCID: 0xa50000
Server Interfaces:
==================
Interface: vfc1000, VSAN: 1011, State: Up
You should see one external (SAN port channel 10) and one server (vFC 1000) interface listed and operational. External interfaces are
northbound interfaces (connected to MDS) and internal interfaces are southbound interfaces (connected to hosts).
• Step 24:
You will see that N9K-A does not know any of the regular SAN commands, now that you turned it into an NPV switch. The NPV switch will just
proxy all SAN information to the parent switch.
Cisco NPV edge switches are essentially transparent to the fabric, and most Fibre Channel services of the switches are disabled. The switches
do not have domain IDs, so they do not appear in the FSPF routing table. From the perspective of SAN, the target or initiator that is connected to
the NPV edge switch, will appear as directly connected to the NPV core switch.
Tip:
In the CLI, use the following commands.
N9K-A# show flogi database
^
% Invalid command at '^' marker.
N9K-A# show fcns database
^
% Invalid command at '^' marker.
• Step 25:
On MDS, investigate the FLOGI database, the FCNS database, and active zoning for VSAN 1011.
Tip:
Switch to the MDS PuTTY instance.
On MDS, you should notice two FLOGI entries through port channel 10. One of the two entries is the N9K-A; remember that you configured the
interfaces on MDS toward N9K-A as F Ports. The other FLOGI entry belongs to the CNA on UCS-A that is connected to N9K-A through interface
Ethernet 1/5.
VSAN 1011:
--------------------------------------------------------------------------
FCID TYPE PWWN (VENDOR) FC4-TYPE:FEATURE
--------------------------------------------------------------------------
0x010000 N 24:0a:c0:14:fe:f9:93:20 (Cisco) 229
0x010001 N 20:00:00:25:b5:01:01:01 (Cisco) scsi-fcp:init fc-gs
• Step 26:
Tip:
So while there is no show flogi database command on a NPV-enabled switch, you can use the show npv flogi-table command to see devices
that logged in to the parent switch through the NPV-enabled switch.
N9K-A# show npv flogi-table
--------------------------------------------------------------------------------
SERVER PORT NAME EXTERNAL
INTERFACE VSAN FCID (NODE NAME) INTERFACE
--------------------------------------------------------------------------------
vfc1000 1011 0x010001 20:00:00:25:b5:01:01:01 San-po10
(20:00:00:25:b5:01:01:01)
• Step 27:
Tip:
In the CLI, use the copy running-config startup-config command.
N9K-A# copy running-config startup-config
• Step 28:
Tip:
Switch to the MDS PuTTY instance.
You have completed the lab activity. Click the Finish button to go to the Summary slide.
Tip:
Click the Finish button.
Choose 'Exit'.