Configuring NTP
Implementation
Modes
Configuration
Prerequisites
Configuration Procedure
NTP implementation mode
Multicast mode
CAUTION: An Switch 4500 can operate in the NTP peer, NTP broadcast server, or
NTP multicast server mode only after its clock is synchronized.
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
■
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.
Table 336
describes how to configure the Switch 4500 NTP modes.
Table 336 Configure NTP implementation modes
Operation
Enter system view
Configure the switch to
operate in NTP client mode
Configure the switch to
operate in NTP peer mode
Enter VLAN interface view
Configuring NTP Implementation Modes
Configuration on the Switch 4500 Family
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.
Command
system-view
ntp-service unicast-server
{ remote-ip | server-name } [
authentication-keyid
key-id | priority |
source-interface
Vlan-interface vlan-id |
version number ]*
ntp-service unicast-peer {
remote-ip | peer-name } [
authentication-keyid
key-id | priority |
source-interface
Vlan-interface vlan-id |
version number ]*
interface Vlan-interface
vlan-id
Description
Optional
By default, no Ethernet switch
operates in NTP client mode.
Optional
By default, no Ethernet switch
operates in NTP peer mode.
297