检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
不建议在VPC路由表中将ER的路由配置为默认路由网段0.0.0.0/0,如果VPC内的ECS绑定了EIP,会在ECS内增加默认网段的策略路由,并且优先级高于ER路由,此时会导致流量转发至EIP,无法抵达ER。
配置IDC侧路由到华为云的路由。
IP地址前缀列表 IP地址前缀列表是一种包含一组路由信息过滤规则的过滤器,用户可以在规则中定义IP地址前缀和掩码长度范围,用于匹配路由信息的目的网段地址或下一跳地址。 地址前缀列表可以应用在各种动态路由协议中,对路由协议发布和接收的路由信息进行过滤。
建议您在VPC内单独规划一个连接企业路由器的子网,为了确保子网内预留足够的系统占用IP、企业路由器占用IP,子网的掩码值范围需要小于等于28,比如192.168.25.0/28。 虚拟私有云:vpc-A 子网:subnet-A01 配置连接侧路由 可选参数。
支持单字段排序,排序字段有[id,name,description,created_at,updated_at],不支持多字段排序。 调用方法 请参见如何调用API。
202 表2 响应Body参数 参数 参数类型 描述 flow_log FlowLog object 流日志详情 request_id String 请求id 表3 FlowLog 参数 参数类型 描述 id String 流日志ID name String 流日志名称 description
地址类型:请根据实际情况选择,本示例为IPv4。
String 关联唯一标识 project_id String 项目ID er_id String 企业路由器id route_table_id String 路由表唯一标识 attachment_id String 连接唯一标识 resource_type String vpc:虚拟私有云
202 表2 响应Body参数 参数 参数类型 描述 flow_log FlowLog object 流日志详情 request_id String 请求id 表3 FlowLog 参数 参数类型 描述 id String 流日志ID name String 流日志名称 description
Body参数 参数 参数类型 描述 route_table RouteTable object 路由表 request_id String 请求ID 表3 RouteTable 参数 参数类型 描述 id String 路由表的id name String 路由表名字 description
IPv4网段:VPC网段与客户IDC侧网段不能重复,请根据实际情况填写,本示例为192.168.0.0/16。 子网名称:请根据实际情况填写,本示例为subnet-A01。
参数 参数类型 描述 id String 关联唯一标识 最大长度:36 route_table_id String 路由表唯一标识 最大长度:36 attachment_id String 连接唯一标识 最大长度:36 resource_type String vpc:虚拟私有云
最小长度:1 最大长度:128 attachment_id 否 Array 连接ID resource_type 否 Array vpc:虚拟私有云 vpn:vpn网关 vgw:云专线的虚拟网关 peering:对等连接,通过云连接CC加载不同区域的企业路由器来创建“对等连接(Peering
String 请求ID 表5 RouteTable 参数 参数类型 描述 id String 路由表的id name String 路由表名字 description String 描述信息 is_default_association Boolean 是否为默认关联的路由表 缺省值
attachment_id 否 String 连接唯一标识 route_policy 否 ImportRoutePolicy object 入方向路由策略 表3 ImportRoutePolicy 参数 是否必选 参数类型 描述 import_policy_id 否 String 入方向Ipv4
200 表2 响应Body参数 参数 参数类型 描述 flow_log FlowLog object 流日志详情 request_id String 请求id 表3 FlowLog 参数 参数类型 描述 id String 流日志ID name String 流日志名称 description
It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted during use to ensure
instance EnterpriseRouter object 企业路由器 request_id String 请求ID 表3 EnterpriseRouter 参数 参数类型 描述 id String 企业路由器实例的ID name String 企业路由器实例名称 description
It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted during use to ensure
FlowLog objects 流日志详情 request_id String 请求ID page_info PageInfo object 分页查询的信息 表4 FlowLog 参数 参数类型 描述 id String 流日志ID name String 流日志名称 description