05-10-2017 01:49 AM - edited 03-01-2019 03:49 AM
Hi team,
I would like to ask you if there is a best practice recommendation available for netconf-yang agent configuration on IOS-XR nodes in regards to rate-limit and number of sessions.
RP/0/RSP0/CPU0:ASR9001-1(config)#netconf-yang agent ?
rate-limit Rate limit
session Session settings
ssh Enable NETCONF-YANG agent over SSH connection
yfw YANG Framework settings
RP/0/RSP0/CPU0:ASR9001-1(config)#netconf-yang agent session ?
absolute-timeout Absolute session lifetime
idle-timeout Non-active session lifetime
limit Maximum count of concurrent sessions (default = 50)
RP/0/RSP0/CPU0:ASR9001-1(config)#netconf-yang agent rate-limit ?
<4096-4294967295> Number of bytes to process per sec
Are there any other “crucial” things to consider in order to enable netconf / yang?
Thanks for your feedback.
05-10-2017 01:49 AM
I would like to ask you if there is a best practice recommendation available for netconf-yang agent configuration on IOS-XR nodes in regards to rate-limit and number of sessions.
RP/0/RSP0/CPU0:ASR9001-1(config)#netconf-yang agent ?
rate-limit Rate limit
session Session settings
ssh Enable NETCONF-YANG agent over SSH connection
yfw YANG Framework settings
RP/0/RSP0/CPU0:ASR9001-1(config)#netconf-yang agent session ?
absolute-timeout Absolute session lifetime
idle-timeout Non-active session lifetime
limit Maximum count of concurrent sessions (default = 50)
RP/0/RSP0/CPU0:ASR9001-1(config)#netconf-yang agent rate-limit ?
<4096-4294967295> Number of bytes to process per sec
I usually leave these at default. For most part it works fine, but I have hit the max number of session limit sometimes when I download all the YANG files. When the client closes a session, it takes a bit of time before the XR considers it "returned", so even if you have a single client that serially and rapidly establishes new sessions, you may run out.
Are there any other “crucial” things to consider in order to enable netconf / yang?
You are likely to encounter things here and there that do not yet work as expected. Be sure to report such findings back to the XR team (or to me) to make sure it's fixed asap.
Best Regards,
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