<｜begin▁of▁sentence｜>
### Instruction:
What is the purpose of the 'update-limit' command in IOS XR BGP configuration?
### Response:
The 'update-limit' command allows limiting the number of prefixes that can be received from a BGP neighbor within a specified time interval. If the limit is exceeded, the BGP session is torn down. This provides protection against a misconfigured or malicious BGP neighbor that sends an excessive number of prefixes, which could consume all the memory on the router.
<|EOT|>
