Exam 200-120 | Question id=24 | IP Services |
interface FastEthernet0/2
switchport mode access
switchport port-security
switchport port-security maximum 2
switchport port-security mac-address 0000.1111.2222
What is the result of the above configuration being applied to the switch?
A. |
A host with a mac address of 0000.1111.2222 and up to two other hosts can connect to FastEthernet 0/2 simultaneously | |
B. |
A host with a mac address of 0000.1111.2222 and one other host can connect to FastEthernet 0/2 simultaneously | |
C. |
Violating addresses are dropped and no record of the violation is kept | |
D. |
The switch can send an SNMP message to the network management station | |
E. |
The port is effectively shutdown |
Switch(config)# interface interface_id
Enters interface configuration mode and enters the physical interface to configure.
Switch(config-if)# switchport mode access
Sets the interface mode as access; an interface in the default mode (dynamic desirable) cannot be configured as a secure port.
Switch(config-if)# switchport port-security
Enables port security on the interface.
Switch(config-if)# switchport port-security maximum value
Sets the maximum number of secure MAC addresses for the interface.
Switch(config-if)# switchport port-security mac-address mac_address
Enters a secure MAC address for the interface. You can use this command to enter the maximum number of secure MAC addresses. If you configure fewer secure MAC addresses than the maximum, the remaining MAC addresses are dynamically learned.