associate cdp-group

Syntax

associate cdp-group没有associate cdp-group

描述

Associates a CDP (Cisco Discovery Protocol) group with a device profile. A maximum of two CDP groups can be associated with a device profile.

The没有form of this command removes a CDP group from a device profile.

Command context

config-device-profile

Parameters

Specifies the name of the CDP group to associate with this device profile. Range: 1 to 32 alphanumeric characters.

非盟thority

Administrators or local user group members with execution rights for this command.

Examples

Associating the CDP groupmy-cdp-groupwith the device profileprofile01:

switch(config)#port-access device-profile profile01switch(config-device-profile)#副cdp-group my-cdp-group

Removing the CDP groupmy-cdp-groupfrom the device profileprofile01:

switch(config)#port-access device-profile profile01switch(config-device-profile)#没有副cdp-group my-cdp-group