10-24-2016 11:23 AM
In IOS XR, there are a command to see the full changes before commit?. For example:
RP/0/0/CPU0:INET#show running-config prefix-set MYPREFIX
Mon Oct 24 15:06:16.288 ARBUE
prefix-set MYPREFIX
10.0.0.0/8 le 32,
172.16.0.0/12 le 32,
192.168.0.0/16 le 32
end-set
RP/0/0/CPU0:INET#configure terminal
Mon Oct 24 15:06:30.427 ARBUE
RP/0/0/CPU0:INET(config)#no prefix-set MYPREFIX
RP/0/0/CPU0:INET(config)#show configuration
Mon Oct 24 15:06:38.767 ARBUE
Building configuration...
!! IOS XR Configuration 6.1.1
!
no prefix-set MYPREFIX
end
But I want to see the complete contents of the prefix-set before commit, something like this:
RP/0/0/CPU0:INET(config)#show configuration ???????
no prefix-set MYPREFIX
! 10.0.0.0/8 le 32,
! 172.16.0.0/12 le 32,
! 192.168.0.0/16 le 32
!end-set
Same for route-policy and for BGP neighbors. Thanks.
Solved! Go to Solution.
10-26-2016 06:57 AM
You can get a diff of the changes, like this:
lab01(config)#no prefix-set MYPREFIX
lab01(config)#show commit changes diff
Wed Oct 26 15:56:21.322 CEST
Building configuration...
!! IOS XR Configuration 5.3.4
!
- prefix-set MYPREFIX
- 10.0.0.0/8 le 32,
- 172.16.0.0/12 le 32,
- 192.168.0.0/16 le 32
- end-set
end
10-26-2016 06:57 AM
You can get a diff of the changes, like this:
lab01(config)#no prefix-set MYPREFIX
lab01(config)#show commit changes diff
Wed Oct 26 15:56:21.322 CEST
Building configuration...
!! IOS XR Configuration 5.3.4
!
- prefix-set MYPREFIX
- 10.0.0.0/8 le 32,
- 172.16.0.0/12 le 32,
- 192.168.0.0/16 le 32
- end-set
end
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide