You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
grep -r -i $mac /dev/shm/snmp-mac-port/ | tee /dev/shm/mac.$mac | grep --file /dev/shm/trunk.regex -v | cut -d: -f2- | while read name vlan mac port ; do
# sw-rack2 - 2c:ea:7f:6f:0c:ec 27
echo -n "$name $vlan $mac $port "
grep " $port " /dev/shm/port-status/$name | cut -d' ' -f3- # add port status and description