Configuring a device profile for LLDP

Procedure
  1. Create an LLDP group with the commandport-access lldp-group.
  2. Define rules for adding devices to an LLDP group with the commandmatch.
  3. 定义规则忽视设备以便他们not added to an LLDP group with the commandignore.
  4. Create a device profile with the commandport-access device-profile.
  5. Add the LLDP group with the commandassociate lldp-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 the device profile with the commandenable.