H3C Technologies H3C WX3000E Series Wireless Switches User Manual
Page 35
26
# Configure Switch B to operate in multicast server mode and send multicast messages through
VLAN-interface 2.
[SwitchB] interface vlan-interface 2
[SwitchB-Vlan-interface2] ntp-service multicast-server
2.
Configure AP 2:
# Configure AP 2 to operate in multicast client mode and receive multicast messages on VLAN-interface
2.
[AP2] interface vlan-interface 2
[AP2-Vlan-interface2] ntp-service multicast-client
AP 2 and Switch B are on the same subnet, so AP 2 can receive the multicast messages from Switch B
without being enabled with the multicast functions and can be synchronized to Switch B.
# Display the NTP status of AP 2 after clock synchronization.
[AP2-Vlan-interface2] display ntp-service status
Clock status: synchronized
Clock stratum: 3
Reference clock ID: 3.0.1.31
Nominal frequency: 100.0000 Hz
Actual frequency: 100.0000 Hz
Clock precision: 2^16
Clock offset: 0.0000 ms
Root delay: 31.00 ms
Root dispersion: 8.31 ms
Peer dispersion: 34.30 ms
Reference time: 16:01:51.713 UTC Sep 19 2005 (C6D95F6F.B6872B02)
The output shows that AP 2 has been synchronized to Switch B, and the clock stratum level of AP 2 is 3,
while that of Switch B is 2.
# Display NTP session information for AP 2, which shows that an association has been set up between
AP 2 and Switch B.
[AP2-Vlan-interface2] display ntp-service sessions
source reference
stra reach poll now offset delay disper
**************************************************************************
[1234] 3.0.1.31 127.127.1.0 2 254 64 62 -16.0 31.0 16.6
note: 1 source(master),2 source(peer),3 selected,4 candidate,5 configured
Total associations : 1
3.
Configure Switch A:
AP 1 and Switch B are on different subnets, so you must enable the multicast functions on Switch A before
AP 1 can receive multicast messages from Switch B.
# Enable IP multicast routing and IGMP.
[Switch A] multicast routing-enable
[Switch A] interface vlan-interface 2
[Switch A-Vlan-interface2] pim dm
[Switch A-Vlan-interface2] quit
[Switch A] vlan 3
[Switch A-vlan3] port ethernet 1/0/1