
The following example displays sample output from the
show bgp af-group
command using the
inheritance
keyword. This shows that the specified address family group GROUP_1 directly uses the GROUP_2 address
family group, which in turn uses the GROUP_3 address family group:
RP/0/RP0/CPU0:router#
show bgp af-group GROUP_1 inheritance
IPv4 Unicast: a:GROUP_2 a:GROUP_3
show bgp session-group
Use the
show bgp session-group
command to display session groups:
• Use the
configuration
keyword to display the effective configuration for the session group, including
any settings that have been inherited from session groups used by this session group.
• Use the
inheritance
keyword to display the session groups from which this session group is capable of
inheriting configuration.
• Use the
users
keyword to display the session groups, neighbor groups, and neighbors that inherit
configuration from this session group.
The output from the
show bgp session-group
command is based on the following session group configuration:
RP/0/RP0/CPU0:router(config)#
router bgp 113
RP/0/RP0/CPU0:router(config-bgp)#
session-group GROUP_1
RP/0/RP0/CPU0:router(config-bgp-sngrp)#
use session-group GROUP_2
RP/0/RP0/CPU0:router(config-bgp-sngrp)#
update-source Loopback 0
RP/0/RP0/CPU0:router(config-bgp-sngrp)#
exit
RP/0/RP0/CPU0:router(config-bgp)#
session-group GROUP_2
RP/0/RP0/CPU0:router(config-bgp-sngrp)#
use session-group GROUP_3
RP/0/RP0/CPU0:router(config-bgp-sngrp)#
ebgp-multihop 2
RP/0/RP0/CPU0:router(config-bgp-sngrp)#
exit
RP/0/RP0/CPU0:router(config-bgp)#
session-group GROUP_3
RP/0/RP0/CPU0:router(config-bgp-sngrp)#
dmz-link-bandwidth
The following is sample output from the
show bgp session-group
command with the
configuration
keyword
in XR EXEC mode:
RP/0/RP0/CPU0:router#
show bgp session-group GROUP_1 configuration
session-group GROUP_1
ebgp-multihop 2
[s:GROUP_2]
update-source Loopback0 []
dmz-link-bandwidth
[s:GROUP_2 s:GROUP_3]
The following is sample output from the
show bgp session-group
command with the
inheritance
keyword
showing that the GROUP_1 session group inherits session parameters from the GROUP_3 and GROUP_2
session groups:
RP/0/RP0/CPU0:router#
show bgp session-group GROUP_1 inheritance
Session: s:GROUP_2 s:GROUP_3
Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x
17
Implementing BGP
show bgp session-group