tencent cloud

Juniper MX Series Routers

Download
聚焦模式
字号
最后更新时间: 2024-11-05 09:46:38
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.
Note:
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

Note:
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
Usage
commit

# 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
<subinterface_ipaddress>/<subinterface_netmask>
commit

# 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>
commit

# Configure BFD for eBGP
set protocols bgp group ebgp neighbor <bgp_peer_address> bfd-liveness-detection minimum-interval <value>

帮助和支持

本页内容是否解决了您的问题?

填写满意度调查问卷,共创更好文档体验。

文档反馈