Configuring Virtual Interfaces
S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m
Configuring Virtual Interfaces
This section describes how to configure virtual interfaces, and it includes the following topics:
•
•
•
Creating a Virtual Fibre Channel Interface
The Ethernet interface that you bind the virtual Fibre Channel interface to must be configured as follows:
•
•
•
•
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:
Command
Step 1
switch# configure terminal
Step 2
switch(config)# interface vfc vfc-id
Step 3
switch(config-if)# bind interface
ethernet slot/port
Mapping VSANs to VLANs
To create a mapping between a VSAN and its associated VLAN, perform this task:
Command
Step 1
switch# configure terminal
Step 2
switch(config)# vlan vlan-id
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
30-2
Creating a Virtual Fibre Channel Interface, page 30-2
Mapping VSANs to VLANs, page 30-2
Deleting a Virtual Fibre Channel Interface, page 30-3
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).
Chapter 30
Purpose
Enters configuration mode.
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.
Binds the virtual Fibre Channel interface to the specified
physical Ethernet interface.
Purpose
Enters configuration mode.
Enters VLAN configuration mode. VLAN number is in
the range of 1 to 4096.
Configuring Virtual Interfaces
OL-16597-01