H3C S5500-SI Series Operation Manual page 918

Hide thumbs Also See for S5500-SI Series:
Table of Contents

Advertisement

# Configure Reaction entry 1, specifying that five consecutive probe failures trigger the Static
Routing-Track-NQA collaboration.
[SwitchA-nqa-admin-test-icmp-echo] reaction 1 checked-element probe-fail threshold-type
consecutive 5 action-type trigger-only
[SwitchA-nqa-admin-test-icmp-echo] quit
# Start NQA probes.
[SwitchA] nqa schedule admin test start-time now lifetime forever
4)
Configure a Track object on Switch A.
# Configure Track object 1, and associate it with Reaction entry 1 of the NQA test group (with the
administrator admin, and the operation tag test).
[SwitchA] track 1 nqa entry admin test reaction 1
5)
Verify the configuration
# Display information of the Track object on Switch A.
[SwitchA] display track all
Track ID: 1
Status: Positive
Reference object:
NQA entry: admin test
Reaction: 1
# Display the routing table of Switch A.
[SwitchA] display ip routing-table
Routing Tables: Public
Destinations : 5
Destination/Mask
Proto
10.1.1.0/24
Static 60
10.2.1.0/24
Direct 0
10.2.1.2/32
Direct 0
127.0.0.0/8
Direct 0
127.0.0.1/32
Direct 0
The output information above indicates the NQA test result, that is, the next hop 10.2.1.1 is reachable
(the status of the Track object is Positive), and the configured static route is valid.
# Remove the IP address of interface VLAN-interface 3 on Switch B.
<SwitchB> system-view
[SwitchB] interface vlan-interface 3
[SwitchB-Vlan-interface3] undo ip address
# Display information of the Track object on Switch A.
[SwitchA] display track all
Track ID: 1
Status: Negative
Reference object:
NQA entry: admin test
Reaction: 1
Routes : 5
Pre
Cost
NextHop
0
10.2.1.1
0
10.2.1.2
0
127.0.0.1
0
127.0.0.1
0
127.0.0.1
1-5
Interface
Vlan3
Vlan3
InLoop0
InLoop0
InLoop0

Advertisement

Chapters

Table of Contents
loading

Table of Contents