As required by the customer, the AR router needs to track and detect the BGP primary link so that traffic is automatically switched from the faulty BGP primary link to the ADSL or ADSL2+ backup PPPoE link. When the BGP link recovers, the router switches the traffic back to the BGP link and cuts the ADSL link automatically.
For details about the customer’s requirements and networking diagram, see the attachment "Description of the NQA Application Scenario."
The major configurations of NQA are listed below. For the complete configurations of NQA, see the appendix NQA config.txt. Through these configurations, the AR router can track and detect the BGP primary route so that traffic is automatically switched from the faulty BGP primary link to the ADSL or ADSL2+ backup PPPoE link. When the BGP link recovers, the router switches the traffic back to the BGP link and cuts the ADSL link automatically.
1. Configure NQA.
nqa server enable
nqa entry admintest
destination ip 126.96.36.199
reaction 1 checked-element probe-fail threshold-type consecutive 5 action-type trigger-only
nqa schedule admintest start-time now lifetime forever
track 1 nqa entry admintest reaction 1
2. Configure ADSL-related interfaces.
adsl standard t1413
map bridge Virtual-Ethernet 1
pppoe-client dial-bundle-number 1
ppp pap local-user email@example.com password simple sucursal3
ip address 192.168.11.1 255.255.255.0
dialer user CENTRAL
dialer bundle 1
standby track 1
3. Configure static route tracking and set different priorities for the routes.
ip route-static 188.8.131.52 255.255.255.0 192.168.100.9 track 1 preference 5
ip route-static 184.108.40.206 255.255.255.0 192.168.11.254 preference 8