Is it possible to set a description on a PPPoE interface with Radius on an IOS-XR ?
I can not find information.
On IOS-XE, I do like this in my radius, but it does not work with IOS-XR :
"lcp:interface-config=description <MY BEAUTIFUL DESCRIPTION>"
Thanks in advance.
If it's not listed here, we very likely don't support it:
Could you please explain the use case for this? Maybe there's an alternative method to achieve the same functionality.
that's a very neat approach, but we don't support it unfortunately on XR BNG. The full list of supported radius attributes is always included in the BNG config guide (e.g. https://www.cisco.com/c/en/us/td/docs/routers/asr9000/software/asr9k-r6-4/bng/configuration/guide/b-bng-cg-asr9000-64x/b-bng-cg-asr9000-64x_appendix_01011.html).
You would have to use a script on XR that parses the output of "sh subscriber session all detail". On 64-bit XR this can be done easily using Python. Python is supported in the linux shell, you can invoke it using the "run" command, e.g.
From within Python you can use this kind of sequence to execute the XR CLI command and capture the output into an array:
command = '/pkg/bin/xr_cli \"show subscriber session all\"'
output = subprocess.check_output(command, shell=True)
out_array = output.split('\n')
Hope this helps,