Figure 4-5 Networking diagram for configuring the NTP multicast mode
GE0/0/1
VLANIF20
1.0.1.11/24
SwitchA
SwitchF
SwitchC
SwitchD
VLANIF20
1.0.1.2/24
VLANIF10
3.0.1.2/24
GE0/0/1
VLANIF10
3.0.1.31/24
3.0.1.32/24
GE0/0/2
GE0/0/1
VLANIF10
GE0/0/1
Configuration Roadmap
The configuration roadmap is as follows:
1. Configure Switch C as the NTP multicast server.
2. Configure Switch A and Switch D as the NTP multicast clients.
Data Preparation
To complete the configuration, you need the following data:
l IP address of each interface
l Stratum count of the NTP master clock
Procedure
Step 1 Configure the IP addresses of the Switches.
Configure the IP address of each interface according to Figure 4-5.
# Configure the IP address of the VLANIF interface on Switch C.
<SwitchC> system-view
[SwitchC] vlan 10
[SwitchC-Vlan10] quit
[SwitchC] interface gigabitethernet 0/0/1
[SwitchC-GigabitEthernet0/0/1] port hybrid pvid vlan 10
[SwitchC-GigabitEthernet0/0/1] port hybrid untagged vlan 10
[SwitchC-GigabitEthernet0/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 gigabitethernet 0/0/1
[SwitchD-GigabitEthernet0/0/1] port hybrid pvid vlan 10
[SwitchD-GigabitEthernet0/0/1] port hybrid untagged vlan 10
Quidway S5700 Series Ethernet Switches
Configuration Guide - Network Management 4 NTP Configuration
Issue 01 (2011-10-26) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
241