2312 CHAPTER 152: NTP CONFIGURATION COMMANDS

 

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-peercommand to designate a symmetric-passive

 

peer for the device.

 

Use the undo ntp-service unicast-peer command to remove the

 

symmetric-passive peer designated for the device.

 

No symmetric-passive peer 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 symmetric-passive peer 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-peercommand, the command will remove the symmetric-passive

 

peer 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 symmetric-passive peer with the IP address of ip-address in the

 

public network.

Example

# Designate the device with the IP address of 10.1.1.1 as the symmetric-passive

 

peer of the local device, and configure the local device to run NTP version 3, and

 

send NTP messages through Ethernet 1/0.

 

<Sysname> system-view

 

[Sysname] ntp-service unicast-peer 10.1.1.1 version 3 source-interfa

 

ce ethernet 1/0

ntp-service unicast-server

Syntax

ntp-service unicast-server [ vpn-instance vpn-instance-name] { ip-address

 

server-name} [ authentication-keyid keyid priority source-interface

 

interface-type interface-number version number ] *

 

undo ntp-service unicast-server [ vpn-instance vpn-instance-name] { ip-address

 

server-name }

View

System view

Parameter

vpn-instancevpn-instance-name: Specifies a VPN instance by its name, where

 

vpn-instance-nameis a string of 1 to 31 characters.

 

ip-address: IP address of the NTP server. It must be a host address, rather than a

 

broadcast address, a multicast address or the IP address of the local clock.

 

server-name: Host name of the NTP server, a string of 1 to 20 characters.

Page 2312
Image 2312
3Com MSR 30, MSR 50 manual Ntp-service unicast-server, Vpn-instance-name in your command, Public network