Solution:

In the following example, switches Rack2sw1 and Rack2sw2 are configured for IPV4 routing. Static routes are configured to enable IP connectivity between the loopback interfaces.

The access-list Deny_1_1_1_1 is applied inbound on switch Rack2sw1 Vlan 12. IP packets received with the source address 1.1.1.1 will be denied.

Verification