In eSCN230geographic redundancy scenarios, if fixed IP addresses are assigned to terminals
under the core network, the association between static routes and NQA is preferentially adopted
for route switching. In this case, the switch or router in the network must
support NQA ICMP testing and static
route association.
Principles
In eSCN230 geographic redundancy scenarios, the association between static routes and NQA can be adopted for the route switching. This feature is applicable only if the SGi interfaces on the eSCN230s are interconnected with the switch or router configured with the NQA through Layer 2 networks.
On the switch or router, two static routes to a fixed IP address are configured and the next hops of the routes are the active and standby eSCN230s.
The standby eSCN230 discards ping packages sent by the switch or router.
The switch or router uses the NQA ICMP test instance to detect the status of the static route links and select a route based on ping results. Consequently, the downlink route from the router to the fixed IP address is switched accordingly when the active and standby eSCNs switch over.
Configuration
eSCN230
Run the ADD PINGFILTERDYN command to configure ping filtering for a specified IP address of the router or the switch. The dynamic ping filtering function applies only to the standby CN in redundancy scenarios. Table 1lists core network parameters for configuring ping filtering.
Parameter | Parameter ID | Description | Data Source |
|---|---|---|---|
IP Address | IP | Indicates the IP address to be filtered. This value is set to the source IP address used for NQA ICMP detection on the router or the switch. | Network plan |
Subnet Mask | MASK | Indicates the subnet mask matching with the IP address to be filtered. | Network plan |
Application Type | APPTYPE | Indicates the application type of the ping filtering function. This parameter is set to MASTERANDSLAVE. | Fixed value |
Router/Switch
To support eSCN active/standby geographic redundancy, NQA monitoring on the static route must be configured on the router or switch to achieve route switching during an active/standby switchover.
This document describes the interworking between the AR2200 series router (131.168.2.0/24) and the active/standby eSCN. The SGi interface IP addresses of the active and standby eSCNs are 131.168.2.51/24 and 131.168.2.53/24, respectively.
Configure two NQA ICMP instances.
Run the system-view command to enter the system view.
Run the nqa test-instance admin-name test-name command to set up an NQA instance. Table 2 lists related parameters.
Table 2 Parameter description Parameter
Description
admin-name
Indicates the admin name of the NQA instance.
test-name
Indicates the test case name of the NQA instance.
Run the test-type icmp command to set the test type to ICMP, which means the link connectivity is tested by performing ping operations.
Run the destination-address ipv4 ipv4-address command to configure the destination IP address. Set the value of parameter ipv4-address to the SGi interface IP address of the active or standby eSCN.
Run the frequency interval command to configure the test frequency. This parameter specifies the interval for automatic NQA test and is in the unit of s. The recommended value of interval is 15.
Run the start now command to start the NQA test.
//Configuring instance 1 system-viewnqa test-instance admin icmp test-type icmp destination-address ipv4 131.168.2.51 frequency 15 start now //Configuring instance 2 system-viewnqa test-instance admin icmp1 test-type icmp destination-address ipv4 131.168.2.53 frequency 15 start now
Run the IP route-static ip-address nexthop-address track nqa admin-name test-name command to bind two static routes to the destination IP address. Table 3 describes related parameters.
Parameter | Description |
|---|---|
ip-address | Indicates the destination IP address. |
nexthop-address | Indicates the next hot IP address for the specified route. This IP address connects to the SGi interface IP address of the active or standby eSCN. |
admin-name | Indicates the admin name and test case name of the NQA instance in 1.b. |
test-name |
//Binding routes ip route-static 60.60.4.0 24 131.168.2.51 track nqa admin icmp ip route-static 60.60.4.0 24 131.168.2.53 track nqa admin icmp1