F Commands
This chapter describes the Cisco NX-OS interface commands that begin with F.
fabric-mode
To select the fabric mode, use the fabric-mode command.
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Examples
This example shows how to set the fabric mode to 10G:
This example shows how to set the fabric mode to 40G:
Related Commands
|
|
---|---|
feature lacp
To enable the Link Aggregation Control Protocol (LACP), which bundles a number of physical ports together to form a single logical channel, use the feature lacp command. To disable LACP on the switch, use the no form of this command.
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
You must remove all the LACP configuration parameters from all EtherChannels on the switch before you can disable LACP.
Even after you enable LACP globally, you do not have to run LACP on all EtherChannels on the switch. You enable LACP on each channel mode using the channel-group mode command.
Examples
This example shows how to enable LACP EtherChannels on the switch:
Related Commands
|
|
---|---|
feature lldp
To enable the Link Layer Discovery Protocol (LLDP) on a device, use the feature lldp command in global configuration mode. To disable the LLDP feature, use the no form of the command. Feature LLDP is enabled on the switch by default.
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
The Cisco Discovery Protocol (CDP) is a device discovery protocol that runs over Layer 2 (the data link layer) on all Cisco-manufactured devices (routers, bridges, access servers, and switches). CDP allows network management applications to automatically discover and learn about other Cisco devices connected to the network.
To support non-Cisco devices and to allow for interoperability between other devices, the switch supports the Link Layer Discovery Protocol (LLDP). LLDP is a neighbor discovery protocol that is used for network devices to advertise information about themselves to other devices on the network. This protocol runs over the data-link layer, which allows two systems running different network layer protocols to learn about each other.
The following is an example on how to configure the feature lldp command and how to verify the feature lldp command on the switch:
Related Commands
|
|
---|---|
feature port-security
To enable port security on Layer 2 interfaces, use the feature port-security command. To disable port security, use the no form of this command.
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Use the port security feature to secure a port by limiting and identifying the MAC addresses of the switches that are allowed to access the port.
You can enable port security on a virtual port channel (vPC) port only if the following occurs:
Examples
This example shows how to enable port security on the switch:
This example shows how to disable port security on the switch:
Related Commands
|
|
---|---|
Displays the features that are enabled or disabled on the switch. |
|
Configures the switchport parameters to establish port security. |
feature udld
To enable the Cisco-proprietary Unidirectional Link Detection (UDLD) protocol, which allows ports that are connected through fiber optics or copper Ethernet cables to monitor the physical configuration of the cables and detect when a unidirectional link exists, use the feature udld command. To disable UDLD on the switch, use the no form of this command.
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Examples
This example shows how to enable UDLD on the switch:
Related Commands
|
|
---|---|