<｜begin▁of▁sentence｜>
### Instruction:
What is the inheritance hierarchy in IOS XR BGP configuration?
### Response:
The inheritance hierarchy from most general to most specific is: session-group, neighbor-group, neighbor, af-group, neighbor address-family. Configuration at a more specific level overrides the inherited configuration from a more general level.
<|EOT|>
