
# 设置三层对接子接口interfaces<interface_number>.<sub_number>description <interface_desc>dot1q termination vid <vlan id>ip address <subinterface_ipaddress><subinterface_netmask>speed <interface_speed>duplex fullundo negotiation autocommit# 设置 eBGPbgp <as_number>router-id <route_id>peer <bgp_peer_address> as-number<bgp_peer_as_number>peer <bgp_peer_address> password cipher<bgp_auth_key>peer <bgp_peer_address> description<bgp_desc>ipv4-family unicastpeer <bgp_peer_address> enablecommit# 设置 eBGP 的BFD配置bgp <as_number>router-id <route_id>peer <bgp_peer_address> bfd min-tx-interval1000 min-rx-interval 1000 detect-multiplier 3
# 设置物理接口interfaces<interface_number>description<interface_desc>port link-typetrunkundo shutdownspeed<interface_speed>duplex fullundo negotiationautostp disable ** (****关闭****stp****生成树协议****)**commit# 设置虚拟通道vlan<subinterface_vlanid>description<subinterface_desc>#设置逻辑接口interface Vlanif<subinterface_vlanid>description <subinterface_desc>ip address<subinterface_ipaddress> <subinterface_netmask>#配置接口 VLANinterfaces<interface_number>port trunkallow-pass vlan <subinterface_vlanid>commit# 设置 eBGPbgp<as_number>router-id<route_id>peer<bgp_peer_address> as-number <bgp_peer_as_number>peer<bgp_peer_address> password cipher <bgp_auth_key>peer<bgp_peer_address> description <bgp_desc>ipv4-familyunicastpeer<bgp_peer_address> enable# 设置 eBGP 的BFD配置bgp <as_number>router-id <route_id>peer <bgp_peer_address> bfd min-tx-interval1000 min-rx-interval 1000 detect-multiplier 3commit
文档反馈