Which of the following sets of commands CANNOT be included in the plan to implement HSRP on a Layer 3 switch port?

Last Updated on August 1, 2021 by Admin 2

Which of the following sets of commands CANNOT be included in the plan to implement HSRP on a Layer 3 switch port?

  • interface port-channelno switchport
  • interface fastethernetno switchportip address
  • interface fastethernetswitchport mode access
  • interface vlanip address
Explanation:

The following set of commands cannot be included in the implementation plan to configure HSRP on a Layer 3 switch port:

interface fastethernet
switchport mode access

This set of commands creates an access port on the switch. The access port can then be assigned to a VLAN. HSRP cannot be enabled on access ports. To enable HSRP on a switch port, the port has to be any of the following:

  • EtherChannel port Refers to a Layer 3 switch port used for EtherChannel
  • Routed port Refers to a Layer 3 port on a switch used for routing
  • Switch virtual interface (SVI) Refers to a Layer 2 switch port used for inter-VLAN routing

The interface port-channel and no switchport commands allow you to create a Layer 3 port-channel interface, which can be logically bound with other port-channel interfaces to form an EtherChannel. Port-channel interfaces can be configured as either Layer 2 or Layer 3 interfaces. The interface port-channel command is used to create a Layer 3 port-channel interface.

The following set of commands creates a routed port:

interface fastethernet
no switchport
ip address

Routed ports are physical Layer 3 interfaces that allow you to configure a switch as a router. The no switchport command allows the port to be used purely as a Layer 3 port. This command restarts the port thereby deleting any Layer 2 configuration settings on the switch.

The following set of commands is used to create an SVI, which is a logical interface that allows you to enable inter-VLAN routing on Layer 3 switches:

interface vlan
ip address

SVIs are configured as VLAN interfaces and have at least one physical interface assigned to the VLANs.

Objective:
Infrastructure Services
Sub-Objective:
Configure and verify first-hop redundancy protocols

0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments