280CHAPTER 11: SYSTEM MANAGEMENT

You can set the NTP operating mode of the Switch 7750 according to its location in the network, and the network structure. For example, you can set a remote server as the time server of the local equipment. In this case the local Ethernet Switch works as an NTP client. If you set a remote server as a peer of the local Ethernet Switch, the local equipment operates in symmetric active mode. If you configure an interface on the local switch to transmit NTP broadcast packets, the local switch will operate in broadcast mode. If you configure an interface on the local switch to receive NTP broadcast packets, the local switch will operate in broadcast client mode. If you configure an interface on the local switch to transmit NTP multicast packets, the local switch will operate in multicast mode. You may also configure an interface on the local switch to receive NTP multicast packets, the local switch will operate in multicast client mode.

The following sections describe how to configure NTP modes:

Configuring NTP Server Mode

Configuring NTP Peer Mode

Configuring NTP Broadcast Server Mode

Configuring NTP Broadcast Client Mode

Configuring NTP Multicast Server Mode

Configuring NTP Multicast Client Mode

Configuring NTP Server Mode Set a remote server whose IP address is ip-addressas the local time server. ip-addressspecifies a host address other than a broadcast, multicast, or reference clock IP address. In this case, the local switch operates in client mode. In this mode, only the local client synchronizes its clock with the clock of the remote server, while the reverse synchronization will not happen.

Perform the following configurations in system view.

Table 319 Configuring NTP Time Server

Operation

Command

 

 

Configure NTP time server

ntp-service unicast-server

 

ip-address [ version number

 

authentication-keyid keyid

 

source-interface { interface-name

 

interface-type interface-number

 

} priority ]*

Cancel NTP server mode

undo ntp-service unicast-server

 

ip-address

 

 

NTP version number number ranges from 1 to 3 and defaults to 3; the authentication key ID keyid ranges from 0 to 4294967295; interface-nameor interface-typeinterface-numberspecifies the IP address of an interface, from which the source IP address of the NTP packets sent from the local switch to the time server will be taken; priority indicates the time server will be the first choice.

Configuring NTP Peer Mode Set a remote server whose IP address is ip-addressas the peer of the local equipment. In this case, the local equipment operates in symmetric active mode. ip-addressspecifies a host address other

Page 280
Image 280
3Com 10014298 manual Configuring NTP Time Server, Ntp-service unicast-server, Authentication-keyid keyid