Before You Begin
•
Ensure you have installed the correct license for FCoE.
•
Ensure you have enabled FCoE.
SUMMARY STEPS
1.
configure terminal
2.
interface vfc vfc-id
3.
switchport mode mode
4.
bind
{
interface
{
ethernet slot
/
port
}}
5.
(Optional)
show interface vfc
6.
(Optional)
copy running-config startup-config
DETAILED STEPS
Purpose
Command or Action
Enters configuration mode.
configure terminal
Example:
switch# configure terminal
switch(config)#
Step 1
Creates a virtual Fibre Channel interface (if it does not already
exist) and enters interface configuration mode. The
vfc-id
range
is from 1 to 8192.
interface vfc vfc-id
Example:
switch(config)# interface vfc 4
switch(config-if)#
Step 2
Configures the switchport mode for a virtual Fibre Channel
interface. The
mode
is E or F. The default is F mode.
switchport mode mode
Example:
switch(configif)# switchport mode e
Step 3
Binds the virtual Fibre Channel interface to the specified
interface. Use
?
to see the supported interfaces and port channels.
bind
{
interface
{
ethernet slot
/
port
}}
Example:
switch(config-if)# bind interface ethernet
1/4
Step 4
Use the
no
form of this command to unbind the virtual Fibre
Channel interface from the specified interface.
(Optional)
Displays information about the virtual Fibre Channel interfaces.
show interface vfc
Example:
switch(config-if)# show interface vfc
Step 5
(Optional)
Copies the running configuration to the startup configuration.
copy running-config startup-config
Example:
switch(config)# copy running-config
startup-config
Step 6
Cisco NX-OS FCoE Configuration Guide for Nexus 7000 and MDS 9500
OL-25809-02
27
Configuring FCoE VLANs and Virtual Interfaces
Creating a Virtual Fibre Channel Interface