05-25-2022 02:59 AM
cli config:
router bgp 64511
!
bgp router-id 1.1.1.1
no bgp default ipv4-unicast
!
xml template:
Refcount:
devices device router1
config
! Refcount: 1
! Backpointer: [ /ncs:services/device-prov:device-prov[device-prov:device='router1'] ]
router bgp 64511
! Refcount: 1
! Backpointer: [ /ncs:services/device-prov:device-provi[device-prov:device='router1'] ]
no bgp default ipv4-unicast
exit-address-family
!
!
!
!
After login to the router and adding a new vrf in bgp address family ipv4 manually and when I do sync-from, the service becomes out of sync while VRFs are not part of the service in bgp.
Refcount:
devices device router1
config
! Refcount: 1
! Backpointer: [ /ncs:services/device-prov:device-prov[device-prov:device='router1'] ]
router bgp 64511
! Refcount: 1
! Backpointer: [ /ncs:services/device-prov:device-provi[device-prov:device='router1'] ]
no bgp default ipv4-unicast
address-family ipv4 unicast vrf 10000
exit-address-family
!
!
!
!
05-25-2022 05:22 AM - edited 06-13-2022 09:11 AM
Hello,
it’s due to the fact that you are using the tag replace . In your case I don’t think you need it since the router can have only one router-id for Bgp.
If you remove the tag replace it’s going to solve your issue.
You specify the tag replace on the container bgp so all the nodes under bgp will inherit the tags replace unless you specify something else . You can check it by doing a commit dry-run | debug template
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide