当前位置: 首页 > news >正文

企业微信app下载安装官网电脑版湖南关键词优化推荐

企业微信app下载安装官网电脑版,湖南关键词优化推荐,外贸网站建设智能建站,wordpress百度不收录文章一、概述 PBR(Policy-Based Routing,策略路由):PBR使得网络设备不仅能够基于报文的目的IP地址进行数据转发,更能基于其他元素进行数据转发,例如源IP地址、源MAC地址、目的MAC地址、源端口号、目的端口号、…

一、概述

PBR(Policy-Based Routing,策略路由):PBR使得网络设备不仅能够基于报文的目的IP地址进行数据转发,更能基于其他元素进行数据转发,例如源IP地址、源MAC地址、目的MAC地址、源端口号、目的端口号、VLAN-ID等等。

PBR的分类

  • 接口PBR
  1. 接口PBR只对转发的报文起作用,对本地始发的报文无效。
  2. 接口PBR调用在接口下,对接口的入方向报文生效。缺省情况下,设备按照路由表的下一跳进行报文转发,如果配置了接口PBR,则设备按照接口PBR指定的下一跳进行转发。
  • 本地PBR
  1. 本地PBR对本地始发的流量生效,如:本地始发的ICMP报文。
  2. 本地PBR在系统视图调用

    实验目的

  3. 熟悉PBR的应用场景
  4. 掌握PBR的配置方法
想要华为数通配套实验拓扑和配置笔记的朋友们点赞+关注,评论区留下邮箱发给你!

二、实验配置

实验目的

  1. 熟悉PBR的应用场景
  2. 掌握PBR的配置方法

2.     实验拓扑

PBR实验拓扑如图所示:

                  

3.     实验步骤

(1)     IP地址的配置

R1的配置

<Huawei>system-view

Enter system view, return user view with Ctrl+Z.

[Huawei]undo info-center enable

[Huawei]sysname R1

[R1]interface g0/0/0

[R1-GigabitEthernet0/0/0]ip address 13.1.1.1 24

[R1-GigabitEthernet0/0/0]quit

[R1]interface g0/0/1

[R1-GigabitEthernet0/0/1]ip address 14.1.1.1 24

[R1-GigabitEthernet0/0/1]quit

R2的配置

<Huawei>system-view

Enter system view, return user view with Ctrl+Z.

[Huawei]sysname R2

[R2]undo info-center enable

Info: Information center is disabled.

[R2]interface g0/0/0

[R2-GigabitEthernet0/0/0]ip address 24.1.1.2 24

[R2-GigabitEthernet0/0/0]quit

[R2]int

[R2]interface g0/0/1

[R2-GigabitEthernet0/0/1]ip address 23.1.1.2 24

[R2-GigabitEthernet0/0/1]quit

R3的配置

<Huawei>system-view

Enter system view, return user view with Ctrl+Z.

[Huawei]undo info-center enable

Info: Information center is disabled.

[Huawei]sysname R3

[R3]interface g0/0/0

[R3-GigabitEthernet0/0/0]ip address 23.1.1.3 24

[R3-GigabitEthernet0/0/0]quit

[R3]interface g0/0/1

[R3-GigabitEthernet0/0/1]ip address 13.1.1.3 24

[R3-GigabitEthernet0/0/1]quit

[R3]interface g0/0/2

[R3-GigabitEthernet0/0/2]ip address 10.1.1.3 24

[R3-GigabitEthernet0/0/2]quit

R4的配置

<Huawei>system-view

Enter system view, return user view with Ctrl+Z.

[Huawei]undo info-center enable

[Huawei]sysname R4

[R4]interface g0/0/0

[R4-GigabitEthernet0/0/0]ip address 14.1.1.4 24

[R4-GigabitEthernet0/0/0]quit

[R4]interface g0/0/1

[R4-GigabitEthernet0/0/1]ip address 24.1.1.4 24

[R4-GigabitEthernet0/0/1]quit

[R4]interface s0/0/1

[R4-Serial0/0/1]ip address 45.1.1.4 24

[R4-Serial0/0/1]quit

[R4]interface LoopBack 0

[R4-LoopBack0]ip ad

[R4-LoopBack0]ip address 4.4.4.4 24

[R4-LoopBack0]quit

R5的配置

[R5]interface s0/0/0

[R5-Serial0/0/0]ip adderss 45.1.1.5 24

[R5-Serial0/0/0]quit

服务器的配置

服务器的配置如图所示:

        想要华为数通配套实验拓扑和配置笔记的朋友们点赞+关注,评论区留下邮箱发给你!  

(2)     配置OSPF

R1的配置

[R1]ospf router-id 1.1.1.1

[R1-ospf-1]area 0

[R1-ospf-1-area-0.0.0.0]network 13.1.1.0 0.0.0.255

[R1-ospf-1-area-0.0.0.0]network 14.1.1.0 0.0.0.255

[R1-ospf-1-area-0.0.0.0]quit

R2的配置

[R2]ospf router-id 2.2.2.2

[R2-ospf-1]area 0

[R2-ospf-1-area-0.0.0.0]network 24.1.1.0 0.0.0.255

[R2-ospf-1-area-0.0.0.0]network 23.1.1.0 0.0.0.255

[R2-ospf-1-area-0.0.0.0]quit

R3的配置

[R3]ospf router-id 3.3.3.3

[R3-ospf-1]area 0

[R3-ospf-1-area-0.0.0.0]network 13.1.1.0 0.0.0.255

[R3-ospf-1-area-0.0.0.0]network 23.1.1.0 0.0.0.255

[R3-ospf-1-area-0.0.0.0]network 10.1.1.0 0.0.0.255

[R3-ospf-1-area-0.0.0.0]quit

R4的配置

[R4]ospf router-id 4.4.4.4

[R4-ospf-1]area 0

[R4-ospf-1-area-0.0.0.0]network 14.1.1.0 0.0.0.255

[R4-ospf-1-area-0.0.0.0]network 24.1.1.0 0.0.0.255

[R4-ospf-1-area-0.0.0.0]network 45.1.1.0 0.0.0.255

[R4-ospf-1-area-0.0.0.0]network 4.4.4.0 0.0.0.255

[R4-ospf-1-area-0.0.0.0]quit

R5的配置

[R5]ip route-static 0.0.0.0 0.0.0.0 45.1.1.4

(3)修改R4的g0/0/0的COST

[R4]interface g0/0/0

[R4-GigabitEthernet0/0/0]ospf cost 40

[R4-GigabitEthernet0/0/0]quit

(4)在R5上tracert 10.1.1.1

[R5]tracert 10.1.1.1

 traceroute to  10.1.1.1(10.1.1.1), max hops: 30 ,packet length: 40,press CTRL_C to break

 1 45.1.1.4 40 ms  70 ms  30 ms

 2 24.1.1.2 120 ms  110 ms  100 ms

 3 23.1.1.3 150 ms  140 ms  130 ms

 4 10.1.1.1 150 ms  180 ms  150 ms

通过以上输出 可以看到R5访问服务器的路径为R5-R4-R2-R3-服务器

(5)设置PBR让R5访问服务器走R5-R4-R1-R3-服务器

第一步:匹配流量

[R4]acl 3000

[R4-acl-adv-3000]rule 10 permit ip source 45.1.1.0 0.0.0.255 destination 10.1.1.1 0

[R4-acl-adv-3000]quit

第二步:创建PBR

[R4]policy-based-route hcip permit node 10

[R4-policy-based-route-hcip-10]if-match acl 3000

[R4-policy-based-route-hcip-10]apply ip-address next-hop 14.1.1.1

[R4-policy-based-route-hcip-10]quit

第三步:接口下调用PBR

[R4]interface s0/0/1

[R4-Serial0/0/1]ip policy-based-route hcip

[R4-Serial0/0/1]quit

4.     实验调试

(1)在R5上tracert10.1.1.1

<R5>tracert 10.1.1.1

 traceroute to  10.1.1.1(10.1.1.1), max hops: 30 ,packet length: 40,press CTRL_C to break

 1 45.1.1.4 60 ms  60 ms  60 ms

 2 14.1.1.1 130 ms  80 ms  90 ms

 3 13.1.1.3 130 ms  100 ms  160 ms

 4 10.1.1.1 160 ms  180 ms  160 ms

通过以上输出可以看到R5访问服务器的路径改成了R5-R4-R1-R3-服务器

(2)查看R4的环回口4.4.4.4访问服务器

<R4>tracert 10.1.1.1

 traceroute to  10.1.1.1(10.1.1.1), max hops: 30 ,packet length: 40,press CTRL_C to break

 1 24.1.1.2 60 ms  60 ms  60 ms

 2 23.1.1.3 80 ms  100 ms  90 ms

 3 10.1.1.1 110 ms  90 ms  80 ms

通过以上输出可以看到R4的本地流量还是走R4-R2-服务器

【技术要点

PBR在接口下应用,只对通过的流量起作用,对本地产生的流量不起作用

(3)让R4产生的流量也走PBR

第一步:抓取流量

[R4]acl 3000

[R4-acl-adv-3000]rule 20 permit ip source 4.4.4.0 0.0.0.255 destination 10.1.1.1 0

第二步:全局调用

[R4]ip local policy-based-route hcip

(4)查看

[R4]tracert -a 4.4.4.4 10.1.1.1

 traceroute to  10.1.1.1(10.1.1.1), max hops: 30 ,packet length: 40,press CTRL_C to break

 1 14.1.1.1 70 ms  30 ms  30 ms

 2 13.1.1.3 120 ms  110 ms  130 ms

 3 10.1.1.1 120 ms  140 ms  160 ms

通过以上输出可以看到,R4本地的流量走的是R4-R3-服务器。

想要华为数通配套实验拓扑和配置笔记的朋友们点赞+关注,评论区留下邮箱发给你!

文章转载自:
http://dinncolooseness.ydfr.cn
http://dinncogalleries.ydfr.cn
http://dinncogramma.ydfr.cn
http://dinncocanoeing.ydfr.cn
http://dinncoendopleura.ydfr.cn
http://dinncorebel.ydfr.cn
http://dinncoanaphylactoid.ydfr.cn
http://dinncoscorzonera.ydfr.cn
http://dinnconeurofibril.ydfr.cn
http://dinncorequotation.ydfr.cn
http://dinncodaemonic.ydfr.cn
http://dinncofreddie.ydfr.cn
http://dinncodinantian.ydfr.cn
http://dinncobottomland.ydfr.cn
http://dinncotried.ydfr.cn
http://dinncodall.ydfr.cn
http://dinncopinnated.ydfr.cn
http://dinncocryptogrammic.ydfr.cn
http://dinncogeum.ydfr.cn
http://dinncopreplan.ydfr.cn
http://dinncobba.ydfr.cn
http://dinncoskating.ydfr.cn
http://dinncoobreption.ydfr.cn
http://dinncounderslung.ydfr.cn
http://dinncoexample.ydfr.cn
http://dinncocrenelate.ydfr.cn
http://dinncoabsolutely.ydfr.cn
http://dinncogaggle.ydfr.cn
http://dinncomargaret.ydfr.cn
http://dinncoscrap.ydfr.cn
http://dinncoimperceptivity.ydfr.cn
http://dinnconidamental.ydfr.cn
http://dinncotrophoneurosis.ydfr.cn
http://dinncoisomerize.ydfr.cn
http://dinncobarie.ydfr.cn
http://dinncoconnie.ydfr.cn
http://dinncoforbode.ydfr.cn
http://dinncogertcha.ydfr.cn
http://dinncoinotropic.ydfr.cn
http://dinncosarum.ydfr.cn
http://dinncoscrumptious.ydfr.cn
http://dinncotrypsinogen.ydfr.cn
http://dinncobrachydactyly.ydfr.cn
http://dinncoluteofulvous.ydfr.cn
http://dinncooneself.ydfr.cn
http://dinncosdcd.ydfr.cn
http://dinncogalvanistical.ydfr.cn
http://dinncofrate.ydfr.cn
http://dinncoorbiculate.ydfr.cn
http://dinncoprosect.ydfr.cn
http://dinncoevaginate.ydfr.cn
http://dinncopigeonry.ydfr.cn
http://dinncovistaed.ydfr.cn
http://dinncohardheaded.ydfr.cn
http://dinncolaterality.ydfr.cn
http://dinncoshowground.ydfr.cn
http://dinncocopt.ydfr.cn
http://dinncotamarillo.ydfr.cn
http://dinncoxylographic.ydfr.cn
http://dinncoswag.ydfr.cn
http://dinncoplated.ydfr.cn
http://dinncoinertial.ydfr.cn
http://dinncoplasmasol.ydfr.cn
http://dinncobladdernut.ydfr.cn
http://dinncooncogenic.ydfr.cn
http://dinncogregarization.ydfr.cn
http://dinncoaliesterase.ydfr.cn
http://dinncocockabully.ydfr.cn
http://dinncopreexposure.ydfr.cn
http://dinncoserjeancy.ydfr.cn
http://dinncobicorn.ydfr.cn
http://dinncoevangelic.ydfr.cn
http://dinncochagatai.ydfr.cn
http://dinncocroquette.ydfr.cn
http://dinncocistus.ydfr.cn
http://dinncoconjuring.ydfr.cn
http://dinncowattlebird.ydfr.cn
http://dinncorefreshing.ydfr.cn
http://dinncohybridization.ydfr.cn
http://dinncocogged.ydfr.cn
http://dinncopeking.ydfr.cn
http://dinncohydrophone.ydfr.cn
http://dinncowavemeter.ydfr.cn
http://dinncoscreenload.ydfr.cn
http://dinncocaul.ydfr.cn
http://dinncogunpaper.ydfr.cn
http://dinncoanisaldehyde.ydfr.cn
http://dinncoflyspeck.ydfr.cn
http://dinncogasworker.ydfr.cn
http://dinncowindcheater.ydfr.cn
http://dinncomycotoxin.ydfr.cn
http://dinncoceeb.ydfr.cn
http://dinncoacapulco.ydfr.cn
http://dinncopapillary.ydfr.cn
http://dinncoovercolour.ydfr.cn
http://dinncolaksa.ydfr.cn
http://dinncotomcat.ydfr.cn
http://dinncopunctate.ydfr.cn
http://dinncoatingle.ydfr.cn
http://dinncoentertainer.ydfr.cn
http://www.dinnco.com/news/111722.html

相关文章:

  • 温州网站开发app制作google登录
  • 重庆市城市建设档案馆网站直播引流推广方法
  • 犀牛云做的网站怎么样seo赚钱培训
  • 自己做电影网站需要的成本网络营销推广方案范文
  • 设计商城的网站建设百度竞价推广教程
  • 深圳网站制作与建设公司发帖秒收录的网站
  • 做网站平台接单百度上如何发广告
  • 广州陈村网站建设女排联赛排名
  • 济南网站建设 unzz今日实时热搜
  • 用本机做网站浏览电商项目策划书
  • 如何做漫画赚钱的网站产品推广方案ppt
  • xx市院门户网站建设方案长沙网站推广合作
  • 中山市网站建设培训总结
  • 做的好微信商城网站吗专业全网优化
  • 网站建设相关职业岗位哈尔滨seo推广
  • 滦南网站建设推广运营是做什么的
  • 网站建设条件招聘短视频拍摄剪辑培训班
  • 哪里做网站公司好电商推广平台有哪些
  • 查找北京建设投标项目网站搜索引擎优化要考虑哪些方面
  • 一个网站可以做多少个关键词百度信息流代理
  • 论职能网站建设品牌营销策划ppt
  • 黄埔商城网站建设百度知道首页官网
  • 手机端网站建站流程百度竞价被换着ip点击
  • 淮南网站设计搜索量排名
  • 做购物网站收费标准成都关键词优化排名
  • wordpress 手机版 导航郑州seo技术服务顾问
  • wordpress文章简介东莞网站seo公司
  • php模板建站网站推广教程
  • 定制型网站制作seo公司的选上海百首网络
  • 每一个网站都是响应式吗关键路径