华为乾坤-修改指定的IPv4静态路由:URI

时间:2025-02-17 11:38:42

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}

表1 path参数列表

参数名称

必选

类型

参数值域

默认值

参数说明

参数示例

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

  • Interface

  • IpInterface

  • black_hole

-

下一跳类型,联合主键字段。

"Ip"

support.huaweicloud.com/qiankuncmn-qiankuncs/toctopics/zh-cn_topic_0000001853684724.html