多平台统一管理软件接口,如何实现多平台统一管理软件接口
459
2022-09-21
华为ensp综合实验(包含链路聚合、lacp、dhcp、单臂路由)(ensp中单臂路由)
具体命令如下!
1.首先在三台交换机创建vlan并且将各个接口加入到各自vlan,单数为vlan10,复数为vlan20
sysun in en(关闭提示信息)vlan batch 10 20(创建vlan)exitint e0/0/1port link-type access port default vlan 10int e0/0/2port link-type access port default vlan 20
2.然后配置链路聚合和lacp,(之间是含有先后顺序的,先进入eth-trunk组,配置中继链路即允许所有vlan通过,然后配置lacp,最后再将接口加入到eth-trunk组中)
int Eth-Trunk 2port link-type trunk port trunk allow-pass vlan all mode lacp-static lacp timeout fast lacp preempt enable max active-linknumber 2bpdu enable qinterface Eth-Trunk 2trunkport Ethernet 0/0/3 to 0/0/5q
3.R1路由器的链路配置即单臂路由,(路由器的链路聚合配置首先加入eth-trunk组,使用命令(undo portswitch)让路由二层变三层。之后再将接口捆绑起来,最后配置单臂路由)在AR1配置dhcp使pc机可以自动获得IP地址
* 4.其他路由器的链路聚合都是同样的操作,先进入eth-trunk组让二层变三层,然后配置ip地址,指路由**
(ar1)[Huawei]int Eth-Trunk 3 [Huawei-Eth-Trunk3]undo portswitch [Huawei-Eth-Trunk3]trunkport GigabitEthernet 4/0/0Info: This operation may take a few seconds. Please wait for a moment...done.[Huawei-Eth-Trunk3]trunkport GigabitEthernet 0/0/2Info: This operation may take a few seconds. Please wait for a moment...done.[Huawei-Eth-Trunk3]ip add 12.0.0.1 24[Huawei-Eth-Trunk3]q[Huawei]ip route-static 0.0.0.0 0.0.0.0 12.0.0.2
(ar2)[Huawei]int Eth-Trunk 3 [Huawei-Eth-Trunk3]undo portswitch [Huawei-Eth-Trunk3]trunkport g4/0/0Info: This operation may take a few seconds. Please wait for a moment...done.[Huawei-Eth-Trunk3]trunkport g0/0/0Info: This operation may take a few seconds. Please wait for a moment...done.[Huawei-Eth-Trunk3]ip add 12.0.0.2 24[Huawei-Eth-Trunk3]q[Huawei]int Eth-Trunk 4 [Huawei-Eth-Trunk4]undo portswitch [Huawei-Eth-Trunk4]trunkport g0/0/1Info: This operation may take a few seconds. Please wait for a moment...done.[Huawei-Eth-Trunk4]trunkport g0/0/2Info: This operation may take a few seconds. Please wait for a moment...done.[Huawei-Eth-Trunk4]ip add 23.0.0.2 24[Huawei-Eth-Trunk4]q[Huawei]ip route-static 192.168.10.0 24 12.0.0.1[Huawei]ip route-static 192.168.20.0 24 12.0.0.1‘
(ar3)
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。
发表评论
暂时没有评论,来抢沙发吧~