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

电商的网站怎么做的好网站设计的流程

电商的网站怎么做的好,网站设计的流程,别人建的网站怎么修改代码,wordpress小插件配置OSPF的Stub区域示例 组网图形 图1 配置OSPF Stub区域组网图 Stub区域简介配置注意事项组网需求配置思路操作步骤配置文件 Stub区域简介 Stub区域的ABR不传播它们接收到的自治系统外部路由,在Stub区域中路由器的路由表规模以及路由信息传递的数量都会大大减少…

配置OSPF的Stub区域示例

组网图形

图1 配置OSPF Stub区域组网图

  • Stub区域简介
  • 配置注意事项
  • 组网需求
  • 配置思路
  • 操作步骤
  • 配置文件

Stub区域简介

Stub区域的ABR不传播它们接收到的自治系统外部路由,在Stub区域中路由器的路由表规模以及路由信息传递的数量都会大大减少。为保证到自治系统外的路由依旧可达,该区域的ABR将生成一条缺省路由,并发布给Stub区域中的其他非ABR路由器。

例如H公司有一台设备通过单链路与骨干区域连接,这台设备的性能较低,路由表规格也比较小。对于这台设备来说,这个区域需要访问其他区域,或者是OSPF域外的网段的时候,它的路由的下一跳都是这个单链路所对应的下一跳核心设备的IP。所以这个区域没有必要学习到大量的OSPF外部路由,此时就可以考虑将该区域配置成Stub区域。这样就能减小这个区域的路由表规模,降低对设备性能资源的消耗。

配置注意事项
  • 骨干区域不能配置成Stub区域。
  • Stub区域内不能存在ASBR,即自治系统外部的路由不能在本区域内传播。
  • 虚连接不能穿过Stub区域。
  • 如果要将一个区域配置成Stub区域,则该区域中的所有路由器都要配置Stub区域属性。
  • 如果要将一个区域配置成Totally Stub区域,该区域中的所有路由器必须配置stub命令,而其中该区域的ABR路由器需要配置stub no-summary命令。
  • stub no-summary命令仅能用于ABR上,用于禁止ABR向Stub区域内发布3类LSA。在ABR上配置该命令以后该区域成为Totally Stub区域,这时区域内的路由表项进一步减少,只有区域内路由和ABR通告的一条缺省路由。
  • 本举例适用的产品包括:
    • V200R011C10及之后版本的S2720-EI
    • S3700-EI、S3700-HI
    • S5700-EI、S5700-HI、S5710-EI、S5710-HI、S5720-LI、S5720S-LI、S5720-SI、S5720S-SI、S5720I-SI、S5720-EI、S5720-HI、S5730-HI、S5730-SI、S5730S-EI、S5731-H、S5731-S、S5731S-S、S5731S-H、S5731-H-K、S5732-H、S5732-H-K、S2730S-S、S5735-L-I、S5735-L1、S300、S5735-L、S5735S-L1、S5735S-L、S5735S-L-M、S500、S5735-S、S5735S-S、S5735-S-I、S5735S-H、S5736-S
    • S6700-EI、S6720-LI、S6720S-LI、S6720-SI、S6720S-SI、S6720-EI、S6720S-EI、S6720-HI、S6730-H、S6730-S、S6730S-S、S6730S-H、S6730-H-K
    • S7703、S7706、S7712、S7710、S7703 PoE、S7706 PoE、S7905、S7908
    • S9703、S9706、S9712
  • 本举例中产品的默认适用版本请参见“案例适用的产品和版本说明”中的表1。

如需了解交换机软件配套详细信息,请点击Info-Finder,在选择产品系列或产品型号后,在“硬件中心”进行查询。

S5731-L和S5731S-L属于远端模块,不支持Web管理、YANG和命令行,仅支持通过中心交换机对其下发配置,相关操作请参见《S300, S500, S2700, S5700, S6700 V200R022C00 配置指南-设备管理》中的“智能极简园区网络配置(小行星方案)”。

组网需求

如图1所示,三台交换机之间运行OSPF协议,整个OSPF网络被划分为Area0和Area1两个区域,其中SwitchB作为ASBR与OSPF外部网络实现互通。现要求在不影响通信的情况下减少SwitchC上OSPF路由表的规模。

配置思路

采用如下的思路配置OSPF Stub区域:

  1. 在各交换机上配置OSPF基本功能,实现OSPF网络的基本互通。

  2. 在SwitchB上配置静态路由,并引入到OSPF路由表中,实现OSPF网络到外部网络路由可达。

  3. 配置Area1为Stub区域,初步减少SwitchC上OSPF路由表的规模。

  4. 在Area1的ABR(SwitchA)上配置禁止向Stub区域通告Type3 LSA,即将Area1配置为Totally Stub区域,达到最大限度减少SwitchC上OSPF路由表规模的目的。

操作步骤
  1. 配置各接口所属的VLAN

    # 配置SwitchA。SwitchB和SwitchC的配置与SwitchA类似。<HUAWEI> system-view
    [HUAWEI] sysname SwitchA
    [SwitchA] vlan batch 10 20
    [SwitchA] interface gigabitethernet 0/0/1
    [SwitchA-GigabitEthernet0/0/1] port link-type trunk
    [SwitchA-GigabitEthernet0/0/1] port trunk allow-pass vlan 10
    [SwitchA-GigabitEthernet0/0/1] quit
    [SwitchA] interface gigabitethernet 0/0/2
    [SwitchA-GigabitEthernet0/0/2] port link-type trunk
    [SwitchA-GigabitEthernet0/0/2] port trunk allow-pass vlan 20
    [SwitchA-GigabitEthernet0/0/2] quit

  2. 配置各VLANIF接口的IP地址

    # 配置SwitchA。SwitchB和SwitchC的配置与SwitchA类似。[SwitchA] interface vlanif 10
    [SwitchA-Vlanif10] ip address 192.168.0.1 24
    [SwitchA-Vlanif10] quit
    [SwitchA] interface vlanif 20
    [SwitchA-Vlanif20] ip address 192.168.1.1 24
    [SwitchA-Vlanif20] quit

  3. 配置OSPF基本功能

    # 配置SwitchA。[SwitchA] ospf 1 router-id 10.1.1.1
    [SwitchA-ospf-1] area 0
    [SwitchA-ospf-1-area-0.0.0.0] network 192.168.0.0 0.0.0.255
    [SwitchA-ospf-1-area-0.0.0.0] quit
    [SwitchA-ospf-1] area 1
    [SwitchA-ospf-1-area-0.0.0.1] network 192.168.1.0 0.0.0.255
    [SwitchA-ospf-1-area-0.0.0.1] quit
    [SwitchA-ospf-1] quit
    # 配置SwitchB。[SwitchB] ospf 1 router-id 10.2.2.2
    [SwitchB-ospf-1] area 0
    [SwitchB-ospf-1-area-0.0.0.0] network 192.168.0.0 0.0.0.255
    [SwitchB-ospf-1-area-0.0.0.0] quit
    [SwitchB-ospf-1] quit
    # 配置SwitchC。[SwitchC] ospf 1 router-id 10.3.3.3
    [SwitchC-ospf-1] area 1
    [SwitchC-ospf-1-area-0.0.0.1] network 192.168.1.0 0.0.0.255
    [SwitchC-ospf-1-area-0.0.0.1] quit
    [SwitchC-ospf-1] quit

  4. 配置SwitchB引入静态路由

    [SwitchB] ip route-static 10.0.0.0 8 null 0
    [SwitchB] ospf 1
    [SwitchB-ospf-1] import-route static type 1   //SwitchB作为ASBR,引入外部路由
    [SwitchB-ospf-1] quit
    # 查看SwitchC的OSPF路由表信息,可以看到OSPF路由表中存在AS外部的路由。[SwitchC] display ospf routingOSPF Process 1 with Router ID 10.3.3.3Routing TablesRouting for NetworkDestination        Cost  Type         NextHop         AdvRouter       Area192.168.1.0/24     1     Transit      192.168.1.2     10.3.3.3        0.0.0.1192.168.0.0/24     2     Inter-area   192.168.1.1     10.1.1.1        0.0.0.1Routing for ASEsDestination    Cost      Type       Tag         NextHop         AdvRouter10.0.0.0/8    3         Type1      1           192.168.1.1     10.2.2.2Total Nets: 3Intra Area: 1  Inter Area: 1  ASE: 1  NSSA: 0

  5. 配置Area1为Stub区域

    # 配置SwitchA。[SwitchA] ospf 1
    [SwitchA-ospf-1] area 1
    [SwitchA-ospf-1-area-0.0.0.1] stub   //配置area 1区域为stub区域,area 1内的所有路由器都要配置stub命令
    [SwitchA-ospf-1-area-0.0.0.1] quit
    [SwitchA-ospf-1] quit
    # 配置SwitchC。[SwitchC] ospf 1
    [SwitchC-ospf-1] area 1
    [SwitchC-ospf-1-area-0.0.0.1] stub   //配置area 1区域为stub区域,area 1内的所有路由器都要配置stub命令
    [SwitchC-ospf-1-area-0.0.0.1] quit
    [SwitchC-ospf-1] quit
    # 查看SwitchC的OSPF路由表信息,发现此时AS外部的路由10.0.0.0/8已经消失,但是多了一条通往区域外部的缺省路由。[SwitchC] display ospf routingOSPF Process 1 with Router ID 10.3.3.3Routing TablesRouting for NetworkDestination        Cost  Type       NextHop         AdvRouter       Area192.168.1.0/24     1     Transit    192.168.1.2     10.3.3.3         0.0.0.10.0.0.0/0          2     Inter-area 192.168.1.1     10.1.1.1         0.0.0.1192.168.0.0/24     2     Inter-area 192.168.1.1     10.1.1.1         0.0.0.1Total Nets: 3Intra Area: 1  Inter Area: 2  ASE: 0  NSSA: 0

  6. 配置Area1为Totally Stub区域

    [SwitchA] ospf 1
    [SwitchA-ospf-1] area 1
    [SwitchA-ospf-1-area-0.0.0.1] stub no-summary   //配置area 1区域为Totally Stub区域,area 1内的ABR要配置stub no-summary命令,其他设备配置stub命令
    [SwitchA-ospf-1-area-0.0.0.1] quit
    [SwitchA-ospf-1] quit

  7. 验证配置结果

    # 查看SwitchC的OSPF路由表,发现目的地址为192.168.0.0/24的区域间路由也消失了,仅保留了区域内的OSPF路由以及一条通往区域外部缺省路由。[SwitchC] display ospf routingOSPF Process 1 with Router ID 10.3.3.3Routing TablesRouting for NetworkDestination        Cost  Type       NextHop         AdvRouter       Area192.168.1.0/24     1     Transit    192.168.1.2     10.3.3.3         0.0.0.10.0.0.0/0          2     Inter-area 192.168.1.1     10.1.1.1         0.0.0.1Total Nets: 2Intra Area: 1  Inter Area: 1  ASE: 0  NSSA: 0

配置文件
  • SwitchA的配置文件#
    sysname SwitchA
    #
    vlan batch 10 20
    #
    interface Vlanif10ip address 192.168.0.1 255.255.255.0
    #
    interface Vlanif20ip address 192.168.1.1 255.255.255.0
    #
    interface GigabitEthernet0/0/1port link-type trunkport trunk allow-pass vlan 10
    #
    interface GigabitEthernet0/0/2port link-type trunkport trunk allow-pass vlan 20
    #
    ospf 1 router-id 10.1.1.1area 0.0.0.0network 192.168.0.0 0.0.0.255area 0.0.0.1network 192.168.1.0 0.0.0.255stub no-summary
    #
    return
    SwitchB的配置文件#
    sysname SwitchB
    #
    vlan batch 10
    #
    interface Vlanif10ip address 192.168.0.2 255.255.255.0
    #
    interface GigabitEthernet0/0/1port link-type trunkport trunk allow-pass vlan 10
    #
    ospf 1 router-id 10.2.2.2import-route static type 1area 0.0.0.0network 192.168.0.0 0.0.0.255
    #
    ip route-static 10.0.0.0 255.0.0.0 NULL0
    #
    return
    SwitchC的配置文件#
    sysname SwitchC
    #
    vlan batch 20
    #
    interface Vlanif20ip address 192.168.1.2 255.255.255.0
    #
    interface GigabitEthernet0/0/1port link-type trunkport trunk allow-pass vlan 20
    #
    ospf 1 router-id 10.3.3.3area 0.0.0.1network 192.168.1.0 0.0.0.255stub
    #
    return


文章转载自:
http://shetland.c7624.cn
http://bimetallic.c7624.cn
http://forefeet.c7624.cn
http://solon.c7624.cn
http://mrcp.c7624.cn
http://coach.c7624.cn
http://scorching.c7624.cn
http://valhalla.c7624.cn
http://intraventricular.c7624.cn
http://unhook.c7624.cn
http://blurb.c7624.cn
http://finnip.c7624.cn
http://flagship.c7624.cn
http://porphyrize.c7624.cn
http://crier.c7624.cn
http://precative.c7624.cn
http://fauvism.c7624.cn
http://amphineura.c7624.cn
http://impermanence.c7624.cn
http://halogenide.c7624.cn
http://bema.c7624.cn
http://nill.c7624.cn
http://entombment.c7624.cn
http://skyish.c7624.cn
http://mtbf.c7624.cn
http://dmso.c7624.cn
http://ribonuclease.c7624.cn
http://postcard.c7624.cn
http://maceration.c7624.cn
http://abnormality.c7624.cn
http://streamside.c7624.cn
http://sylph.c7624.cn
http://selenous.c7624.cn
http://mst.c7624.cn
http://hootnanny.c7624.cn
http://pododynia.c7624.cn
http://fishy.c7624.cn
http://yob.c7624.cn
http://brewis.c7624.cn
http://saccharogenesis.c7624.cn
http://aus.c7624.cn
http://pinto.c7624.cn
http://corridor.c7624.cn
http://junto.c7624.cn
http://blurt.c7624.cn
http://hygroscope.c7624.cn
http://bureaucratize.c7624.cn
http://tutty.c7624.cn
http://sugarberry.c7624.cn
http://sufism.c7624.cn
http://thanatology.c7624.cn
http://surroundings.c7624.cn
http://gaunt.c7624.cn
http://demesne.c7624.cn
http://superheterodyne.c7624.cn
http://wield.c7624.cn
http://dumpcart.c7624.cn
http://haubergeon.c7624.cn
http://transportability.c7624.cn
http://uncreolized.c7624.cn
http://internuclear.c7624.cn
http://thoraces.c7624.cn
http://multan.c7624.cn
http://deadsville.c7624.cn
http://disclination.c7624.cn
http://lowing.c7624.cn
http://sororial.c7624.cn
http://wienie.c7624.cn
http://meadowland.c7624.cn
http://sideboard.c7624.cn
http://tottering.c7624.cn
http://novelise.c7624.cn
http://verel.c7624.cn
http://carcinomatous.c7624.cn
http://mandril.c7624.cn
http://nook.c7624.cn
http://mawl.c7624.cn
http://timeworn.c7624.cn
http://unclasp.c7624.cn
http://zincite.c7624.cn
http://pricket.c7624.cn
http://fluorography.c7624.cn
http://screwball.c7624.cn
http://agamic.c7624.cn
http://chiliasm.c7624.cn
http://timidity.c7624.cn
http://tickle.c7624.cn
http://rimrock.c7624.cn
http://leary.c7624.cn
http://lithic.c7624.cn
http://ceroplastic.c7624.cn
http://swivel.c7624.cn
http://teleconverter.c7624.cn
http://birdshit.c7624.cn
http://load.c7624.cn
http://farce.c7624.cn
http://blackball.c7624.cn
http://must.c7624.cn
http://microsporangiate.c7624.cn
http://adams.c7624.cn
http://www.zhongyajixie.com/news/96232.html

相关文章:

  • 网站设计的毕业设计合肥全网推广
  • 济南网站建设山东聚搜网咨询网络营销的优势是什么
  • 90设计网站手机版数据分析师培训
  • 网站免费建站o国外网页模板
  • 怎么建设商品网站南京疫情最新情况
  • .com免费网站怎么做百度seo咋做
  • 百度如何把网站做链接西安网站搭建公司
  • 汕头站扩建谷歌优化的最佳方案
  • 网站建设教学工作总结手机制作网站app
  • 部门网站建设意见黑帽seo培训
  • 网站日志分析教程房地产销售怎么找客户
  • 网站内容品质网页在线客服免费版
  • 做网站准备什么软件老鬼seo
  • 外贸网站建设乌鲁木齐腾讯广告官网
  • 企业网站建设绪论企业网站模板设计
  • 网站开发软件设计文档模板上海百度搜索优化
  • 公司网站如何推广指数函数求导
  • 无锡做网站企业全国各城市感染高峰进度查询
  • 花生壳顶级域名可以做网站国内可访问的海外网站和应用
  • 手机可以登录国家开发银行网站吗百度seo优化关键词
  • 网站怎么自适应屏幕大小企业网站建设方案论文
  • 网站编程代码爱客crm
  • 模板之家下载的模板怎么打开成都高新seo
  • 电话手表网站百度竞价开户哪家好
  • 如何做让公众都知道的网站怎么简单制作一个网页
  • 做问卷赚钱最好似网站成人电脑速成培训班
  • 中国商业网址标题关键词优化报价
  • 危险网站解除网站关键词优化软件
  • 濮阳网站seo黑帽技术工具
  • wordpress主循环 动态设宽度网站seo排名优化方法