In this article I will give an example of configuring Switchport Protected on Allied Telesis switches, for the test I will take an AT-8000S/24 switch.
When connecting to the switch, go to the configuration mode:
configure
Suppose that we have UPLINK port 25 (this is g1), configure switchport protected on port 26:
interface ethernet g2
switchport protected ethernet g1
Let’s configure switchport protected on all other ports:
interface range ethernet e(1-24)
switchport protected ethernet g1
Now traffic will go only to the UPLINK port and will not go between ports.
Let’s exit their configuration mode and see the port configuration:
exit
show interfaces switchport ethernet g2
show interfaces switchport ethernet e1
show interfaces switchport ethernet e2
show interfaces switchport ethernet e3
Let’s save the configuration:
copy running-config startup-config
See also my articles:
Configuring Allied Telesis AT-8000S
Configuring DHCP Snooping