Configuring VSANs
Command or Action
Step 2
switch(config)# vsan database
Step 3
switch(config-vsan-db)# vsan vsan-id
Step 4
switch(config-vsan-db)# vsan vsan-id interface
{fc slot/port | vfc vfc-id}
Step 5
switch(config-vsan-db)# vsan vsan-id {fc
slot/port | vfc vfc-id}
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:
Interface information is not displayed if interfaces are not configured on this VSAN.
Note
The following example displays membership information for all VSANs:
switch # show vsan membership
vsan 1 interfaces:
vsan 2 interfaces:
vsan 7 interfaces:
vsan 100 interfaces:
vsan 4094(isolated vsan) interfaces:
The following example displays static membership information for the specified interface:
switch # show vsan membership interface fc2/1
fc2/1
About the Default VSAN
The factory settings for switches in the Cisco Nexus 5000 Series have only the default VSAN 1 enabled. We
recommend that you do not use VSAN 1 as your production environment VSAN. If no VSANs are configured,
Cisco Nexus 5000 Series NX-OS SAN Switching Configuration Guide
96
fc2/1
fc2/2
fc2/3
san-port-channel 3
vfc1/1
fc2/1
fc2/2
fc2/3
san-port-channel 3
vfc3/1
fc2/3 vfc4/1
vsan:1
allowed list:1-4093
Purpose
Configures the database for a VSAN.
Creates a VSAN with the specified ID if that VSAN does not exist
already.
Assigns the membership of the specified interface to the VSAN.
Updates the membership information of the interface to reflect the
changed VSAN.
Note
To remove the VSAN membership of a FC or vFC
interface, assign the VSAN membership of that interface
to another VSAN. Cisco recommends that you assign it
to VSAN 1.
fc2/4
fc2/4
Configuring and Managing VSANs
OL-xxxxx-xx