cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
955
Views
0
Helpful
1
Replies

Baseline Template Query LMS 4.2

TROY MELLON
Level 1
Level 1

Trying to write a regex that will detect a string within a interface description line.  Anybody ever done this?

1 Reply 1

smacdoug
Level 1
Level 1

After much research and testing, I got this to work:

Submode interface [#.*Ethernet.*#]

+[#description.*string.*#]

substistute string with the word you're looking for

For some reason the only way this would work was by enclosing the entire thing in the square brackets.

Review Cisco Networking for a $25 gift card