{"type":"api","title":"Create Fec Statistics","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 - Tunnel"],"description":"Get tunnel fec statistics","operationId":"createFecStatistics","parameters":[{"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":{"tunnel fec statistics":{"description":"tunnel fec statistics","value":{"data":[{"dest-ip":"30.30.30.30","source-port":0,"vdevice-name":"169.254.10.10","fec-rx-parity-pkts":0,"fec-capable":"false","fec-tx-parity-pkts":0,"vdevice-host-name":"vm3","tunnel-protocol":"gre","fec-tx-data-pkts":0,"dest-port":0,"vdevice-dataKey":"169.254.10.10-gre-10.0.3.3-30.30.30.30-0-0","fec-rx-data-pkts":0,"fec-reconstruct-pkts":0,"lastupdated":1644821014912,"source-ip":"10.0.3.3","fec-dynamic":"false"},{"dest-ip":"10.101.2.2","source-port":12366,"vdevice-name":"169.254.10.10","fec-rx-parity-pkts":0,"fec-capable":"false","fec-tx-parity-pkts":0,"vdevice-host-name":"vm3","tunnel-protocol":"ipsec","fec-tx-data-pkts":0,"dest-port":12346,"vdevice-dataKey":"169.254.10.10-ipsec-10.101.3.3-10.101.2.2-12366-12346","fec-rx-data-pkts":0,"fec-reconstruct-pkts":0,"lastupdated":1644821014912,"source-ip":"10.101.3.3","fec-dynamic":"false"},{"dest-ip":"10.101.4.4","source-port":12366,"vdevice-name":"169.254.10.10","fec-rx-parity-pkts":0,"fec-capable":"false","fec-tx-parity-pkts":0,"vdevice-host-name":"vm3","tunnel-protocol":"ipsec","fec-tx-data-pkts":0,"dest-port":12366,"vdevice-dataKey":"169.254.10.10-ipsec-10.101.3.3-10.101.4.4-12366-12366","fec-rx-data-pkts":0,"fec-reconstruct-pkts":0,"lastupdated":1644821014912,"source-ip":"10.101.3.3","fec-dynamic":"false"},{"dest-ip":"10.102.5.5","source-port":12366,"vdevice-name":"169.254.10.10","fec-rx-parity-pkts":0,"fec-capable":"false","fec-tx-parity-pkts":0,"vdevice-host-name":"vm3","tunnel-protocol":"ipsec","fec-tx-data-pkts":0,"dest-port":12366,"vdevice-dataKey":"169.254.10.10-ipsec-10.101.3.3-10.102.5.5-12366-12366","fec-rx-data-pkts":0,"fec-reconstruct-pkts":0,"lastupdated":1644821014912,"source-ip":"10.101.3.3","fec-dynamic":"false"},{"dest-ip":"10.102.6.6","source-port":12366,"vdevice-name":"169.254.10.10","fec-rx-parity-pkts":0,"fec-capable":"false","fec-tx-parity-pkts":0,"vdevice-host-name":"vm3","tunnel-protocol":"ipsec","fec-tx-data-pkts":0,"dest-port":12366,"vdevice-dataKey":"169.254.10.10-ipsec-10.101.3.3-10.102.6.6-12366-12366","fec-rx-data-pkts":0,"fec-reconstruct-pkts":0,"lastupdated":1644821014912,"source-ip":"10.101.3.3","fec-dynamic":"false"},{"dest-ip":"10.102.16.16","source-port":12366,"vdevice-name":"169.254.10.10","fec-rx-parity-pkts":0,"fec-capable":"false","fec-tx-parity-pkts":0,"vdevice-host-name":"vm3","tunnel-protocol":"ipsec","fec-tx-data-pkts":0,"dest-port":12366,"vdevice-dataKey":"169.254.10.10-ipsec-10.101.3.3-10.102.16.16-12366-12366","fec-rx-data-pkts":0,"fec-reconstruct-pkts":0,"lastupdated":1644821014912,"source-ip":"10.101.3.3","fec-dynamic":"false"}]}}}}}},"400":{"description":"Bad Request"},"403":{"description":"Forbidden"},"500":{"description":"Internal Server Error"}},"x-roles-required":"Security-read,Security-write,System-read,System-write","method":"get","path":"/device/tunnel/fec_statistics"}}