Purpose
Command or Action
Defines the VSAN. The VSAN number range is from 1 to
4094.
vsan vsan-id
Example:
switch(config-vsan-db)# vsan 200
Step 3
Enters VLAN configuration mode. The VLAN number range
is from 1 to 4096.
vlan vlan-id
Example:
switch(config-vsan-db)# vlan 200
switch(config-vlan)#
Step 4
Enables FCoE for the specified VLAN and configures the
mapping from this VLAN to the specified VSAN. If you do
fcoe
[
vsan vsan-id
]
Example:
switch(config-vlan)# fcoe vsan 200
Step 5
not specify a VSAN number, a mapping is created from this
VLAN to the VSAN with the same number.
Exits VLAN configuration mode. You must exit this mode to
execute the configured commands on the Cisco Nexus 7000
Series Switches.
exit
Example:
switch(config-vlan)# exit
switch(config)#
Step 6
(Optional)
Displays information about the FCoE configuration for a
VLAN.
show vlan fcoe
Example:
switch(config-vlan)# show vlan fcoe
Step 7
(Optional)
Copies the running configuration to the startup configuration.
copy running-config startup-config
Example:
switch(config-vlan)# copy running-config
startup-config
Step 8
This example shows how to map VLAN 200 to VSAN 200 on a Cisco MDS 9500 Series Switch:
switch(config)#
vlan 200
switch(config-vlan)#
fcoe vsan 200
This example shows how to map VLAN 300 to VSAN 300 on a Cisco Nexus 7000 Series Switches:
switch(config)#
switchto vdc fcoe_vdc
switch-fcoe_vdc#
configure terminal
switch-fcoe_vdc(config)#
vlan 300
switch-fcoe_vd(config-vlan)#
fcoe vsan 300
Creating a Virtual Fibre Channel Interface
You can create a virtual Fibre Channel interface. You must bind the virtual Fibre Channel interface to a
physical interface before it can be used.
Cisco NX-OS FCoE Configuration Guide for Nexus 7000 and MDS 9500
26
OL-25809-02
Configuring FCoE VLANs and Virtual Interfaces
Creating a Virtual Fibre Channel Interface