10-24-2022 01:18 AM
Hi,
I am trying to push ONLY the vrf config in BGP in NSO, while bgp asn number is owned by another service.
Config to be pushed:
router bgp 5000
!
address-family ipv4 vrf 1000
network 10.1.1.0 mask 255.255.255.0
exit-address-family
!
redistribute connected
redistribute static
exit-address-family
end
Now I have a conflict:
errors: reason: too many , 2 configured, at most 1 must be configured. paths: /ncs:devices/device{1-dc-leaf-02-vss}/config/ios:router/bgp. path: /ncs:devices/device{2-dc-leaf-02-vss}/config/ios:router/bgp
10-24-2022 01:58 AM
Based on that error message, it looks like you may be trying to create the address-family configuration under a different BGP AS number than the one that is already configured on those routers. Can you confirm whether the existing BGP ASN on those routers matches the value of 5000 you are sending in this configuration?
10-24-2022 02:18 AM
Yes, I confirm, it matches the same asn numbers and I expect that the ref count will change from 1 to 2.
10-28-2022 03:53 AM
fixed, BGP AS number mismatch. Thank you for your help.
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