For ipv6 neighbor that in peer-group impossible to set some neighbor ipv6 specific commands, such as "route-reflector-client
/nexthop-self etc."
```
set protocols bgp 65001 peer-group INTERNALv6 remote-as '65001'
set protocols bgp 65001 peer-group INTERNALv6 update-source '2001:db8::1'
set protocols bgp 65001 neighbor 2001:db8::5 peer-group 'INTERNALv6'
set protocols bgp 65001 neighbor 2001:db8::5 address-family ipv6-unicast route-reflector-client
```
commit
```
[email protected]# commit
[ protocols bgp 65001 neighbor 2001:db8::5 address-family ipv6-unicast route-reflector-client ]
sh: line 0: [: 65001: unary operator expected
[ protocols bgp 65001 ]
[ protocols bgp 65001 neighbor 2001:db8::5 ]
must set remote-as or address-family ipv6-unicast peer-group with remote-as defined
[edit]
[email protected]#
```
There are bugs in such checks https://github.com/vyos/vyatta-cfg-quagga/blob/d09903963d0fed75a1d1a256fffe674df26184e9/scripts/bgp/vyatta-bgp.pl#L1611-L1614