Configuring a device profile for CDP
Procedure
-
Create a CDP group with the command
port-access cdp-group
. -
Define rules for adding devices to a CDP group with the command
match
. -
Define rules for ignoring devices so that they are not added to a CDP group with the command
ignore
. -
Create a device profile with the command
port-access device-profile
. -
Add a CDP group to a device profile with the command
associate cdp-group
. -
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. -
Enable a device profile with the command
enable
.