实验要求实现全网互通

R1的配置

<Huawei>
<Huawei>
<Huawei>sys
<Huawei>system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]sy
[Huawei]sysname R1
[R1]inter
[R1]interface g0/0/0
[R1-GigabitEthernet0/0/0]ip add
[R1-GigabitEthernet0/0/0]ip address 192.168.80.1 24
[R1]interface g0/0/2
[R1-GigabitEthernet0/0/2]ip add
[R1-GigabitEthernet0/0/2]ip address 192.168.90.1 24
R1-GigabitEthernet0/0/2]int g0/0/1
[R1-GigabitEthernet0/0/1]ip add
[R1-GigabitEthernet0/0/1]ip address 192.168.100.1 24
[R1]ip rou
[R1]ip route-s
[R1]ip route-static 192.168.70.0 24 192.168.90.2
[R1]ip route-static 192.168.70.0 24 192.168.100.2 pre 70
[R1] ip rou
[R1]ip route
[R1]ip route-static 192.168.0.0 16 192.168.80.254

R2的配置

<Huawei>sys
<Huawei>system-view sys
<Huawei>system-vie
<Huawei>system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]sys R2
[R2]inter
[R2]interface g0/0/0
[R2-GigabitEthernet0/0/0]ip add
[R2-GigabitEthernet0/0/0]ip address 192.168.90.2 24
R2-GigabitEthernet0/0/0]int g0/0/1
[R2-GigabitEthernet0/0/1]ip
[R2-GigabitEthernet0/0/1]ip a
[R2-GigabitEthernet0/0/1]ip addres
[R2-GigabitEthernet0/0/1]ip address 192.168.120.1 24
[R2]ip rou
[R2]ip route-s
[R2]ip route-static 192.168.0.0 16 192.168.90.1
[R2]ip route-static 192.168.70.0 24 192.168.120.2

R3 的配置

<Huawei>sys
<Huawei>system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]sys E3
[E3]sys R3
[R3]inter
[R3]interface g0/0/1
[R3-GigabitEthernet0/0/1]ip add
[R3-GigabitEthernet0/0/1]ip address 192.168.110.1 24
[R3-GigabitEthernet0/0/1]int g0/0/0
[R3-GigabitEthernet0/0/0]ip add
[R3-GigabitEthernet0/0/0]ip address 192.168.100.2 24
[R3]ip route-static 192.168.70.0 24 192.168.110.2
[R3]ip route-static 192.168.0.0 16 192.168.100.1

R4 的配置

<Huawei>sys
<Huawei>system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]sys
[Huawei]sysname R4
[R4]inter
[R4]interface g0/0/1
[R4-GigabitEthernet0/0/1]ip add
[R4-GigabitEthernet0/0/1]ip address 192.168.110.2 24
[R4-GigabitEthernet0/0/1]int
[R4-GigabitEthernet0/0/1]int g0/0/0
[R4-GigabitEthernet0/0/0]ip ad
[R4-GigabitEthernet0/0/0]ip address 192.168.120.2 24
[R4-GigabitEthernet0/0/0]q
[R4]inter
[R4]interface g0/0/2
[R4-GigabitEthernet0/0/2]ip add
[R4-GigabitEthernet0/0/2]ip address 192.168.70.2 24
[R4]ip route-static 0.0.0.0 0 192.168.110.1
[R4]ip route-static 0.0.0.0 0 192.168.120.1

交换机SW1配置

<Huawei>sys
<Huawei>system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]sy
[Huawei]sysname SW1
[SW1]vlan ba
[SW1]vlan batch 10 20 30 40 50 60 80
[SW1]interface e0/0/1
[SW1-Ethernet0/0/1]p l a
[SW1-Ethernet0/0/1]p d v 10
SW1-Ethernet0/0/1]
[SW1-Ethernet0/0/1]q
[SW1]int
[SW1]interface e0/0/2
[SW1-Ethernet0/0/2]p l a
[SW1-Ethernet0/0/2]p d v 20
[SW1]inter
[SW1]interface e0/0/6
[SW1-Ethernet0/0/6]p l t
[SW1-Ethernet0/0/6]p t a v a
[SW1]int Eth-Trunk 1
[SW1-Eth-Trunk1]tru
[SW1-Eth-Trunk1]trunkport e0/0/4
[SW1-Eth-Trunk1]trunkport e0/0/3
[SW1-Eth-Trunk1]trunkport e0/0/5
[SW1]int Eth-t
[SW1]int Eth-Trunk 1
[SW1-Eth-Trunk1]m l

SW2的配置

<Huawei>sys
<Huawei>system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]sys SW2
[SW2]
Apr  7 2021 14:27:44-08:00 SW2 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
.191.3.1 configurations have been changed. The current change number is 4, the c
hange loop count is 0, and the maximum number of records is 4095.
[SW2]
[SW2]
[SW2]vlan b
[SW2]vlan batch 30 40
[SW2]interface e0/0/1
[SW2-Ethernet0/0/1]p l a
[SW2-Ethernet0/0/1]p d v 30
[SW2-Ethernet0/0/1]q
[SW2]interface e0/0/2
[SW2-Ethernet0/0/2]p l a
[SW2-Ethernet0/0/2]p d v 40
[SW2]inter
[SW2]interface e0/0/9
[SW2-Ethernet0/0/9]p l t
[SW2]int e
[SW2]int Eth-t
[SW2]int Eth-Trunk 1
[SW2-Eth-Trunk1]t
[SW2-Eth-Trunk1]trunkport e0/0/5
[SW2-Eth-Trunk1]trunkport e0/0/3
[SW2-Eth-Trunk1]p l t
[SW2-Eth-Trunk1]p t a v a
[SW2]int Eth-Trunk 2
[SW2-Eth-Trunk2]tru
[SW2-Eth-Trunk2]trunkport e0/0/7
[SW2-Eth-Trunk2]trunkport e0/0/4
[SW2-Eth-Trunk2]trunkport e0/0/8
[SW2-Eth-Trunk2]p l t
[SW2-Eth-Trunk2]p t a v a

SW3的配置

<Huawei>sys
<Huawei>system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]sys
[Huawei]sysname SW3
[SW3]vlan batch 10 20 30 40 50 60
[SW3]interface e0/0/5
[SW3-Ethernet0/0/5]p l a
[SW3-Ethernet0/0/5]p d v 50
[SW3-Ethernet0/0/5]q
[SW3]interface e0/0/6
[SW3-Ethernet0/0/6]p l a
[SW3-Ethernet0/0/6]p d v 60
[SW3]interface e0/0/1
[SW3-Ethernet0/0/1]p l t
[SW3-Ethernet0/0/1]p t a v a
[SW3]int Eth-Trunk 2
[SW3-Eth-Trunk2]trunkport e0/0/4
[SW3-Eth-Trunk2]trunkport e0/0/2
[SW3-Eth-Trunk2]p l t
[SW3-Eth-Trunk2]p t a v a

SW4的配置

<Huawei>sys
<Huawei>system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]sys SW4
[SW4]
Apr  7 2021 14:53:48-08:00 SW4 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
.191.3.1 configurations have been changed. The current change number is 4, the c
hange loop count is 0, and the maximum number of records is 4095.
[SW4]
[SW4]
[SW4]int
[SW4]interface g0/0/1
[SW4-GigabitEthernet0/0/1]p l t
[SW4-GigabitEthernet0/0/1]p t a v a
[SW4]vlan 10 20 30 40 50 60 80
[SW4-Vlanif10]
Apr  7 2021 15:21:09-08:00 SW4 %%01IFNET/4/IF_STATE(l)[3]:Interface Vlanif10 hasturned into UP state.
[SW4-Vlanif10]ip add
[SW4-Vlanif10]ip address 192.168.10.254 24
[SW4]int Vlanif 20
[SW4-Vlanif20]
Apr  7 2021 15:21:32-08:00 SW4 %%01IFNET/4/IF_STATE(l)[5]:Interface Vlanif20 hasturned into UP state.
[SW4-Vlanif20]ip ad
[SW4-Vlanif20]ip address 192.168.20.254 24
[SW4]int Vlanif 30
[SW4-Vlanif30]ip address 192.168.30.254 24
[SW4]int Vlanif 40
[SW4-Vlanif40]ip address 192.168.40.254 24
[SW4]int Vlanif 50
[SW4-Vlanif50]ip address 192.168.50.254 24
[SW4]int Vlanif 60
[SW4-Vlanif60]ip address 192.168.60.254 24
[SW4]int g0/0/4
[SW4-GigabitEthernet0/0/4]p l a
[SW4-GigabitEthernet0/0/4]p d v 80
[SW4]int Vlanif 80
[SW4-Vlanif80]ip address 192.168.80.254 24
[SW4]interface g0/0/2
[SW4-GigabitEthernet0/0/2]p l t
[SW4-GigabitEthernet0/0/2]p t a v a
[SW4]interface g0/0/3
[SW4-GigabitEthernet0/0/3]p l t
[SW4-GigabitEthernet0/0/3]p t a v a
[SW4]ip route-static 0.0.0.0 0 192.168.80.254
ip route-static 0.0.0.0 0 192.168.80.1

三层交换机和lacp链路聚合相关推荐

  1. 华为LACP链路聚合配置

    华为LACP链路聚合配置 链路聚合原理:链路聚合的原理是将一组相同属性的物理接口捆绑在一起为一个逻辑接口来增加带宽和可靠性的一种方法.有以下优势: 增加带宽.提高冗余(提高可靠性).负载分担.节省成本 ...

  2. LACP链路聚合-基础篇

    一.基本概念 系统LACP优先级 系统LACP优先级是为了区分两端设备优先级的高低而配置的参数.LACP模式下,两端设备所选择的活动接口必须保持一致,否则链路聚合组就无法建立.此时可以使其中一端具有更 ...

  3. 三层交换机如何实现链路聚合

    目录 一. 链路聚合简介 (一)三层链路聚合与二层链路聚合区别 (二)三层链路聚合注意点 二.配置步骤及命令 一. 链路聚合简介 端口绑定技术:链路聚合(Link Aggregation) 是将-组物 ...

  4. LACP链路聚合实验分析

    实验分析链路聚合的优点 两交换机间存在多根线相连链路(没有配置以太网链路聚合) 此时,两个交换机stp端口角色对比 可以实现冗余性,转发状态的链路出现故障,其他备份链路通过stp协议选举端口角色,重新 ...

  5. 华为设备链路聚合(LACP模式)

    配置要求: SW1与SW2通过G0/0/1.G0/0/2.G0/0/3的链路聚合进行连接,链路聚合要有两条活动链路,一条冗余链路.在SW1上配置vlan10:1.1.1.254/24的网关,并将vla ...

  6. 链路聚合(动态捆绑链路)、负载均衡详解、全双工与半双工区别、LACP优先级详解(附图)

    目录 一.链路捆绑优点: 二.链路聚合方式: (1)手工静态绑定: (2)动态协商: 全双工模式: 半双工模式: 三.链路聚合--负载均衡: 负载均衡简介: 配置命令: 案列: LACP优先级: 聚合 ...

  7. 链路聚合(Link Aggregation)与权重

    链路聚合(Link Aggregation)与权重 介绍 链路聚合通过聚合多条并行的物理链路,对上层协议表现为一条逻辑链路,来提高吞吐量和冗余性.常见的链路聚合技术有Cisco的Etherchanne ...

  8. 链路聚合-CISCO

    链路聚合又称端口聚合,端口捆绑,英文名port trunking.功能是将交换机的多个低带宽端口捆绑成一条高带宽链路,可以实现链路负载平衡.避免链路出现拥塞现象.通过配置,可通过两个三个或是四个端口进 ...

  9. 思科EtherChannel链路聚合

    CSDN话题挑战赛第2期https://marketing.csdn.net/p/7b6697fd9dd3795a268d1a6f2fe75012 参赛话题:学习笔记https://activity. ...

最新文章

  1. nginx防止跨站 lnmp多站点安全设置之一
  2. php 上传大文件涉及的配置,upload_max_filesize,post_max_size
  3. linux c socket选项:SO_ERROR
  4. linux下一键安装jdk1.7.0_79和tomcat7
  5. python recv
  6. C# 窗体间传值(使用委托与自定义事件)
  7. java序列化深克隆_如何在内存序列化中使用Java深克隆对象
  8. 织梦DEDECMS网站留言板提交时验证码错误返回空白页的解决办法
  9. 哈工大博士历时半年整理的《Pytorch常用函数函数手册》开放下载!内含200余个函数!...
  10. 【OpenCV 例程200篇】67. 空间域图像增强的综合应用
  11. Java事件侦听器函数_SWT 计算器 按钮事件监听 获取按钮text值
  12. Mac系统如何删除.DS_Store文件且不再生
  13. JetBrains注册码计算(IntelliJ IDEA 15.0注册码激活)
  14. IE6下链接onclick事件处理中的请求被aborted
  15. lol登录服务器时显示乱码,lol服务器变成乱码 | 手游网游页游攻略大全
  16. Linux 误删文件后恢复文件
  17. matlab二维正态分布图,MATLAB二维正态分布图
  18. [转载]Ext.form.BasicForm getValues()和getFie_-Chaz-_新浪博客
  19. 开发一个套crm系统软件需要多少钱
  20. 高防IP有什么优势?

热门文章

  1. 工作中的完美主义 感悟_如何克服设计中的完美主义
  2. 河道中心线提取、平均宽度计算(Arcgis+CAD)
  3. WinCC 7.0 安装及使用过程部分注意事项
  4. vs编译时WinSock2.h级ws2def.h大量报错
  5. 【8086汇编】从汇编源程序到可执行文件(masm + link工具链的使用)
  6. 【技术分享】备份路由器和交换机文件
  7. GPS从入门到放弃(十九)、精密星历(sp3格式)
  8. 笛卡儿积、自然连接、等值连接的区别
  9. java.io.FileNotFoundException关于使用Intellij Idea时系统找不到指定文件的解决方案
  10. Github客户端的下载与安装心得