Layer-3 Switch-vrrp protocol Learning

Source: Internet
Author: User
From: http://nettao.blog.51cto.com/386537/211216 I,

Vrrp

Introduction:


Virtual router redundancy protocol
Virtual
The proposed router redundancy protocol aims to improve the reliability of the router (layer-3 Ethernet switch) and the external connection by using the backup mechanism. Generally, a default route is set for all hosts in the LAN to specify the default route.
Gateway, which enables communication between the Intranet and the Internet. However, if the communication link between the router and the external network of the default gateway fails, all the communication between the gateway in this segment is interrupted.

Vrrp
The Protocol solves the above problems.
Vrrp
The Protocol consists of multiple routers in the system.
Vrrp
Group, which has a virtual default gateway address. However, at any time, only the vro that controls the vgateway address in a group is an active router (
Master
) To forward data packets. If the active router fails, it selects a redundant backup router with the highest priority (
Backup
) To replace the active router. Because the terminal in the network is configured
Vrrp
The virtual gateway address. When a fault occurs, the virtual router does not change and the host remains connected. The network will not be affected by the single point of failure. This will better solve the problem of router switching in the network. Typical application topology:
The core switch is configured
Vrrp
Protocol



 

II:
Vrrp

Configuration

Vrrp

Is configured for the port
,

Instead of configuring the entire machine
Configure the task sequence:
1,



Create vro
2,



Configuration
Vrrp

Virtual
IP

And Interfaces
3,



Start vro

(

The first three must be configured.
)
4,



Configuration
Vrrp

Authentication (optional)
5,



Configuration
Vrrp

Auxiliary parameters (optional)
(1)



Configuration
Vrrp

Preemption Mode
(2)



Configuration
Vrrp

Priority
(3)



Configuration
Vrrp

Timer Interval
(4)



Configuration
Vrrp

Interface monitoring



Configure the instance command:




Network Topology
Digital China Network Application Competition
-

Sample questions in the competition outline"
Assume that
C2

Configure switch (config) # router vrrp 20
Switch (config-router) # inteface VLAN 20
Switch (config-router) # virtual-IP 202.192.255.254 255.255.255.0
Switch (config-router) # priority 254
Switch (config-router) # exit
Switch (config) # router vrrp 10
Switch (config-router) # interface VLAN 10
Switch (config-router) # virtual-IP 202.192.10.253 255.255.255.0
Switch (config-router) # Priority 1
Switch (config-router) # enble
In
C1

Configure switch (config) # router vrrp 10
Switch (config-router) # inteface VLAN 10
Switch (config-router) # virtual-IP 202.192.10.254 255.255.255.0
Switch (config-router) # priority 254
Switch (config-router) # exit
Switch (config) # router vrrp 20
Switch (config-router) # interface VLAN 20
Switch (config-router) # virtual-IP 202.192.255.253 255.255.255.0
Switch (config-router) # Priority 1
Switch (config-router) # enble



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.