Step 1 |
configure terminal
switch# configure terminal
switch(config)#
|
Enters configuration mode in the default VDC.
|
Step 2 |
hardware qos
fcoe-fex
switch(config)# hardware qos fcoe-fex
|
Enables FCoE over FEX support and Priority Flow Control (PFC)
behavior on the FEX port. Use the
no form of the
command to disable FCoE over FEX support.
|
Step 3 |
license fcoe module module-number
switch(config)# license fcoe module 3
|
Associates an FCoE license to a module in which the fabric port
channel (FPC) ports are present. .
|
Step 4 |
exit
|
Exits the default VDC configuration mode.
|
Step 5 |
switchto vdc ethernet-vdc-name
switch# switchto vdc ethernet-vdc
|
Switches to the ethernet VDC from the default VDC.
|
Step 6 |
configure terminal
switch-ethernet-vdc# configure terminal
switch-ethernet-vdc(config)#
|
Enters configuration mode.
|
Step 7 |
interface
port-channel channel-number
switch-ethernet-vdc(config)# interface port-channel 4
switch-ethernet-vdc(config-if)#
|
Creates a port-channel interface and enter interface
configuration mode.
|
Step 8 |
switchport
switch-ethernet-vdc(config-if)# switchport
|
Sets the interface as a Layer 2 switching port.
|
Step 9 |
switchport mode
fex-fabric
switch-ethernet-vdc(config-if)# switchport mode fex-fabric
|
Sets the interface type to be an uplink port for a Fabric
Extender (FEX).
|
Step 10 |
priority-flow-control mode { auto |
off
|
on}
switch-ethernet-vdc(config-if)# priority-flow-control mode on
|
Configure Priority Flow Control on a per-port basis and on the
port channel.
Note
|
This
command is enabled by default when you enable the
hardware qos
fcoe-fex command in the default VDC.
|
|
Step 11 |
fex associate chassis-id
switch-ethernet-vdc(config-if)# fex associate 100
|
Associates a Fabric Extender (FEX) to a fabric interface.
|
Step 12 |
no shutdown
switch-ethernet-vdc(config-if)# no shutdown
|
Administratively enables the Ethernet shared interface.
|
Step 13 |
interface
ethernet slot/port-list
switch-ethernet-vdc(config)# interface ethernet 1/37
switch-ethernet-vdc(config-if)#
|
Configures an Ethernet interface and enter interface
configuration mode.
|
Step 14 |
switchport
switch-ethernet-vdc(config-if)# switchport
|
Sets the interface as a Layer 2 switching port.
|
Step 15 |
switchport mode
fex-fabric
switch-ethernet-vdc(config-if)# switchport mode fex-fabric
|
Sets the interface type to be an uplink port for a Fabric
Extender (FEX).
|
Step 16 |
priority-flow-control
mode { auto |
off |
on}
switch-ethernet-vdc(config-if)# priority-flow-control mode on
|
Configure Priority Flow Control on a per-port basis.
Note
|
This command
is enabled by default when you enable the
hardware qos
fcoe-fex command in the default VDC.
|
|
Step 17 |
fex associate chassis-id
switch-ethernet-vdc(config-if)# fex associate 100
|
Associates a Fabric Extender (FEX) to a fabric interface.
|
Step 18 |
channel-group number
switch-ethernet-vdc(config-if)# channel-group 4
|
Assigns and configures a physical interface to a port-channel
group.
|
Step 19 |
no shutdown
switch-ethernet-vdc(config-if)# no shutdown
|
Administratively enables the Ethernet shared interface.
|
Step 20 |
interface
if-range
switch-ethernet-vdc(config-if)# interface ethernet 100/1/1
switch-ethernet-vdc(config-if)#
|
Configures the interface and enters interface configuration
mode in the ethernet VDC.
|
Step 21 |
switchport
switch-ethernet-vdc(config-if)# switchport
|
Sets the interface as a Layer 2 switching port.
|
Step 22 |
switchport mode
trunk
switch-ethernet-vdc(config-if)# switchport mode trunk
|
Puts the Ethernet interface into trunk mode.
|
Step 23 |
spanning tree port type
edge trunk
switch-ethernet-vdc(config-if)# spanning tree port type edge trunk
|
Configures an interface connected to a host as an edge port
|
Step 24 |
no shutdown
switch-ethernet-vdc(config-if)# no shutdown
|
Administratively enables the Ethernet shared interface.
|
Step 25 |
exit
switch-ethernet-vdc(config-if)# exit
|
Exits the interface configuration mode.
|
Step 26 |
feature lldp
switch-ethernet-vdc(config)# feature lldp
|
Enables the LLDP feature in the ethernet VDC.
|
Step 27 |
switchback
switch-ethernet-vdc(config)# switchback
switch#
|
|
Step 28 |
switchto vdc storage-vdc-name
switch# switchto vdc storage-vdc
switch-storage-vdc#
|
Switches to the storage VDC.
|
Step 29 |
configure terminal
switch-storage-vdc# configure terminal
switch-storage-vdc(config)#
|
Enters configuration mode.
|
Step 30 |
feature-set fex
switch-storage-vdc(config)# feature-set fex
|
Enables the
Fabric Extender (FEX) feature set in the storage VDC.
|
Step 31 |
feature lldp
switch-storage-vdc(config)# feature lldp
|
Enables the
LLDP feature in the storage VDC.
|
Step 32 |
switchback
switch-storage-vdc(config)# switchback
switch#
|
|
Step 33 |
configure terminal
switch# configure terminal
switch(config)#
|
Enters configuration mode in the default VDC.
|
Step 34 |
vdc storage-vdc-name
switch(config)# vdc storage-vdc
|
Specifies the storage VDC in the default VDC.
|
Step 35 |
allocate
fcoe-vlan-range vlan-range from
vdc ethernet-vdc-name
switch(config-vdc)# allocate fcoe-vlan-range 2-8 from vdc ethernet-vdc
|
Allocates Fibre Channel over Ethernet (FCoE) VLANs to a virtual
device context (VDC),
|
Step 36 |
[no] allocate shared
interface if-range
switch(config-vdc)# allocate shared interface ethernet 100/1/1
Ports that share the port group of the interfaces you have specified will be affected as well. Continue (y/n)? y
|
Shares FEX interface from the Ethernet VDC to the storage VDC.
Note
|
It is expected that, if the feature-set FEX is not enabled,
then the
allocate shared interface
fex_interfaces command fails on VDC
write-erase/reload. To resolve, un-configure the shared interfaces and
configure it back.
|
|