Beruflich Dokumente
Kultur Dokumente
HUAWEI
HSRP Configuration
www.huawei.com
HSRP Concept
HUAWEI
Hot Standby Routing Protocol Hosts Should use the default gateway Realize fault-tolerant backup function Suitable for LANs supporting multicasting or broadcasting
Suchas Ethernet, Toking Ring, FDDI
www.huawei.com
Router B
WhenafaulthappenstoRouteA,howcanHostA accessHostB?
www.huawei.com
Network 192.1.1.0
E0 192.1.1.1
Host A
Virtual Router
E0 192.1.1.2
HostAonlyknowstheexistenceofVirtualRouter anditcannotseeRouterAorRouterB
www.huawei.com
Usage of HSRP
HUAWEI
Host B
IP
Network 3.0.0.0
E1 3.0.0.1 E0 1.0.0.1
Network 1.0.0.0
Host A
www.huawei.com
HSRP Protocol
HUAWEI
Network 192.1.1.0
E0 192.1.1.1
Host A
E0 192.1.1.2
Virtual IP address and MAC address Active router and standby router Periodical Hello datagram
www.huawei.com
HSRP Status
HUAWEI
Initial status Virtual IP address not set M o n itoring activity / standby router Electing Active / standby router Status of standby router (only one) Status of active router (only one)
www.huawei.com
LISTEN
ACTIVE
INIT
SPEAK
LEARN
received Hello datagram from the standby router after the set time limit
STANDBY
Have not received Hello datagram from the active router after the set timout time limit
www.huawei.com
HSRP Datagram
HUAWEI
Version Oper Code State Hold Time Priority Group Authentication Data Virtual IP Address
Datagram type
www.huawei.com
MHSRP
HUAWEI
Several standby groups can be configured in a same network segment One router can participate in several standby groups Different interfaces can configure several standby groups
www.huawei.com
HUAWEI
HSRP configuration should be done under Ethernet interface mode HSRP configuration task list is as below:
StartHSRP Configure the router's priority in a HSRP standby group ConfiguretheroutertoworkunderpreemptionmodeintheHSRPstandbygroup Configure HSRP authentication ConfigureHSRPtimer Configure m o n itoring designated interface Configure to use the actual interface MAC address Modify virtual MAC address
www.huawei.com
HUAWEI
www.huawei.com
HUAWEI
S e tH S R PH e llo tim ea n dH o l dt i m e s t a n d b y[ g r o u p n u m ber]tim ers[hello-tim e][hold-tim e ] S e t theroutertom onitoradesignatedinterface s t a n d b y[ g r o u p n u m ber]trackinterface-typeinterface-num ber[priority-reduced] S e t tou s ea c t u a li n t e r f a c eM A Ca d d r e s s s t a n d b yu s e b i a M o d ifyavirtualM A Ca d d r e s s s t a n d b yu s e o v m acxx-xx-xx-xx-xx
www.huawei.com
Show current HSRP information show standby Open HSRP data debugging information switch debug standby
www.huawei.com
www.huawei.com
HUAWEI
www.huawei.com
HUAWEI
www.huawei.com
Summary
HUAWEI
Understand HSRP concept and its application. Understand HSRP working principle. HSRP configuration.
www.huawei.com