The interface template with the same name as referred by AAA Authorization needs to be configured on the switch. Note When the interface template is being applied, the port will physically go down for a time period set by the sticky timer and come up again. When the RADIUS server sends the interface template a second time, it is ignored as the conversion has been completed. The port is then assigned to a PVLAN which keeps it isolated. The host completes authorization and comes up to ready state. Configure the keep time for which the interface template information is retained before it is removed from the port using the access-session interface-template sticky timer time command.
Configuring Wired Dynamic PVLAN To configure Wired Dynamic PVLAN, perform these steps on the user device (Switch A in the above topology): Before you begin Ensure that the dot1x aaa is configured on the user device. Procedure Configuring Wired Dynamic PVLAN Configuring Wired Dynamic PVLAN 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 vlan vlan-id Example: Device(config)# vlan 200 (Optional) Enters VLAN configuration mode and designates or creates a VLAN that will be an isolated VLAN.
The VLAN ID range is 2 to 1001 and 1006 to 4094. Step 4 private-vlan isolated Example: Device(config-vlan)# private-vlan isolated Designates the VLAN as an isolated VLAN. VLAN Configuration Guide, Cisco IOS XE 17.16.x (Catalyst 9300 Switches) 107