Cisco Nexus 5000 Series Switch CLI Software Configuration Guide, NX-OS 4.0(1a)N1 (OL-16597-01, January 2009)

Send feedback to nx5000-docfeedback@cisco.com
37-7
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 37 Configuring and Managing VSANs
Configuring VSANs
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:
Statically—Assigning VSANs to ports.
See the Assigning Static Port VSAN Membership” section on page 37-7.
Dynamically—Assigning VSANs based on the device WWN. This method is referred to as dynamic
port VSAN membership (DPVM). Cisco Nexus 5000 Series switches do not support DPVM.
VSAN trunking ports have an associated list of VSANs that are part of an allowed list (see Chapter 35,
“Configuring VSAN Trunking”).
Assigning Static Port VSAN Membership
To statically assign VSAN membership for an interface port, perform this task:
Displaying VSAN Static Membership
To display the VSAN static membership information, use the show vsan membership command.
The following example displays membership information for the specified VSAN:
switch # show vsan 1 membership
vsan 1 interfaces:
fc2/1 fc2/2 fc2/3 fc2/4
san-port-channel 3 vfc1/1
Note Interface information is not displayed if interfaces are not configured on this VSAN.
The following example displays membership information for all VSANs:
switch # show vsan membership
vsan 1 interfaces:
fc2/1 fc2/2 fc2/3 fc2/4
Command Purpose
Step 1
switch# configuration terminal
Enters configuration mode.
Step 2
switch(config)# vsan database
switch(config-vsan-db)#
Configures the database for a VSAN.
Step 3
switch(config-vsan-db)# vsan vsan-id
Creates a VSAN with the specified ID if that
VSAN does not exist already.
Step 4
switch(config-vsan-db)# vsan vsan-id interface
fc slot/port
or
switch(config-vsan-db)# vsan vsan-id interface
vfc slot/port
Assigns the membership of the specified
interface to the VSAN.
Step 5
switch(config-vsan-db)# vsan vsan-id interface
vfc slot/port
Updates the membership information of the
interface to reflect the changed VSAN.
switch(config-vsan-db)# no vsan vsan-id
interface fc slot/port
Removes the interface from the VSAN.