Configuration Roadmap
The configuration roadmap is as follows:
1. Configure Switch A as the NQA client.
2. Configure Switch B as the NQA server.
3. Create a MAC Ping test on Switch A.
Data Preparation
To complete the configuration, you need the following data:
l IP address and mask of the NQA server
Procedure
Step 1 Configure the MA and MD between Switch A and Switch B.
<SwitchA> system-view
[SwitchA] cfm enable
[SwitchA] cfm md test
[SwitchA-md-test] ma test
[SwitchA-md-test-ma-test] map vlan 11
[SwitchA-md-test-ma-test] mep mep-id 11 interface GigabitEthernet 2/0/1 outward
[SwitchA-md-test-ma-test] remote-mep mep-id 12 mac 00e0-fc88-aaaa
[SwitchA-md-test-ma-test] quit
[SwitchA-md-test] quit
[SwitchA]
[Quidway]system-view
[SwitchB] cfm enable
[SwitchB] cfm md test
[SwitchB-md-test] ma test
[SwitchB-md-test-ma-test] map vlan 12
[SwitchB-md-test-ma-test] mep mep-id 12 interface GigabitEthernet2/0/1 outward
[SwitchB-md-test-ma-test] remote-mep mep-id 11 mac 0000-0000-0010
[SwitchB-md-test-ma-test] quit
[SwitchB-md-test] quit
[SwitchB]
Step 2 # Enable the NQA client and create a MAC Ping test for a common tunnel on Switch A.
[SwitchA]nqa test-instance admin macping
[SwitchA-nqa-admin-macping]test-type macping
[SwitchA-nqa-admin-macping]md test ma test
[SwitchA-nqa-admin-macping]destination-address mac 00e0-fc88-aaaa
Step 3 Perform the test.
[SwitchA-nqa-admin-macping] start now
Step 4 Verify the test result.
[SwitchA-nqa-admin-macping] display nqa results test-instance admin macping
NQA entry(admin, macping) :testFlag is inactive ,testtype is macping
1 . Test 1 result The test is finished
SendProbe:3 ResponseProbe:3
Completion:success RTD OverThresholds number:0
OWD OverThresholds SD number:0 OWD OverThresholds DS number:0
Min/Max/Avg/Sum RTT:1/1/1/1 RTT Square Sum:3
NumOfRTT:3 Drop operation number:0
Operation sequence errors number:0 RTT Stats errors number:0
System busy operation number:0 Operation timeout number:0
Min Positive SD:0 Min Positive DS:0
Max Positive SD:0 Max Positive DS:0
Positive SD Number:0 Positive DS Number:0
Positive SD Sum:0 Positive DS Sum:0
Positive SD Square Sum :0 Positive DS Square Sum :0
Quidway S9300 Terabit Routing Switch
Configuration Guide - Network Management 6 NQA Configuration
Issue 03 (2010-09-20) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
6-163