Step 1
|
show running-config sdr abc
sysadmin-vm:0_RP0# show running-config sdr abc
sdr abc
pairing-mode inter-rack
location 0/RP0
!
location 0/RP1
!
location 1/RP0
!
location 1/RP1
!
!
|
Display current SDR configuration.
|
Step 2
|
sh sdr
sysadmin-vm:0_RP0# sh sdr
SDR: abc
Location IP Address Status Boot Count Time Started
-----------------------------------------------------------------------------
0/RP0/VM1 192.3.0.4 RUNNING 1 06/26/2017 21:02:23
0/RP1/VM1 192.3.4.4 RUNNING 1 06/26/2017 21:03:09
1/RP0/VM1 192.2.0.4 RUNNING 1 06/26/2017 21:03:26
1/RP1/VM1 192.2.4.4 RUNNING 1 06/26/2017 21:03:36
SDR: abcabc
Location IP Address Status Boot Count Time Started
-----------------------------------------------------------------------------
1/RP0/VM2 192.2.0.6 RUNNING 1 06/26/2017 21:14:29
1/RP1/VM2 192.2.4.6 RUNNING 1 06/26/2017 21:14:37
3/RP0/VM1 192.1.0.4 RUNNING 1 06/26/2017 21:14:01
3/RP1/VM1 192.1.4.4 RUNNING 1 06/26/2017 21:15:31
SDR: xyz
Location IP Address Status Boot Count Time Started
-----------------------------------------------------------------------------
0/RP0/VM2 192.3.0.6 RUNNING 1 06/26/2017 21:04:15
0/RP1/VM2 192.3.4.6 RUNNING 1 06/26/2017 21:04:38
|
Display SDR configuration details.
|
Step 3
|
show sdr abc pairing
sysadmin-vm:0_RP0# show sdr abc pairing
Pairing Mode INTER-RACK
SDR Lead
Node 0 0/RP0
Node 1 1/RP1
Pairs
Pair Name Pair0
Node 0 0/RP0
Node 1 1/RP1
Pairs
Pair Name Pair1
Node 0 1/RP0
Node 1 0/RP1
|
Verify that inter-rack mode is enabled in the SDR, and the pairing is displayed.
|
Step 4
|
show redundancy summary
RP/0/RP0/CPU1:ios#show redundancy summary
Active Node Standby Node
----------- ------------
0/RP1/CPU1 1/RP0/CPU1 (Node Ready, NSR:Not Configured)
0/RP0/CPU1 1/RP1/CPU1 (Node Ready, NSR:Not Configured)
|
Disolay summary of the nodes states.
|
Step 5
|
conf
sysadmin-vm:0_RP0# conf
Entering configuration mode terminal
|
Enter configuration mode.
|
Step 6
|
sdr abc
sysadmin-vm:0_RP0(config)# sdr abc
|
Enter SDR configuration mode.
|
Step 7
|
no location 1/RP1
sysadmin-vm:0_RP0(config-sdr-abc)# no location 1/RP1
sysadmin-vm:0_RP0(config-sdr-abc)# end
Mon Jun 26 21:18:32.448 UTC
Uncommitted changes found, commit them? [yes/no/CANCEL] yes
Commit complete.
|
Remove the RP and commit the changes. In this example, the RP 1/RP1 is removed from the abc SDR configuration.
|
Step 8
|
show running-config sdr abc
sysadmin-vm:0_RP0# show running-config sdr abc
sdr abc
pairing-mode inter-rack
location 0/RP0
!
location 0/RP1
!
location 1/RP0
!
!
|
Verify that the SDR inventory has changed.
|
Step 9
|
show sdr abc pairing
sysadmin-vm:0_RP0# show sdr abc pairing
Pairing Mode INTER-RACK
SDR Lead
Node 0 0/RP0
Node 1 1/RP1
Pairs
Pair Name Pair0
Node 0 0/RP0
Node 1 1/RP1
Pairs
Pair Name Pair1
Node 0 1/RP0
Node 1 0/RP1
|
View the SDR pairing information after the RP is removed. Observe that pairing is unchanged with the removed RP available
in the pairing algorithm. Note that the output of show running-config sdr command in step 8 is different from the output in step 9.
|
Step 10
|
sdr abc re_pair
sysadmin-vm:0_RP0# sdr abc re_pair
Current Configuration
Lead Pair: 0/RP0 1/RP1
1/RP0 0/RP1
Re_Paired Configuration
Lead Pair: 0/RP0 0/RP1
1/RP0
Would you like to proceed ? [yes/no]: yes
Proceeding with action
|
Manually initiate the recalculation of the pairing algorithm.
|
Step 11
|
show sdr abc pairing
sysadmin-vm:0_RP0# show sdr abc pairing
Pairing Mode INTER-RACK
SDR Lead
Node 0 0/RP0
Node 1 0/RP1
Pairs
Pair Name Pair0
Node 0 0/RP0
Node 1 0/RP1
Pairs
Pair Name Pair1
Node 0 1/RP0
Node 1 NONE
|
Verify that the pairing is updated to exclude the details of the RP that was removed. Also, run the show redundancy summary command to verify that the XR VMs reflect the changes.
|
Step 12
|
show sdr abc reboot-history
sysadmin-vm:0_RP0# show sdr abc reboot-history
Reboots Since
Location Created Reason
---------------------------------------------------------------------
0/RP0/VM1 1 06/26/2017 21:02:23 FIRST_BOOT
0/RP1/VM1 2 6/26/2017 21:25:23 VM_REQUESTED_GRACEFUL_RELOAD: Src: node0_RP0_CPU1, Partner change from
node1_RP1_CPU1 to node0_RP1_CPU1 06/26/2017 21:03:09 FIRST_BOOT
1/RP0/VM1 1 06/26/2017 21:03:26 FIRST_BOOT
|
Verify the reboot history of the SDR nodes. The history reflects the changes made to the configuration.
|