{"type":"model","meta":{"id":"/apps/pubhub/media/cisco-catalyst-sd-wan-api-guide-20-18/1c4807bcb76af36988ebb37dc2e455b1787a155e/744a8207-9965-344e-aed3-d3ef846a4950","info":{"title":"Others","description":"Other APIs\n- Include APIs that do not belong to other categories\n","contact":{"email":"vmanage@cisco.com"},"version":"20.18 - 2025-08-15"},"openapi":"3.1.0","servers":[{"url":"/dataservice"}]},"spec":{"required":["ifName"],"type":"object","properties":{"ifName":{"pattern":"^(?=.{1,32}$)(?:(ge0\\/\\d+(?:\\.\\d+)?|loopback\\d+|eth\\d+(?:\\.\\d+)?))$","type":"string","description":"Interface name eth\u003c0-..\u003e or eth\u003c0-..\u003e.vlanid or loopback\u003cstring\u003e when present","example":"eth0"},"ip":{"type":"object","properties":{"address":{"pattern":"^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)(\\/)([0-2]?[0-9]$|[3]?[0-2])$","type":"string","description":"Assign IPv4 address","example":"10.0.1.1/24"},"dhcpClient":{"type":"boolean","description":"Enable DHCP","example":false,"default":false},"dhcpDistance":{"maximum":65536,"minimum":1,"type":"integer","description":"Set administrative distance for DHCP default route","format":"int32","example":1,"default":1}},"description":"IPv4 address or DHCP","$$ref":"#/components/schemas/IpConfig"},"ipv6":{"type":"object","properties":{"address":{"pattern":"((^\\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))(%.+)?\\s*(\\/)(\\b([0-9]{1,2}|1[01][0-9]|12[0-8])\\b)$))","type":"string","description":"Assign IPv6 address","example":"2001:a0:64::20/64"},"dhcpClient":{"type":"boolean","description":"Enable DHCP","example":false,"default":false},"dhcpDistance":{"maximum":65536,"minimum":1,"type":"integer","description":"Set administrative distance for DHCP default route","format":"int32","example":1,"default":1},"dhcpRapidCommit":{"type":"boolean","description":"Enable DHCPv6 rapid commit","example":false,"default":false}},"description":"IPv6 address or DHCP","$$ref":"#/components/schemas/Ipv6Config"},"shutdown":{"type":"boolean","description":"Administrative state","example":false,"default":false}},"description":"Interfaces configuration","$$ref":"#/components/schemas/BaseInterfaceSetting","title":"BaseInterfaceSetting"}}