I have a text file with MAC addresses and port numbers like this:
aa:bb:cc:dd:ee:ff 1/1
aa:ff:00:55:66:99 1/1
00:11:22:33:44:55 1/1
99:88:77:66:55:44 1/1
ff:ee:dd:cc:bb:aa 1/2
How can I delete all the lines that have the port number 1/1 AND where the MAC is not aa:bb:cc:dd:ee:ff?