S Series Switch. Cisco HSRP Replacement. Issue 01. Date HUAWEI TECHNOLOGIES CO., LTD.

Similar documents
Migrating from Cisco HSRP to industry standard VRRP

HUAWEI AR Series SEP Technical White Paper HUAWEI TECHNOLOGIES CO., LTD. Issue 1.0. Date

Quidway S5700 Series Ethernet Switches V100R006C01. Configuration Guide - Ethernet. Issue 02 Date HUAWEI TECHNOLOGIES CO., LTD.

SEP Technology White Paper

Configuring VRRP. Finding Feature Information. The Virtual Router Redundancy Protocol (VRRP) is an election protocol that dynamically assigns

H3C S5830V2 & S5820V2 Switch Series

BGP/MPLS VPN Technical White Paper

espace UMS V100R001C01SPC100 Product Description Issue 03 Date HUAWEI TECHNOLOGIES CO., LTD.

HP Load Balancing Module

Layer 3 Switch Processing. CEF-Based Multilayer Switches. Layer 3 Switch Processing (Cont.)

M2M CDMA Router. VRRP Configuration Guide

Exam questions. 1. How many HSRP (Hot Standby Routing Protocol) groups will need to be configured for each VLAN?

Huawei MZ110 NIC V100R001. White Paper. Issue 07 Date HUAWEI TECHNOLOGIES CO., LTD.

Configuring VRRP. Finding Feature Information. Contents

Quidway S5700 Series Ethernet Switches V100R006C01. Configuration Guide - VPN. Issue 01 Date HUAWEI TECHNOLOGIES CO., LTD.

Virtual Router Redundancy Protocol (VRRP) Technical Support Guide

H3C Firewall Devices. High Availability Configuration Guide (Comware V7) Hangzhou H3C Technologies Co., Ltd.

Assignment Six: Configure Hot Standby Router Protocol. Brian Dwyer. Morrisville State College

HOT STANDBY ROUTING PROTOCOL (HSRP) - A Deep Dive

Enterprise Data Communication Products. Feature Description - IP Service. Issue 05 Date HUAWEI TECHNOLOGIES CO., LTD.

Energy Saving Technology White Paper HUAWEI TECHNOLOGIES CO., LTD. Issue 01. Date

VRRPv3 Protocol Support

First Hop Redundancy Protocols Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)

H3C SecPath Series Firewalls and UTM Devices

Internetwork Expert s CCNP Bootcamp. Gateway Redundancy Protocols & High Availability. What is High Availability?

Operation Manual VRRP. Table of Contents

HUAWEI USG6000 Series Next-Generation Firewall Technical White Paper VPN HUAWEI TECHNOLOGIES CO., LTD. Issue 1.1. Date

esight V300R001C10 SLA Technical White Paper Issue 01 Date HUAWEI TECHNOLOGIES CO., LTD.

Operation Guide for Security NEs Management

ITDumpsKR. IT 인증시험한방에패스시키는최신버전시험대비덤프

Chapter 6 Lab 6-1, First Hop Redundancy Protocols HSRP and VRRP INSTRUCTOR VERSION

Question No : 1 Which three of these statements regarding 802.1Q trunking are correct? (Choose three.)

VRRP (Virtual Router Redundancy Protocol) Function Added

standby arp gratuitous through track vrrp

Implementing High Availability. in a Campus Environment. Implementing High Availability. Single Forwarding Path vs. Single Forwarding Path.

HP VPN Firewall Appliances

AD SSO Technical White Paper

itexamdump 최고이자최신인 IT 인증시험덤프 일년무료업데이트서비스제공

Vodafone MachineLink. VRRP Configuration Guide

Spanning Tree Protocol

SecBlade Firewall Cards Stateful Failover Configuration Examples

RealCiscoLAB.com. Configure inter-vlan routing with HSRP to provide redundant, fault-tolerant routing to the internal network.

Network Design First Hop

Hot Standby Router Protocol (HSRP): Frequently Asked Questions

Cisco IOS First Hop Redundancy Protocols Command Reference

Configuring HSRP. Understanding HSRP CHAPTER

Configuring Stateful Interchassis Redundancy

Configuring HSRP. Finding Feature Information. Restrictions for HSRP

Chapter 32 VSRP Commands

AppDirector Redundancy Mechanism

examcollection.premium.exam.68q. Exam code: Exam name: Troubleshooting and Maintaining Cisco IP Networks (TSHOOT) Version 15.

Spatially aware sublayer support of VRRP. Marc Holness, Nortel Networks IEEE WG b SG San Antonio, Texas November, 2004

Agile Controller-Campus V100R002C10. Permission Control Technical White Paper. Issue 01. Date HUAWEI TECHNOLOGIES CO., LTD.

Huawei MZ912 NIC V100R001. White Paper. Issue 07 Date HUAWEI TECHNOLOGIES CO., LTD.

Corporate Headquarters: Cisco Systems, Inc., 170 West Tasman Drive, San Jose, CA USA

S Series Switches. MACsec Technology White Paper. Issue 1.0. Date HUAWEI TECHNOLOGIES CO., LTD.

This module was first published on May 2, 2005, and last updated on May 2, 2005.

Configuring Flex Links

Huawei MZ510 NIC V100R001. White Paper. Issue 09 Date HUAWEI TECHNOLOGIES CO., LTD.

Top-Down Network Design

CCNP Lab 006 Solution: HSRP and Switch Security

Network-Level High Availability

CCNA Semester 3 labs. Part 1 of 1 Labs for chapters 1 8

Zone-Based Policy Firewall High Availability

Configuring STP and RSTP

PracticeDump. Free Practice Dumps - Unlimited Free Access of practice exam

REDDIG II Computer Networking Training

Exam4Tests. Latest exam questions & answers help you to pass IT exam test easily

Stateful Failover Technology White Paper

Designing a reliable and redundant network for multiple VLANs with Spanning Tree Protocol (STP) and Fast Hop Redundancy Protocol (FHRP)

Configuring IEEE 802.3ad LACP EtherChannels on the Cisco MWR 2941

Lab Configuring HSRP and GLBP Topology

Configuring EtherChannels

Configuring STP. Understanding Spanning-Tree Features CHAPTER

VRRP Aware PIM with PIM NonDR Join Feature Configuration Example

Secondary Address Support

Lab 5-1 Hot Standby Router Protocol

S9700 Core Routing Switch V200R001C00. Configuration Guide - EPON. Issue 01 Date HUAWEI TECHNOLOGIES CO., LTD.

Spanning Tree Protocol(STP)

Configuring Resilient Ethernet Protocol

CCNA 3 (v v6.0) Chapter 3 Exam Answers % Full

62HConfiguring port role restriction 131H37. 63HConfiguring TC-BPDU transmission restriction 132H38. 64HEnabling TC-BPDU guard 133H38

STP (Spanning Tree Protocol) - Step by Step Configuration Tutorial

Pass-Through Technology

et Su cc es s in Passing Yourertification Exam at first

Configuring Spanning Tree Protocol

3. What could you use if you wanted to reduce unnecessary broadcast, multicast, and flooded unicast packets?

Configuring EtherChannels and Link-State Tracking

Configuring PIM. Information About PIM. Send document comments to CHAPTER

SUN2000P-375 W Smart PV Optimizer. User Manual. Issue 01. Date HUAWEI TECHNOLOGIES CO., LTD.

Huawei Sx7 Series Switches. SVF Technology White Paper. Issue 01. Date HUAWEI TECHNOLOGIES CO., LTD.

Catalyst 1900 Series and Catalyst 2820 Series Enterprise Edition Software Configuration Guide

Configuring EtherChannels

Spanning-Tree Protocol

CHAPTER 1 Introduction to Scaling Networks

Anti-DDoS. User Guide (Paris) Issue 01 Date HUAWEI TECHNOLOGIES CO., LTD.

Troubleshooting - Access

HP Routing Switch Series

Exam Questions

MSTP Technology White Paper

Transcription:

Cisco HSRP Replacement Issue 01 Date 2013-08-05 HUAWEI TECHNOLOGIES CO., LTD.

2013. All rights reserved. No part of this document may be reproduced or transmitted in any form or by any means without prior written consent of Huawei Technologies Co., Ltd. Trademarks and Permissions and other Huawei trademarks are trademarks of Huawei Technologies Co., Ltd. All other trademarks and trade names mentioned in this document are the property of their respective holders. Notice The purchased products, services and features are stipulated by the contract made between Huawei and the customer. All or part of the products, services and features described in this document may not be within the purchase scope or the usage scope. Unless otherwise specified in the contract, all statements, information, and recommendations in this document are provided "AS IS" without warranties, guarantees or representations of any kind, either express or implied. The information in this document is subject to change without notice. Every effort has been made in the preparation of this document to ensure accuracy of the contents, but all statements, information, and recommendations in this document do not constitute a warranty of any kind, express or implied. Huawei Technologies Co., Ltd. Address: Website: Email: Huawei Industrial Base Bantian, Longgang Shenzhen 518129 People's Republic of China http://www.huawei.com http://enterprise.huawei.com i

About This Document About This Document Purpose This document describes the differences between Cisco HSRP and Huawei VRRP, and provides the configuration procedure in HSRP networking. Intended Audience This document is intended for: Network planning engineers Commissioning engineers Data configuration engineers Onsite maintenance engineers Network monitoring engineers System maintenance engineers Symbol Conventions The symbols that may be found in this document are defined as follows. Symbol Description DANGER WARNING CAUTION Alerts you to a high risk hazard that could, if not avoided, result in serious injury or death. Alerts you to a medium or low risk hazard that could, if not avoided, result in moderate or minor injury. Alerts you to a potentially hazardous situation that could, if not avoided, result in equipment damage, data loss, performance deterioration, or unanticipated results. Provides a tip that may help you solve a problem or save time. ii

About This Document Symbol Description Provides additional information to emphasize or supplement important points in the main text. Change History Changes between document issues are cumulative. The latest document issue contains all the changes made in earlier issues. This issue is the first official release. iii

Contents Contents About This Document... ii 1 Overview... 1 1.1 Cisco HSRP... 1 1.1.1 Implementation... 1 1.1.2 State Machine... 2 1.2 VRRP... 3 1.2.1 Implementation... 3 1.2.2 State Machine... 3 2 Replaceability Analysis... 5 2.1 Replaceability... 5 2.2 Comparisons... 5 3 Example for Configuring HSRP... 7 3.1 Configuring Cisco HSRP to Implement Gateway Backup... 7 3.1.1 Network Topology... 7 3.1.2 Network Configuration... 8 3.1.3 Configuration Notes... 11 4 References... 12 iv

1 Overview 1 Overview 1.1 Cisco HSRP 1.1.1 Implementation The Hot Standby Router Protocol (HSRP) is a Cisco proprietary protocol. Multiple routers constitute an HSRP group to simulate a virtual router (this virtual router has a virtual IP address and a virtual MAC address). In an HSRP group, only one router functions as the active router to send data packets. When the active router fails, a standby router is selected as the active router to forward traffic. For hosts, the virtual router remains unchanged. As shown in Figure 1-1, RouterA and RouterB constitute an HSRP group. For hosts, the HSRP group functions as a virtual router that has a virtual IP address. Hosts use the virtual router as the gateway. RouterA functions as the active router to forward data packets sent from the hosts, and RouterB functions as the standby router. When RouterA becomes faulty, RouterB replaces RouterA to forward data packets sent from hosts. The HSRP group implements link redundancy. HSRP is designed for multicast- or broadcast-capable LANs (such as Ethernet networks). 1

1 Overview Figure 1-1 HSRP group 1.1.2 State Machine Figure 1-2 shows HSRP state machine. HSRP has six states, which is more complex than VRRP. This is because VRRP has three states. Figure 1-2 HSRP state machine HSRP state machine is described as follows: 2

1 Overview Init: indicates that HSRP does not run. In Init state, HSRP is enabled first on one device of an HSRP group, an interface is just enabled, or the configuration is changed. When the HSRP group has no virtual IP address configured, the HSRP group is in Learn state. When the HSRP group has a virtual IP address configured, the HSRP group is in Listen state. Learn: indicates that the HSRP group has no virtual IP address configured. Members of the HSRP group monitor Hello packets sent by the active router and learn the virtual IP address from the Hello packets. After members learn the virtual IP address, the HSRP group enters the Listen state. Listen: indicates that the HSRP group has a virtual IP address configured or members learn the virtual IP address. Members in the HSRP group monitor Hello packets to learn the status of the active or standby router. If the members do not receive Hello packets from the active or standby router in the hold time, the HSRP group enters the speak state and election starts. Speak: indicates that members in the HSRP group start election of the active or standby router. The members send Hello packets to perform election. Standby: indicates the status of a standby router. The standby router monitors the status of the active router. When the active router fails, the standby router replaces the active router to forward traffic. The standby router periodically sends Hello packets to notify other members of its status. Active: indicates the status of the active router. The active router periodically sends Hello packets to notify other members of its status. 1.2 VRRP 1.2.1 Implementation 1.2.2 State Machine The Virtual Router Redundancy Protocol (VRRP), defined by RFC 2338, provides the backup mechanism for devices on LANs. The functions and implementations of VRRP and Cisco HSRP are similar. Figure 1-3 describes the VRRP state machine. 3

1 Overview Figure 1-3 VRRP state machine VRRP state machine is described as follows: Initialize: indicates the status of a VRRP-enabled interface in Down state. In Initialize state, the device does not process VRRP packets, forward traffic, or participate in election of the master and backup. After receiving an interface Up message, the VRRP-enabled device with priority 255 becomes the master and the VRRP-enabled device with its priority less than 255 switches to the Backup state. Master: indicates the status of the device that is responsible for forwarding gateway traffic and responding to ARP Request messages with the VRRP virtual IP address. In addition, the device in Master state periodically sends protocol packets with multicast address 224.0.0.18 to maintain the VRRP group status. The device becomes the backup if the device receives a packet with higher priority or if the device receives a VRRP packet with the same priority as itself and the IP address of the local interface is smaller than the IP address of the remote interface. Backup: indicates the status of a device that monitors heartbeat packets of the master. The device in Backup state does not forward traffic or respond to corresponding ARP Request messages. If the priority of the device changes or the device does not receive packets from the master in the Master_Down_Interval, the device switches to the master. 4

2 Replaceability Analysis 2 Replaceability Analysis 2.1 Replaceability HSRP is a Cisco proprietary protocol and cannot communicate with devices from other vendors. The implementations of HSRP and VRRP are similar, so VRRP can replace Cisco HSRP. 2.2 Comparisons Comparisons Between HSRP and VRRP Protocol HSRP VRRP Interworking Preemption mode Cisco proprietary protocol that does not support interworking Non-preemption by default Standard protocol that supports interworking Preemption by default State machine Six states (complex) Three states (simple) System load Heavy because packets are sent in Active and Standby states Light because packets in Master state send packets Fast switchover Millisecond-level BFD for VRRP Route association Route association BFD for VRRP Comparisons Between HSRP and VRRP Commands Configuration Cisco Huawei Virtual IP address standby 1 ip 192.168.16.254 vrrp vrid 1 virtual-ip 192.168.16.254 Priority standby 1 priority 120 vrrp vrid 1 priority 120 5

2 Replaceability Analysis Configuration Cisco Huawei Packet transmission interval standby 1 timers 3 10 vrrp vrid 1 timer advertise 3 Authentication mode standby 1 authentication md5 key-string cisco vrrp vrid 1 authentication-mode md5/simple cisco Interface association standby 1 track fa0/10 20 vrrp vrid 1 track interface Ethernet0/0/10 reduced 20 Detailed Comparisons Between HSRP and VRRP Commands Cisco HSRP configuration int vlan 1 standby 1 ip 192.168.16.254 //The virtual IP address of the HSRP group must be the same. standby 1 priority 120 //Specify the priority of HSRP group 1 on the active router. A higher priority indicates higher probability of being the active router. standby 1 preempt //Configure the preemption mode. By default, the non-preemption mode is used. standby 1 timers 3 10 //Set the Hello time to 3s and hold time to 10s. If Hello packets are not received after 10s, an active/standby switchover is performed. standby 1 authentication md5 key-string cisco standby 1 track fa0/10 20 //Associate the HSRP group with an interface. VRRP configuration interface Vlanif1 vrrp vrid 1 virtual-ip 192.168.16.254 //The virtual IP address of the VRRP group must be the same. vrrp vrid 1 priority 120 //Specify the priority of VRRP group 1 on the master. A higher priority indicates higher probability of being the master. vrrp vrid 1 timer advertise 3 //Set the Hello time to 3s and hold time to 9s. If Hello packets are not received after 9s, an active/standby switchover is performed. vrrp vrid 1 authentication-mode md5/simple //Configure an authentication mode. vrrp vrid 1 track interface Ethernet0/0/0 reduced 20 //Associate the VRRP group with an interface. 6

3 Example for Configuring HSRP 3 Example for Configuring HSRP 3.1 Configuring Cisco HSRP to Implement Gateway Backup 3.1.1 Network Topology In Figure 3-1, 3L-SW-1 and 3L-SW-2 are core devices, and 2L-SW-1 and 2L-SW-2 are aggregation devices. f0/1, f0/14, and f0/15 of 3L-SW-1 and 3L-SW-2 join VLANs 1 to 15, and HSRP groups are configured on VLANIF 1 to VLANIF 15. Figure 3-1 HSRP networking 7

3 Example for Configuring HSRP 3.1.2 Network Configuration Configuration Requirements Configure HSRP on Cisco switches to protect user traffic, and configure a loop prevention protocol to prevent loops. Configuration Points Plans VLANs and deploy HSRP in each VLAN on Cisco devices, and configure load balancing groups on 3L-SW-1 and 3L-SW-2. Configuration Files # Configuration file of 3L-SW-1 configure terminal //Configure VLANIF interfaces and assign IP addresses to them. interface vlan 1 ip address 192.168.16.1 255.255.255.0 interface vlan 2 ip address 10.177.155.1 255.255.255.0 interface vlan 3 ip address 172.16.2.1 255.255.255.0 interface vlan 4 ip address 172.16.3.1 255.255.255.0 interface vlan 5 ip address 172.16.4.1 255.255.255.0 end configure terminal //Configure a loop prevention protocol so that 3L-SW-1 becomes the root bridge in VLANs 1, 2, and 3. spanning-tree vlan 1 root primary spanning-tree vlan 2 root primary spanning-tree vlan 3 root primary spanning-tree vlan 4 root secondary spanning-tree vlan 5 root secondary end configure terminal interface range fastethernet 0/1, fastethernet 0/14, fastethernet 0/15 switchport mode trunk switchport trunk allowed vlan add 1,2,3,4,5 interface vlan 1 standby 1 ip 192.168.16.254 //The virtual IP address of the HSRP group must be the same. standby 1 priority 120 //Specify the priority of HSRP group 1 on the active router. A higher priority indicates higher probability of being the active router. standby 1 preempt //Configure the preemption mode. By default, the non-preemption mode is used. 8

3 Example for Configuring HSRP standby 1 timers 3 10 //Set the Hello time to 3s and hold time to 10s. If Hello packets are not received after 10s, an active/standby switchover is performed. standby 1 authentication md5 key-string cisco standby 1 track fastethernet 0/10 20 //Associate the HSRP group with an interface. interface vlan 2 standby 2 ip 10.177.155.254 standby 2 priority 120 standby 2 preempt standby 2 timers 3 10 standby 2 authentication md5 key-string cisco standby 2 track fastethernet 0/10 20 //Associate the HSRP group with an interface. When the link of fastethernet 0/10 becomes faulty, the device priority decreases by 20 so that its priority is lower than the priority of 3L-SW-2 (priority 110). Then 3L-SW-2 preempts to be the active router. interface vlan 3 standby 3 ip 172.16.2.254 standby 3 priority 120 standby 3 preempt standby 3 timers 3 10 standby 3 authentication md5 key-string cisco standby 3 track fastethernet 0/10 20 interface vlan 4 standby 4 ip 172.16.3.254 standby 4 priority 110 standby 4 preempt standby 4 timers 3 10 standby 4 authentication md5 key-string cisco interface vlan 5 standby 5 ip 172.16.4.254 standby 5 priority 110 standby 5 preempt standby 5 timers 3 10 standby 5 authentication md5 key-string cisco # Configuration file of 3L-SW-2 configure terminal ///Configure VLANIF interfaces and assign IP addresses to them. interface vlan 1 ip address 192.168.16.2 255.255.255.0 interface vlan 2 ip address 10.177.155.2 255.255.255.0 interface vlan 3 ip address 172.16.2.2 255.255.255.0 interface vlan 4 ip address 172.16.3.2 255.255.255.0 9

3 Example for Configuring HSRP interface vlan 5 ip address 172.16.4.2 255.255.255.0 end configure terminal //Configure a loop prevention protocol so that 3L-SW-2 becomes the root bridge in VLANs 4 and 5. spanning-tree vlan 1 root secondary spanning-tree vlan 2 root secondary spanning-tree vlan 3 root secondary spanning-tree vlan 4 root primary spanning-tree vlan 5 root primary end configure terminal interface range fastethernet 0/1, fastethernet 0/14, fastethernet 0/15 switchport mode trunk switchport trunk allowed vlan add 1,2,3,4,5 interface vlan 1 standby 1 ip 192.168.16.254 //The configuration is similar to that of 3L-SW-1. standby 1 priority 110 standby 1 preempt standby 1 timers 3 10 standby 1 authentication md5 key-string cisco interface vlan 2 standby 2 ip 10.177.155.254 standby 2 priority 110 standby 2 preempt standby 2 timers 3 10 standby 2 authentication md5 key-string cisco interface vlan 3 standby 3 ip 172.16.2.254 standby 3 priority 110 standby 3 preempt standby 3 timers 3 10 standby 3 authentication md5 key-string cisco interface vlan 4 standby 4 ip 172.16.3.254 standby 4 priority 120 standby 4 preempt standby 4 timers 3 10 standby 4 authentication md5 key-string cisco standby 4 track fastethernet 0/10 20 interface vlan 5 standby 5 ip 172.16.4.254 10

3 Example for Configuring HSRP standby 5 priority 120 standby 5 preempt standby 5 timers 3 10 standby 5 authentication md5 key-string cisco standby 5 track fastethernet 0/10 20 # HSRP group configuration on 3L-SW-1 and 3L-SW-2 3L-SW-1>enable 3L-SW-1#show standby brief P indicates configured to preempt. Interface Grp Pri P State Active Standby Virtual IP Vl1 1 120 P Active local 192.168.16.2 192.168.16.254 Vl2 2 120 P Active local 10.177.155.2 10.177.155.254 Vl3 3 120 P Active local 172.16.2.2 172.16.2.254 Vl4 4 110 P Standby 172.16.3.2 local 172.16.3.254 Vl5 5 110 P Standby 172.16.4.2 local 172.16.4.254 3L-SW-1# 3L-SW-2>enable 3L-SW-2#show standby brief P indicates configured to preempt. Interface Grp Pri P State Active Standby Virtual IP Vl1 1 110 P Standby 192.168.16.1 local 192.168.16.254 Vl2 2 110 P Standby 10.177.155.1 local 10.177.155.254 Vl3 3 110 P Standby 172.16.2.1 local 172.16.2.254 Vl4 4 120 P Active local 172.16.3.1 172.16.3.254 Vl5 5 120 P Active local 172.16.4.1 172.16.4.254 3L-SW-2# 3.1.3 Configuration Notes It is recommended that Huawei use BFD for VRRP to replace millisecond-level transmission of Cisco HSRP. It is recommended that Huawei use BFD for VRRP to replace route association of Cisco HSRP. HSRP uses the non-preemption mode by default. 11

4 References 4 References The following table lists the references of this document. Document Description Remarks RFC2281 RFC2338 Cisco Hot Standby Router Protocol (HSRP) Virtual Router Redundancy Protocol http://www.rfc-editor.org/info/rfc2281 http://www.rfc-editor.org/info/rfc2338 12