Enabling and Disabling Features


Introduced: Cisco NX-OS Release 4.0(1)

Cisco NX-OS software has the ability to enable and disable specific features, such as OSPF and PIM. By default, Cisco NX-OS software enables only those features that are required for initial networking connectivity. This approach optimizes the operating system and increases availability by not running additional processes that are not required.

If a feature is not enabled, the process for that feature is not running, and the configuration and verification (show) commands are not available from the CLI. Once a feature is enabled, the configuration and verification commands can be executed. Depending on the feature, the process will not start until the feature is configured (such as router ospf 10). We recommend that you keep the features disabled, or disable them if they are no longer required.

n7000# show process | grep ospf     
-     NR         -            1     -  ospf
 
   
n7000# show process | grep pim     
-     NR         -            0     -  pim
 
   
 
   
n7000(config)# feature ospf
n7000(config)# router ospf 10
 
   
n7000(config)# feature pim 
 
   
 
   
n7000# show feature 
 
   
Feature Name          Instance  State    
--------------------  --------  -------- 
bfd                   1         disabled 
bfd_app               1         disabled 
bgp                   1         disabled 
 
   
<CLI Output Omitted>
 
   
ospf                  1         enabled 
ospf                  2         enabled (not-running) 
ospf                  3         enabled (not-running) 
ospf                  4         enabled (not-running) 
ospfv3                1         disabled 
ospfv3                2         disabled 
ospfv3                3         disabled 
ospfv3                4         disabled 
otv                   1         disabled 
pbr                   1         disabled 
pim                   1         enabled (not-running) 
pim6                  1         disabled 
 
   
<CLI Output Omitted>
 
   
vrrp                  1         disabled 
vtp                   1         disabled 
wccp                  1         disabled
 
   
 
   
n7000# show process | grep ospf  
9074      S  775d327b            1     -  ospf