{"type":"api","title":"Get Role Based Sgt Map","meta":{"id":"/apps/pubhub/media/cisco-catalyst-sd-wan-api-guide-20-18/1c4807bcb76af36988ebb37dc2e455b1787a155e/d2f02ba2-fd0d-3a26-bcc5-feafc8f24d17","info":{"title":"Monitoring and Troubleshooting","description":"Includes API operations for the following:\n- Real-time monitoring\n- Accessing statistics APIs and statistics bulk APIs\n- Retrieving device state\n- Managing alarms and events\n","contact":{"email":"vmanage@cisco.com"},"version":"20.18 - 2025-08-15"},"openapi":"3.1.0","servers":[{"url":"/dataservice"}]},"spec":{"tags":["Real-Time Monitoring - Trustsec"],"description":"get Cisco TrustSec Role Based SGT Map information from device","operationId":"getRoleBasedSgtMap","parameters":[{"name":"deviceId","in":"query","description":"deviceId - Device IP","required":true,"schema":{"type":"string","example":"169.254.10.10"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object"},"examples":{"TrustSec role based SGT map information":{"description":"TrustSec role based SGT map information","value":{"data":[{"vdevice-dataKey":"172.16.255.15-vm5-10.0.1.15/32-Default","ip":"10.0.1.15/32","sgt":10,"lastupdated":1652322326243,"source":"from-cli-hi","vrf-name":"Default","vdevice-host-name":"vm5","vdevice-name":"172.16.255.15"},{"vdevice-dataKey":"172.16.255.15-vm5-10.0.20.15/32-Default","ip":"10.0.20.15/32","sgt":10,"lastupdated":1652322326243,"source":"from-cli-hi","vrf-name":"Default","vdevice-host-name":"vm5","vdevice-name":"172.16.255.15"},{"vdevice-dataKey":"172.16.255.15-vm5-10.0.100.15/32-Default","ip":"10.0.100.15/32","sgt":10,"lastupdated":1652322326243,"source":"from-cli-hi","vrf-name":"Default","vdevice-host-name":"vm5","vdevice-name":"172.16.255.15"},{"vdevice-dataKey":"172.16.255.15-vm5-10.1.15.15/32-Default","ip":"10.1.15.15/32","sgt":10,"lastupdated":1652322326243,"source":"from-cli-hi","vrf-name":"Default","vdevice-host-name":"vm5","vdevice-name":"172.16.255.15"},{"vdevice-dataKey":"172.16.255.15-vm5-10.1.17.15/32-Default","ip":"10.1.17.15/32","sgt":10,"lastupdated":1652322326243,"source":"from-cli-hi","vrf-name":"Default","vdevice-host-name":"vm5","vdevice-name":"172.16.255.15"}]}}}}}},"400":{"description":"Bad Request"},"403":{"description":"Forbidden"},"500":{"description":"Internal Server Error"}},"x-roles-required":"Device Monitoring-read,Device Monitoring-write","method":"get","path":"/device/roleBasedSgtMap"}}