Which set of commands is recommended to prevent the use of a hub in the access layer?Select an option Clear ResponseA. switch(config-if)#switchport mode trunkswitch(config-if)#switchport port-security maximum 1switch(config-if)#switchport mode trunkswitch(config-if)#switchport port-security mac-address 1switch(config-if)#switchport mode accessswitch(config-if)#switchport port-security maximum 1switch(config-if)#switchport mode accessswitch(config-if)#switchport port-security mac-address 1
Question
Which set of commands is recommended to prevent the use of a hub in the access layer?Select an option Clear ResponseA. switch(config-if)#switchport mode trunkswitch(config-if)#switchport port-security maximum 1switch(config-if)#switchport mode trunkswitch(config-if)#switchport port-security mac-address 1switch(config-if)#switchport mode accessswitch(config-if)#switchport port-security maximum 1switch(config-if)#switchport mode accessswitch(config-if)#switchport port-security mac-address 1
Solution
The recommended set of commands to prevent the use of a hub in the access layer is:
switch(config-if)#switchport mode access
switch(config-if)#switchport port-security maximum 1
switch(config-if)#switchport port-security mac-address sticky
Here's the step-by-step explanation:
-
switch(config-if)#switchport mode access: This command is used to set the switch port to access mode. In access mode, the port can only be a member of a single VLAN. -
switch(config-if)#switchport port-security maximum 1: This command is used to set the maximum number of secure MAC addresses for the interface. Setting this to 1 means that only a single device (with a single MAC address) can connect to the port. -
switch(config-if)#switchport port-security mac-address sticky: This command is used to enable sticky learning on the interface. Sticky learning means that the switch will dynamically learn the MAC address of the device connected to the port and add it to the running configuration. If the device is disconnected, the switch will still remember the MAC address.
This set of commands effectively prevents a hub from being used because a hub would allow multiple devices (and therefore multiple MAC addresses) to connect to the port, which is not allowed by the port security settings.
Similar Questions
A user is configuring a wireless access point and wants to prevent any neighbors from discovering the network. What action does the user need to take? radio_button_unchecked Enable WPA encryption. radio_button_unchecked Configure a DNS server. radio_button_unchecked Disable SSID broadcast. radio_button_unchecked Configure DMZ settings.
Which network device differentiates network traffic using Layer 2 of the OSI model?Group of answer choicesActive hubDumb hubRouterSwitch
IoT Agent connects which of the following?Answer choicesSelect only one optionREVISITIoT HubIoT EdgeIoT DeviceNone of the options
You are an IT technician for your company. Your boss has asked you to set up and configure a wireless network to service all of the conference rooms.Which of the following features lets you allow or reject client connections based on the hardware address?answerSSIDWEPDHCPMAC address filtering
Which device performs the function of determining the path that messages should take through internetworks?Question 7AnswerA.routerB.hubC.firewallD.concentratorE.switch
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.