{"type":"api","title":"Create I Psec PWK Inbound Connections","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 IPSEC pairwise key inbound entry from device","operationId":"createIPsecPWKInboundConnections","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":"local-tloc-color","in":"query","description":"Local 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":{"IPSEC pairwise key inbound entry":{"description":"IPSEC pairwise key inbound entry","value":{"data":[{"dest-ip":"10.101.5.5","local-tloc-index":"32770","source-port":"12366","pkey-hash":" ","vdevice-name":"169.254.10.12","nonce-hash":" ","is-ah-auth":"true","pwk-spi":"0","vdevice-host-name":"vm5","pkey-id":"0","ss-hash":" ","remote-tloc-address":"172.16.254.1","dest-port":"12346","vdevice-dataKey":"169.254.10.12","d-key-hash":" ","local-tloc-address":"172.16.254.4","lastupdated":1645154066644,"remote-tloc-color":"lte","source-ip":"10.102.2.2","local-tloc-color":"default","sa-index":"7","remote-tloc-index":"32775"},{"dest-ip":"10.101.5.5","local-tloc-index":"32770","source-port":"12366","pkey-hash":" ","vdevice-name":"169.254.10.12","nonce-hash":" ","is-ah-auth":"true","pwk-spi":"0","vdevice-host-name":"vm5","pkey-id":"0","ss-hash":" ","remote-tloc-address":"172.16.254.1","dest-port":"12346","vdevice-dataKey":"169.254.10.12","d-key-hash":" ","local-tloc-address":"172.16.254.4","lastupdated":1645154066644,"remote-tloc-color":"3g","source-ip":"10.101.2.2","local-tloc-color":"default","sa-index":"19","remote-tloc-index":"32781"},{"dest-ip":"10.101.5.5","local-tloc-index":"32770","source-port":"12366","pkey-hash":" ","vdevice-name":"169.254.10.12","nonce-hash":" ","is-ah-auth":"true","pwk-spi":"0","vdevice-host-name":"vm5","pkey-id":"0","ss-hash":" ","remote-tloc-address":"172.16.254.2","dest-port":"12346","vdevice-dataKey":"169.254.10.12","d-key-hash":" ","local-tloc-address":"172.16.254.4","lastupdated":1645154066644,"remote-tloc-color":"lte","source-ip":"10.102.3.3","local-tloc-color":"default","sa-index":"11","remote-tloc-index":"32777"},{"dest-ip":"10.101.5.5","local-tloc-index":"32770","source-port":"12366","pkey-hash":" ","vdevice-name":"169.254.10.12","nonce-hash":" ","is-ah-auth":"true","pwk-spi":"0","vdevice-host-name":"vm5","pkey-id":"0","ss-hash":" ","remote-tloc-address":"172.16.254.2","dest-port":"12346","vdevice-dataKey":"169.254.10.12","d-key-hash":" ","local-tloc-address":"172.16.254.4","lastupdated":1645154066645,"remote-tloc-color":"3g","source-ip":"10.101.3.3","local-tloc-color":"default","sa-index":"9","remote-tloc-index":"32776"}]}}}}}},"400":{"description":"Bad Request"},"403":{"description":"Forbidden"},"500":{"description":"Internal Server Error"}},"x-roles-required":"Security-read,Security-write","method":"get","path":"/device/ipsec/pwk/inbound"}}