Configuring GIR (Cisco NX-OS Release 7.3(0)N1(1))
Applying :
Applying :
Applying : router ospf 200
Applying :
Applying : router isis 70
Applying :
Applying : vpc domain 2
Applying :
%VPC-2-VPC_SHUTDOWN: vPC shutdown status is ON
Applying : system interface shutdown
Maintenance mode operation successful.
switch(config)# 2016 Jan 15 11:10:42.057678 switch %$ VDC-1 %$ %MMODE-2-MODE_CHANGED: System
changed to "maintenance" mode.
2016 Jan 15 11:10:42.058167 switch %$ VDC-1 %$ %MMODE-2-MODE_CHANGE_WARN: System will be
moved to "normal" mode in 5 minutes
This example shows how to keep the switch in maintenance mode for a specific number of minutes:
switch# configure terminal
switch (config)# system mode maintenance timeout 25
switch# show system mode
System Mode: Maintenance
Maintenance Mode Timer: 24 minutes 55 seconds remaining
This example shows how to automatically boot the switch into maintenance mode if a fatal error occurs:
switch# configure terminal
switch(config)# system mode maintenance on-reload reset-reason fatal_error
This example shows how to place the switch in maintenance mode by using a previously created maintenance
mode profile :
switch# configure terminal
switch(config)# system mode maintenance dont-generate-profile
Following configuration will be applied:
router bgp 100
isolate
sleep instance 1 10
interface Ethernet1/1
shutdown
Do you want to continue (y/n)? [no] y
Generating a snapshot before going into maintenance mode
Starting to apply commands...
Applying : router bgp 100
Applying :
Applying : sleep instance 1 10
Applying : interface Ethernet1/1
Applying :
Maintenance mode operation successful.
This example shows how to apply the existing custom maintenance mode profile and prevent creation of
auto-generated maintenance mode profile:
switch# configure terminal
switch(config)# system mode maintenance always-use-custom-profile
This example shows how to put the switch in maintenance mode without presenting any switch prompts:
switch# configure terminal
switch(config)# system mode maintenance non-interactive
OL-31641-01
address-family ipv6 unicast
shutdown
shutdown
shutdown
shutdown2016 Jan 15 11:10:36.080386 CP-BL26-N7K-1A %$ VDC-1 %$
isolate
shutdown
Cisco Nexus 5600 Series NX-OS System Management Configuration Guide, Release 7.x
Entering Maintenance Mode
299