Hello,
There is no such a command that can dynamically do this kind of stuff.
What you can do is get the MAC address of the box you want to block and then create a L2 ACL blocking all of the traffic comming from that specific box but no way you can say "block access from future boxes that are either a Cisco ASA Firewall o Juniper SRX Firewall" No way my friend.
Regards,
Jcarvaja
Julio Carvajal
Senior Network Security and Core Specialist
CCIE #42930, 2xCCNP, JNCIP-SEC