PurposeCommand or Action
The system prompts you to continue. Enter y to
continue or n to terminate the process.
Note
The switch is now in normal mode.
This example shows how to return to normal mode from maintenance mode:
switch# configure terminal
switch(config)# no system mode maintenance dont-generate-profile
Do you want to continue (y/n)? [n] y
Progressing................Done.
System mode operation completed successfully
switch(config)#
Configuring the Maintenance Mode Profile File
Procedure
PurposeCommand or Action
Enters global configuration mode.switch# configure terminal
Step 1
Enters a configuration session for the maintenance mode
profile file.
switch(config)# configure profile
maintenance-mode type admin
Step 2
Depending on which protocols you have
configured, you must now enter the appropriate
commands to bring down the protocols.
Note
Closes the maintenance mode profile file.switch# end
Step 3
This example shows how to create a maintenance mode profile file:
switch# configure terminal
switch(config)# configure profile maintenance-mode type admin
switch(config-profile)# router ospf 100
switch(config-profile-router)# shutdown
switch(config-profile-router)# exit
switch(config-profile)# router eigrp 101
switch(config-profile-router)# shutdown
switch(config-profile-router)# exit
switch(config-profile)# router isis 102
switch(config-profile-router)# shutdown
switch(config-profile-router)# set-overload-bit always
switch(config-profile-router)# exit
switch(config-profile)# router bgp 103
switch(config-profile-router)# shutdown
switch(config-profile-router)# exit
switch(config-profile)# vpc domain 20
switch(config-profile-router)# shutdown
switch(config-profile-router)# exit
   Cisco Nexus 5600 Series NX-OS System Management Configuration Guide, Release 7.x
318 OL-31641-01   
Configuring GIR (Cisco NX-OS Release 7.1(0)N1(1))
Configuring the Maintenance Mode Profile File