Last Updated on August 1, 2021 by Admin 2
As the network administrator, you have enabled port security on the Fa0/1 port of a switch. Fa0/1 is not a trunk port. You have configured the port security so that the MAC addresses 1111.1111.1111 and 2222.2222.2222 are allowed to connect to the switch port.Which of the following commands were required to configure the port security so that only the MAC addresses 1111.1111.1111 and 2222.2222.2222 are allowed to connect to the switch port.? (Choose all that apply.)
- switchport mode trunk
- switchport port-security
- switchport mode access
- switchport port-security maximum 2
- switchport port-security maximum 3
The following commands were executed on the switch port:
switchport mode access
switchport port-security
switchport port-security maximum 2
The switchport mode access command configures the switch port as an access port. The switchport port-security command enables port security on the switch port. The switchport port-security maximum 2 command specifies that at most two MAC addresses can be connected to the switch port.
The complete set of commands that were executed on the Fa0/1 of the switch port is as follows:
It is not required that the switchport port-security aging be executed. This can be used to specify the duration for which all addreses are secured.
The switchport port-security maximum 3 command was not execute on the switch port. This command specifies that three MAC addresses can be allowed on that switch port, instead of only two secure MAC addresses.
Objective:
Infrastructure Security
Sub-Objective:
Configure and verify switch security features