Before configuring any of the authentication settings on the switchport, you must make sure that the switchport is configured as a Layer 2 port, not a Layer 3 port. This command is a simple, one-word command that we will run, and from that point on, the other commands we run will all take effect.
Step 1 |
Enter interface
configuration mode for the switchport range:
|
Step 2 |
Ensure that the ports
are Layer 2 switchports.
|
Step 3 |
Configure the port
for Layer 2 edge, using the host macro. The host macro will automatically run three commands for you. It will configure the port to be an access port (nontrunk), disable channel groups, and configure spanning tree to be in portfast mode.
|