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> //需要看模块是否支持
set interfaces <interface_number> gigether-options no-auto-negotiation //建议结合上一条命令
使用
commit
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 protocols bgp group ebgp type external //定义协议组,ebgp 名称可以更换
set protocols bgp group ebgp neighbor <bgp_peer_address> loacal-as <as_number> //如果不配
置,默认使用设备全局(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
set protocols bgp group ebgp neighbor <bgp_peer_address> bfd-liveness-detection minimum-interval <value>
本页内容是否解决了您的问题?