Creating a device identity and associating a device type
-
Create a device identity using the command:
switch# device-identiy name <DEVICE-NAME>
-
Aruba switches detect devices automatically using LLDP. Configure one of the following TLV values in LLDP packet to identify a device:
OUI (Type 127): The Organizationally Unique Identifier (OUI) is a 24-bit globally unique assigned number used to identify LLDP device. The default OUI 000000 indicates that device-identity will not use LLDP to identify device.
switch(config)# device-identity name <DEVICE-NAME> lldp oui <MAC-OUI> sub-type <SUBTYPE>
System Name (Type 5): The system name field is an alpha-numeric string that indicates the assigned name of the system. The maximum supported length is 128 characters.
switch(config)# device-identity name <DEVICE-NAME> lldp sys-name <SYSTEM-NAME>
System Description (Type 6): The system description field is an alpha-numeric string that is a textual description of the network entity. The maximum supported length is 128 characters.
switch(config)# device-identity name <DEVICE-NAME> lldp sys-desc <SYSTEM-DESCRIPTION>
Examples:To add new device on switch:
switch(config)# device-identity name ArubaOUI lldp oui 000b86 sub-type 2
To remove device from switch:
switch(config)# no device-identity name ArubaOUI
To configure system name on switch:
switch(config)# device-identity name ArubaName lldp sys-name Aruba
To configure system description on switch:
switch(config)# device-identity name ArubaDesc lldp sys-desc "Aruba Cloud Managed Device"
The order of precedence of TLV used to detect a device is as follows:- Hardcoded Aruba OUI
- System Name (type 5)
- System Description (type 6)
- MAC OUI (type 127)
A case-insensitive substring match is carried out on the received LLDP TLV value for system name and description to identify a device. One or more device identities can be associated with a single device profile.
NOTE: Configuring a TLV value to a device identity will overwrite the previous value. -
Show device identity configuration:
switch(config)# show device-identity lldp Device Identity Configuration Index Device name Oui Subtype ------ ---------------------- ---------- ------- 1 ArubaOUI 000b86 2 Configuration With System Name and System Description TLV Index : 2 Device Name : ArubaName TLV Type : System Name TLV Value : Aruba Index : 3 Device Name : ArubaDesc TLV Type : System Description TLV Value : Aruba Cloud Managed Device
NOTE: The maximum devices that can be configured usingdevice-identity
are 16. The maximum devices that can be associated usingdevice-profile
are 19. The maximum profiles that can be created usingdevice-profile
are 17.