2313

authentication-keyidkeyid: Specifies the key ID to be used for sending NTP messages to the NTP server, where keyid is in the range of 1 to 4294967295.

 

priority: Specifies this NTP server as the first choice under the same condition.

 

source-interfaceinterface-type interface-number: Specifies an interface for

 

sending NTP messages. In an NTP message the local device sends to the NTP

 

server, the source IP address is the primary IP address of this interface.

 

interface-typeinterface-numberrepresents the interface type and number.

 

version number: Specifies the NTP version, where number is in the range of 1 to 3

 

and defaults to 3.

Description

Use the ntp-serviceunicast-servercommand to designate an NTP server for

 

the device.

 

Use the undo ntp-serviceunicast-servercommand to remove an NTP server

 

designated for the device.

 

No NTP server is designated for the device by default.

n

If you specify a VPN instance name, this VPN must exist, and at least one local

interface and the NTP server coexist in this VPN.

 

If multiple VPNs have been configured on the PE and you want to synchronize

 

the PE to a PE or CE in one of these VPNs, you need to provide vpn-instance

 

vpn-instance-name in your command.

 

If you include vpn-instancevpn-instance-name in the undo ntp

 

unicast-servercommand, the command will remove the NTP server with the

 

IP address of ip-address in the specified VPN; if you do not include

 

vpn-instancevpn-instance-name in this command, the command will remove

 

the NTP server with the IP address of ip-address in the public network.

Example

# Designate the device with the IP address of as 10.1.1.1 an NTP server for the

 

device.

 

<Sysname> system-view

 

[Sysname] ntp-service unicast-server 10.1.1.1 version 3

Page 2313
Image 2313
3Com MSR 50, MSR 30 manual Designated for the device, No NTP server is designated for the device by default, 2313