associate role
Syntax
associate role 没有关联的角色
描述
Associates a role with a device profile. Only one role can be associated with a device profile. For information on how to configure a role, see the port access role information in theSecurity Guide.
The没有
form of this command removes a role from a device profile.
Command context
config-device-profile
Parameters
-
- Specifies the name of the role to associate with the device profile. Range: 1 to 64 alphanumeric characters.
权威
Administrators or local user group members with execution rights for this command.
Examples
Associating the role我的角色with the device profileprofile01:
switch(config)#port-access device-profile profile01switch(config-device-profile)#associate role my-role
Removing the role我的角色from the device profileprofile01:
switch(config)#port-access device-profile profile01switch(config-device-profile)#没有关联的角色我的角色