I have a problem with understanding the neighbor-groups in Cisco IOS XR. I will describe it on below example:
router bgp 10429
bfd minimum-interval 300
!
neighbor-group IBGP
remote-as 10429
address-family ipv4 unicast
route-policy pass-all in
route-policy pass-all out
!
address-family l2vpn vpls-vpws
route-policy block-all in
route-policy block-all out
!
!
neighbor 187.100.0.89
remote-as 65200
use neighbor-group IBGP
description TEST
address-family ipv4 unicast
!
!
1. Remote-as will be overwritten by neighbor-group?
2. Does neighbor inherit pass-all in and pass-all out policies because contain 'address-family ipv4 unicast' row?
3. Does neighbor inherit policies, which are under 'address-family l2vpn vpls-vpws'?
In my current understanding:
1. No
2. Yes
3. No, because there is no row 'address-family l2vpn vpls-vpws' under the neighbor.