To enter a maintenance profile configuration session to create a
custom maintenance mode profile or a custom normal mode profile, use the
configure
maintenance
profile command. To delete the existing
maintenance mode profile or normal mode profile, use the
no form of this command. Starting with Cisco
NX-OS Release 7.3(0)N1(1), we recommend not using the
configure
profile
[maintenance-mode |
normal-mode ]
type
admin command and we strongly recommend using the
configure
maintenance
profile
[maintenance-mode |
normal-mode ] command.
configure maintenance profile [maintenance-mode | normal-mode]
no configure maintenance profile [maintenance-mode | normal-mode]
Syntax Description
maintenance-mode
|
Enters the maintenance profile configuration session for a
maintenance mode profile.
|
normal-mode
|
Enters the maintenance profile configuration session for a
normal mode profile.
|
Command Modes
Privileged EXEC (#)
Global configuration mode (config)
Command History
Release
|
Modification
|
7.3(0)N1(1)
|
This command was introduced.
|
Usage Guidelines
This command does not require a license.
Examples
This example shows how to enter a maintenance profile configuration
session for a maintenance mode profile:
switch# configure maintenance profile maintenance-mode
Please configure 'system mode maintenance always-use-custom-profile' if you want to use
custom profile always for maintenance mode.
Enter configuration commands, one per line. End with CNTL/Z.
switch(config-mm-profile)#
This example shows how to enter a maintenance profile configuration
session for a normal mode profile:
switch# configure maintenance profile normal-mode
Please configure 'system mode maintenance always-use-custom-profile' if you want to use
custom profile always for maintenance mode.
Enter configuration commands, one per line. End with CNTL/Z.
switch(config-mm-profile)#
This example shows how to delete a maintenance profile:
switch# no configure maintenance profile maintenance-mode
Maintenance mode profile maintenance-mode successfully deleted
Enter configuration commands, one per line. End with CNTL/Z.
Exit maintenance profile mode.