网技术与组网工程课程设计报告(编辑修改稿)内容摘要:

建立一个策略表,可以对相应的分类规则进行带宽限制,优先级降低等操作。 switchA(Config)policymap qos10 switchA(ConfigPolicyMap)class qos_class switchA(ConfigPolicyClass)set ip dscp 0 switchA(ConfigPolicyClass)exit switchA(ConfigPolicyMap)exit switchA(Config) 第四步、 将 QoS 应用到端口 配置端口的信任模式,或者绑定策略。 策略只有绑定到具体的端口,才在此端口生效。 switchA(Config)interface ether 0/0/13 switchA(ConfigEther0/0/13)servicepolicy input qos10 switchA(ConfigEther0/0/13)exit switchA(Config) switchA(Config)interface ether 0/0/14 switchA(ConfigEther0/0/14)servicepolicy input qos10 switchA(ConfigEther0/0/14)exit switchA(Config) switchB(Config)interface ether 0/0/13 switchB(ConfigEther0/0/13)servicepolicy input qos10 switchB(ConfigEther0/0/13)exit switchB(Config) switchB(Config)interface ether 0/0/14 switchB(ConfigEther0/0/14)servicepolicy input qos10 switchB(ConfigEther0/0/14)exit switchB(Config) …… ( 2) 设置核心交换机 A 为根交换机(优先级为 0),全网启用快速生成树,实现网络连接的稳定性。 解答: 第一步:正确连接网线,交换机全部恢复出厂设置,做初始配 置,避免广播风暴出现交换机 A: switchconfig switch(Config)hostname switchA switchA(Config)interface vlan 1 switchA(ConfigIfVlan1)ip address switchA(ConfigIfVlan1)no shutdown switchA(ConfigIfVlan1)exit switchA(Config)spanningtree MSTP is starting now, please wait........... MSTP is enabled successfully. switchA(Config) 课 程 设 计 报 告 专 用 纸 交换机 B: switchconfig switch(Config)hostname switchB switchB(Config)interface vlan 1 switchB(ConfigIfVlan1)ip address switchB(ConfigIfVlan1)no shutdown switchB(ConfigIfVlan1)exit switchB(Config)spanningtree MSTP is starting now, please wait........... MSTP is enabled successfully. switchB(Config) 路由网功能配置 ( 2) 核心交换机 A 通过三层接口 Fa0/1 实现和路由器 R 的 Eth0/0 接口连接,实现和 Inter中服务器 PC4 连通。 解答: 核心交换机 A 接口 Fa0/1 SwitchA(config)interface Fa0/1 SwitchA(configFa0/1)ip address SwitchA(configFa0/1)exit ( 2)全网设备通过 OSPF 协议实现连通。 解答: 启动 OSPF协议,并将对应的直连网段配置到 OSPF进程中 交换机 A: SWITCHA(Config)router ospf OSPF protocol is working, please waiting....... OSPF protocol has enabled! SWITCHA(ConfigRouterOspf)exit SWITCHA(Config)interface vlan 1 SWITCHA(ConfigIfVlan1)ip ospf enable area 0 SWITCHA(ConfigIfVlan1) SWITCHA(Config)interface vlan 10 SWITCHA(ConfigIfVlan10)ip ospf enable area 0 SWITCHA(ConfigIfVlan10) SWITCHA(Config)interface vlan 20 SWITCHA(ConfigIfVlan20)ip ospf enable area 0 SWITCHA(ConfigIfVlan20)exit 验证配置: 课 程 设 计 报 告 专 用 纸 SWITCHAshow ip route …… 交换机 B 配置与交换机 A 配置类似。 路由器 R 的配置 RouterRconf RouterR_configrouter ospf 100 RouterR_config_ospf_100work area 1 RouterR_config_ospf_100work area 1 RouterR_config_ospf_100^Z ( 3)核心交换机上配置 VRRP 虚拟路由冗余技术,实现网络稳定。 解答: 配置 VRRP 交换机 A: SWITCHA(config)router vrrp 1 SWITCHA(configrouter) virtualip master SWITCHA(configrouter) interface vlan 10 SWITCHA(configrouter) enable 交换机 SWITCHB: SWITCHB(config)router vrrp 1 SWITCHB(configrouter) virtualip backup SWITCHB(configrouter) interface vlan 10 SWITCHB(co。
阅读剩余 0%
本站所有文章资讯、展示的图片素材等内容均为注册用户上传(部分报媒/平媒内容转载自网络合作媒体),仅供学习参考。 用户通过本站上传、发布的任何内容的知识产权归属用户或原始著作权人所有。如有侵犯您的版权,请联系我们反馈本站将在三个工作日内改正。