
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.
Neighbor Address Family Combinations
For default VRF, starting from Cisco IOS XR Software Release 6.2.x, both IPv4 Unicast and IPv4
Labeled-unicast address families are supported under the same neighbor.
For non-default VRF, both IPv4 Unicast and IPv4 Labeled-unicast address families are not supported under
the same neighbor. However, the configuration is accepted on the Router with the following error:
Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x
19
Implementing BGP
No Default Address Family