Explanation/Reference:
Explanation:
show bgp neighbors
Use the show bgp neighbors command to display information about the BGP configuration for neighbors.
* Use the configuration option to display the effective configuration for the neighbor, including any settings that have been inherited from session groups, neighbor groups, or af-groups used by this neighbor.
* Use the inheritance option to display the session groups, neighbor groups, and af-groups from which this neighbor inherits configuration settings.
The following example displays sample output from the show bgp af-group command using the configuration keyword. This example shows where each configuration item was inherited from. The default-originate command was configured directly on this address family group (indicated by [ ]). The remove-private-as command was inherited from address family group GROUP_2, which in turn inherited from address family group GROUP_3:
