Destination/Mask
10.1.1.0/24
10.2.1.0/24
10.2.1.2/32
127.0.0.0/8
127.0.0.1/32
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
# Display the routing table of Switch A.
[SwitchA] display ip routing-table
Routing Tables: Public
Destinations : 4
Destination/Mask
10.2.1.0/24
10.2.1.2/32
127.0.0.0/8
127.0.0.1/32
The output information above indicates the NQA test result, that is, the next hop 10.2.1.1 is unreachable
(the status of the Track object is Negative), and the configured static route is invalid.
Proto
Pre
Cost
Static 60
0
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
Routes : 4
Proto
Pre
Cost
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
NextHop
10.2.1.1
10.2.1.2
127.0.0.1
127.0.0.1
127.0.0.1
NextHop
10.2.1.2
127.0.0.1
127.0.0.1
127.0.0.1
1-6
Interface
Vlan3
Vlan3
InLoop0
InLoop0
InLoop0
Interface
Vlan3
InLoop0
InLoop0
InLoop0