Chapter 20
Configuring and Managing VSANs
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
Command
Step 4
switch(config-vsan-db)# vsan 2 name TechDoc
updated vsan 2
Step 5
switch(config-vsan-db)# vsan 2 suspend
Step 6
switch(config-vsan-db)# no vsan 2 suspend
Step 7
switch(config-vsan-db)# end
switch#
About Port VSAN Membership
Port VSAN membership on the switch is assigned on a port-by-port basis. By default each port belongs
to the default VSAN. You can assign VSAN membership to ports using one of two methods:
•
•
Trunking ports have an associated list of VSANs that are part of an allowed list (see
"Configuring
Assigning Static Port VSAN Membership
To statically assign VSAN membership for an interface port), follow these steps:
Command
Step 1
switch# config t
Step 2
switch(config)# vsan database
switch(config-vsan-db)#
Step 3
switch(config-vsan-db)# vsan 2
Step 4
switch(config-vsan-db)# vsan 2 interface fc1/8
Step 5
switch(config-vsan-db)# vsan 7
Step 6
switch(config-vsan-db)# vsan 7 interface fc1/8
switch(config-vsan-db)# no vsan 7 interface
fc1/8
Displaying VSAN Static Membership
To display the VSAN static membership information, use the show vsan membership command (see
Example 20-1
OL-18084-01, Cisco MDS NX-OS Release 4.x
Statically—By assigning VSANs to ports.
See the
"Assigning Static Port VSAN Membership" section on page
Dynamically—By assigning VSANs based on the device WWN. This method is referred to as
dynamic port VSAN membership (DPVM).
See
Chapter 22, "Creating Dynamic VSANs."
Trunking").
through
Example
Purpose
Updates the VSAN with the assigned name
(TechDoc).
Suspends the selected VSAN.
Negates the suspend command issued in the
previous step.
Returns you to EXEC mode.
Purpose
Enters configuration mode.
Configures the database for a VSAN.
Creates a VSAN with the specified ID (2) if
that VSAN does not exist already.
Assigns the membership of the fc1/8 interface
to the specified VSAN (VSAN 2).
Creates another VSAN with the specified ID
(7) if that VSAN does not exist already.
Updates the membership information of the
interface to reflect the changed VSAN.
Removes the interface from the VSAN.
20-3).
Cisco MDS 9000 Family CLI Configuration Guide
VSAN Configuration
20-7.
Chapter 16,
20-7