华为乾坤-修改指定的IPv4静态路由:URI
URI
/restconf/v2/data/huawei-ac-nes-device:nes/ne/{id}/huawei-nce-e-static-routing-ipv4:static-routing-ipv4/{destination-prefix}/{vpn-instance}/{next-hop-type}
参数名称 |
必选 |
类型 |
参数值域 |
默认值 |
参数说明 |
参数示例 |
---|---|---|---|---|---|---|
id |
是 |
string |
36个字符。满足正则表达[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}。 |
- |
设备ID。 |
"00000000-0000-0000-0000-000000000000" |
destination-prefix |
是 |
string |
满足正则表达(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])/(([0-9])|([1-2][0-9])|(3[0-2]))。 |
- |
IPv4目的网段/掩码,联合主键字段。 |
"10.1.1.0/24" |
vpn-instance |
是 |
string |
1~31个字符。 |
- |
VPN,联合主键字段。 |
"vpn1" |
next-hop-type |
是 |
string |
|
- |
下一跳类型,联合主键字段。 |
"Ip" |