Configuring NTP Implementation Modes 297
CAUTION: An Switch 4500 can operate in the NTP peer, NTP broadcast server, or
NTP multicast server mode only after its clock is synchronized.
Configuring NTP
Implementation
Modes
A Switch 4500 can operate in one of the following NTP modes:
â– NTP client mode
â– NTP server mode
â– NTP peer mode
â– NTP broadcast server mode
â– NTP broadcast client mode
â– NTP multicast server mode
â– NTP multicast client mode
Configuration
Prerequisites
You need to perform configurations only on the client (or the active peer) when
you want a Swtich 4500 to operate in NTP server mode (or NTP peer mode).
However, you need to perform configurations on both the server and client when
you want the switch to operate in NTP broadcast mode or NTP multicast mode.
Configuration Procedure Ta ble 336 describes how to configure the Switch 4500 NTP modes.
Tab le 336 Configure NTP implementation modes
Multicast mode â– Configure the local Switch 4500 Ethernet switch to
operate in NTP multicast server mode. In this mode,
the local switch sends multicast NTP packets through
the VLAN interface configured on the switch.
â– Configure the local Switch 4500 Ethernet switch to
operate in NTP multicast client mode. In this mode, the
local switch receives multicast NTP packets through the
VLAN interface configured on the switch.
NTP implementation mode Configuration on the Switch 4500 Family
Operation Command Description
Enter system view system-view
Configure the switch to
operate in NTP client mode
ntp-service unicast-server
{ remote-ip | server-name } [
authentication-keyid
key-id | priority |
source-interface
Vlan-interface vlan-id |
version number ]*
Optional
By default, no Ethernet switch
operates in NTP client mode.
Configure the switch to
operate in NTP peer mode
ntp-service unicast-peer {
remote-ip | peer-name } [
authentication-keyid
key-id | priority |
source-interface
Vlan-interface vlan-id |
version number ]*
Optional
By default, no Ethernet switch
operates in NTP peer mode.
Enter VLAN interface view interface Vlan-interface
vlan-id