<｜begin▁of▁sentence｜>
### Instruction:
What is the purpose of the 'bgp log neighbor changes' command in IOS XR BGP configuration?
### Response:
The 'bgp log neighbor changes' command is used to enable logging of BGP neighbor status changes. When enabled, BGP will generate a log message whenever a BGP peer enters or leaves the Established state. This is useful for monitoring the stability of BGP sessions and for troubleshooting connectivity issues.
<|EOT|>
