
l
IP address of each interface
l
IDs of VLANs to which the interfaces belong
l
Stratum count of the NTP master clock
l
Authentication key and key ID
Procedure
Step 1
Configure the IP addresses of the Switches.
Configure the IP address of each interface according to
.
# Configure the IP address of the VLANIF interface on Switch C.
<SwitchC>
system-view
[SwitchC]
vlan 10
[SwitchC-Vlan10]
quit
[SwitchC]
interface ethernet 0/0/1
[SwitchC-Ethernet0/0/1]
port hybrid pvid vlan 10
[SwitchC-Ethernet0/0/1]
port hybrid untagged vlan 10
[SwitchC-Ethernet0/0/1]
quit
[SwitchC]
interface vlanif 10
[SwitchC-Vlanif10]
ip address 3.0.1.31 24
[SwitchC-Vlanif10]
quit
# Configure the IP address of the VLANIF interface on Switch D.
<SwitchD>
system-view
[SwitchD]
vlan 10
[SwitchD-Vlan10]
quit
[SwitchD]
interface ethernet 0/0/1
[SwitchD-Ethernet0/0/1]
port hybrid pvid vlan 10
[SwitchD-Ethernet0/0/1]
port hybrid untagged vlan 10
[SwitchD-Ethernet0/0/1]
quit
[SwitchD]
interface vlanif 10
[SwitchD-Vlanif10]
ip address 3.0.1.32 24
[SwitchD-Vlanif10]
quit
# Configure the IP address of the VLANIF interface on Switch F.
<SwitchF>
system-view
[SwitchF]
vlan 10
[SwitchF-Vlan10]
quit
[SwitchF]
interface ethernet 0/0/2
[SwitchF-Ethernet0/0/2]
port hybrid pvid vlan 10
[SwitchF-Ethernet0/0/2]
port hybrid untagged vlan 10
[SwitchF-Ethernet0/0/2]
quit
[SwitchF]
interface vlanif 10
[SwitchF-Vlanif10]
ip address 3.0.1.2 24
[SwitchF-Vlanif10]
quit
[SwitchF]
vlan 20
[SwitchF-Vlan20]
quit
[SwitchF]
interface ethernet 0/0/1
[SwitchF-Ethernet0/0/1]
port hybrid pvid vlan 20
[SwitchF-Ethernet0/0/1]
port hybrid untagged vlan 20
[SwitchF-Ethernet0/0/1]
quit
[SwitchF]
interface vlanif 20
[SwitchF-vlanif20]
ip address 1.0.1.2 24
[SwitchF-vlanif20]
quit
# Configure the IP address of the VLANIF interface on Switch A.
<SwitchA>
system-view
[SwitchA]
vlan 20
[SwitchA-Vlan20]
quit
[SwitchA]
interface ethernet 0/0/1
[SwitchA-Ethernet0/0/1]
port hybrid pvid vlan 20
Quidway S2700 Series Ethernet Switches
Configuration Guide - Network Management
4 NTP Configuration
Issue 01 (2011-07-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
237