management-vrf

Configures a Virtual Routing and Forwarding (VRF) as a global management VRF.
Syntax
management-vrf vrf-name
no management-vrf vrf-name
Command Default

A management VRF is not configured.

Parameters
vrf-name
Specifies the name of a preconfigured VRF.
Modes

Global configuration mode

Usage Guidelines

If the VRF is not preconfigured, command execution fails, and an error message is displayed. If you try to delete a management VRF that was not configured, the system displays an error message.

If a VRF is currently configured as the management VRF, it cannot be deleted or modified. Attempting to do so causes the system to return an error message. If a management VRF is already configured, you must remove the configuration before configuring a new one.

The no form of the command removes the management VRF. When the management VRF is deleted, a syslog message is displayed.

Examples

The following example configures a management vrf.

device(config)# management-vrf mvrf