Cisco AP776A - Nexus Converged Network Switch 5020 Configuration Manual page 543

Cisco mds 9000 family cli configuration guide - release 4.x (ol-18084-01, february 2009)
Hide thumbs Also See for AP776A - Nexus Converged Network Switch 5020:
Table of Contents

Advertisement

Chapter 21
SAN Device Virtualization
S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m
switch(config)# do show fcns database vsan 2
VSAN 2:
--------------------------------------------------------------------------
FCID
--------------------------------------------------------------------------
0x9f0201
0x9f0423
Total number of entries = 2
Create a virtual device (vdev1) for the VSAN and specify both the primary and secondary pWWNs.
Step 4
switch(config)# sdv virtual-device name vdev1 vsan 2
switch(config-sdv-virt-dev)# pwwn 21:00:00:04:cf:cf:45:40 primary
switch(config-sdv-virt-dev)# pwwn 21:00:00:04:cf:cf:38:d6
Configure automatic failover and fallback attributes.
Step 5
switch(config-sdv-virt-dev)# attribute failover auto
switch(config-sdv-virt-dev)# attribute failover auto fallback
Create a static FC ID for the target device.
Step 6
switch(config-sdv-virt-dev)# virtual-fcid 0x960001
switch(config-sdv-virt-dev)# exit
Commit the new virtual device configuration to the fabric.
Step 7
switch(config)# sdv commit vsan 2
switch(config)# exit
Step 8
Enter the show sdv database command, which displays the primary and secondary virtual devices
created when you configured the virtual device in the VSAN (vsan 2). Ensure that the virtual device
name, pWWNs, and FC ID are correct.
switch# show sdv database vsan 2
sdv virtual-device name vdev1 vsan 2
[ WWN:50:00:53:00:00:d2:e0:01 FCID:0x960001 Real-FCID:0x9f0201 ]
virtual-fcid 0x960001
* pwwn 21:00:00:04:cf:cf:45:40 primary
pwwn 21:00:00:04:cf:cf:38:d6
Enter the show device-alias database command, which displays the contents of the device alias
Step 9
database. Ensure that the new virtual device name appears and that the name is correct.
switch# show device-alias database
device-alias name vdev1 pwwn 50:00:53:00:01:c9:70:01
Total number of entries = 1
Create a zone member under one zone set named zs1 in the VSAN (vsan 2) and add the virtual target
Step 10
device to the new zone using the device alias member type. Before activating the new zone, display the
zoneset information to ensure that the zoneset name, zone name, and pWWNs are correct.
switch# config t
Enter configuration commands, one per line.
switch(config)# zoneset name zs1 vsan 2
switch(config-zoneset)# zone name zzz1
switch(config-zoneset-zone)# member device-alias vdev1
switch(config-zoneset-zone)# member pwwn 21:00:03:04:55:cf:d6:40
switch(config-zoneset-zone)# end
switch# show zoneset
zoneset name zs1 vsan 2
zone name zzz1 vsan 2
OL-18084-01, Cisco MDS NX-OS Release 4.x
TYPE
PWWN
NL
21:00:00:04:cf:cf:45:40 (Seagate)
NL
21:00:00:04:cf:cf:38:d6 (Seagate)
(VENDOR)
FC4-TYPE:FEATURE
scsi-fcp
scsi-fcp
End with CNTL/Z.
Cisco MDS 9000 Family CLI Configuration Guide
SDV Configuration Example
21-15

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents