Use route-map my-rmap-permit in normal mode configuration to include SVIs having tag 200 configuration.
switch(config)# route-map my-rmap-permit permit 10
switch(config-route-map)# match tag 200
switch(config-route-map)# exit
switch(config)# route-map my-rmap-permit permit 20
Virtual IP (vIP)/ Switch Virtual Interface (SVI) configuration
switch(config)# interface loopback 200
switch(config-if)# ip address 192.0.2.100/8 tag 200
switch(config)# interface vlan 2
switch(config-if)# ip address 192.0.2.108/8 tag 200
....
switch(config)# interface vlan 3
switch(config-if)# ip address 192.0.2.102/8 tag 200
BGP configuration
switch(config)# feature bgp
switch(config)# router bgp 100
switch(config-router)# neighbor 192.0.2.100
....
Maintenance mode profile
switch# configure maintenance profile maintenance-mode
switch(config-mm-profile)# router bgp 200
switch(config-mm-profile-router)# address-family ipv4 unicast
switch(config-mm-profile-router-af)# redistribute direct route-map my-rmap-deny
switch(config-mm-profile-router-af)# exit
switch(config-mm-profile)# sleep instance 1 10
Normal mode profile
switch# configure maintenance profile normal-mode
switch(config-mm-profile)# router bgp 100
switch(config-mm-profile-router)# address-family ipv4 unicast
switch(config-mm-profile-router-af)# redistribute direct route-map my-rmap-permit
switch(config-mm-profile-router-af)# exit
switch(config-mm-profile)# sleep instance 1 20
Verifying GIR
Use the following commands to verify the configuration:
PurposeCommand
Displays abbreviated interface information.show interface brief
Displays the reset reasons for which the switch comes
up in maintenance mode.
show maintenance on-reload reset-reason
Displays the details of the maintenance mode or
normal mode profile.
show maintenance profile [maintenance-mode |
normal-mode]
Displays the after_maintenance snapshot-delay timer
value.
show maintenance snapshot-delay
Cisco Nexus 5600 Series NX-OS System Management Configuration Guide, Release 7.x
OL-31641-01 309
Configuring GIR (Cisco NX-OS Release 7.3(0)N1(1))
Verifying GIR