Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
Hello,I'm currently building some DayN Templates to configure non fabric Catalyst 9k2 switches.Therfore I'm using the system variable __device.hostname to get the name of the current device. Within this name I've got some information I'd like to use,...
Okay,This was a variable type issue. After posting this issue I was thinking about it and was trying the following:{% set device_name = __device.hostname|string %}{% set device_location = device_name[2:5] %}Converting __device.hostname to a string wi...