How to detect DSA?

hi to all

i trying to find a way to detect is there DSA involved in network config or old fashion swconfig

my goal is to extend SNMP with dot1qVlan and be able to get Vlan info in standard way on monitoring system

so, is there some (elegant) way to tell if DSA is active on device?

1 Like
if grep -sq DEVTYPE=dsa /sys/class/net/*/uevent; then 
  echo "Is DSA"

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.