Cisco Systems IOS XR Laptop User Manual


 
Implementing BGP on Cisco IOS XR Software
Information About Implementing BGP on Cisco IOS XR Software
RC-15
Cisco IOS XR Routing Configuration Guide
The following is sample output from the show bgp neighbor-group command with the configuration
keyword. The configuration setting source is shown to the right of each command. In the output shown
previously, the remote autonomous system is configured directly on neighbor group GROUP_1, and the
send community setting is inherited from neighbor group GROUP_2, which in turn inherits the setting
from address family group GROUP_3:
RP/0/RP0/CPU0:router# show bgp neighbor-group GROUP_1 configuration
neighbor-group GROUP_1
remote-as 1982 []
timers 30 90 [n:GROUP_2 s:GROUP_3]
address-family ipv4 unicast []
capability orf prefix-list both [n:GROUP_2 a:GROUP_2]
remove-private-AS [n:GROUP_2 a:GROUP_2 a:GROUP_3]
send-community-ebgp [n:GROUP_2 a:GROUP_2]
send-extended-community-ebgp [n:GROUP_2 a:GROUP_2]
soft-reconfiguration inbound [n:GROUP_2 a:GROUP_2 a:GROUP_3]
weight 100 [n:GROUP_2]
The following is sample output from the show bgp neighbor-group command with the inheritance
keyword. This output shows that the specified neighbor group GROUP_1 inherits session (address
family-independent) configuration parameters from neighbor group GROUP_2. Neighbor group
GROUP_2 inherits its session parameters from session group GROUP_3. It also shows that the
GROUP_1 neighbor group inherits IPv4 unicast configuration parameters from the GROUP_2 neighbor
group, which in turn inherits them from the GROUP_2 address family group, which itself inherits them
from the GROUP_3 address family group:
RP/0/RP0/CPU0:router# show bgp neighbor-group GROUP_1 inheritance
Session: n:GROUP-2 s:GROUP_3
IPv4 Unicast: n:GROUP_2 a:GROUP_2 a:GROUP_3
The following is sample output from the show bgp neighbor-group command with the users keyword.
This output shows that the GROUP_1 neighbor group inherits session (address family-independent)
configuration parameters from the GROUP_2 neighbor group. The GROUP_1 neighbor group also
inherits IPv4 unicast configuration parameters from the GROUP_2 neighbor group:
RP/0/RP0/CPU0:router# show bgp neighbor-group GROUP_2 users
Session: n:GROUP_1
IPv4 Unicast: n:GROUP_1
No Default Address Family
BGP does not support the concept of a default address family. An address family must be explicitly
configured under the BGP router configuration for the address family to be activated in BGP. Similarly,
an address family must be explicitly configured under a neighbor for the BGP session to be activated
under that address family. It is not required to have any address family configured under the BGP router
configuration level for a neighbor to be configured. However, it is a requirement to have an address
family configured at the BGP router configuration level for the address family to be configured under a
neighbor.