Backup Center Configuration backup center Overview
To improve network reliability, VRP uses the backup center to provide comprehensive backup functions:
1: The backup interface is called the primary interface. Any physical interface or sub-interface on the vro can be used as the primary interface. A logical channel such as X.25 or a virtual circuit of Frame Relay on any interface can also be used as the primary interface.
2: The backup interface for other interfaces is called the backup interface. Any physical interface or logical channel on the router can be used as a backup interface for other interfaces or logical channels.
3: provides multiple backup interfaces for a primary interface. When the primary interface fails, multiple backup interfaces can be prioritized to determine the order of replacement.
Www.2cto.com
4: interfaces with multiple physical channels (such as isdn bri and isdn pri interfaces) can be backed up by DialerRoute for multiple primary interfaces.
5: The backup Center supports the backup load sharing function. When the traffic of all active interfaces in the backup chain reaches the set threshold, the router starts an available backup interface with the highest priority to share the load with the main interface; when the traffic of all active interfaces in the backup chain is less than the set threshold, the router closes a backup interface with the lowest priority. Backup Center Configuration
The backup center configuration includes:
1: Enter the main interface view to be backed up
2: Specify the backup interface used by the primary interface and its priority
3: Set the delay of active/standby interface switching
4: Configure conditions for determining the status of the Logical Channel
5: Configure backup load sharing typical backup Center Configuration example
Case: Backup between interfaces
Requirement: use interface Serial 2 as a backup interface of interface Serial 1.
Www.2cto.com
Procedure
# Go To The interface view of Serial 1.
[Quidway] interface serial 1
# Set Serial 2 as its backup interface.
[Quidway-Serial1] standby interface serial 2
# Set the delay time for switching between the master and slave interfaces to 10 seconds.
[Quidway-Serial1] standby timer enable-delay 10
[Quidway-Serial1] standby timer disable-delay 10
Case: multiple backup Interfaces
Requirement: Use Serial 1 and Serial 2 as the standby interfaces of Serial 0, and use serial1.
Procedure
# Go To The interface view of Serial 0.
[Quidway] interface serial 0
# Set Serial 1 and Serial 2 as their standby interfaces with priority of 30 and 20, respectively.
The [Quidway-Serial0] standby interface serial 1 30
[Quidway-Serial0] standby interface serial 2 20
Case: Example of Logical Channel backup Interface
Requirement: the interface Serial 1 is used as the backup interface of the X.25 virtual circuit on the Interface Serial 0.
Www.2cto.com
Procedure
# Configure the interface Serial 0 to encapsulate the X.25 protocol and specify its IP address and X.121 address.
[Quidway] interface serial 0
[Quidway-Serial0] link-protocol x25
[Quidway-Serial0] ip address 1.1.1.2 255.0.0.0
[Quidway-Serial0] x25 x121-address 1
# Match an X25 virtual circuit on Serial 0 with logic Channel 10.
[Quidway-Serial0] x25 map ip 2.2.2.3 x121-address 2 logic-channel 10
# Enter the view of Logical Channel 10.
[Quidway-Serial0] logic-channel 10
# Specify Serial 1 as the standby interface of the Logical Channel.
[Quidway-logic-channel10] standby interface serial 1
# Set the interval for determining the 10 Status of a logical channel to up to 10 seconds.
The [Quidway-logic-channel10] standby state-up 10
Case: multiple backup interfaces with logical channels as an Example
Requirement: Use logical channel 3 and Serial 2 on interface Serial 1 as the standby interface of Logical Channel 5 on interface Serial 0.
Procedure
# Configure the interface Serial 0 to encapsulate the X.25 protocol and specify its IP address and X.121 address.
[Quidway] interface serial 0
[Quidway-Serial0] link-protocol x25
[Quidway-Serial0] ip address 1.1.1.2 255.0.0.0
[Quidway-Serial0] x25 x121-address 1
# Apply an X25 virtual circuit on Serial 0 to Logical Channel 5.
[Quidway-Serial0] x25 map ip 2.2.2.3 x121-address 2 logic-channel 5
# Configure the interface Serial 1 to encapsulate the X.25 protocol and specify its IP address and X.121 address.
The [Quidway-Serial0] interface serial 1
[Quidway-Serial1] link-protocol x25
[Quidway-Serial1] ip address 3.3.3.4 255.0.0.0
[Quidway-Serial1] x25 x121-address 3
# Match an X25 virtual circuit on Serial 1 with logic Channel 3.
[Quidway-Serial1] x25 map ip 4.4.4.5 x121-address 4 logic-channel 3
# Go To The View of Logical Channel 5 and specify Logical Channel 3 and interface Serial 2 as their standby interfaces. The priority is 50 and 20 respectively.
[Quidway-Serial1] logic-channel 5
[Quidway-logic-channel5] standby logic-channel 3 50
[Quidway-logic-channel5] standby interface serial 2 20 VRRP configuration VRRP introduction VRRP (Virtual Router Redundancy Protocol) is a fault tolerance Protocol. Generally, a default route is set for a host in a network (the next hop is 10.100.10.1). In this way, packets sent from a host whose destination address is not in this segment are sent to the Router through the default route, thus, the communication between the host and the external network is realized. When a Router fails, all hosts with the next hop of the Router as the default route in this segment will be disconnected from external communication. VRRP is proposed to solve the above problems. It is designed for LAN (such as Ethernet) with multicast or broadcast capabilities. VRRP organizes a group of routers (including one MASTER and several backups) in a LAN into a virtual router, which is called a BACKUP group. This virtual router (that is, the backup group) has its own IP address 10.100.10.1 (this IP address can be the same as the interface address of a vro in the backup group ), the vro in the BACKUP group also has its own IP address (the master ip address is 10.100.10.2, And the backup ip address is 10.100.10.3 ). The host in the LAN only knows the IP address 10.100.10.1 of the virtual router, but does not know the IP address 10.100.10.2 of the specific MASTER router and the IP address 10.100.10.3 of the BACKUP router, they set their default route to the IP address 10.100.10.1 of the vro. As a result, the host in the Network communicates with other networks through this virtual router. If the MASTER router in the BACKUP group breaks down, other BACKUP routers in the BACKUP group will replace the new MASTER and continue to provide routing services to the hosts in the network. In this way, the network host and VRRP are configured continuously.
VRRP configurations include:
Set whether the virtual IP address can be pinged by using the ping command
Add virtual IP Address
Set the priority of the router in the backup group
Set the router preemption mode and Delay Time in the backup group
Set authentication method and authentication word
Set the backup group Timer
Typical VRRP configuration example
Case: VRRP single backup group example
Requirements:
Host A uses the VRRP backup group composed of router A and router B as its default gateway to access host B on the Internet.
Vrrp backup group composition: the BACKUP group number is 1, the virtual IP address is 202.38.160.111, vroa A is the MASTER, vrob B is the BACKUP router (BACKUP), and can be preemptible.
Procedure
# Configure vroa:
[Router-Ethernet0] vrrp vrid 1 virtual-ip 202.38.160.111
[Router-Ethernet0] vrrp vrid 1 priority 120
# Configure vrob B:
[Router-Ethernet0] vrrp vrid 1 virtual-ip 202.38.160.111
Configuration instructions
You can use the backup group immediately after it is configured. Host A can set the default gateway to 202.38.160.111.
Under normal circumstances, router A performs gateway work. When router A is shut down or fails, router B takes over for gateway work.
Sets the preemption mode to continue to become a master when router A recovers.
Case: VRRP monitoring interface Example
Even if vroa A still works, you may want vrob B to perform gateway work when the interface connecting to the Internet is unavailable. You can configure the monitoring interface to meet the preceding requirements.
For ease of instruction, the device group number is 1 and the authorization word and timer configuration are added (not required in this application ).
Procedure
# Configure vroa A: www.2cto.com
[Router-Ethernet0] vrrp vrid 1 virtual-ip 202.38.160.111
[Router-Ethernet0] vrrp vrid 1 priority 120
[Router-Ethernet0] vrrp authentication-mode simple QUIDWAY
[Router-Ethernet0] vrrp vrid 1 timer-advertise 5
[Router-Ethernet0] vrrp vrid 1 track serial0 reduced 30
# Configure vrob B:
[Router-Ethernet0] vrrp vrid 1 virtual-ip 202.38.160.111
[Router-Ethernet0] vrrp authentication-mode simple QUIDWAY
[Router-Ethernet0] vrrp vrid 1 timer-advertise 5
Configuration instructions
Under normal circumstances, vroa A performs gateway work. When the interface Serial0 of vroa A is unavailable, the priority of vroa A is reduced by 30, which is lower than that of vrob B, vrob B will be preemptible to the MASTER to perform gateway work.
After the Serial0 operation of vroa A is resumed, vroa A can continue to become the MASTER node to perform gateway work.
Case: Example of multiple backup groups: www.2cto.com
In the Quidway series routers, A vro can be used to back up multiple backup groups.
You can share the load by setting multiple backup groups. For example, vroa A acts as the MASTER of the backup group 1 and is also A part-time backup router of vro2 2, while vrob B acts as the MASTER of the backup group 2, and part-time backup router in backup group 1. Some hosts use backup group 1 as the gateway, while others use backup group 2 as the gateway. In this way, data streams are shared and backed up to each other.
.
Procedure
# Configure vroa:
[Router-Ethernet0] vrrp vrid 1 virtual-ip 202.38.160.111
[Router-Ethernet0] vrrp vrid 1 priority 120
[Router-Ethernet0] vrrp vrid 2 virtual-ip 202.38.160.112
# Configure vrob B:
[Router-Ethernet0] vrrp vrid 1 virtual-ip 202.38.160.111
[Router-Ethernet0] vrrp vrid 2 virtual-ip 202.38.160.112
[Router-Ethernet0] vrrp vrid 2 priority 120