Which set of commands is recommended to prevent the use of a hub in the access layer?
A. switch(config-if)#switchport mode trunk
switch(config-if)#switchport port-security maximum 1 B. switch(config-if)#switchport mode trunk
switch(config-if)#switchport port-security mac-address 1 C. switch(config-if)#switchport mode access
switch(config-if)#switchport port-security maximum 1 D. switch(config-if)#switchport mode access
switch(config-if)#switchport port-security mac-address 1
Correct Answer: C
Explanation:
This question is to examine the layer 2 security configuration.
In order to satisfy the requirements of this question, you should perform the following configurations in the interface mode:
First, configure the interface mode as the access mode
Second, enable the port security and set the maximum number of connections to 1.
How should the FastEthernet0/1 ports on the switches that are shown in the exhibit be configured to allow connectivity between all devices?
A.
The ports only need to be connected by a crossover cable. B.
SwitchX(config)# interface fastethernet 0/1
SwitchX(config-if)# switchport mode trunk C.
SwitchX(config)# interface fastethernet 0/1
SwitchX(config-if)# switchport mode access
SwitchX(config-if)# switchport access vlan 1 D.
SwitchX(config)# interface fastethernet 0/1
SwitchX(config-if)# switchport mode trunk
SwitchX(config-if)# switchport trunk vlan 1
SwitchX(config-if)# switchport trunk vlan 10
SwitchX(config-if)# switchport trunk vlan 20
Correct Answer: B
Explanation:
IN order for multiple VLANs to cross switches, the connection between the switches must be a trunk. The “switchport mode trunk” command is all that is needed, the individual VLANs should not be listed over that trunk interface.
Explanation:
If the EtherChannel was configured with mode “auto”, it was using PAgP, so, we need to configure the other switch with “desirable” mode.
PAgP modes: auto | Desirable
LACP modes: active | pasive