收藏 分销(赏)

多组HSRP实验手册(不可网管交换机).doc

上传人:仙人****88 文档编号:8943518 上传时间:2025-03-08 格式:DOC 页数:9 大小:83.50KB 下载积分:10 金币
下载 相关 举报
多组HSRP实验手册(不可网管交换机).doc_第1页
第1页 / 共9页
多组HSRP实验手册(不可网管交换机).doc_第2页
第2页 / 共9页


点击查看更多>>
资源描述
多组HSRP实验手册 1、 多组HSRP实验,R1、R2、R3跑OSPF,R3起loopback 0, R4、R5长拼R3 LP0,先后断开与恢复R1与R2的F0/0口,进行测试,实验网络的切换; 2、配置如下: R1配置: R1#show run Building configuration... Current configuration : 1127 bytes ! version 12.4 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname R1 ! boot-start-marker boot-end-marker ! ! no aaa new-model memory-size iomem 5 no ip icmp rate-limit unreachable ip tcp synwait-time 5 ! ! ip cef no ip domain lookup ! ! interface FastEthernet0/0 ip address 10.1.1.252 255.255.255.0 secondary ip address 10.1.2.252 255.255.255.0 duplex auto speed auto standby 1 ip 10.1.1.254 standby 1 priority 120 standby 1 preempt standby 2 ip 10.1.2.254 standby 2 preempt ! interface FastEthernet1/0 ip address 10.1.13.1 255.255.255.0 duplex auto speed auto ! router ospf 1 router-id 1.1.1.1 log-adjacency-changes network 10.1.1.0 0.0.0.255 area 0 network 10.1.2.0 0.0.0.255 area 0 network 10.1.13.1 0.0.0.0 area 0 ! no ip http server no ip http secure-server ! control-plane ! ! ! line con 0 exec-timeout 0 0 privilege level 15 logging synchronous line aux 0 exec-timeout 0 0 privilege level 15 logging synchronous line vty 0 4 login ! ! end R1# R1# R1# R2配置: R2#show run Building configuration... Current configuration : 1120 bytes ! version 12.4 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname R2 ! boot-start-marker boot-end-marker ! ! no aaa new-model memory-size iomem 5 no ip icmp rate-limit unreachable ip tcp synwait-time 5 ! ! ip cef no ip domain lookup ! ! interface FastEthernet0/0 ip address 10.1.2.253 255.255.255.0 secondary ip address 10.1.1.253 255.255.255.0 duplex auto speed auto standby 1 ip 10.1.1.254 //虚拟网关 standby 1 preempt //开启抢占功能 standby 2 ip 10.1.2.254 standby 2 priority 120 //设置优先级 standby 2 preempt ! interface FastEthernet1/0 ip address 10.1.23.2 255.255.255.0 duplex auto speed auto ! router ospf 1 router-id 2.2.2.2 log-adjacency-changes network 10.1.1.0 0.0.0.255 area 0 network 10.1.2.0 0.0.0.255 area 0 network 10.1.23.2 0.0.0.0 area 0 ! no ip http server no ip http secure-server ! ! control-plane ! ! ! line con 0 exec-timeout 0 0 privilege level 15 logging synchronous line aux 0 exec-timeout 0 0 privilege level 15 logging synchronous line vty 0 4 login ! ! end R2# R3配置: R3#show run Building configuration... Current configuration : 997 bytes ! version 12.4 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname R3 ! boot-start-marker boot-end-marker ! ! no aaa new-model memory-size iomem 5 no ip icmp rate-limit unreachable ip tcp synwait-time 5 ! ! ip cef no ip domain lookup ! ! ! ! ! ! interface Loopback0 ip address 3.3.3.3 255.255.255.0 ! interface FastEthernet0/0 ip address 10.1.13.3 255.255.255.0 duplex auto speed auto ! interface FastEthernet1/0 ip address 10.1.23.3 255.255.255.0 duplex auto speed auto ! router ospf 1 router-id 3.3.3.3 log-adjacency-changes network 3.3.3.0 0.0.0.255 area 0 network 10.1.13.3 0.0.0.0 area 0 network 10.1.23.3 0.0.0.0 area 0 ! no ip http server no ip http secure-server ! ! ! ! ! control-plane ! ! line con 0 exec-timeout 0 0 privilege level 15 logging synchronous line aux 0 exec-timeout 0 0 privilege level 15 logging synchronous line vty 0 4 login ! ! end R3# R4配置: PC2#show run Building configuration... Current configuration : 758 bytes ! version 12.4 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname PC2 ! boot-start-marker boot-end-marker ! ! no aaa new-model memory-size iomem 5 no ip routing no ip icmp rate-limit unreachable ip tcp synwait-time 5 ! ! no ip cef no ip domain lookup ! ! ! ! interface FastEthernet0/0 ip address 10.1.2.1 255.255.255.0 no ip route-cache duplex auto speed auto ! ip default-gateway 10.1.2.254 no ip http server no ip http secure-server ! ! ! ! ! control-plane ! ! line con 0 exec-timeout 0 0 privilege level 15 logging synchronous line aux 0 exec-timeout 0 0 privilege level 15 logging synchronous line vty 0 4 login ! ! end PC2# PC2# PC2# R5配置: PC1#show run Building configuration... Current configuration : 758 bytes ! version 12.4 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname PC1 ! boot-start-marker boot-end-marker ! ! no aaa new-model memory-size iomem 5 no ip routing no ip icmp rate-limit unreachable ip tcp synwait-time 5 ! ! no ip cef no ip domain lookup ! ! interface FastEthernet0/0 ip address 10.1.1.1 255.255.255.0 no ip route-cache duplex auto speed auto ! ip default-gateway 10.1.1.254 no ip http server no ip http secure-server ! ! ! control-plane ! ! line con 0 exec-timeout 0 0 privilege level 15 logging synchronous line aux 0 exec-timeout 0 0 privilege level 15 logging synchronous line vty 0 4 login ! ! end PC1# 注意:1、R4与R5要NO IP ROUTING,然后加上IP DEFAULT ; 2、红色部分为配置内容;
展开阅读全文

开通  VIP会员、SVIP会员  优惠大
下载10份以上建议开通VIP会员
下载20份以上建议开通SVIP会员


开通VIP      成为共赢上传

当前位置:首页 > 包罗万象 > 大杂烩

移动网页_全站_页脚广告1

关于我们      便捷服务       自信AI       AI导航        抽奖活动

©2010-2026 宁波自信网络信息技术有限公司  版权所有

客服电话:0574-28810668  投诉电话:18658249818

gongan.png浙公网安备33021202000488号   

icp.png浙ICP备2021020529号-1  |  浙B2-20240490  

关注我们 :微信公众号    抖音    微博    LOFTER 

客服