HP MSR Series Configuration Manual page 97

High availability
Hide thumbs Also See for MSR Series:
Table of Contents

Advertisement

[RouterD] ip route-static 10.1.1.1 24 10.2.1.2
# Create an NQA operation with the administrator admin and the operation tag test.
[RouterD] nqa entry admin test
# Configure the operation type as ICMP echo.
[RouterD-nqa-admin-test] type icmp-echo
# Specify 10.1.1.1 as the destination address of the operation.
[RouterD-nqa-admin-test-icmp-echo] destination ip 10.1.1.1
# Specify 10.2.1.2 as the next hop of the operation.
[RouterD-nqa-admin-test-icmp-echo] next-hop 10.2.1.2
# Configure the ICMP echo operation to repeat at an interval of 100 milliseconds.
[RouterD-nqa-admin-test-icmp-echo] frequency 100
# Configure reaction entry 1, specifying that five consecutive probe failures trigger the Track
module.
[RouterD-nqa-admin-test-icmp-echo] reaction 1 checked-element probe-fail
threshold-type consecutive 5 action-type trigger-only
[RouterD-nqa-admin-test-icmp-echo] quit
# Start the NQA operation.
[RouterD] nqa schedule admin test start-time now lifetime forever
# Configure track entry 1, and associate it with reaction entry 1 of the NQA operation.
[RouterD] track 1 nqa entry admin test reaction 1
Verifying the configuration
# Display information about the track entry on Router A.
[RouterA] display track all
Track ID: 1
State: Positive
Duration: 0 days 0 hours 0 minutes 32 seconds
Notification delay: Positive 0, Negative 0 (in seconds)
Tracked object:
NQA entry: admin test
Reaction: 1
The output shows that the status of the track entry is Positive, indicating that the NQA operation has
succeeded and the master route is available.
# Display the routing table of Router A.
[RouterA] display ip routing-table
Destinations : 10
Destination/Mask
10.1.1.0/24
10.1.1.1/32
10.2.1.0/24
10.3.1.0/24
10.3.1.1/32
20.1.1.0/24
20.1.1.1/32
Routes : 10
Proto
Pre
Cost
Direct 0
0
Direct 0
0
Static 60
0
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
92
NextHop
Interface
10.1.1.1
GE2/0/1
127.0.0.1
InLoop0
10.1.1.2
GE2/0/1
10.3.1.1
GE2/0/2
127.0.0.1
InLoop0
20.1.1.1
GE2/0/3
127.0.0.1
InLoop0

Advertisement

Table of Contents
loading

Table of Contents