beautypg.com

H3C Technologies H3C SecPath F1000-E User Manual

Page 110

background image

44

[DeviceA] track 1 nqa entry admin test reaction 1

Step5

Verify the configuration.

# On Device A, display information about all the track entries.

[DeviceA] display track all

Track ID: 1

Status: Positive

Notification delay: Positive 0, Negative 0 (in seconds)

Reference object:

NQA entry: admin test

Reaction: 1

# Display brief information about active routes in the routing table on Device A.

[DeviceA] display ip routing-table

Routing Tables: Public

Destinations : 5 Routes : 5

Destination/Mask Proto Pre Cost NextHop Interface

10.1.1.0/24 Static 60 0 10.2.1.1 GE0/1

10.2.1.0/24 Direct 0 0 10.2.1.2 GE0/1

10.2.1.2/32 Direct 0 0 127.0.0.1 InLoop0

127.0.0.0/8 Direct 0 0 127.0.0.1 InLoop0

127.0.0.1/32 Direct 0 0 127.0.0.1 InLoop0

The information shows that the static route with the next hop 10.2.1.1 is active, and the status of the track
entry is positive. The static route configuration works.
# Remove the IP address of Ethernet 1/1 on Device B.

system-view

[DeviceB] interface ethernet 1/1

[DeviceB-Ethernet1/1] undo ip address

# On Device A, display information about all the track entries.

[DeviceA] display track all

Track ID: 1

Status: Negative

Notification delay: Positive 0, Negative 0 (in seconds)

Reference object:

NQA entry: admin test

Reaction: 1

# Display brief information about active routes in the routing table on Device A.

[DeviceA] display ip routing-table

Routing Tables: Public

Destinations : 4 Routes : 4

Destination/Mask Proto Pre Cost NextHop Interface

10.2.1.0/24 Direct 0 0 10.2.1.2 GE0/1

10.2.1.2/32 Direct 0 0 127.0.0.1 InLoop0

127.0.0.0/8 Direct 0 0 127.0.0.1 InLoop0