Configuring a device profile for CDP

Procedure
  1. Create a CDP group with the commandport-access cdp-group.
  2. 定义规则添加devices to a CDP group with the commandmatch.
  3. Define rules for ignoring devices so that they are not added to a CDP group with the commandignore.
  4. Create a device profile with the command端口访问设备概要文件.
  5. Add a CDP group to a device profile with the commandassociate cdp-group.
  6. Add a role to a device profile with the commandassociate role. Make sure that the role is already created. For information on how to create a role, see port access role information in theSecurity Guide.
  7. Enable a device profile with the commandenable.