Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

twenty-two。 Redundancy Technology of HSRP Gateway based on three-layer Technology

2025-04-10 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

HSRP(Hot Standby Routing Protocol)

The HSRP protocol is Cisco's proprietary protocol. VRRP is a public hot standby protocol.

The role of HSRP: gateway redundancy technology, so that a PC can have two gateways, usually the main gateway work, when the main failure from the gateway to take over the work. The master-slave gateway is determined by a virtual IP to determine who is the master and who is the slave.

HSRP group members: an active router, a backup router, a virtual router, and other routers.

HSRP port number bit 1985, belongs to UDP protocol, data packet uses multicast address: 224.0.0.2 TTL value is 1.

There are six states of HSRP: initial state, learning state, listening state, speaking state, backup state and active state.

HSRP election: who is the master and who is the slave is elected by priority, the higher the priority value, the default value is 100.

HSRP Preemption + Port Tracking: Preemption cannot occur under the same conditions. When port tracking is configured and the master priority is 100, if there is a problem with the port tracked by the master router, HSRP automatically reduces the priority by 10, so that the slave priority will be higher than the master, and it will automatically be occupied.

The default Hello time for HSRP is 3S intervals and the hold time is 10S.

Cisco Hot Standby Technology related commands:

command

described

(config-if)# standby 1 ip 192.168.1.1

Configure Virtual IP

(config-if)# standby 1 priority 105

configuration priority level

(config-if)# standby 1 preempt

collocated occupation

(config-if)# standby 1 track f0/0 10

Configure Port Tracking

(config-if)# standby 1 times 3 10

Configure Hello Timer

# show standby brief

View HSRP status

Huawei H3C uses VRRP related commands:

command

described

[huawei-Ethernet0/0/1] vrrp vrid 1 virtual-ip 192.168.1.1

Configure Virtual IP

[huawei-Ethernet0/0/1] vrrp vrid 1 priority 105

configuration priority level

[huawei-Ethernet0/0/1] vrrp vrid 1 preempt-mode timer delay 20

collocated occupation

[huawei] display vrrp

View HSRP status

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report