tencent cloud


Juniper MX Series Routers

Last updated: 2022-05-10 16:58:07

    Direct Connect connects Tencent Cloud with the user IDC with a dedicated physical line. After configuring the Direct Connect gateway and dedicated tunnel on the Tencent Cloud side, users need to configure routes on the local IDC.


    This document only introduces the local routing configurations associated with Tencent Cloud Direct Connect. For other information, please see the local router documentation or consult your router provider.

    Routing Configuration


    It's recommended that you use the default configurations of Keepalive and holdtime for the BGP connection between the two peers. The holdtime is three times the interval at which keepalive messages are sent. The recommended holdtime value is 180s.

    # Configure ports
    set interfaces <interface_number> description <interface_desc>
    set interfaces <interface_number> vlan-tagging
    set interfaces <interface_number> link-mode full-duplex
    set interfaces <interface_number> speed <interface_speed> // Whether this command can be configured depends on whether the module supports it
    set interfaces <interface_number> gigether-options no-auto-negotiation // This command is recommended to be used in combination with
    # Configure virtual tunnels
    set interfaces <interface_number> unit <subinterface_number> vlan-id <subinterface_vlanid>
    set interfaces <interface_number> unit <subinterface_number> description <subinterface_desc>
    set interfaces <interface_number> unit <subinterface_number> family inet address
    # Set eBGP 
    set protocols bgp group ebgp type external // Define protocol group. Changing ebgp name is allowed.
    set protocols bgp group ebgp neighbor <bgp_peer_address> loacal-as <as_number> // If not configured, the global AS number will be used
    by default (set routing-options autonomous-system XX)
    set protocols bgp group ebgp neighbor <bgp_peer_address> peer-as <bgp_peer_as_number>
    set protocols bgp group ebgp neighbor <bgp_peer_address> authentication-key <bgp_auth_key>
    set protocols bgp group ebgp neighbor <bgp_peer_address> description <bgp_peer_desc>
    # Configure BFD for eBGP
    set protocols bgp group ebgp neighbor <bgp_peer_address> bfd-liveness-detection minimum-interval <value>
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support