show port-access device-profile

Syntax

show port-access device-profile [[interface {all | <INTERFACE-ID>} 
     [client-status <MAC-ADDR>]] | name <DEVICE-PROFILE-NAME>]

Description

Shows the client status for a specific MAC address or profile name.

Command context

Manager (#)

Parameters

interface {all | <INTERFACE-ID>}
Select all for all interfaces or specify the name of an interface in the format: member/slot/port.
client-status <MAC-ADDR>
Specifies a MAC address (xx:xx:xx:xx:xx:xx), where x is a hexadecimal number from 0 to F.
name <DEVICE-PROFILE-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-profile

    Profile 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:20

Port 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# show port-access device-profile name lldp-group

    Profile Name            : lldp-group
    LLDP Groups             :
    CDP Groups              :
    MAC Groups              : pc-behind-phone, lldp
    Role                    : auth_role
    State                   : Enabled