I want to do something like this. Its common in a config to have something like this
line vty 0 4
transport input ssh
line vty 5 15
transport input ssh
And to be honest, there could be up to 15 instances of this if you happened to configure each VTY slightly different. But, what I want to do is for each instance of a VTY to be able to check and make sure that there is a corresponding "transport input ssh" and I might want to do this for other attributes too. Like lets say for every interface that trunking is turned on to make sure portfast it turned off.
Just curious if there was some mechanism to handle things like this or not?