To display port security settings for the switch, use the
show port-security command
The example indicates that all 24 interfaces are configured with the switchport port-security command because the maximum allowed is 1 and the violation mode is shutdown