{"type":"api","title":"Create Cryptov 1 Local SA List","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 - IPsec"],"description":"Get Crypto IKEv1 SA entry from device","operationId":"createCryptov1LocalSAList","parameters":[{"name":"remote-tloc-address","in":"query","description":"Remote TLOC address","schema":{"type":"string"}},{"name":"remote-tloc-color","in":"query","description":"Remote tloc color","schema":{"type":"string","enum":["default","mpls","metro-ethernet","biz-internet","public-internet","lte","3g","red","green","blue","gold","silver","bronze","custom1","custom2","custom3","private1","private2","private3","private4","private5","private6"]}},{"name":"deviceId","in":"query","description":"deviceId - Device IP","required":true,"schema":{"pattern":"^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?).){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$","type":"string","example":"169.254.10.10"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object"},"examples":{"Crypto IKEv1 SA entry":{"description":"Crypto IKEv1 SA entry","value":{"data":[{"init-spi":"NzA4MjczNjM1RTYwOUE0MQ==","remote-ip-addr":"10.1.16.16","vdevice-name":"172.16.255.15","sa-status":"crypto-sa-status-active","lifetime":84025,"vdevice-host-name":"vm5","local-ip-addr":"10.1.15.15","my-auth-method":"crypto-ikev2-auth-psk","ivrf":"none","local-port":500,"peer-auth-method":"crypto-ikev2-auth-psk","vdevice-dataKey":"172.16.255.15","fvrf":"none","resp-spi":"MDkzRDYwQ0YwQzUxMDcxMg==","encr-alg":"crypto-encr-alg-aes-cbc","remote-port":500,"hash-algo":"crypto-hash-alg-auth-hmac-sha256","lastupdated":1657094847813,"sa-id":"1002","dh-group":"crypto-dh-grouptype-group16"},{"init-spi":"NTlCQjQyNzVEOURCMEExNg==","remote-ip-addr":"10.1.16.16","vdevice-name":"172.16.255.15","sa-status":"crypto-sa-status-active","lifetime":84026,"vdevice-host-name":"vm5","local-ip-addr":"10.1.15.15","my-auth-method":"crypto-ikev2-auth-psk","ivrf":"none","local-port":500,"peer-auth-method":"crypto-ikev2-auth-psk","vdevice-dataKey":"172.16.255.15","fvrf":"none","resp-spi":"RTlFMUZEN0VCQUZGNDNGQQ==","encr-alg":"crypto-encr-alg-aes-cbc","remote-port":500,"hash-algo":"crypto-hash-alg-auth-hmac-sha256","lastupdated":1657094847813,"sa-id":"1003","dh-group":"crypto-dh-grouptype-group16"}]}}}}}},"400":{"description":"Bad Request"},"403":{"description":"Forbidden"},"500":{"description":"Internal Server Error"}},"x-roles-required":"Security-read,Security-write","method":"get","path":"/device/ipsec/ikev1"}}