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 routing-options static route <customer_prefix/mask> next-hop <customer_interface_ip>
set routing-options static route <customer_prefix/mask>bfd-liveness-detection minimum-interval <value>
例如:set routing-options static route 1.1.1.0/24 next-hop 192.168.1.2 bfd-liveness-detection minimum-interval 1000
set routing-instances <vrf_name> routing-options static route <customer_prefix/mask> next-hop
<customer_interface_ip>
例如:set routing-instances cap routing-options static route 1.1.1.0/24 next-hop 192.168.1.2
commit
本页内容是否解决了您的问题?