Skip to content

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
NameTypeConstraintMandatoryDefault Value
featureClass[feature]No

NameTypeConstraintMandatoryDefault Value
bash_shellBooleantrue, falseNo
bfdBooleantrue, falseNo
bgpBooleantrue, falseNo
dhcpBooleantrue, falseNo
evpnBooleantrue, falseNo
fabric_forwardingBooleantrue, falseNo
hsrpBooleantrue, falseNo
interface_vlanBooleantrue, falseNo
isisBooleantrue, falseNo
lacpBooleantrue, falseNo
lldpBooleantrue, falseNo
macsecBooleantrue, falseNo
netflowBooleantrue, falseNo
ngmvpnBooleantrue, falseNo
ngoamBooleantrue, falseNo
nv_overlayBooleantrue, falseNo
ospfBooleantrue, falseNo
ospfv3Booleantrue, falseNo
pimBooleantrue, falseNo
ptpBooleantrue, falseNo
private_vlanBooleantrue, falseNo
sflowBooleantrue, falseNo
sshBooleantrue, falseNo
tacacsBooleantrue, falseNo
telnetBooleantrue, falseNo
udldBooleantrue, falseNo
vn_segment_vlan_basedBooleantrue, falseNo
vpcBooleantrue, falseNo

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: true

Example 2: Spine switch with routing-only features

nxos:
devices:
- name: SPINE1
configuration:
feature:
bgp: true
ospf: true
pim: true
lldp: true
ssh: true

Example 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