cisco — Attaching a Device Tracking Policy to a VLAN

Procedure Attaching a Device Tracking Policy to a VLAN Beginning in privileged EXEC mode, follow these steps to attach a device-tracking policy to VLANs across multiple interfaces: Configuring Switch Integrated Security Features Attaching a Device Tracking Policy to a VLAN 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 interface Example: Device(config-if)# interface gigabitethernet 1/1/4 Specifies an interface and enters interface configuration mode.

Step 4 device-tracking attach-policy policy name Example: Device(config-if)# device-tracking attach-policy example policy _ Attaches the device tracking policy to the interface. Device tracking is also supported on EtherChannels. Note SISF based device-tracking policies can be disabled only if they are custom policies. Programmatically created policies can be removed only if the corresponding device-tracking client feature configuration is removed. Step 5 end Example: Device(config-if)# end Exits interface configuration mode and returns to privileged EXEC mode. Step 6 show device-tracking policies[interface interface] Example:

Device# show device-tracking policies interface gigabitethernet 1/1/4 Displays policies that match the specified interface type and number. Configuring Switch Integrated Security Features 26