{"type":"api","title":"Get Attached Config","meta":{"id":"/apps/pubhub/media/cisco-catalyst-sd-wan-api-guide-20-18/1c4807bcb76af36988ebb37dc2e455b1787a155e/65ee78ac-32f3-329c-b00c-b5d29b6bef36","info":{"title":"UX 1.0 Configuration","description":"Configuration of UX 1.0 device and policy.\n\nIncludes API operations for the following:\n- Managing original SD-WAN device configurations and policy configurations\n- Device templates and feature templates\n","contact":{"email":"vmanage@cisco.com"},"version":"20.18 - 2025-08-15"},"openapi":"3.1.0","servers":[{"url":"/dataservice"}]},"spec":{"tags":["Configuration - Template Configuration"],"description":"Get local template attached config for given device","operationId":"getAttachedConfig","parameters":[{"name":"deviceId","in":"path","description":"Device Model ID","required":true,"schema":{"type":"string"}},{"name":"type","in":"query","description":"Config type","schema":{"type":"string","enum":["CFS","RFS","DRAFT_RFS","DRAFT_CFS"],"default":"CFS"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object"},"examples":{"Attached config":{"description":"Attached config","value":{"config":"no config \nconfig\n system\n host-name vm1\n system-ip 172.16.255.11\n site-id 100\n port-offset 1\n admin-tech-on-failure\n admin-tech-on-software-rollback\n route-consistency-check\n no vrrp-advt-with-phymac\n organization-name \"vIPtela Inc Regression\"\n vbond vbond\n aaa\n auth-order local radius tacacs\n usergroup basic\n task system read\n task interface read\n !\n usergroup netadmin\n !\n usergroup operator\n task system read\n task interface read\n task policy read\n task routing read\n task security read\n !\n usergroup tenantadmin\n !\n user admin\n password $6$tebXK3g64oMdWjSp$kIbJ/qShDI4/eLQ0M8NLyCK7rlmsZAlnwGFqCVZc7rNlIE6f8O1Q6IuP4pHJinc8pSTNGAEYtoCAwDuAiGPF9/\n !\n ciscotacro-user true\n ciscotacrw-user true\n !\n logging\n disk\n enable\n !\n !\n ntp\n parent\n no enable\n stratum 5\n exit\n !\n support\n zbfw-tcp-finwait-time 30\n zbfw-tcp-idle-time 3600\n zbfw-tcp-synwait-time 30\n zbfw-udp-idle-time 30\n !\n !\n omp\n no shutdown\n graceful-restart\n timers\n holdtime 15\n graceful-restart-timer 120\n exit\n advertise ospf external\n advertise connected\n advertise static\n !\n security\n ipsec\n integrity-type ip-udp-esp esp\n !\n !\n vpn 0\n host vbond ip 10.0.12.26 2001:a0:c::1a\n interface ge0/1\n ip address 10.0.26.11/24\n no ipv6 shutdown\n no shutdown\n !\n interface ge0/2\n ip address 10.0.5.11/24\n no ipv6 shutdown\n tunnel-interface\n encapsulation ipsec\n color lte\n hello-tolerance 12\n no allow-service bgp\n allow-service dhcp\n allow-service dns\n allow-service icmp\n no allow-service sshd\n no allow-service netconf\n no allow-service ntp\n no allow-service ospf\n no allow-service stun\n allow-service https\n !\n no shutdown\n !\n interface ge0/4\n ip address 10.0.7.11/24\n no ipv6 shutdown\n no shutdown\n !\n interface ge0/7\n ip address 10.0.100.11/24\n no ipv6 shutdown\n no shutdown\n !\n ip route 0.0.0.0/0 10.0.5.13\n !\n vpn 1\n router\n ospf\n router-id 172.16.255.11\n timers spf 200 1000 10000\n redistribute static\n redistribute omp\n area 0\n interface ge0/0\n exit\n exit\n !\n !\n interface ge0/0\n ip address 10.2.2.11/24\n no ipv6 shutdown\n no shutdown\n !\n !\n vpn 512\n interface eth0\n ip dhcp-client\n no ipv6 shutdown\n ipv6 dhcp-client\n no shutdown\n !\n !\n !\n!"}}}}}},"400":{"description":"Bad Request"},"403":{"description":"Forbidden"},"500":{"description":"Internal Server Error"}},"x-roles-required":"Device Inventory-read,Device Inventory-write,Device Inventory \u003e Edge-read,Device Inventory \u003e Controller-read,Device Inventory \u003e Edge-write","method":"get","path":"/template/config/attached/{deviceId}"}}