A Commands

allocate fcoe-vlan-range

To allocate Fibre Channel over Ethernet (FCoE) VLANs to a virtual device context (VDC), use the allocate fcoe-vlan-range command. To remove the shared FCoE VLAN configuration for the VDC, use the no form of this command.

allocate fcoe-vlan-range vlan-range from vdcs vdc-name... [,vdcs vdc-name]

noallocate fcoe-vlan-range vlan-range from vdcs vdc-name... [,vdcs vdc-name]

Syntax Description

vlan-range

FCoE VLAN range. The range is from 1 to 3967.

from

Specifies which VDCs are going to share ports with the FCoE VDC.

vdcs

(Optional) Specifies the VDC.

vdc-name

VDC name.

Command Default

None

Command Modes


VDC configuration mode

Command History

Release

Modification

5.2(1)

This command was introduced on the Cisco Nexus 7000 Series Switches.

Usage Guidelines

Before allocating fcoe-vlan-range one has to create a storage vdc first.

This command does not require a license.


Note

Before allocating fcoe-vlan-range one has to create a storage vdc first.

Examples

This example shows how to allocate FCoE VLANs to a VDC:

switch# configure terminal
switch(config)# vdc 2
switch(config-vdc)# allocate fcoe-vlan-range 100-200 from vdc switch
switch(config-vdc)#

This example shows how to remove the shared FCoE VLAN configuration for a VDC:


switch(config-vdc)# no allocate fcoe-vlan-range 100-200 from vdc switch

allocate shared interface ethernet

To allocate interfaces to a virtual device context (VDC) for sharing ports, use the allocate shared interface ethernet command. To disallow the VDC to share interfaces, use the no form of this command.

allocate shared interface ethernet slot/ chassis number

noallocate shared interface ethernet slot/ chassis number

Syntax Description

slot/ chassisnumber

Slot or chassis number. The range is from 1 to 253.

Command Default

None

Command Modes


VDC configuration mode

Command History

Release

Modification

5.2(1)

This command was introduced on the Cisco Nexus 7000 Series Switches.

Usage Guidelines

This command does not require a license.

Examples

This example shows how to allocate interfaces to a VDC for sharing ports:

switch# configure terminal
switch(config)# vdc 2
switch(config-vdc)# allocate shared interface ethernet 7/5
switch(config-vdc)#

This example shows how to disallow a VDC to share interfaces:


switch(config-vdc)# no allocate shared interface ethernet 7/5 

switch(config-vdc)#