tencent cloud


Cisco C Series Switches

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. Using the layer-3 sub-interfaces to connect to Tencent Cloud is recommended.


    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
    interfaces <interface_number>
    description <interface_desc>
    no shutdown
    no switchport
    speed <interface_speed>
    duplex full
    no negotiation auto
    # Configure layer 3 sub-interfaces
    interface  interface-number.subnumber
    description <vlan_description>
    encapsulation dot1q <vlanid>
    ip address <subinterface_ipaddress> <subinterface_netmask>
    bfd interval <value> min_rx <value> multiplier <value> //BFD parameter
    # Set eBGP 
    router bgp <as_number>
    bgp router-id <router_id>
    neighbor <bgp_peer_address> remote-as <bgp_peer_as_number>
    neighbor <bgp_peer_address> password encrypted <bgp_auth_key>
    neighbor <bgp_peer_address> description <bgp_peer_desc>
    neighbor <bgp_peer_address> activate
    neighbor <bgp_peer_address> fall-over bfd single-hop //Configure BFD for BGP
    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