Advanced Custom Criteria for "line" blocks on Cisco devices

Advanced Custom Criteria for "line" blocks on Cisco devices

Hello,

is there a possibilty to use the Advanced Custom Criteria in Device Expert (Build 5990) on the "line" configuration blocks like it is used for "interface" configuration blocks?

My problem is, that other than the "interface" blocks (where every block is closed with a "!"), only the last "line" block is closed with a "!".

I tried to use "^line" as block start and "^(!|line)" as block end marker, but this leaves out every other block, since block end and block start could not be the same line.

The configuration looks like this:

(...other configuration statements...)
!
line con 0
  (...line con 0 configuration statements...)
line vty 0 4
  (...line vty 0 4 configuration statements...)
line vty 5 15
  (...line vty 0 4 configuration statements...)
!
(...other configuration statements...)

I want to check the "line vty 0 4" and "line vty 5 15" blocks with ACC, but recognized blocks with the above start and end markes are from "line con 0" to "line vty 0 4" and from "line vty 5 15" to "!". The "line vty 0 4" configuration statements are not a part of any block.

Any idea how to check both "line vty" blocks with ACC?

Thanks in advance,
Thorsten
                New to ADManager Plus?

                  New to ADSelfService Plus?