The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
To enable the Adapter Fabric Extender (Adapter-FEX), use the feature adapter-fex command. To disable Adapter-FEX, use the no form of this command.
feature adapter-fex
no feature adapter-fex
This command has no arguments or keywords.
Disabled
Global configuration mode
Release |
Modification |
---|---|
5.1(3)N1(1) |
This command was introduced. |
Before you disable this feature on the switch, do the following:
If you attempt to disable the Adapter-FEX feature with virtual Ethernet interface or port profile configurations enabled, the switch returns an error message.
Before you use a virtual Ethernet interface, you must enable Cisco Virtual Machine Fabric Extender (VM-FEX) on the switch by using the feature vmfex command.
This example shows how to enable Adapter-FEX on the switch:
switch# configure terminal switch(config)# feature adapter-fex Virtualization Plugin license checked out successfully Virtualization Plugin extracted successfully All Virtualization processes enabled successfully switch(config)#
This example shows how to disable Adapter-FEX on the switch:
switch# configure terminal switch(config)# no feature adapter-fex Disabled feature adapter-fex successfully. You should save the configuration and Reload. switch(config)#
This example shows the error message that appears when you attempt to disable Adapter-FEX on a switch with virtual Ethernet interface configurations enabled:
switch# configure terminal switch(config)# no feature adapter-fex Disabling of NIV failed.veth and vntag configs found Shutdown all veths and Remove them. Change ports with 'switchport mode vntag' to 'switchport mode access'. switch(config)#
Command |
Description |
---|---|
interface vethernet |
Configures a virtual Ethernet interface. |
port-profile |
Configures a port profile. |
show feature |
Displays whether or not Adapter-FEX is enabled on the switch. |
switchport mode |
Configures the interface as a nontrunking nontagged single-VLAN Ethernet interface. |
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.
feature lacp
no feature lacp
This command has no arguments or keywords.
LACP is Disabled
Global configuration mode
Release |
Modification |
---|---|
5.2(1)N1(1) |
This command was introduced. |
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.
This example shows how to enable LACP EtherChannels on the switch:
switch(config)# feature lacp
Command |
Description |
---|---|
show lacp |
Displays information on LACP. |
show feature |
Displays whether or not LACP is enabled on the switch. |
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 theno form of the command. Feature LLDP is enabled on the switch by default.
feature lldp
no feature lldp
This command has no arguments or keywords.
Enabled
Global configuration mode
Release |
Modification |
---|---|
5.2(1)N1(1) |
This feature was introduced. |
5.2(1)N(4) |
The no form of the command was introduced |
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:
switch#feature lldp switch# show running-config !Command: show running-config !Time: Tue Feb 10 12:36:03 2009 version 5.0(3)N1(1) feature telnet feature lldp username admin password 5 $1$d8lkfqC8$4VfRuOoZTKvCtTq8VAKbq/ role network-admin no password strength-check ip domain-lookup hostname switch class-map type qos class-fcoe class-map type qos match-all c1 match cos 1 <--Output truncated--> switch#
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.
This example shows how to enable LLDP on the switch:
switch(config)# feature lldp switch(config)#
This example shows how to disable LLDP on the switch:
switch(config)# no feature lldp switch(config)#
Command |
Description |
---|---|
lldp |
Configures the global LLDP options on the switch. |
lldp (Interface) |
Configures the LLDP feature on an interface. |
show feature |
Displays that LLDP is enabled on the switch. |
To enable Power over Ethernet (PoE), use the feature poe command. To disable PoE, use the no form of this command.
feature poe
no feature poe
This command has no keywords or arguments.
Disabled
Global configuration mode
Release |
Modification |
---|---|
5.0(3)N2(1) |
This command was introduced. |
This example shows how to enable PoE on the switch:
switch(config)# feature poe
Command |
Description |
---|---|
power inline |
Configures the power usage for interfaces. |
show feature |
Displays the status of features enabled or disabled on the switch. |
feature port-security
no feature port-security
This command has no keywords or arguments.
Disabled
Global configuration mode
Release |
Modification |
---|---|
5.1(3)N1(1) |
This command was introduced. |
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:
This command does not require a license.
This example shows how to enable port security on the switch:
switch# configure terminal switch(config)# feature port-security switch(config)#
This example shows how to disable port security on the switch:
switch# configure terminal switch(config)# no feature port-security switch(config)#
Command |
Description |
---|---|
show feature |
Displays the features that are enabled or disabled on the switch. |
show port-security |
Displays the port security configuration information. |
switchport port-security |
Configures the switchport parameters to establish port security. |
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.
feature udld
no feature udld
This command has no arguments or keywords.
UDLD is disabled.
Global configuration mode
Release |
Modification |
---|---|
5.2(1)N1(1) |
This command was introduced. |
This example shows how to enable UDLD on the switch:
switch(config)# feature udld
Command |
Description |
---|---|
show udld |
Displays the administrative and operational UDLD status. |
show feature |
Displays whether or not UDLD is enabled on the switch. |