Configuring Identity Control Policies Configuring Authentication Features on Ports 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 type number Example: Device(config)# interface gigabitethernet 1/0/2 Enters interface configuration mode for the selected interface. Step 4 access-session port-control {auto | force-authorized | force-unauthorized} Example: Device(config-if)# access-session port-control auto Sets the authorization state of a port. • The default value is force-authorized.
Step 5 access-session host-mode {multi-auth | multi-domain | multi-host | single-host} Example: Device(config-if)# access-session host-mode single-host Allows hosts to gain access to a controlled port. • To use this command, you must first enable the access-session port-control auto command. • The default value is multi-auth. Step 6 access-session closed Example: Device(config-if)# access-session closed Prevents preauthentication access on this port. • The port is set to open access by default. Step 7 access-session control-direction {both | in} Example: Device(config-if)# access-session control-direction in Sets the direction of authentication control on a port. • The default value is both.
Step 8 end Example: Device(config-if)# end Exits interface configuration mode and returns to privileged EXEC mode. Step 9 show access-session interface interface-type interface-number [details] Example: Device# show access-session interface gigabitethernet 1/0/2 details Displays information about subscriber sessions that match the specified client interface. Configuring Identity Control Policies 16