Configuring Wired Dynamic PVLAN Configuring Wired Dynamic PVLAN Command or Action Purpose Device(config-vlan)# exit Step 10 template template-name Example: Device(config)# template PVLAN100 200 CFG _ _ Creates a user template and enters template configuration mode. Step 11 switchport mode private-vlan host Example: Device(config-template)# switchport mode private-vlan host Configures a Layer 2 port as a PVLAN host port on the template. Step 12 switchport private-vlan host-association primary vlan id secondary vlan id _ _ _ _ Example: Device(config-template)# switchport private-vlan host-association 100 200 Configures the association of a Layer 2 port with a PVLAN on the template.
Step 13 exit Example: Device(config-template)# exit Returns to global configuration mode. Step 14 access-session interface-template sticky timer time Example: Device(config)# access-session interface-template sticky timer 60 Configures the keep time of the template globally. Once the last client leaves, the template will be removed from the port after the configured keep time. Note It is recommended that you set the sticky timer to 60 seconds. Step 15 interface interface-id Example: Device(config)# interface GigabitEthernet1/0/1 Enters interface configuration mode and specifies the interface.
Step 16 access-session interface-template sticky timer time Configures the keep time of the template on the interface. Once the last client leaves, the VLAN Configuration Guide, Cisco IOS XE 17.16.x (Catalyst 9300 Switches) 109