EasyManua.ls Logo

H3C S3100V2-52TP

H3C S3100V2-52TP
224 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
155
3. On Device A, create an NQA test group.
# Create an NQA test group with the administrator name being admin and operation tag being test.
[DeviceA] nqa entry admin test
# Configure the test type of the NQA test group as ICMP echo.
[DeviceA-nqa-admin-test] type icmp-echo
# Configure ICMP echo requests to use 10.2.1.1 as their destination IP address.
[DeviceA-nqa-admin-test-icmp-echo] destination ip 10.2.1.1
# Configure the device to perform tests at an interval of 100 milliseconds.
[DeviceA-nqa-admin-test-icmp-echo] frequency 100
# Create reaction entry 1. If the number of consecutive probe failures reaches 5, collaboration with other
modules is triggered.
[DeviceA-nqa-admin-test-icmp-echo] reaction 1 checked-element probe-fail threshold-type
consecutive 5 action-type trigger-only
[DeviceA-nqa-admin-test-icmp-echo] quit
# Configure the test start time and test duration for the test group.
[DeviceA] nqa schedule admin test start-time now lifetime forever
4. On Device A, create the track entry.
# Create track entry 1, and associate it with reaction entry 1 of the NQA test group (admin-test).
[DeviceA] track 1 nqa entry admin test reaction 1
5. 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 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 Device B.
<DeviceB> system-view

Table of Contents

Other manuals for H3C S3100V2-52TP

Related product manuals