int fa0/4 switchport mode access switchport access vlan 10 switchport port-security switchport port-security mac-address sticky switchport port-security maximum 1 switchport port-security violation shutdown no shutdown exit int fa0/5 switchport mode access switchport access vlan 10 switchport port-security switchport port-security mac-address sticky switchport port-security maximum 1 switchport port-security violation shutdown no shutdown exit int fa0/6 switchport mode access switchport access vlan 10 switchport port-security switchport port-security mac-address sticky switchport port-security maximum 1 switchport port-security violation shutdown no shutdown exit int fa0/7 switchport mode access switchport access vlan 20 switchport port-security switchport port-security mac-address sticky switchport port-security maximum 1 switchport port-security violation shutdown no shutdown exit int fa0/8 switchport mode access switchport access vlan 20 switchport port-security switchport port-security mac-address sticky switchport port-security maximum 1 switchport port-security violation shutdown no shutdown exit int fa0/9 switchport mode access switchport access vlan 20 switchport port-security switchport port-security mac-address sticky switchport port-security maximum 1
int fa0/4 switchport mode access switchport access vlan 10 switchport port-security switchport port-security mac-address sticky switchport port-security maximum 1 switchport port-security violation shutdown no shutdown exit int fa0/5 switchport mode access switchport access vlan 10 switchport port-security switchport port-security mac-address sticky switchport port-security maximum 1 switchport port-security violation shutdown no shutdown exit int fa0/6 switchport mode access switchport access vlan 10 switchport port-security switchport port-security mac-address sticky switchport port-security maximum 1 switchport port-security violation shutdown no shutdown exit int fa0/7 switchport mode access switchport access vlan 20 switchport port-security switchport port-security mac-address sticky switchport port-security maximum 1 switchport port-security violation shutdown no shutdown exit int fa0/8 switchport mode access switchport access vlan 20 switchport port-security switchport port-security mac-address sticky switchport port-security maximum 1 switchport port-security violation shutdown no shutdown exit int fa0/9 switchport mode access switchport access vlan 20 switchport port-security switchport port-security mac-address sticky switchport port-security maximum 1