Question:
Which set of commands is recommended to prevent the use of a hub in the access layer?
- switch(config-if)#switchport mode trunk
switch(config-if)#switchport port-security maximum 1 - switch(config-if)#switchport mode trunk
switch(config-if)#switchport port-security mac-address 1 - switch(config-if)#switchport mode access
switch(config-if)#switchport port-security maximum 1 - switch(config-if)#switchport mode access
switch(config-if)#switchport port-security mac-address 1
Explanation: Port security is only used on access port (Which connects to hosts) so we need to set that port to “access” mode, then we need to specify the maximum number of hosts Which are allowed to connect to this port -> C is correct.
Note: If we want to allow a fixed MAC address to connect, use the “switchport port-security mac-address ” command.
Exam with this question: CCNA v3.0 (200-125) Study Guide – Exam Dumps
Please login or Register to submit your answer