Configuration procedure – H3C Technologies H3C WX6000 Series Access Controllers User Manual

Page 670

Advertising
background image

69-5

Configuration procedure

1) Configure the IP address of each interface as shown in

Figure 69-2

.

2) Configure a static route on AC A and associate it with the Track object.

# Configure the address of the next hop of the static route to Switch as 10.2.1.1, and configure the static
route to associate with Track object 1.

<ACA> system-view

[ACA] ip route-static 10.1.1.2 24 10.2.1.1 track 1

3) Configure an NQA test group on AC A.

# Create an NQA test group with the administrator admin and the operation tag test.

[ACA] nqa entry admin test

# Configure the test type as ICMP-echo.

[ACA-nqa-admin-test] type icmp-echo

# Configure the destination address as 10.2.1.1

[ACA-nqa-admin-test-icmp-echo] destination ip 10.2.1.1

# Configure the test frequency as 100 ms.

[ACA-nqa-admin-test-icmp-echo] frequency 100

# Configure Reaction entry 1, specifying that five consecutive probe failures trigger the Static
Routing-Track-NQA collaboration.

[ACA-nqa-admin-test-icmp-echo] reaction 1 checked-element probe-fail threshold-type

consecutive 5 action-type trigger-only

[ACA-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 AC 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).

[ACA] track 1 nqa entry admin test reaction 1

5) Verify the configuration

# Display information of the Track object on AC A.

[ACA] display track all

Track ID: 1

Status: Positive

Reference object:

NQA entry: admin test

Reaction: 1

# Display the routing table of Switch.

[Switch] 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

Advertising