Send feedback to nx5000-docfeedback@cisco.com
1-2
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 1 Configuring Virtual Interfaces
Configuring Virtual Interfaces
Configuring Virtual Interfaces
This section describes how to configure virtual interfaces, and it includes the following topics:
• Creating a Virtual Fibre Channel Interface, page 1-2
• Mapping VSANs to VLANs, page 1-2
• Deleting a Virtual Fibre Channel Interface, page 1-3
Creating a Virtual Fibre Channel Interface
The Ethernet interface that you bind the virtual Fibre Channel interface to must be configured as follows:
• It must be a trunk port (use the switchport mode trunk command)
• The FCoE VLAN that corresponds to virtual Fibre Channel’s VSAN must be in the allowed VLAN
list
• FCoE VLAN must not be configured as the native VLAN of the trunk port.
• The Ethernet interface must be configured as portfast (use the spanning-tree port type edge trunk
command)
Following the above configuration guidelines will ensure a smooth upgrade to a T11 Fibre Channel
Initialization Protocol (FIP) based FCoE release in the future.
To create a virtual Fibre Channel interface, perform this task:
Mapping VSANs to VLANs
To create a mapping between a VSAN and its associated VLAN, perform this task:
Command Purpose
Step 1
switch# configure terminal
Enters configuration mode.
Step 2
switch(config)# interface vfc vfc-id
Creates a virtual Fibre Channel interface (if it does not
already exist) and enters interface configuration mode.
Virtual Fibre Channel interface ID is in the range of 1 to
8192.
Step 3
switch(config-if)# bind interface
ethernet slot/port
Binds the virtual Fibre Channel interface to the specified
physical Ethernet interface.
Command Purpose
Step 1
switch# configure terminal
Enters configuration mode.
Step 2
switch(config)# vlan vlan-id
Enters VLAN configuration mode. VLAN number is in
the range of 1 to 4096.