switch(maint-mode)(config)# 2016 Dec 5 06:19:13 switch %$ VDC-1 %$ %MMODE-2-MODE_CHANGED:
System changed to "maintenance" mode.
switch(maint-mode)(config)#
This example shows how to put all the protocols in maintenance mode using the system mode maintenance
command on a switch running the Cisco NX-OS Release 7.3(0)D1(1):
switch# configure terminal
switch(config)# system mode maintenance
Following configuration will be applied:
router bgp 100
isolate
router ospf 100
isolate
router isis 100
isolate
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 : isolate
Applying : router ospf 100
Applying : isolate
Applying : router isis 100
Applying : isolate
Maintenance mode operation successful.
This example shows how to shut down all protocols and interfaces on the switch:
switch# configure terminal
switch(config)# system mode maintenance shutdown
Following configuration will be applied:
router bgp 64581
shutdown
router eigrp p2
shutdown
address-family ipv6 unicast
shutdown
router eigrp 0
shutdown
address-family ipv6 unicast
shutdown
router ospf 200
shutdown
router isis 70
shutdown
vpc domain 2
shutdown
system interface shutdown
NOTE: 'system interface shutdown' will shutdown all interfaces excluding mgmt 0
Do you want to continue (yes/no)? [no] yes
Generating a snapshot before going into maintenance mode
Starting to apply commands...
Applying : router bgp 64581
Applying : shutdown
Applying : router eigrp p2
Applying : shutdown
Applying : address-family ipv6 unicast
Applying : shutdown
Applying : router eigrp 0
Applying : shutdown
Cisco Nexus 5600 Series NX-OS System Management Configuration Guide, Release 7.x
298 OL-31641-01
Configuring GIR (Cisco NX-OS Release 7.3(0)N1(1))
Entering Maintenance Mode