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.
This chapter describes the Cisco NX-OS Ethernet and virtual Ethernet commands that begin with E.
To enable IEEE 802.1Q encapsulation of traffic on a specified subinterface, use the encapsulation dot1q command. To disable encapsulation, use the no form of this command.
no encapsulation dot1Q vlan-id
VLAN to set when the interface is in access mode; valid values are from 1 to 4093, except for the VLANs reserved for internal switch use. |
Subinterface configuration mode
|
|
---|---|
IEEE 802.1Q encapsulation is configurable on Ethernet and EtherChannel interfaces. IEEE 802.1Q is a standard protocol for interconnecting multiple switches and routers and for defining VLAN topologies.
Use the encapsulation dot1q command in subinterface range configuration mode to apply a VLAN ID to the subinterface.
Note This command is not applicable to loopback interfaces.
This example shows how to enable dot1Q encapsulation on a subinterface for VLAN 30:
|
|
---|---|
To enable error-disable (err-disabled) detection in an application, use the errdisable detect cause command. To disable error disable detection, use the no form of this command.
errdisable detect cause { all | link-flap | loopback }
no errdisable detect cause { all | link-flap | loopback }
|
|
---|---|
When error disable detection is enabled and a cause is detected on an interface, the interface is placed in an err-disabled state, which is an operational state that is similar to the link-down state.
This example shows how to enable the err-disabled detection on linkstate-flapping:
|
|
---|---|
To configure the application to bring the interface out of the error-disabled (err-disabled) state and retry coming up, use the errdisable recovery cause command. To revert to the defaults, use the no form of this command.
errdisable recovery cause { all | bpduguard | failed-port-state | link-flap-recovery | pause-rate-limit | udld }
no errdisable recovery cause { all | bpduguard | failed-port-state | link-flap-recovery | pause-rate-limit | udld }
|
|
---|---|
When error disable recovery is enabled, the interface automatically recovers from the err-disabled state, and the device retries bringing the interface up.
This example shows how to enable error disable recovery from linkstate-flapping:
|
|
---|---|
To configure the recovery time interval to bring the interface out of the error-disabled (err-disabled) state, use the errdisable recovery interval command. To revert to the defaults, use the no form of this command.
errdisable recovery interval time
no errdisable recovery interval
Error disable recovery time interval. The range is from 30 to 65535 seconds. |
|
|
---|---|
When error disable recovery is enabled, the interface automatically recovers from the err-disabled state, and the device retries bringing the interface up.
This example shows how to enable error disable recovery time interval to 100 seconds:
|
|
---|---|
To configure the flow ID for an Encapsulated Remote Switched Port Analyzer (ERSPAN)) session, use the erspan-id command. To remove the flow ID, use the no form of this command.
ERSPAN session configuration mode
|
|
---|---|
This example shows how to configure the flow ID for an ERSPAN session:
To configure the extension key to be used to connect to the vCenter Server, use the extension-key command.
Extension ID. The ID can be a maximum of 80 alphanumeric characters. |
SVS connection configuration mode
|
|
---|---|
This example shows how to configure the extension key for a vCenter Server:
|
|
---|---|