Configuring IEEE 802.1x Port-Based Authentication Configuring a Downloadable Policy Command or Action Purpose Device# configure terminal Step 3 access-list access-list-number { deny | permit } { hostname | any | host } log Example: Device(config)# access-list 1 deny any log Defines the default port ACL. The access-list-number is a decimal number from 1 to 99 or 1300 to 1999. Enter deny or permit to specify whether to deny or permit access if conditions are matched. The source is the source address of the network or host that sends a packet, such as this: • hostname: The 32-bit quantity in dotted-decimal format. • any:
The keyword any as an abbreviation for source and source-wildcard value of 0.0.0.0 255.255.255.255. You do not need to enter a source-wildcard value. • host: The keyword host as an abbreviation for source and source-wildcard of source 0.0.0.0. (Optional) Applies the source-wildcard wildcard bits to the source. (Optional) Enters log to cause an informational logging message about the packet that matches the entry to be sent to the console. Step 4 interface interface-id Example: Device(config)# interface gigabitethernet 2/0/2 Enters interface configuration mode. Step 5 ip access-group acl-id in Example:
Device(config-if)# ip access-group default acl in _ Configures the default ACL on the port in the input direction. Note The acl-id is an access list name or number. Step 6 exit Example: Device(config-if)# exit Exits interface configuration mode and returns to global configuration mode. Configuring IEEE 802.1x Port-Based Authentication 71