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.
Hi All Im trying to write a script which SSH to a switch runs the show interface name and the using regex pulls back interface name and Last input never unfortunately i'm struggling with re module and my regex. I have included an example regex and i...
Hi Thanks for your response its better but not quite what i was after i was really looking for the output of: GigabitEthernet1/0/X Last Input Never in to group so i could call just the interface names and then i can run configurations against the ...
Hi Thanks for the response but I was running the sh interface command and then wanting to return the interfaces and the Last Input status never for all interfaces that matched. I ran the regex you provided and it returned only the first interface but...