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

陕西网页设计培训网站关键词排名优化系统

陕西网页设计培训,网站关键词排名优化系统,wordpress 模板 破解,中文域名网站BGP 一、简述二、常用命令总结三、实验 一、简述 二、常用命令总结 display bgp peer #查看 BGP 对等体 display bgp routing-table #查看 BGP 路由表#在R1上通过 network 命令发布路由 [R1]bgp 64513 [R1-bgp] network 10.1.1.1 24#在R2上将路由的下一跳地址修改为自身 [R2]…

BGP

  • 一、简述
  • 二、常用命令总结
  • 三、实验

一、简述

二、常用命令总结

display bgp peer #查看 BGP 对等体
display bgp routing-table	#查看 BGP 路由表#在R1上通过 network 命令发布路由
[R1]bgp 64513
[R1-bgp] network 10.1.1.1 24#在R2上将路由的下一跳地址修改为自身
[R2]bgp 64512
[R2-bgp] peer 10.0.3.3 next-hop-local	#向对等体10.0.3.3宣告自己知道的路由时,告诉它将路由的下一跳都改为我R2。
[R2-bgp] peer 10.0.4.4 next-hop-local

三、实验

背景
你是公司的网络管理员。公司的网络采用了 BGP 协议作为路由协议。公司的网络由多个自治系统组成,不同的分支机构使用了不同的 AS 号,现在你需要完成公司网络的搭建工作。在公司总部使用了 OSPF 作为 IGP,公司内部不同分支机构使用的是私有的 BGP AS 号。在完成网络搭建以后,你还需要观察 BGP 路由信息的传递。

拓扑
在这里插入图片描述

配置
R1

[V200R003C00]
#sysname R1
#
interface GigabitEthernet0/0/0ip address 10.0.1.1 255.255.255.0 
#
interface LoopBack0ip address 1.1.0.1 255.255.255.255 
#
interface LoopBack1ip address 1.1.1.1 255.255.255.0 
#
bgp 64513						#创建区域64513router-id 1.1.0.1				#和ospf类似,设置router-idpeer 2.2.0.2 as-number 64512 	#有个EBGP对等体,在区域64512peer 2.2.0.2 ebgp-max-hop 2 	#与这个对等体最大跳数设为2peer 2.2.0.2 connect-interface LoopBack0	#与这个对等体连接用LoopBack0接口#ipv4-family unicast	#默认的undo synchronization	#默认的network 1.1.1.0 255.255.255.0 peer 2.2.0.2 enable	#默认的
#
ip route-static 2.2.0.2 255.255.255.255 10.0.1.2
#
return

R2

[V200R003C00]
#sysname R2
#
interface GigabitEthernet0/0/0ip address 10.0.1.2 255.255.255.0 
#
interface GigabitEthernet0/0/1ip address 10.0.2.2 255.255.255.0 
#
interface LoopBack0ip address 2.2.0.2 255.255.255.255 
#
bgp 64512router-id 2.2.0.2peer 1.1.0.1 as-number 64513 peer 1.1.0.1 ebgp-max-hop 2 peer 1.1.0.1 connect-interface LoopBack0peer 3.3.0.3 as-number 64512 peer 3.3.0.3 connect-interface LoopBack0peer 4.4.0.4 as-number 64512 peer 4.4.0.4 connect-interface LoopBack0#ipv4-family unicastundo synchronizationpeer 1.1.0.1 enablepeer 3.3.0.3 enablepeer 3.3.0.3 next-hop-local peer 4.4.0.4 enablepeer 4.4.0.4 next-hop-local 
#
ospf 1 router-id 2.2.0.2 area 0.0.0.0 network 2.2.0.2 0.0.0.0 network 10.0.2.2 0.0.0.0 
#
ip route-static 1.1.0.1 255.255.255.255 10.0.1.1
#
return

R3

[V200R003C00]
#sysname R3
#
interface GigabitEthernet0/0/1ip address 10.0.2.3 255.255.255.0 
#
interface GigabitEthernet0/0/2ip address 10.0.3.3 255.255.255.0 
#
interface LoopBack0ip address 3.3.0.3 255.255.255.255 
#
bgp 64512router-id 3.3.0.3peer 2.2.0.2 as-number 64512 peer 2.2.0.2 connect-interface LoopBack0peer 4.4.0.4 as-number 64512 peer 4.4.0.4 connect-interface LoopBack0#ipv4-family unicastundo synchronizationpeer 2.2.0.2 enablepeer 4.4.0.4 enable
#
ospf 1 router-id 3.3.0.3 area 0.0.0.0 network 3.3.0.3 0.0.0.0 network 10.0.2.3 0.0.0.0 network 10.0.3.3 0.0.0.0 
#
return

R4

[V200R003C00]
#sysname R4
#
interface GigabitEthernet0/0/0ip address 10.0.4.4 255.255.255.0 
#
interface GigabitEthernet0/0/2ip address 10.0.3.4 255.255.255.0 
#
interface LoopBack0ip address 4.4.0.4 255.255.255.255 
#
bgp 64512router-id 4.4.0.4peer 2.2.0.2 as-number 64512 peer 2.2.0.2 connect-interface LoopBack0peer 3.3.0.3 as-number 64512 peer 3.3.0.3 connect-interface LoopBack0peer 5.5.0.5 as-number 64514 peer 5.5.0.5 ebgp-max-hop 2 peer 5.5.0.5 connect-interface LoopBack0#ipv4-family unicastundo synchronizationpeer 2.2.0.2 enablepeer 2.2.0.2 next-hop-local peer 3.3.0.3 enablepeer 3.3.0.3 next-hop-local peer 5.5.0.5 enable
#
ospf 1 router-id 4.4.0.4 area 0.0.0.0 network 4.4.0.4 0.0.0.0 network 10.0.3.4 0.0.0.0 
#
ip route-static 5.5.0.5 255.255.255.255 10.0.4.5
#
return

R5

[V200R003C00]
#sysname R5
#
interface GigabitEthernet0/0/0ip address 10.0.4.5 255.255.255.0 
#
interface LoopBack0ip address 5.5.0.5 255.255.255.255 
#
interface LoopBack1ip address 5.5.1.5 255.255.255.0 
#
bgp 64514router-id 5.5.0.5peer 4.4.0.4 as-number 64512 peer 4.4.0.4 ebgp-max-hop 2 peer 4.4.0.4 connect-interface LoopBack0#ipv4-family unicastundo synchronizationnetwork 5.5.1.0 255.255.255.0 peer 4.4.0.4 enable
#
ip route-static 4.4.0.4 255.255.255.255 10.0.4.4
#
return

总结

  • R2、 R3、 R4 之间基于 Loopback0 接口建立全互联的 IBGP 对等体关系:R2与R3、R2与R4;R3与R2、R3与R4;R4与R2、R4与R3。
  • 默认情况下, EBGP 连接允许的最大跳数为 1,这导致 EBGP 对等体之间只能使用直连链路建立 EBGP 对等体关系, 为使用环回口作为更新源需要手动修改 EBGP 连接允许的最大跳数(直连1个、环回口1个,共2个EBGP对等体连接)。
  • R3 上已经学习到 R1、 R5 上发布的 BGP 路由, 但是都是非有效路由, 这是因为它们的下一跳在 R3 上都不可达, 为此可以在 R2、 R4 上通过 next-hop-local 命令修改下一跳地址为 R2、 R4 的更新源地址。(R2告诉R3,将自己发给它的BGP路由的下一跳都改为R2自己,R4同理
  • 通过本次实验,有了更多理解,EBGP和IBGP之间通过对等体有一个大框架的路由,可以使用networkimport-route将本AS内路由导入bgp路由,进而在某一路由器下,ip路由表获得了bgp提供的一些路由。
    例如,本实验,在R1上通过bgp路由表导入ip路由的只有R5的loopback1,只有这两个的loopback1之间能ping通,而R1的ip路由表中没有到R3、R4的路由,所以无法ping通。
http://www.dtcms.com/wzjs/94647.html

相关文章:

  • 深圳市住房和建设局网站住房保障服务开淘宝店铺怎么运营推广
  • 有经验的南昌网站制作百度一下官网网址
  • 俄罗斯网站推广上海何鹏seo
  • 网站建设注意问题百度推广平台
  • 律师网站建设 优帮云自己如何制作一个网页
  • 网站做微信小程序seo如何进行优化
  • 怎么做网站注册名密码网站推广
  • 医生可以自己做网站吗关键词点击排名系统
  • 网站能不能用自己的电脑做服务器网站百度收录要多久
  • 湖南省交通建设质量安全监督管理局网站站长工具怎么关闭
  • 怎么做网站 知乎成人短期技能培训学校
  • 建设一个旅游网站毕业设计怎么创建个人网站
  • 做net网站北京seo做排名
  • 有没有专门做线下活动的网站品牌运营推广方案
  • 研究政府网站建设的意义厦门人才网最新招聘信息网
  • 安州区建设局网站百度快照是怎么做上去的
  • 鹤峰网站制作网站如何快速收录
  • 机械行业网站建设制作开发方案最近热点新闻事件
  • 手机网站建设行业现状百度秒收录神器
  • 有什么推荐做简历的网站怎么做外链
  • 建设网站学什么语言网站建设公司哪家好?该如何选择
  • 可以做来电名片的网站网站页面优化方案
  • 公司网站建设模板网络广告发布
  • 找外包做网站要多久成品网站货源1688在线
  • 直播是网站怎么做seo如何快速排名
  • 会计徐州seo建站
  • 知晓程序网站怎么做seo站长综合查询工具
  • 钟祥网站建设让顾客心动的句子
  • 制作 网站今天发生的重大新闻内容
  • 做网站怎么留接口北京seo学校