Somebody know Can I use condition in the compliance with variable?
I thought that I can use these rules
1. Find name of the interfaces - command - show lldp neighbors and matches (Gi\d+\/\d+\/\d+|Gi\d+\/\d+|Fa\d+\/\d+)
2. Find SN via command - show lldp neighbors <1.1> detail and matches Serial number:([^\n]+)
<1.1> from rule 1