Feature
Feature configuration enables or disables NX-OS platform features (software services and protocols) that must be activated before they can be configured. Each feature maps to a CLI feature <name> command and controls whether the corresponding service is available on the device. Common features include BGP, OSPF, EVPN, PIM, vPC, HSRP, LACP, LLDP, SSH, DHCP, fabric forwarding, NV overlay, interface-VLAN, MACsec, Netflow, and NGMVPN. Feature enablement is typically one of the first configuration steps when provisioning an NX-OS device and is a prerequisite for all protocol-specific configuration sections.
Diagram
Section titled “Diagram”Classes
Section titled “Classes”configuration (nxos.devices)
Section titled “configuration (nxos.devices)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| feature | Class | [feature] | No |
feature (nxos.devices.configuration)
Section titled “feature (nxos.devices.configuration)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| bash_shell | Boolean | true, false | No | |
| bfd | Boolean | true, false | No | |
| bgp | Boolean | true, false | No | |
| dhcp | Boolean | true, false | No | |
| evpn | Boolean | true, false | No | |
| fabric_forwarding | Boolean | true, false | No | |
| hsrp | Boolean | true, false | No | |
| interface_vlan | Boolean | true, false | No | |
| isis | Boolean | true, false | No | |
| lacp | Boolean | true, false | No | |
| lldp | Boolean | true, false | No | |
| macsec | Boolean | true, false | No | |
| netflow | Boolean | true, false | No | |
| ngmvpn | Boolean | true, false | No | |
| ngoam | Boolean | true, false | No | |
| nv_overlay | Boolean | true, false | No | |
| ospf | Boolean | true, false | No | |
| ospfv3 | Boolean | true, false | No | |
| pim | Boolean | true, false | No | |
| ptp | Boolean | true, false | No | |
| private_vlan | Boolean | true, false | No | |
| sflow | Boolean | true, false | No | |
| ssh | Boolean | true, false | No | |
| tacacs | Boolean | true, false | No | |
| telnet | Boolean | true, false | No | |
| udld | Boolean | true, false | No | |
| vn_segment_vlan_based | Boolean | true, false | No | |
| vpc | Boolean | true, false | No |
Examples
Section titled “Examples”Example 1: VXLAN leaf switch with full Spine-Leaf EVPN feature set
nxos: devices: - name: LEAF1 configuration: feature: bgp: true ospf: true evpn: true pim: true vn_segment_vlan_based: true nv_overlay: true interface_vlan: true fabric_forwarding: true lacp: true vpc: true lldp: true ssh: trueExample 2: Spine switch with routing-only features
nxos: devices: - name: SPINE1 configuration: feature: bgp: true ospf: true pim: true lldp: true ssh: trueExample 3: Access/border leaf switch with additional security and monitoring features
nxos: devices: - name: BORDER-LEAF1 configuration: feature: bgp: true ospf: true evpn: true pim: true vn_segment_vlan_based: true nv_overlay: true interface_vlan: true fabric_forwarding: true lacp: true vpc: true hsrp: true tacacs: true dhcp: true macsec: true netflow: true ssh: true