1 / 20

Module 9

Module 9. Configuring Cisco Nexus 5000 Switches in NPV Mode. Objectives. NPV Overview Configuration of switch in NPV mode Show commands and troubleshooting Future NPV features. 20 .2.1. FC. FC. FC. VSAN 15. VSAN 10. Can have multiple uplinks , on different

kalli
Télécharger la présentation

Module 9

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Module 9 Configuring Cisco Nexus 5000 Switches in NPV Mode

  2. Objectives • NPV Overview • Configuration of switch in NPV mode • Show commands and troubleshooting • Future NPV features

  3. 20.2.1 FC FC FC VSAN 15 VSAN 10 Can have multiple uplinks, on different VSANs (port channel and trunking in a later release) server port (F) 10.5.2 10.5.7 Target 20.5.1 Initiator (no FL ports) N-Port Virtualization (NPV): An Overview NPV-Core Switch (MDS or 3rd party switch with NPIV support) Solves the domain-id explosion problem 10.1.1 F-port VSAN 5 NP-port N5K FCOE NPV Device Uses the same domain(s) as the NPV-core switch(es)

  4. NPV: Supported Hardware & Mgmt. • NPV Switch Mode Supported on: • All MDS blade switches • MDS switches (9124, 9134, etc.) • Nexus 5020, 5010 • UCS 6100 • NPV-Core Switch • MDS 9513, MDS 9509, 3rd party switch with NPIV support (Support Matrix) • Management • NPV device has it’s own IP address and management port – for mgmt. & debugging • All relevant configs. are supported via SNMP and CLI • FM support for discovering and configuring NPV switches (e.g. NP port mode) • No change in image upgrade and installation procedure

  5. NPV Features Continued • Different uplinks from an NPV device can be connected in differentVSANs ( Trunking and Port Channeling of F ports will be supported in a later release) • If one of the uplink fails then the corresponding servers would be logged in via other uplinks (if any) automatically • Zoning, DPVM…, are enforced on the NPV-core switch only • Domain manager, FSPF, Zone server, Fabric login sever, Name server do not run on the NPV device • Local switching is disabled – all traffic routed via the NPV-core switch • No license required for NPV functionality

  6. NPV: Internal Logins (FLOGIs) • When an NP port comes up NPV itself first FLOGIs into the core npv-core# show fcns database detail ------------------------ VSAN:1 FCID:0x010001 ------------------------ port-wwn (vendor) :20:02:00:0d:ec:2f:c1:40 (Cisco) node-wwn :20:01:00:0d:ec:2f:c1:41 class :2,3 node-ip-addr :172.20.150.38 ipa :ff ff ff ff ff ff ff ff fc4-types:fc4_features :npv symbolic-port-name :para-3:fc1/2 symbolic-node-name :para-3 port-type :N port-ip-addr :0.0.0.0 fabric-port-wwn :20:02:00:0d:ec:04:99:40 hard-addr :0x000000 permanent-port-wwn (vendor) :20:02:00:0d:ec:2f:c1:40 (Cisco) NPV-Core Switch fwwn of Port P2 P1 F VSAN WWN of NPV IP Address of NPV NP fc1/2 fwwn of Port P1 P2 NPV switch name of NPV & Interface name of P2

  7. NPV-Core Switch P1 F NP fc1/2 F P3 P2 fc1/1 NPV N P4 LSI FCID 0X331e00 NPV: Logins from End Devices (FDISCs) • An end port logs into the npv-core as follows: • VSAN:1 FCID:0x331e00 • ------------------------ • port-wwn (vendor) :2f:ff:00:06:2b:10:c4:4c (LSI) • node-wwn :2f:ff:00:06:2b:10:c4:4c • class :3 • node-ip-addr :0.0.0.0 • ipa :ff ff ff ff ff ff ff ff • fc4-types:fc4_features :scsi-fcp:init • symbolic-port-name :LSI7404XP-LC BR A.1 03-01081-03A FW:01.03.17 Port 0 • symbolic-node-name : • port-type :N • port-ip-addr :0.0.0.0 • fabric-port-wwn :20:02:00:0d:ec:04:99:40 • hard-addr :0x000000 • permanent-port-wwn (vendor) :20:02:00:0d:ec:2f:c1:40 (Cisco) fwwn of Port P2 fwwn of Port P1 NPV converts FLOGI to FDISC

  8. FC NPV: Distribution of end Device Logins An example of current mapping of ports NPV-Core Switch NP Port No. of mapped F ports P1 5 (fc1/1, 1/5 ...) P2 2 (fc1/7, fc1/21) P3 9 (fc1/2, fc1/8, ...) NP Ports P3 P2 P1 NPV F Next F port on NPV would be assigned to NP Port P2 (NP port with minimum number of mapped F ports)

  9. NP Ports P2 P3 P1 NPV F F F NPV: What happens when an NP port goes down? • All F ports mapped to that NP port are re-initialized (shut  no shut) • These N ports would attempt re-login • If another NP port is available • N ports would be logged in via the available NP port(s) • Logins would be distributed as per the previous slide • If no NP port is available • F ports would remain in down state waiting for an NP port • When the failed NP port comes back up • The logins are NOT re-distributed (to avoid disruption)

  10. FC NP Ports P3 P2 P1 NPV F NPV: What happens when an F port goes down? • NPV sends a LOGO to NPV-core on behalf of the N port • If there were multiple FCIDs assigned to that N port (NPIV-enabled host) then a LOGO is sent to the NPV-core for each FCID • The F port is not allowed to come back up until the LOGO(s) are completed • Conflict in Port-security,DPVM or FC-SP configurationon NPV-code switch can logout an FCID or prevent it from coming up

  11. NPV Feature • NPV is enabled with the following commands: • switch(config)# feature fcoe • 2008 Aug 6 19:02:21 switch %$ VDC-1 %$ %PFMA-2-FC_LICENSE_DESIRED: FCoE/FC feature will be enabled after the configuration is saved followed by a reboot • switch(config)# npv enable • Verify that boot variables are set and the changes are saved. Changing to npv mode erases the current configuration and reboots the switch in npv mode. Do you want to continue? (y/n): This does a write-erase and reloads the switch in NPV mode (same image) • “no npv enable” to go back to non-npv mode (also involves write-erase and reload) • Only the following port modes allowed: NP (a new port mode), F and SD • If there are multiple uplinks then the server logins are equally distributed amongst them • Uplinks from an NPV device can be connected to multiple aggregation switches

  12. FC NPV: Configuration NPV-Core Switch • Enable NPIV on NPV-Core switch npv-core(config)# npiv enable • Set port mode of P2 to Fnpv-core(config)# interface fc8/14npv-core(config)# switchport mode F • Set the Port VSAN of this F portnpv-core(config)# vsan databasenpv-core(config-vsan-db)# vsan 5 interface fc8/14 • Enable NPV on Nexus 5020npv(config)# npv enablenpv switch would reboot • Set Port mode of P1 to NPnpv(config)# interface fc3/4npv(config-if)# switchport mode NP • Set Port mode of P3 to Fnpv(config)# interface vfc19/1npv(config-if)# switchport mode F • Set the Port VSAN of NP and VFC port to be same as the F port on NPV-core switchnpv(config)# vsan database • npv(config-vsan-db)# vsan 5 interface fc3/4 • npv(config-vsan-db)# vsan 5 interface vfc23/1 • No shut ports P1, P2, and P3 P2 (fc8/14) NP Port P1 (fc3/4) NPV F P3 (vfc23/1)

  13. NPV: Default Port Mode Configuration By default the FC ports come up as NP switch# show interface brief ------------------------------------------------------------------------------- Interface Vsan Admin Admin Status SFP Oper Oper Port Mode Trunk Mode Speed Channel Mode (Gbps) ------------------------------------------------------------------------------- fc3/1 1 NP -- down swl -- -- fc3/2 1 NP -- down swl -- -- … They can be modified: switch(config)# int fc3/1 switch(config-if)# switchport mode f switch# show interface brief ------------------------------------------------------------------------------- Interface Vsan Admin Admin Status SFP Oper Oper Port Mode Trunk Mode Speed Channel Mode (Gbps) ------------------------------------------------------------------------------- fc3/1 1 F -- down swl -- -- fc3/2 1 NP -- down swl -- -- …

  14. NPV Related Show Commands on NPV Switch The following show commands can be used on the NPV switch to display info. • show npv flogi-table • show npv status • show tech-support npv • show npv internal event-history { errors | events | ext-if-fsm [ <interface > ] | flogi-fsm [ interface < interface > | pwwn <wwn> ] } • show npv internal event-history msgs • show npv internal event-history svr-if-fsm [ interface < interface > ] • show npv internal info • show npv internal info external-interface { all | < interface > } • show npv internal info global • show npv internal info interface { all | < interface > } • show npv internal info server-interface { all | < interface > } • show npv internal mem-stats [ detail ] • show npv internal pending-queue interface { all | < interface > • debug npv { all | erros | events | ... } • show debug npv

  15. NPV Related Show Commands on NPV Switch • switch# sh npv flogi-table • -------------------------------------------------------------------------------- • SERVER EXTERNAL • INTERFACE VSAN FCID PORT NAME NODE NAME INTERFACE • -------------------------------------------------------------------------------- • vfc23/1 5 0xa40001 10:00:00:00:c9:3c:f4:82 20:00:00:00:c9:3c:f4:82 fc3/1 • Total number of flogi = 1. • switch# show npv status • npiv is disabled • External Interfaces: • ==================== • Interface: fc3/1, VSAN: 5, FCID: 0xa40000, State: Up • Number of External Interfaces: 1 • Server Interfaces: • ================== • Interface: vfc19/1, State: Initializing • Interface: vfc23/1, VSAN: 5, State: Up • Number of Server Interfaces: 2

  16. NPV Related Show Commands on NPV Switch N5K NPV Fabric Login • switch# show npv internal info • NPV Globals: • ============ • NPV mode: ENABLED • Switch-Name: switch • Switch Mgmt IP Address: 172.18.217.80 • proxy logo Retries: 1 • Internal FLOGI max timeout Retries: -1 • NS Registration max timeout Retries: 5 • External Interface Info: • ======================== • Interface Information: • ifindex: fc3/1, VSAN: 5, internal FLOGI fcid: 0xa40000 • FSM current state: NPIVP_EXT_IF_ST_UP • fabric mgmt addr: 172.18.217.70 • fabric pwwn: 20:4d:00:0d:ec:3f:a5:c0, fabric nwwn: 20:05:00:0d:ec:3f:a5:c1 • my pwwn: 20:81:00:0d:ec:6b:cd:40, my nwwn: 20:05:00:0d:ec:6b:cd:41 • Port Parameters: • Rx B2B Credits: 16, Multiplier: 0, Buff Size: 2112 • Tx B2B Credits: 16, Multiplier: 0, Buff Size: 2112, bbscn: 0 • bbscn_capable: FALSE bbscn_max: 0, port_bbscn: 0 • Timer & Retry Information: • Busy Timer (1), id: 10, active: FALSE time remaining: 0 • Fail Retry Timer (7), id: 00, active: FALSE time remaining: 0 • FDISC Response Timer (2), id: 01, active: FALSE time remaining: 0 • Error Clear Timer (6), id: 01, active: TRUE time remaining: 159 • Statistics: • flogi retry count : 1 • ns registration retry count : 0 • number of LS_RJTs rcvd : 0 • LS_RJT timestamp : Wed Aug 6 20:58:44 2008 • pending queue size : 0 • FLOGIs on this interface: • pwwn : 10:00:00:00:c9:3c:f4:82, fcid : 0xa40001

  17. NPV Related Show Commands on NPV Switch • switch# show npv internal info (output continued) • Server Interface Info: • ====================== • Interface Information: • ifindex: vfc19/1, VSAN: 5, NPIV requested: FALSE, lcp init done: TRUE • Selected External Interface: fc3/1 • FSM current state: NPIVP_SVR_IF_ST_WAITING_FOR_FLOGI • Port Parameters: • rxbbcredit: 0 rxbufsize: 2112 • txbbcredit: 0 txbufsize: 0 txbbscn: 0 • bbscn_capable: FALSE bbscn_max: 0, port_bbscn: 0 • Statistics: • number of LS_RJTs sent : 0 • LS_RJT timestamp : Thu Jan 1 00:00:00 1970 • number of FLOGIs: 0 VFC (FCOE) interface waiting for FLOGI from host VFC (FCOE) interface up and working • Interface Information: • ifindex: vfc23/1, VSAN: 5, NPIV requested: TRUE, lcp init done: TRUE • Selected External Interface: fc3/1 • FSM current state: NPIVP_SVR_IF_ST_INTERFACE_UP • Port Parameters: • rxbbcredit: 0 rxbufsize: 2112 • txbbcredit: 64 txbufsize: 2048 txbbscn: 0 • bbscn_capable: FALSE bbscn_max: 0, port_bbscn: 0 • Statistics: • number of LS_RJTs sent : 0 • LS_RJT timestamp : Wed Aug 6 20:58:44 2008 • number of FLOGIs: 1 • pwwn : 10:00:00:00:c9:3c:f4:82, fcid : 0xa40001, requested fcid : 0x000000, ex • t ifindex: fc3/1 • class: 3 • logo retries done: 0, flogi accept sent: TRUE • Unknown Timer (0), id: 00, active: FALSE time remaining: 0 • FSM current state: NPIVP_FLOGI_ST_STEADY_STATE

  18. NPV Related Show Commands on NPV-Core Switch The following show commands can be used in the NPV-core switch to display information on the NPV devices. show  fcns  database  npv  [ detail  [ vsan <vsan range> ]] show  fcns  database  npv  [ node_wwn <wwn> ]  [ vsan <vsan range> ] Example Outputs • switch# show fcns database npv • VSAN 5: • ---------------------------------------------------------------------------------- • NPV NODE-NAME NPV IP_ADDR NPV IF CORE SWITCH WWN CORE IF • ----------------------------------------------------------------------------------20:05:00:0d:ec:6b:cd:41 172.18.217.80 fc3/1 20:00:00:0d:ec:3f:a5:c0 fc2/13 • Total number of entries = 1 

  19. NPV Related Commands on NPV-Core Switch switch# show fcns database npv detail • ------------------------------------------------------------ • VSAN:5 NPV Node Name: 20:05:00:0d:ec:6b:cd:41 • ------------------------------------------------------------ • NPV Fabric Port-WWN :20:81:00:0d:ec:6b:cd:40 • class :2,3 • NPV IP Address :172.18.217.80 • ipa :ff ff ff ff ff ff ff ff • fc4-types:fc4_features :npv • NPV Switch Name:Interface :switch:fc3/1 • port-type :NP • Core Switch fabric-port-wwn :20:4d:00:0d:ec:3f:a5:c0 • permanent-port-wwn (vendor) :20:81:00:0d:ec:6b:cd:40 (Cisco) switch# show fcns data npv node_wwn 20:05:00:0d:ec:6b:cd:41 vsan 5 VSAN 5: -------------------------------------------------------------------------- FCID TYPE PWWN (VENDOR) FC4-TYPE:FEATURE -------------------------------------------------------------------------- 0xa40001 N 10:00:00:00:c9:3c:f4:82 (Emulex) ipfc scsi-fcp:init Total number of entries = 1

More Related