| |
|
开发:
C++知识库
Java知识库
JavaScript
Python
PHP知识库
人工智能
区块链
大数据
移动开发
嵌入式
开发工具
数据结构与算法
开发测试
游戏开发
网络协议
系统运维
教程: HTML教程 CSS教程 JavaScript教程 Go语言教程 JQuery教程 VUE教程 VUE3教程 Bootstrap教程 SQL数据库教程 C语言教程 C++教程 Java教程 Python教程 Python3教程 C#教程 数码: 电脑 笔记本 显卡 显示器 固态硬盘 硬盘 耳机 手机 iphone vivo oppo 小米 华为 单反 装机 图拉丁 |
-> 系统运维 -> 华为认证专用模拟器 企业内部业务网 -> 正文阅读 |
|
[系统运维]华为认证专用模拟器 企业内部业务网 |
规划网络要求如下 1、 Layer 2:(50%) ????????????? 1. PC1、PC2属于VLAN 10; Client1、2属于VLAN20; ????????????? 2. LSW2和LSW3的G0/0/23和G0/0/24接口配置链路聚合,配置手工负载分担、基于源目MAC地址负载分担。 ????????????? 3. LSW1、LSW2、LSW3链路配置Trunk,允许除VLAN1外的所有vlan通过。 ????????????? 4. 配置MSTP,VLAN10在instance10中,LSW2为Root;VLAN20在instance20中,LSW3为 Root;MSTP的region name是HUAWEI,revision-level为12。 ????????????? 5. AR1和AR2的VRRP虚拟IP地址为10.1.1.254,为PC1、PC2的网关;AR1会周期性发送SenderIP为10.1.1.254 、源MAC为00-00-5E-00-01-01的免费ARP,PC1、PC2与网关之间的数据包封装在VLAN10中(PC1、PC2收发untag帧) ????????????? 6. AR1和AR2的VRRP虚拟IP地址为10.1.2.254 ,为Client1、Client2的网关;AR2会周期性发送SenderIP为10.1.2.254 、源MAC为00-00-5E-00-01-02的免费ARP,Client1、Client2与网关之间的数据包封装在VLAN10中(Client1、Client2收发untag帧) 2、IGP:(10%) ????????????? 1. AR1、AR2属于内网运行OSPF协议网络运行OSPF进程1、区域0; 4.? Internet 接入:(30%) ????????????? 1. R3模拟Internet设备,其设备上存在114.1.1.1的地址; ????????????? 2. AR1配置静态的默认路由访问R3,下一跳为10.1.13.3 。该默认路由要与AR1-AR8链路的BFD状态绑定(AR1的对端设备不支持BFD),感知故障的时间小于150ms ????????????? 3. AR2配置静态的默认路由访问R3,下一跳为10.1.23.3 。该默认路由要与AR2-AR8链路的NQA ICMP测试绑定,每隔3s测试执行1次 ????????????? 4. 内网的所有路由器可以通过默认路由访问R3,AR1-AR3的链路断开时,AR1仍然可以访问ISP;AR2-AR3链路断开时,AR2仍然访问ISP 5. NAT:(10%) 笔记????????????? 1. 在AR1和AR2上配置NAT,使所有的办公区域网络的地址都可以访问Internet(AR3的114.1.1.1) eNSP ?华为认证专用模拟器 路由&交换(Datacom) 路由器: 技术点:? <Huawei>system-view ?? ??? ??? ??? ??? ??? ??? ??? ??? ??? ?--进入系统视图
2.LSW1的E0/0/1、E0/0/2 在VLAN10;E0/0/3、E0/0/4 在VLAN 20 检查: 2. LSW2和LSW3的G0/0/23和G0/0/24接口配置链路聚合,配置手工负载分担、基于源目MAC地址负载分担。 检查:?
STP生成树协议---->RSTP快速生成树协议--->MSTP多生成树协议 交换机创建Instance 10和Instance 20(实例10和实例20) [LSW1]stp mode mstp ?? ??? ??? ??? ??? ??? ??? ??? ??? ??? ?--调整STP的模式:MSTP 在LSW2中Instance10为根桥;LSW3中Instance20为根桥; [LSW3]stp instance 20 root primary? 检查: 5. AR1和AR2的VRRP虚拟IP地址为10.1.1.254,为PC1、PC2的网关;AR1会周期性发送SenderIP为10.1.1.254 、源MAC为00-00-5E-00-01-01的免费ARP,PC1、PC2与网关之间的数据包封装在VLAN10中(PC1、PC2收发untag帧) 解法: AR1: [AR1]interface GigabitEthernet 0/0/0.10?1 ?? ?G0/0/0.20 ?? ?VLAN20?? ?10.1.2.10/24 ID=2 10.1.2.254 B AR2: 检查:? [AR2]display vrrp brief?
静态路由 路由作用: 2、IGP:(10%) 规划IP地址 Interface ? ? ? ? ? ? ? ? ? ? ? ? IP Address/Mask ? ? ?Physical ? Protocol ? [AR1]ospf 1?? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ?--使能OSPF进程1 [AR2]display ip routing-table? Destination/Mask ? ?Proto ? Pre ?Cost ? ? ?Flags NextHop ? ? ? ? Interface ? ? ? ? 1.1.1.1/32 ?OSPF ? ?10 ? 1 ? ? ? ? ? D ? 10.1.1.10 ? ? ? GigabitEthernet0/0/0.10 3. ?Internet 接入:(30%)
[AR1]display bfd session all? [AR1]ip route-static 0.0.0.0 0.0.0.0 10.1.13.3 track bfd-session 1 该默认路由要与AR2-AR3链路的NQA ICMP测试绑定,每隔3s测试执行1次 [AR2]display nqa results? [AR2]ip route-static 0.0.0.0 0.0.0.0 10.1.23.3 track nqa admin 123? 4. 内网的所有路由器可以通过默认路由访问R3,AR1-AR3的链路断开时,AR1仍然可以访问ISP;AR2-AR3链路断开时,AR2仍然访问ISP 提示:? 5. NAT:(10%) NAT(Network address transulation) 方法:? AR1和AR2连接的办公区网络(10.1.1.0/24和10.1.2.0/24) [AR1]acl 2000?
具体解法解法: 1、 Layer 2:(50%) ??????????? 1. PC1、PC2属于VLAN 10; Client1、2属于VLAN20; ??????????? 2. LSW2和LSW3的G0/0/23和G0/0/24接口配置链路聚合,配置手工负载分担、基于源目MAC地址负载分担。 ??????????? 3. LSW1、LSW2、LSW3链路配置Trunk,允许除VLAN1外的所有vlan通过。 ??????????? 4. 配置MSTP,VLAN10在instance10中,LSW2为Root;VLAN20在instance20中,LSW3为 Root;MSTP的region name是HUAWEI,revision-level为12。 [Huawei]sys LSW1?????????????????????????????????????????????????????????????????????????? ?????????????????????????????????????????????? [LSW1]vlan batch 10 20 ??????????????????????????????????????????????????????????????? ????????????????????????????????????????????????????????????????????????????????? --创建VLAN 10 和 20 Info: This operation may take a few seconds. Please wait for a moment...done. [LSW1]interface e0/0/1 [LSW1-Ethernet0/0/1]port link-type access????????????????????????????????? ????????????????????????????????????????????????????????????????????? -????????? --配置端口的类型:Access [LSW1-Ethernet0/0/1]port default vlan 10 ????????????????????????????????? ????????????????????????????????????????????????????????????????????????????????? --端口划分的VLAN-ID(10) [LSW1-Ethernet0/0/1]quit [LSW1]interface e0/0/2 [LSW1-Ethernet0/0/2]port li ac [LSW1-Ethernet0/0/2]po de vlan 10 [LSW1-Ethernet0/0/2]quit [LSW1]int e 0/0/3 [LSW1-Ethernet0/0/3]po li ac [LSW1-Ethernet0/0/3]po de vlan 20 [LSW1-Ethernet0/0/3]quit? [LSW1]int e 0/ [LSW1-Ethernet0/0/4]po li ac [LSW1-Ethernet0/0/4]po de vlan 20 [LSW2]interface Eth-Trunk 12 ????????????????????????????????????????????????????? ????????????????????????????????????????????????????????????????????????????????? --创建聚合端口ID(12) [LSW2-Eth-Trunk12]mode manual load-balance ????????????????????? ????????????????????????????????????????????????????????????????????????????????? --聚合端口支持手工负载分担 [LSW2-Eth-Trunk12]load-balance src-dst-mac ???????????????????????? ????????????????????????????????????????????????????????????????????? --聚合端口手工负载分担模式基于源目MAC [LSW2-Eth-Trunk12]trunkport GigabitEthernet 0/0/23 0/0/24 ????????????????????????????????????????????????????????????????????????????????? Info: This operation may take a few seconds. Please wait for a moment...done. [LSW3]interface Eth-Trunk 12 [LSW3-Eth-Trunk12]mode manual load-balance [LSW3-Eth-Trunk12]load-balance src-dst-mac [LSW3-Eth-Trunk12]trunkport GigabitEthernet 0/0/23 0/0/24 Info: This operation may take a few seconds. Please wait for a moment...done. [LSW1]interface Ethernet 0/0/5 [LSW1-Ethernet0/0/5]port link-type trunk ????????????????????????????????? ????????????????????????????????????????????????????????????????????????????????? --端口类型为trunk [LSW1-Ethernet0/0/5]port trunk allow-pass vlan all??????????????????? ????????????????????????????????????????????????????????????????????????????????? --trunk端口允许所有的VLAN经过 [LSW1-Ethernet0/0/5]undo port trunk allow-pass vlan 1??????????? ????????????????????????????????????????????????????????????????????????????????? --拒绝VLAN1经过Trunk [LSW1]interface e0/0/6 [LSW1-Ethernet0/0/6]po li tr [LSW1-Ethernet0/0/6]port tr all vlan all [LSW1-Ethernet0/0/6]undo po tr all vlan 1 [LSW2]interface GigabitEthernet 0/0/1 [LSW2-GigabitEthernet0/0/1]po li tr [LSW2-GigabitEthernet0/0/1]po tr all vlan all [LSW2-GigabitEthernet0/0/1]undo po tr all vlan 1 [LSW2-GigabitEthernet0/0/1]quit [LSW2]int g 0/0/2 [LSW2-GigabitEthernet0/0/2]po li tr [LSW2-GigabitEthernet0/0/2]po tr all vlan all [LSW2-GigabitEthernet0/0/2]undo po tr all vlan 1 [LSW2-GigabitEthernet0/0/2]quit [LSW2] [LSW2]int eth 12 [LSW2-Eth-Trunk12]po li tr [LSW2-Eth-Trunk12]po tr all vlan all [LSW2-Eth-Trunk12]undo po tr all vlan 1 [LSW3]interface GigabitEthernet 0/0/1 [LSW3-GigabitEthernet0/0/1]po li tr [LSW3-GigabitEthernet0/0/1]po tr all vlan all [LSW3-GigabitEthernet0/0/1]undo po tr all vlan 1 [LSW3-GigabitEthernet0/0/1]quit [LSW3]int g 0/0/2 [LSW3-GigabitEthernet0/0/2]po li tr [LSW3-GigabitEthernet0/0/2]po tr all vlan all [LSW3-GigabitEthernet0/0/2]undo po tr all vlan 1 [LSW3-GigabitEthernet0/0/2]quit [LSW3]int eth 12 [LSW3-Eth-Trunk12]po li tr [LSW3-Eth-Trunk12]po tr all vlan all [LSW3-Eth-Trunk12]undo po tr all vlan 1 [LSW2]vlan batch 10 20 Info: This operation may take a few seconds. Please wait for a moment...done. [LSW2]stp mode mstp [LSW2]stp region-configuration [LSW2-mst-region]region-name HUAWEI [LSW2-mst-region]revision-level 12 [LSW2-mst-region]instance 10 vlan 10 [LSW2-mst-region]instance 20 vlan 20 [LSW2-mst-region]active region-configuration Info: This operation may take a few seconds. Please wait for a moment...done. [LSW2]stp instance 10 root primary ??????????????????????????????????????????? ?????????????????????????????????????????????? --LSW2在Instance10中属于Root(主根) [LSW2]stp instance 20 root secondary ??????????????????????????????????????? ?????????????????????????????????????????????? --LSW2在Instance20中属于Secondary(备根) [LSW3]vlan batch 10 20 Info: This operation may take a few seconds. Please wait for a moment...done. [LSW3]stp mode mstp [LSW3]stp region-configuration [LSW3-mst-region]region-name HUAWEI [LSW3-mst-region]revision-level 12 [LSW3-mst-region]instance 10 vlan 10 [LSW3-mst-region]instance 20 vlan 20 [LSW3-mst-region]act region-configuration Info: This operation may take a few seconds. Please wait for a moment...done. [LSW3-mst-region]quit [LSW3]stp instance 10 root secondary [LSW3]stp instance 20 root primary [LSW1]stp mode mstp [LSW1]stp region-configuration [LSW1-mst-region]region-name HUAWEI [LSW1-mst-region]revision-level 12 [LSW1-mst-region]instance 10 vlan 10 [LSW1-mst-region]instance 20 vlan 20 [LSW1-mst-region]active region-configuration Info: This operation may take a few seconds. Please wait for a moment...done. ??????????? 5. AR1和AR2的VRRP虚拟IP地址为10.1.1.254,为PC1、PC2的网关;AR1会周期性发送SenderIP为10.1.1.254 、源MAC为00-00-5E-00-01-01的免费ARP,PC1、PC2与网关之间的数据包封装在VLAN10中(PC1、PC2收发untag帧) ??????????? 6. AR1和AR2的VRRP虚拟IP地址为10.1.2.254 ,为Client1、Client2的网关;AR2会周期性发送SenderIP为10.1.2.254 、源MAC为00-00-5E-00-01-02的免费ARP,Client1、Client2与网关之间的数据包封装在VLAN10中(Client1、Client2收发untag帧) [AR1]interface GigabitEthernet 0/0/0.10 [AR1-GigabitEthernet0/0/0.10]dot1q termination vid 10 [AR1-GigabitEthernet0/0/0.10]ip add 10.1.1.10 24 [AR1-GigabitEthernet0/0/0.10]quit [AR1]interface GigabitEthernet 0/0/0.20 [AR1-GigabitEthernet0/0/0.20]dot1q termination vid 20 [AR1-GigabitEthernet0/0/0.20]ip add 10.1.2.10 24 [AR2]interface GigabitEthernet 0/0/0.10 [AR2-GigabitEthernet0/0/0.10]dot1q termination vid 10 [AR2-GigabitEthernet0/0/0.10]ip add 10.1.1.20 24 [AR2-GigabitEthernet0/0/0.10]quit [AR2]interface GigabitEthernet 0/0/0.20 [AR2-GigabitEthernet0/0/0.20]dot1q termination vid 20 [AR2-GigabitEthernet0/0/0.20]ip add 10.1.2.20 24 配置虚拟网关: [AR1]interface GigabitEthernet 0/0/0.10 [AR1-GigabitEthernet0/0/0.10]vrrp vrid 1 virtual-ip 10.1.1.254 [AR1-GigabitEthernet0/0/0.10]vrrp vrid 1 priority 120 [AR2]interface GigabitEthernet 0/0/0.10 [AR2-GigabitEthernet0/0/0.10]vrrp vrid 1 virtual-ip 10.1.1.254 [AR1]interface GigabitEthernet 0/0/0.20 [AR1-GigabitEthernet0/0/0.20]vrrp vrid 2 virtual-ip 10.1.2.254 [AR2]interface GigabitEthernet 0/0/0.20 [AR2-GigabitEthernet0/0/0.20]vrrp vrid 2 virtual-ip 10.1.2.254 [AR2-GigabitEthernet0/0/0.20]vrrp vrid 2 priority 120 [AR2]display vrrp brief Total:2???? Master:1???? Backup:1???? Non-active:0????? VRID? State??????? Interface??????????????? Type???? Virtual IP???? ---------------------------------------------------------------- 1???? Backup?????? GE0/0/0.10?????????????? Normal?? 10.1.1.254???? 2???? Master?????? GE0/0/0.20?????????????? Normal?? 10.1.2.254???? [AR2] 2、IGP:(10%) ??????????? 1. AR1、AR2属于内网运行OSPF协议网络运行OSPF进程1、区域0; AR1: ospf 1 area 0 network 1.1.1.1 0.0.0.0 network 10.1.12.1 0.0.0.0 network 10.1.1.10 0.0.0.0 network 10.1.1.20 0.0.0.0 AR2: ospf 1 area 0 network 2.2.2.2 0.0.0.0 network 10.1.12.2 0.0.0.0 network 10.1.1.20 0.0.0.0 network 10.1.2.20 0.0.0.0 4.? Internet 接入:(30%) ??????????? 1. R3模拟Internet设备,其设备上存在114.1.1.1的地址; ??????????? 2. AR1配置静态的默认路由访问R3,下一跳为10.1.13.3 。该默认路由要与AR1-AR8链路的BFD状态邦德(AR1的对端设备不支持BFD),感知故障的时间小于150ms ??????????? 3. AR2配置静态的默认路由访问R3,下一跳为10.1.23.3 。该默认路由要与AR2-AR8链路的NQA ICMP测试绑定,每隔3s测试执行1次 ??????????? 4. 内网的所有路由器可以通过默认路由访问R3,AR1-AR3的链路断开时,AR1仍然可以访问ISP;AR2-AR3链路断开时,AR2仍然访问ISP [AR1]ip route-static 0.0.0.0 0.0.0.0 10.1.13.3 [AR1]bfd???? [AR1-bfd]quit [AR1]bfd 1 bind peer-ip 10.1.13.3 interface g4/0/0 one-arm-echo [AR1-bfd-session-1]min-echo-rx-interval 30 [AR1-bfd-session-1]detect-multiplier 4 [AR1-bfd-session-1]discriminator local 1 [AR1-bfd-session-1]commit [AR1]ospf 1 [AR1-ospf-1]default-route-advertise always [AR2]ip route-static 0.0.0.0 0.0.0.0 10.1.23.3 [AR2]nqa test-instance admin 123 [AR2-nqa-admin-123]test-type icmp [AR2-nqa-admin-123]destination-address ipv4 10.1.23.3 [AR2-nqa-admin-123]frequency 3 [AR2-nqa-admin-123]start now [AR2]ospf 1 [AR2-ospf-1]default-route-advertise always 5. NAT:(10%) ??????????? 1. 在AR1和AR2上配置NAT,使所有的办公区域网络的地址都可以访问Internet(AR3的114.1.1.1) [AR1]acl 2000 [AR1-acl-basic-2000]rule permit source 10.1.1.0 0.0.0.255 [AR1-acl-basic-2000]rule permit source 10.1.2.0 0.0.0.255 [AR1-acl-basic-2000]quit [AR1]interface GigabitEthernet 4/0/0 [AR1-GigabitEthernet4/0/0]nat outbound 2000 [AR2]acl 2000 [AR2-acl-basic-2000]rule permit source 10.1.1.0 0.0.0.255 [AR2-acl-basic-2000]rule permit source 10.1.2.0 0.0.0.255 [AR2-acl-basic-2000]quit [AR2]int g 4/0/0 [AR2-GigabitEthernet4/0/0]nat outbound 2000
|
|
|
上一篇文章 下一篇文章 查看所有文章 |
|
开发:
C++知识库
Java知识库
JavaScript
Python
PHP知识库
人工智能
区块链
大数据
移动开发
嵌入式
开发工具
数据结构与算法
开发测试
游戏开发
网络协议
系统运维
教程: HTML教程 CSS教程 JavaScript教程 Go语言教程 JQuery教程 VUE教程 VUE3教程 Bootstrap教程 SQL数据库教程 C语言教程 C++教程 Java教程 Python教程 Python3教程 C#教程 数码: 电脑 笔记本 显卡 显示器 固态硬盘 硬盘 耳机 手机 iphone vivo oppo 小米 华为 单反 装机 图拉丁 |
360图书馆 购物 三丰科技 阅读网 日历 万年历 2024年11日历 | -2024/11/16 6:21:16- |
|
网站联系: qq:121756557 email:121756557@qq.com IT数码 |