Hi, I want to set maximum number of dynamic neighbors using python and template.
I am using cisco-iosxr-cli-7.43. When I check the tailf-ned-cisco-ios-xr.yang file, i can see that there is maximum_peers under list session_group. However, I want to set maximum_peers under neighbor.
I have packages and templates. I can set maximum-peers in the actual device itself. But I can not set it through nso cli.
leaf maximum-peers {
tailf:info
"Maximum dynamic neighbors";
type uint16 {
tailf:info
"<1-4095>;;Maximum number of peers";
range "1..4095";
}
}
but when i run the command
admin@ncs(config-config)# router bgp number
admin@ncs(config-bgp)# neighbor address
admin@ncs(config-bgp-nbr)#
here i dont see maximum-peers in Possible completions.So I can not set it
but https://www.cisco.com/c/en/us/td/docs/iosxr/ncs5500/bgp/72x/b-bgp-cg-ncs5500-72x/bgp-dynamic-neighbors.pdf here it shows I can set in the way I did above
can I set it differently? am I doing it wrong?