Configuration Files
l Configuration file of Switch A
#
 sysname SwitchA
#
vlan batch 100
#
interface Vlanif100
 ip address 10.1.1.1 255.255.255.0
#
interface Ethernet0/0/1
 port hybrid pvid vlan 100
 port hybrid untagged vlan 100
#
nqa test-instance admin trace
 test-type  trace
 destination-address ipv4 10.2.1.2
#
 ip route-static 10.2.1.0 255.255.255.0 10.1.1.2
#
return
l Configuration file of Switch B
#
 sysname SwitchB
#
vlan batch 100 110
#
interface Vlanif100
 ip address 10.1.1.2 255.255.255.0
#
interface Vlanif110
 ip address 10.2.1.1 255.255.255.0
#
interface Ethernet0/0/1
 port hybrid pvid vlan 100
 port hybrid untagged vlan 100
#
interface Ethernet0/0/2
 port hybrid pvid vlan 110
 port hybrid untagged vlan 110
#
return
l Configuration file of Switch C
#
 sysname SwitchC
#
vlan batch 110
#
interface Vlanif110
 ip address 10.2.1.2 255.255.255.0
#
interface Ethernet0/0/1
 port hybrid pvid vlan 110
 port hybrid untagged vlan 110
#
 ip route-static 10.1.1.0 255.255.255.0 10.2.1.1
#
return
Quidway S2700 Series Ethernet Switches
Configuration Guide - Network Management 6 NQA Configuration
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
316