H3C Technologies H3C WX6000 Series Access Controllers User Manual

Page 176

Advertising
background image

11-41

[AC1-nqa-admin-test-icmp-echo] quit

# Configure the test start time and test duration for the test group.

[AC1] nqa schedule admin test start-time now lifetime forever

4) On AC 1, create the track entry.

# Create track entry 1 to associate it with Reaction entry 1 of the NQA test group (admin-test).

[AC 1] track 1 nqa entry admin test reaction 1

5) Verify the configuration.

# On AC 1, display information about all the track entries.

[AC1] 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 AC 1.

[AC1] 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 Vlan3

10.2.1.0/24 Direct 0 0 10.2.1.2 Vlan3

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 output 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 VLAN-interface 3 on Switch.

<Switch> system-view

[Switch] interface vlan-interface 3

[Switch-Vlan-interface3] undo ip address

# On AC 1, display information about all the track entries.

[AC1] 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 AC 1.

[AC1] display ip routing-table

Routing Tables: Public

Destinations : 4 Routes : 4

Destination/Mask Proto Pre Cost NextHop Interface

Advertising