cisco Identity Based Networking Services (IBNS) — Configuring Authentication Features on Ports

Example: Applying a Control Policy to an Interface interface GigabitEthernet 1/0/2 subscriber aging inactivity-timer 60 probe device-tracking binding reachable-lifetime 60 service-policy type control subscriber POLICY_1 Configuring Authentication Features on Ports Perform this task to control access to a port, including the port authorization state, host access mode, preauthentication access, and the authentication direction. Procedure Configuring Identity Control Policies Configuring Authentication Features on Ports Command or Action Purpose the command reference of the corresponding release. Command or Action Purpose Step 1 enable Example: Device> enable Enables privileged EXEC mode.

• 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 Prevents preauthentication access on this port. Configuring Identity Control Policies 13