Configuring a Global Management VRF

To configure a VRF as a global management VRF, enter the following commands.

device# configure terminal
device(config)# management vrf mvrf strict

If the specified VRF is not pre-configured, command execution fails, and the following error message is displayed.

Error - VRF <vrf-name> doesn't exist

After a management VRF is configured, the following Syslog message is displayed.

SYSLOG: VRF <vrf-name> has been configured as management-vrf

Enter the no management-vrf form of the command to remove the management VRF. When the management VRF is deleted, the following Syslog message is displayed.

SYSLOG: VRF <vrf-name> has been un-configured as management-vrf

Management VRF Configuration Notes

  • If a management VRF is already configured, you must remove the existing management VRF configuration before configuring a new one. If not, the system displays the following error message.
    device(config)# management vrf red strict
    Error - VRF mvrf already configured as management-vrf
    
  • If you try to delete a management VRF that was not configured, the system displays the following error message.
    device(config)# no management vrf red strict
    Error - VRF red is not the current management-vrf
    
  • If a VRF is currently configured as the management VRF, the VRF cannot be deleted or modified until you delete the management VRF. Attempting to do so causes the system to return the following error message.
    device(config)# no vrf mvrf
    Error - Cannot modify/delete a VRF which is configured as management-vrf