Benutzer-Werkzeuge

Webseiten-Werkzeuge


device-profile-iot

IoT/Device Profile in AOS Releaes 8.5R2

Aktivieren von Device Profiling

Damit man „IoT Profiling“ bzw. „Device Profiling“ verwenden kann, muss dieses aktiviert werden:

-> show configuration snapshot device-profile 
! DEVICE-PROFILE:
device-profile admin-state enable

Signaturen von unbekannten Geräten hinzufügen

Unbekannte Geräte werden erkannt und können für die Zukunft als Signature abgespeichert werden

-> device-profile admin-state enable
(now attach your device / power it up)
-> show device-profile summary 
 Device-Type                     Total       1 Hour    1 Day 
                                 Count       Count     Count 
-------------------------------+----------+----------+----------
IP-Phone                         0          0          0         
Printer                          0          0          0         
SmartPhone/PDA/Tablets           0          0          0         
Windows                          0          0          0         
Wireless-Router                  0          0          0         
 
-> show device-profile catalog ?
                              ^
                              <cr> UNKNOWN 
 (Device Profiling Command Set)
-> show device-profile catalog 
 
Legend: * indicates .Unknown/Un-cataloged. devices
 
Port/LAGG   Device Type                     Device Name                      Mac-Address         TimeStamp Initial    TimeStamp Most-Recent
----------+-------------------------------+--------------------------------+-------------------+---------------------+----------------------
*1/1/11     -                               -                                34:E7:0B:00:12:70   2018-09-06 15:49:47   2018-09-06 17:44:19
 
-> show device-profile catalog unknown 
 
Port/LAGG   Mac-Address         DHCP VCI (Option 60)                          DHCP Option 55                                 Mac-Vendor
----------+-------------------+----------------------------------------------+----------------------------------------------+--------------------
1/1/11      34:E7:0B:00:12:70  HAP.1-OAW-AP1101-RW                             1,3,6,12,15,28,42,43,66,67,138                  HAN Networks Co. Ltd
 
 
-> 
-> 
-> device-profile ?  
                 ^
                 UPDATE-SIGNATURE PORT LINKAGG DEVICE-TYPE AUTO-UNP-ASSIGNMENT 
                 ADMIN-STATE 
 (Device Profiling Command Set)
-> device-profile device-type Stellar-AP ?
                                        ^
                                        DEVICE-NAME 
 (Device Profiling Command Set)
-> device-profile device-type Stellar-AP device-name ?
                                                    ^
                                                  <string> <"string"> 
 (Device Profiling Command Set)
-> device-profile device-type Stellar-AP device-name ?
                                                    ^
                                                  <string> <"string"> 
 (Device Profiling Command Set)
-> device-profile device-type Stellar-AP device-name Stellar-AP ?
                                                               ^
                                                  FROM 
 (Device Profiling Command Set)
-> device-profile device-type Stellar-AP device-name Stellar-AP from ?
                                                                    ^
                                                  MAC-ADDRESS DHCP-OPTION-55 
 (Device Profiling Command Set)
-> device-profile device-type Stellar-AP device-name Stellar-AP from mac-address 34:E7:0B:00:12:70
 
-> show device-profile signatures 
 
Device Type                      Device Name                     DHCP Option 55
-------------------------------+-------------------------------+-------------------------
Wireless-Router                  D-Link DI-624+                   1,3,6,15
SmartPhone/PDA/Tablets           Apple iPad                       1,3,6,15,119,252
IP-Phone                         Gigaset A580 VoIP                1,3,6,120,125,114
Printer                          Kyocera Network Printer          1,3,12,23,6,15,44,47
SmartPhone/PDA/Tablets           Motorola                         1,121,33,3,6,28,51,58,59
Windows                          Windows XP                       1,15,3,6,44,46,47,31,33,249,43
Printer                          SAMSUNG Network                  1,3,6,7,12,15,18,23,26,44,46,51,54,58,59,78,79,81
*Stellar-AP                      Stellar-AP                       1,3,6,12,15,28,42,43,66,67,138
 
----------------------------------
Number of Signatures: 8
 
-> device-profile update-signature 

Abspeichern der eigenen Signaturen

-> device-profile update-signature 

Eigene Signaturen werden in folgender Datei abgespeichert:

-> cat switch/afn/device_profile_sigs.csv
"Dhcp-Option-55",Device-Name,Device-Type
"1,3,6,12,15,28,42,43,66,67,138",Stellar-AP,Stellar-AP

Auf dem Switch erkannt:

-> show device-profile catalog unknown 

Port/LAGG   Mac-Address         DHCP VCI (Option 60)                          DHCP Option 55                                 Mac-Vendor
----------+-------------------+----------------------------------------------+----------------------------------------------+--------------------
1/1/13      F8:CA:DE:AD:BE:EF  MSFT 5.0                                        1,15,3,6,44,46,47,31,33,121,249,43              Dell Inc. # Win7
device-profile-iot.txt · Zuletzt geändert: 2018/09/18 17:19 von benny