admin-state

This command sets the administrative state for the configuration.

Syntax

Enable the configuration
admin-state enabled
Disable the configuration
admin-state disabled

Parameters

disabled
Sets the configuration to the inactive state.
enabled
Sets the configuration to the active state. This setting is the default value.

Guidelines

The admin-state command sets the administrative state for the configuration. Administrative states are not equivalent to operational states.
  • When the administrative state is enabled, the operational state can be up, down, or pending.
  • When the administrative state is disabled, the operational state is always down.

Example

Disable the configuration.
# admin-state disabled