DETAILED STEPS
Purpose
Command or Action
Enters configuration mode.
configure terminal
Example:
switch# configure terminal
switch(config)#
Step 1
Enters interface configuration mode for the interface in
the Ethernet VDC.
interface if-range
Example:
switch(config)# interface ethernet 2/1
Step 2
Puts the Ethernet interface into trunk mode.
switchport mode trunk
Example:
switch(config-if)# switchport mode trunk
Step 3
Sets the interface to STP-type edge port to support STP
Lite for loop prevention.
spanning-tree port type edge trunk
Example:
switch(config-if)# spanning-tree port type edge
trunk
Step 4
Administratively enables the Ethernet shared interface.
no shutdown
Example:
switch(config-if)# no shutdown
Step 5
Enters VDC configuration mode.
vdc vdc-name type storage
Example:
switch(config-if)# vdc fcoe-vdc type storage
switch(config-vdc)#
Step 6
Allocates interfaces that are shared with another VDC
for FCoE traffic. You must allocate the shared interfaces
allocate shared interface if-range
Example:
switch(config-vdc)# allocate shared interface
ethernet 2/1
Step 7
to one of the VDC included in the FCoE VLAN
allocation. You can only use the
shutdown
or the
switchport trunk allowed vlan
commands on shared
interfaces in the storage VDC.
(Optional)
Displays the interfaces that are shared for FCoE.
show vdc shared membership
Example:
switch(config-vdc)#
show vdc shared membership
Step 8
(Optional)
Switches to the storage VDC.
switchto vdc vdc-name
Example:
switch(config-vdc)# switchto vdc fcoe-vdc
switch-fcoe-vdc#
Step 9
Cisco NX-OS FCoE Configuration Guide for Nexus 7000 and MDS 9500
OL-25809-02
45
Storage VDC on Cisco Nexus 7000 Series Switches
Allocating Shared Interfaces