Configuring a device profile for CDP

Procedure
  1. Create a CDP group with the command port-access cdp-group.
  2. Define rules for adding devices to a CDP group with the command match.
  3. Define rules for ignoring devices so that they are not added to a CDP group with the command ignore.
  4. Create a device profile with the command port-access device-profile.
  5. Add a CDP group to a device profile with the command associate cdp-group.
  6. Add a role to a device profile with the command associate role. Make sure that the role is already created. For information on how to create a role, see port access role information in the Security Guide.
  7. Enable a device profile with the command enable.