Quantcast
Channel: THWACK: Message List - Network Configuration Manager
Viewing all articles
Browse latest Browse all 8827

Re: Regex for VTY Transport Compliance

$
0
0

Nope, the one rule catches >all< VTY blocks.   Remember, if VTY 4 is configured differently than VTY 0 3, it will be a separate block too.  You can't count on the blocks being "vty 0 4" and "vty 5 15".  Not to mention this adapts to those sites that only have VTY 0 4 and no VTY 5 15...

 

My regex works no matter what VTY blocks you have.  You only need a single rule...

 

Think of it as kind of like a "highlander regex" ...   THERE WILL BE ONLY ONE!!


Viewing all articles
Browse latest Browse all 8827

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>