show port-access device-profile
Syntax
show port-access device-profile [[interface {all | } [client-status ]] | name ]
德scription
Shows the client status for a specific MAC address or profile name.
Command context
Manager (#
)
Parameters
-
interface {all |
} -
Select
all
for all interfaces or specify the name of an interface in the format:member/slot/port
. -
client-status
-
Specifies a MAC address (
xx:xx:xx:xx:xx:xx
), wherex
is a hexadecimal number from 0 to F. -
name
- Specifies the name of the device profile.
Authority
Administrators or local user group members with execution rights for this command.
Examples
Showing the applied state of the device profiles:
switch#show port-access device-profileProfile Name : accesspoints LLDP Groups : 2920-grp CDP Groups : MAC Groups : 2920-mac-grp1,2920-iot-grp2 Role : local_role_1 State : Enabled Profile Name : access_switches LLDP Groups : 2920-grp CDP Groups : MAC Groups : Role : local_2920_role State : Enabled Profile Name : iot_devices LLDP Groups : CDP Groups : MAC Groups : iot_camera-grp1,iot_sensors-grp1 Role : local_2920_role State : Enabled Profile Name : lobbyaps LLDP Groups : CDP Groups : lobby_ap_cdp_grp MAC Groups : Role : test_ap_role State : Disabled
Showing the applied state of the device profile on interface 1/1/3:
switch#show port-access device-profile interface 1/1/3 client-status 00:0c:29:9e:d1:20Port 1/1/3, Neighbor-Mac 00:0c:29:9e:d1:20 Profile Name : lobbyaps LLDP Group : CDP Group : aruba-ap_cdp MAC Group : Role : test_ap_role Status : Failed Failure Reason : Failed to apply MAC based VLAN
Showing the applied state of a specific device profile:
switch#显示端口访问lldp-group设备概要文件的名字Profile Name : lldp-group LLDP Groups : CDP Groups : MAC Groups : pc-behind-phone, lldp Role : auth_role State : Enabled