沈阳电脑维修网,沈阳上门维修电脑服务
当前位置: 主页 > 网络设备故障>华为VRRP虚拟路由器冗余协议 冗余备份 负载均衡 >

华为VRRP虚拟路由器冗余协议 冗余备份 负载均衡

时间:2017-5-23来源:www.sypcwx.cn 作者: 沈阳电脑维修网点击:
沈阳电脑维修,上门维修电脑
  沈阳电脑维修上门服务13889116605: 在2层交换上配置:Huaweisy进视图模式[Huawei]uninen取消消息[Huawei]sysnamesw1改名字[sw1]vlan10添加vlan[sw1-vla...  在2层交换上配置: <Huawei>sy    进视图模式 [Huawei]uninen  取消消息 [Huawei]sysnamesw1  改名字 [sw1]vlan10     添加vlan [sw1-vlan10]vlan20 [sw1-vlan20]intere0/0/1   进接口 [sw1-Ethernet0/0/1]portlink-typeaccess  划分到vlan10里 [sw1-Ethernet0/0/1]portdefaultvlan10 [sw1-Ethernet0/0/1]intere0/0/2    [sw1-Ethernet0/0/2]portlink-typeaccess [sw1-Ethernet0/0/2]portdefaultvlan20 [sw1-Ethernet0/0/2]intere0/0/3    [sw1-Ethernet0/0/3]portlink-typetrunk  中继口 [sw1-Ethernet0/0/3]porttrunkallow-passvlanall [sw1-Ethernet0/0/3]intere0/0/4    [sw1-Ethernet0/0/4]portlink-typetrunk [sw1-Ethernet0/0/4]porttrunkallow-passvlanall   LSW1上的配置 <Huawei>sy  [Huawei]vlan10   添加vlan [Huawei-vlan10]vlan20   [Huawei-vlan20]intervlan10    [Huawei-Vlanif10]ipaddress192.168.10.10255.255.255.0设置ip地址 [Huawei-Vlanif10]unshut 开启 [Huawei-Vlanif10]q [Huawei]uninen  取消信息 [Huawei]intervlan10 [Huawei-Vlanif10]vrrpvrid1virtual-ip192.168.10.1   添加虚拟网关 [Huawei-Vlanif10]vrrpvrid1priority150   优先级150 [Huawei-Vlanif10]vrrpvrid1preempt-modetimerdelay0  抢占时间 [Huawei-Vlanif10]vrrpvrid1trackinterfaceg0/0/2 跟踪接口 [Huawei-Vlanif10]vrrpvrid1trackinterfaceg0/0/1 [Huawei-Vlanif10]intervlan20 配置vlan20的ip地址 [Huawei-Vlanif20]ipaddress192.168.20.10255.255.255.0  [Huawei-Vlanif20]unshut   开启 [Huawei-Vlanif20]vrrpvrid2virtual-ip192.168.20.1   添加虚拟网关 [Huawei-Vlanif20]vrrpvrid2priority145    优先级 [Huawei-Vlanif20]vrrpvrid2preempt-modetimerdelay0  抢占时间 [Huawei-Vlanif20]q [Huawei]intervlan1   配置vlan1ip地址 [Huawei-Vlanif1]ipaddress202.106.1.10255.255.255.0 [Huawei-Vlanif1]unshut  开启 Info:InterfaceVlanif1isnotshutdown. [Huawei-Vlanif1]q    [Huawei]iproute-static0.0.0.00.0.0.0202.106.1.1 默认路由 [Huawei]interg0/0/1 [Huawei-GigabitEthernet0/0/1]portlink-typetrunk    中继口 [Huawei-GigabitEthernet0/0/1]porttrunkallow-passvlanall   LSW2上配置 <Huawei>sy    视图模式 [Huawei]uninen 取消消息提示 [Huawei]sysnamelsw2  改名字 [lsw2]vlan10  添加vlan [lsw2-vlan10]vlan20 [lsw2-vlan20]intervlan10   给vlan10加ip地址 [lsw2-Vlanif10]ipaddress192.168.10.11255.255.255.0 [lsw2-Vlanif10]unshut [lsw2-Vlanif10]vrrpvrid1virtual-ip192.168.10.1  虚拟网关 [lsw2-Vlanif10]vrrpvrid1priority145  优先级 [lsw2-Vlanif10]vrrpvrid1preempt-modetimerdelay0  抢占时间 [lsw2-Vlanif10]intervlan20 [lsw2-Vlanif20]vrrpvrid2virtual-ip192.168.20.1   [lsw2-Vlanif20]vrrpvrid2priority150 [lsw2-Vlanif20]vrrpvrid2preempt-modetimerdelay0 [lsw2-Vlanif20]vrrpvrid2trackinterfaceg0/0/1 [lsw2-Vlanif20]vrrpvrid2trackinterfaceg0/0/2 [lsw2-Vlanif20]intervlan1 [lsw2-Vlanif1]ipaddress202.106.10.10255.255.255.0  [lsw2-Vlanif1]unshut [lsw2-Vlanif1]q  [lsw2]iproute-static0.0.0.00.0.0.0202.106.10.1  默认路由 [lsw2]interg0/0/1    [lsw2-GigabitEthernet0/0/1]portlink-typetrunk    中继口 [lsw2-GigabitEthernet0/0/1]porttrunkallow-passvlanall   R1上配置: <Huawei>sy [Huawei]uninen  [Huawei]interg0/0/0 [Huawei-GigabitEthernet0/0/0]ipaddress202.106.1.1255.255.255.0 [Huawei-GigabitEthernet0/0/0]unshut [Huawei-GigabitEthernet0/0/0]interg0/0/1   [Huawei-GigabitEthernet0/0/1]ipaddress202.106.10.1255.255.255.0 [Huawei-GigabitEthernet0/0/1]unshut [Huawei-GigabitEthernet0/0/1]q   [Huawei]iproute-static192.168.10.0255.255.255.0202.106.1.10 [Huawei]iproute-static192.168.10.0255.255.255.0202.106.10.10 [Huawei]iproute-static192.168.20.0255.255.255.0202.106.1.10 [Huawei]iproute-static192.168.20.0255.255.255.0202.106.10.10   测试: 把一个接口down跟踪路由查看效果  
上一篇:简单的用wayos搭建了一台软路由
查看[华为VRRP虚拟路由器冗余协议 冗余备份 负载均衡]所有评论
发表评论
请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。
用户名: 验证码:
推荐内容
关于我们 服务价格 联系我们 企业网站优化 沈阳网站建设 沈阳维修电脑