Table Of Contents
B Commands
bind
bind mac-address
B Commands
This chapter describes the Cisco NX-OS Fibre Channel, virtual Fibre Channel, and Fibre Channel over Ethernet (FCoE) commands that begin with B.
bind
To bind an interface to a virtual Fibre Channel interface, use the bind command. To remove the binding of an interface, use the no form of this command.
bind interface {ethernet chassis-id/slot/port | port-channel channel-no | vethernet veth-num}
no bind interface {ethernet chassis-id/slot/port | port-channel channel-no | vethernet veth-num}
Syntax Description
interface
|
Specifies the interface to bind the virtual Fibre Channel interface.
|
ethernet
|
Specifies that the virtual Fibre Channel interface be bound to a specified Ethernet interface.
|
chassis-id
|
Fabric Extender chassis ID. The chassis ID range is from 100 to 199.
|
slot/port
|
Ethernet interface slot number and port number. The slot number is from 1 to 255 and the port number is from 1 to 128.
Note When you bind an interface to a virtual Fibre Channel interface to enable Fibre Channel over Ethernet (FCoE) traffic on a Cisco Nexus 2232P Fabric Extender, the slot number is 1 and the port number is from 1 to 32.
|
port-channel channel-no
|
Specifies that the virtual Fibre Channel interface be bound to a specified EtherChannel interface. The EtherChannel number is from 1 to 4096.
|
vethernet veth-num
|
Specifies that the virtual Fibre Channel interface be bound to a specified virtual Ethernet interface. The virtual Ethernet interface number is from 1 to 1048575.
|
Command Default
Disabled
Command Modes
Virtual Fibre Channel interface configuration mode
Command History
Release
|
Modification
|
6.0(2)N1(1)
|
This command was introduced.
|
Usage Guidelines
The Ethernet or EtherChannel interface that you bind to the virtual Fibre Channel interface must be a trunk port.
Before you bind a virtual Fibre Channel interface to a virtual Ethernet interface, you must enable the Cisco Adapter Fabric Extender (Adapter-FEX) on the switch by using the feature-set virtualization command.
Examples
This example shows how to bind a virtual Fibre Channel interface 3 to an Ethernet interface:
switch# configure terminal
switch(config)# interface ethernet 1/1
switch(config-if)# switchport mode trunk
switch(config)# interface vfc 3
switch(config-if)# bind interface ethernet 1/1
This example shows how to bind a virtual Fibre Channel interface 2 to a virtual Ethernet interface:
switch# configure terminal
switch(config)# interface vfc 2
switch(config-if)# bind interface vethernet 100
switch(config)# interface vethernet 100
switch(config-if)# bind interface ethernet 101/1/1 channel 5
Related Commands
Command
|
Description
|
bind (virtual Ethernet interface)
|
Binds an interface to a virtual Ethernet.
|
fcoe
|
Enables FCoE traffic on a Fabric Extender.
|
feature-set virtualization
|
Enables the Cisco Virtual Machine features on the switch.
|
interface vfc
|
Configures a virtual Fibre Channel interface.
|
show interface vfc
|
Displays the specified VFC interface, attributes, and status.
|
bind mac-address
To bind a virtual Fibre Channel interface to a MAC address, use the bind mac-address command. To remove the binding of an interface, use the no form of this command.
bind mac-address mac-address
no bind mac-address mac-address
Syntax Description
mac-address
|
MAC address. Use the format EEEE.EEEE.EEEE.
|
Command Default
Disabled
Command Modes
Virtual Fibre Channel interface configuration mode
Command History
Release
|
Modification
|
6.0(2)N1(1)
|
This command was introduced.
|
Usage Guidelines
Before you use this command, make sure you enable Fibre Channel over Ethernet (FCoE) N-Port Virtualizer (NPV) on the switch by using the feature fcoe-npv command.
This command requires the FCoE NPV license.
Examples
This example shows how to bind a virtual Fibre Channel interface 3 to a MAC address:
switch# configire terminal
switch(config)# interface vfc 3
switch(config-if)# bind mac-address 0050.3e8d.6400
Related Commands
Command
|
Description
|
interface vfc
|
Configures a virtual Fibre Channel interface.
|
show interface vfc
|
Displays the specified VFC interface, attributes, and status.
|