Configure ietf-interfaces single interface
PUT https://{{host}}:{{port}}/restconf/data/ietf-interfaces:interfaces/interface=GigabitEthernet2
Request Body
{"ietf-interfaces:interface"=>{"name"=>"GigabitEthernet2", "description"=>"Configured by RESTCONF", "type"=>"iana-if-type:ethernetCsmacd", "enabled"=>true, "ietf-ip:ipv4"=>{"address"=>[{"ip"=>"10.255.255.1", "netmask"=>"255.255.255.0"}]}}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string | ||
Content-Type | string | ||
Authorization | string |