cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
371
Views
1
Helpful
1
Replies

Netconf / Yang for IOS XR

previousqna
Level 5
Level 5

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.

1 Reply 1

previousqna
Level 5
Level 5

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,