Command Line Reference
System Configuration
Feature Management
7 min
feature view feature view table 1 feature view table 1 feature view command purpose show feature config display the configuration of the features show feature status display the status information of the features show feature config show feature config \[command] show feature config \[purpose] display the configuration of the features \[view] privileged user view \[use cases] 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 show feature status show feature status \[command] show feature status \[purpose] display the status information of the features \[view] privileged user view \[use cases] 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 feature config feature config table 2 feature config table 2 feature config 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 feature {dhcp|macsec|nat|snmp|web|telemetry|lldp|exporter|ptp|l2mcd} state {enable|disable} feature {dhcp|macsec|nat|snmp|web|telemetry|lldp|exporter|ptp|l2mcd} state {enable|disable} \[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] sonic# configure terminal sonic(config)# feature dhcp state enable sonic(config)# feature nat state disable feature {dhcp|macsec|nat|snmp|web|telemetry|lldp|exporter|ptp|l2mcd} autorestart {enable|disable} feature {dhcp|macsec|nat|snmp|web|telemetry|lldp|exporter|ptp|l2mcd} autorestart {enable|disable} \[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] sonic# configure terminal sonic(config)# feature dhcp autorestart enable sonic(config)# feature nat autorestart disable sonic(config)# feature macsec autorestart disable feature {dhcp|macsec|nat|snmp|web|telemetry|lldp|exporter|ptp|l2mcd} fallback {on|off} feature {dhcp|macsec|nat|snmp|web|telemetry|lldp|exporter|ptp|l2mcd} fallback {on|off} \[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] sonic# configure terminal sonic(config)# feature dhcp fallback on sonic(config)# feature nat fallback off sonic(config)# feature macsec fallback off
