tencent cloud

文档反馈

华为 NE 系列路由器

最后更新时间:2024-01-13 16:02:36
    腾讯云专线通过物理专线将腾讯云和用户 IDC 连接,用户在腾讯云侧配置专线网关、专用通道等完成后,还需要在本地 IDC 进行路由配置。
    说明:
    本文仅介绍与腾讯云专线相关的用户本地路由配置项,其他不做介绍,如需了解其他内容请查阅本地路由器文档或者联系各自路由器商咨询。

    路由配置

    说明:
    通过 BGP 连通的对接参数,Keepalive 及 holdtime 参数推荐使用缺省配置;推荐 Holdtime 时间60 * 3=180秒(此时 keepalive 报文周期60s)。
    # 配置物理接口
    interfaces <interface_number>
    description <interface_desc>
    undo shutdown
    speed <interface_speed>
    duplex full
    undo negotiation auto
    commit
    
    # 配置虚拟通道
    interfaces <interface_number>.<subinterface_number>
    description <subinterface_desc>
    vlan-type dot1q <subinterface_vlanid>
    ip address <subinterface_ipaddress> <subinterface_netmask>
    commit
    
    # 配置静态路由 NQA 探测
    nqa test-instance <admin-name>< test-name>
     test-type icmp  //默认测试类型
     destination-address  x.x.x.x(nexthop-address )//探测地址
     interval seconds <value> //探测间隔
     timeout <value> //超时时间
     probe-count <value> //每次探测包数
     frequency <value> //探测实例执行间隔
     start now
    
    
    # 设置静态路由
    # 设置全局静态路由
    ip route-static <ip-address> <mask | mask-length> <nexthop-address> track nqa  <admin-name>< test-name>
    //<ip-address>为用户需要访问 Tencent 网络服务的目的网段
    例如:ip route-static 172.16.0.192 255.255.255.192 10.128.152.1 track nqa user test
    
    
    # 设置 VRF 下用户访问 Tencent 静态路由
    ip route-static <vpn-instance vpn-instance-name> <ip-address> <mask | mask-length> <nexthop-
    address> track nqa  <admin-name>< test-name>
    例如:ip route-static vpn-instance GLOBAL 9.0.0.0 255.0.0.0 10.128.152.1 track nqa user test
    Commit
    
    
    联系我们

    联系我们,为您的业务提供专属服务。

    技术支持

    如果你想寻求进一步的帮助,通过工单与我们进行联络。我们提供7x24的工单服务。

    7x24 电话支持