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 1.3.6.1.2.1.17.7.1.4 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"
fi
3 Likes

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