Configuring MAC Authentication Bypass Beginning in privileged EXEC mode, follow these steps to enable MAC authentication bypass. This procedure is optional. Configuring IEEE 802.1x Port-Based Authentication Configuring MAC Authentication Bypass Command or Action Purpose Example: Device> enable • Enter your password if prompted. Step 2 configure terminal Example: Device# configure terminal Enters global configuration mode. Step 3 interface interface-id Example: Device(config)# interface gigabitethernet2/0/3 Specifies the port to be configured, and enters interface configuration mode. Step 4 authentication control-direction {both | in} Example:
Device(config-if)# authentication control-direction both Enables 802.1x authentication with WoL on the port, and use these keywords to configure the port as bidirectional or unidirectional. • both: Sets the port as bidirectional. The port cannot receive packets from or send packets to the host. By default, the port is bidirectional. • in: Sets the port as unidirectional. The port can send packets to the host but cannot receive packets from the host. Step 5 end Example: Device(config-if)# end Exits interface configuration mode and returns to privileged EXEC mode. Step 6 show authentication sessions interface interface-id Example:
Device# show authentication sessions interface gigabitethernet2/0/3 Displays information about current Auth Manager sessions on the interface. Configuring IEEE 802.1x Port-Based Authentication 61