您好,欢迎来到爱站旅游。
搜索
您的当前位置:首页华为典型VRRP配置案例

华为典型VRRP配置案例

来源:爱站旅游
v1.0 可编辑可修改 华为典型VRRP配置案例

R1接口配置

interface GigabitEthernet0/0/0 ip address #

interface GigabitEthernet0/0/1 ip address #

interface GigabitEthernet2/0/0 ip address 1

#

interface GigabitEthernet2/0/1 ip address OSPF配置 ospf 1 router-id import-route direct area network network

SW1接口配置

interface GigabitEthernet0/0/2 port link-type trunk

port trunk allow-pass vlan 2 to 4094 #

interface GigabitEthernet0/0/3 port link-type trunk

undo port trunk allow-pass vlan 1 port trunk allow-pass vlan 2 to 4094

SW1 OSPF配置

ospf 1 router-id import-route direct area network VRRP配置 interface Vlanif1 ip address Vlanif10

ip address vrrp vrid 1 virtual-ip vrrp vrid 1 priority 120 vrrp vrid 1 track interface GigabitEthernet0/0/1 reduced 30 #

2

interface Vlanif20

ip address vrrp vrid 2 virtual-ip VRRP 状态信息查看 [SW1]display vrrp brief

VRID State Interface Type Virtual IP ---------------------------------------------------------------- 1 Master Vlanif10 Normal 2 Backup Vlanif20 Normal

---------------------------------------------------------------- Total:2 Master:1 Backup:1 Non-active:0 [SW1]

SW2 接口配置

interface GigabitEthernet0/0/2 port link-type trunk

port trunk allow-pass vlan 2 to 4094 #

interface GigabitEthernet0/0/3 port link-type trunk

undo port trunk allow-pass vlan 1 port trunk allow-pass vlan 2 to 4094 #

SW2 OSPF配置

ospf 1 router-id import-route direct area network VRRP配置 interface Vlanif1 ip address Vlanif10

3

ip address vrrp vrid 1 virtual-ip Vlanif20

ip address vrrp vrid 2 virtual-ip vrrp vrid 2 priority 120 vrrp vrid 2 track interface GigabitEthernet0/0/1 reduced 30

SW2 VRRP状态信息查看 [SW2]display vrrp brief

VRID State Interface Type Virtual IP ---------------------------------------------------------------- 1 Backup Vlanif10 Normal 2 Master Vlanif20 Normal

---------------------------------------------------------------- Total:2 Master:1 Backup:1 Non-active:0 [SW2]

SW3接口配置

interface GigabitEthernet0/0/1 port link-type trunk

port trunk allow-pass vlan 2 to 4094 #

interface GigabitEthernet0/0/2 port link-type trunk

port trunk allow-pass vlan 2 to 4094 #

interface GigabitEthernet0/0/3 port link-type access port default vlan 10 #

4

v1.0 可编辑可修改 interface GigabitEthernet0/0/4 port link-type access port default vlan 20 #

PC3测试连通性

5

因篇幅问题不能全部显示,请点此查看更多更全内容

Copyright © 2019- azee.cn 版权所有

违法及侵权请联系:TEL:199 1889 7713 E-MAIL:2724546146@qq.com

本站由北京市万商天勤律师事务所王兴未律师提供法律服务