•
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.
•
You cannot perform an in-service software upgrade (ISSU) or an in-service software downgrade (ISSD)
in maintenance mode.
Configuring Custom Maintenance Mode and Custom Normal
Mode Profile
You can create the maintenance-mode profile or normal-mode profile with configuration commands that can
be applied during graceful removal or graceful insertion. We recommend using the system mode maintenance
always-use-custom-profile command after configuring custom maintenance mode and custom normal mode
profiles to ensure that custom profiles are always used during maintenance mode operations.
Procedure
PurposeCommand or Action
Enters a configuration session for the maintenance-mode
profile or the normal-mode profile.
Depending on which protocols you have
configured, enter the appropriate commands to
bring down the protocols.
Note
switch# configure maintenance
profile [maintenance-mode |
normal-mode]
Step 1
Closes the maintenance mode profile.switch# end
Step 2
This example shows how to create a custom 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)# router bgp 100
switch(config-mm-profile-router)# isolate
switch(config-mm-profile-router)# exit
switch(config-mm-profile)# sleep instance 1 10
switch(config-mm-profile)# interface ethernet 1/1
switch(config-mm-profile-if-verify)# shutdown
switch(config-mm-profile-if-verify)# end
Exit maintenance profile mode.
This example shows how to create a custom 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)# interface ethernet 1/1
switch(config-mm-profile-if-verify)# no shutdown
switch(config-mm-profile-if-verify)# exit
switch(config-mm-profile)# sleep instance 1 20
switch(config-mm-profile)# router bgp 100
switch(config-mm-profile-router)# no isolate
Cisco Nexus 5600 Series NX-OS System Management Configuration Guide, Release 7.x
OL-31641-01 291
Configuring GIR (Cisco NX-OS Release 7.3(0)N1(1))
Configuring Custom Maintenance Mode and Custom Normal Mode Profile