---
title: Feature Management
slug: aidc/feature-management
createdAt: 2025-12-01T11:11:09.000Z
---

## <font color="#1d50a2">Feature View</font>

<font color="#1d05a2">Table 1 Feature View</font>

| **Command**             | **Purpose**                                     |
| ----------------------- | ----------------------------------------------- |
| **show feature config** | Display the configuration of the features.      |
| **show feature status** | Display the status information of the features. |

### <font color="#1d50a2">show feature config</font>

**\[Command]**
**show feature config**

**\[Purpose]**
Display the configuration of the features.

**\[View]**
Privileged User View

**\[Use Cases]**

```plaintext
sonic# show feature config
Feature         State            AutoRestart     Owner
--------------  ---------------  --------------  -------
aflpd           enabled          enabled         local
bgp             enabled          enabled         local
cluster         disabled         disabled        local
database        always_enabled   always_enabled  local
dhcp            disabled         enabled         local
eventd          disabled         disabled        local
exporter        disabled         disabled        local
iccpd           enabled          enabled         local
lldp            enabled          enabled         local
macsec          disabled         enabled         local
mgmt-framework  enabled          enabled         local
mstpd           enabled          enabled         local
mux             always_disabled  enabled         local
nat             disabled         enabled         local
pmon            enabled          enabled         local
proxy           enabled          enabled         local
radv            enabled          enabled         local
sflow           enabled          enabled         local
slad            enabled          enabled         local
snmp            enabled          enabled         local
swss            enabled          enabled         local
syncd           enabled          enabled         local
teamd           enabled          enabled         local
telemetry       enabled          enabled         local
web             enabled          enabled         local
```

### <font color="#1d50a2">show feature status</font>

**\[Command]**
**show feature status**

**\[Purpose]**
Display the status information of the features.

**\[View]**
Privileged User View

**\[Use Cases]**

```plaintext
sonic# show feature status
Feature         State            AutoRestart     SetOwner
--------------  ---------------  --------------  ----------
aflpd           enabled          enabled
bgp             enabled          enabled
cluster         disabled         disabled
database        always_enabled   always_enabled
dhcp            disabled         enabled         local
eventd          disabled         disabled
exporter        disabled         disabled
iccpd           enabled          enabled
lldp            enabled          enabled
macsec          disabled         enabled
mgmt-framework  enabled          enabled
mstpd           enabled          enabled
mux             always_disabled  enabled
nat             disabled         enabled
pmon            enabled          enabled
proxy           enabled          enabled
radv            enabled          enabled
sflow           enabled          enabled
slad            enabled          enabled
snmp            enabled          enabled
swss            enabled          enabled
syncd           enabled          enabled
teamd           enabled          enabled
telemetry       enabled          enabled
web             enabled          enabled
```

## <font color="#1d50a2">Feature Config</font>

<font color="#1d05a2">Table 2 Feature Config</font>

| **Command**                                                                                                       | **Purpose**                                   |
| ----------------------------------------------------------------------------------------------------------------- | --------------------------------------------- |
| **feature \{dhcp\|macsec\|nat\|snmp\|web\|telemetry\|lldp\|exporter\|ptp\|l2mcd} state \{enable\|disable}**       | Set the state of the feature.                 |
| **feature \{dhcp\|macsec\|nat\|snmp\|web\|telemetry\|lldp\|exporter\|ptp\|l2mcd} autorestart \{enable\|disable}** | Set the auto-restart property of the feature. |
| **feature \{dhcp\|macsec\|nat\|snmp\|web\|telemetry\|lldp\|exporter\|ptp\|l2mcd} fallback \{on\|off}**            | Set the fallback property of the feature.     |

### <font color="#1d50a2">feature \{dhcp|macsec|nat|snmp|web|telemetry|lldp|exporter|ptp|l2mcd\} state \{enable|disable\}</font>

**\[Command]**
**feature** \{**dhcp**|**macsec**|**nat**|**snmp**|**web**|**telemetry**|**lldp|exporter|ptp|l2mcd**} **state** \{**enable**|**disable**}

**\[Purpose]**
Set the state of the feature.

**\[View]**
Global Configuration View

**\[Use Cases]**

```plaintext
sonic# configure terminal
sonic(config)# feature dhcp state enable
sonic(config)# feature nat state disable
```

### <font color="#1d50a2">feature \{dhcp|macsec|nat|snmp|web|telemetry|lldp|exporter|ptp|l2mcd\} autorestart \{enable|disable\}</font>

**\[Command]**
**feature** \{**dhcp**|**macsec**|**nat**|**snmp**|**web**|**telemetry**|**lldp|exporter|ptp|l2mcd**} **autorestart** \{**enable**|**disable**}

**\[Purpose]**
Set the auto-restart property of the feature.

**\[View]**
Global Configuration View

**\[Use Cases]**

```plaintext
sonic# configure terminal
sonic(config)# feature dhcp autorestart enable
sonic(config)# feature nat autorestart disable
sonic(config)# feature macsec autorestart disable
```

### <font color="#1d50a2">feature \{dhcp|macsec|nat|snmp|web|telemetry|lldp|exporter|ptp|l2mcd\} fallback \{on|off\}</font>

**\[Command]**
**feature** \{**dhcp**|**macsec**|**nat**|**snmp**|**web**|**telemetry**|**lldp|exporter|ptp|l2mcd**} **fallback** \{**on**|**off**}

**\[Purpose]**
Set the fallback property of the feature.

**\[View]**
Global Configuration View

**\[Use Cases]**

```plaintext
sonic# configure terminal
sonic(config)# feature dhcp fallback on
sonic(config)# feature nat fallback off
sonic(config)# feature macsec fallback off
```

