Working on creating a compliance template to make sure NetFlow is enabled on physical router interfaces.
My initial expression is -- interface [#Serial.*|.*Ethernet.*|ATM.*#]
This expression works in that it checks all Serial, FastEthernet, GigabitEthernet, and all ATM interfaces. It also checks sub-interfaces.
I would like to alter my template to ignore sub-interfaces like:
Serial 0/0.100
FastEthernet 0/0.500
I'm not sure how to setup expression to ignore interfaces that has a "." (dot) in the interface name. Maybe there's another solution that doesn't need regexp?
Thanks.