Violation modes
| Drops the frame | Log | Counter | Port | |
|---|---|---|---|---|
| protect | Yes | No | No | Stays up |
| restrict | Yes | Yes | Yes | Stays up |
| shutdown | Yes | Yes | Yes | err-disabled (default) |
One access switch, the real gateway, two PCs and an attacker's laptop. Launch a rogue DHCP server, a fake ARP and a MAC flood, then turn on DHCP snooping, dynamic ARP inspection and port security and watch which attack each one stops.
Switch ports show S for port security and T for trusted. Click ATK to attack, a PC to renew or re-ARP, SW1 or a port to turn features on. The overview says whose traffic reaches the real gateway and whose is intercepted.
Simulated: the switch, router, PCs, MAC addresses, attacks and console output are Loopback's simulation of an IOS access switch. The attacks are modelled, not real tools. Everyone is in VLAN 10 (10.1.10.0/24, private space).
Each task loads its own starting point onto the network. Solve it from the console or with clicks; the checks tick live, and you see one model answer when you're done.
Eight Layer 2 traps: a rogue server that wins the race, snooping with nothing trusted, DAI dropping the router, each violation mode, a port that refuses port security, a static host under DAI. Pick what happens, then load it.
Violation modes, which port to trust, the commands and which feature stops which attack. Build a streak.
The numbers, orders and commands the network runs on. Cover a column and say it before you look.
| Drops the frame | Log | Counter | Port | |
|---|---|---|---|---|
| protect | Yes | No | No | Stays up |
| restrict | Yes | Yes | Yes | Stays up |
| shutdown | Yes | Yes | Yes | err-disabled (default) |
switchport mode access (or trunk). A dynamic port is rejected.mac-address sticky writes learned MACs into the running config.shutdown then no shutdown, or errdisable recovery cause psecure-violation.ip dhcp snooping plus ip dhcp snooping vlan 10.ip arp inspection vlan 10; trust the uplink with ip arp inspection trust.interface fa0/1 switchport mode access switchport port-security switchport port-security maximum 2 switchport port-security violation restrict switchport port-security mac-address sticky
ip dhcp snooping ip dhcp snooping vlan 10 ip arp inspection vlan 10 interface gi0/1 ip dhcp snooping trust ip arp inspection trust
show port-security show port-security interface fa0/3 show port-security address show ip dhcp snooping binding show ip arp inspection show interfaces status
All of these work in SW1's console, along with ?, Tab and do.