IP Address on Management Interface for Switch Image
Configures, modifies, and retrieves IP address configuration. The URI to configure data for IP address is:
/system/config/ipv4
Supported HTTP Operations
URL: https://<host>/restconf/data/system/config/ipv4
Request body: None
Response body:
{
"icx-openconfig-system-aug:ipv4" : {
"address" : [
{
"ip" : "xx.xx.xx.xx",
"config" : {
"ip" : "xx.xx.xx.xx",
"prefix-length" : 25
"addr_type" : "static"
}
]
}
}
URL: https://<host>/restconf/data/system/config/ipv4
Request body:
{
"icx-openconfig-system-aug:ipv4" : {
"address" : [
{
"ip" : "xx.xx.xx.xx",
"config" : {
"ip" : "xx.xx.xx.xx",
"prefix-length" : "24"
"addr_type" : "static"
}
}
]
}
}
Response body: None
URL: https://<host>/restconf/data/system/config/ipv4
Request body:
{
"icx-openconfig-system-aug:ipv4" : {
"address" : [
{
"ip" : "xx.xx.xx.xx",
"config" : {
"ip" : "xx.xx.xx.xx",
"prefix-length" : "24"
"addr_type" : "static"
}
}
]
}
}
Response body: None
URL: https://<host>/restconf/data/system/config/ipv4
Request body:
{
"address" : [
{
"ip" : "xx.xx.xx.xx",
"config" : {
"ip" : "xx.xx.xx.xx",
"prefix-length" : 25,
"addr_type" : "static"
}
}
]
}
Response body: None
URL: https://<host>/restconf/data/system/config/ipv4
Request body: None Response body: None