cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
170
Views
1
Helpful
2
Replies
khgrant
Cisco Employee

Netconf / Yang for IOS XR

 

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.

 

Regards

 

Marcel

 

2 REPLIES 2
khgrant
Cisco Employee

 

Marcel,

 

 

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,

 

/jan

 

Have you managed to get any recommendations?

 

Also do you know whats difference between two commands, i can't see any post or blog explaining the impact of each commands? 

 

netconf-yang agent session idle-timeout value

vs 

netconf-yang agent yfw idle-timeout 

 

Thanks

Ritesh 

Content for Community-Ad

This widget could not be displayed.