2311

View System view

Parameter interface-typeinterface-number: Specifies an interface by its interface type and interface number.

Description Use the ntp-servicesource-interfacecommand to specify an interface for sending NTP messages.

Use the undo ntp-service source-interface command to remove the configured interface for sending NTP messages.

If you do not wish the IP address of a certain interface on the local device to become the destination address of response messages, you can use this command to specify a particular interface for sending all NTP messages, so that the source address in all NTP messages is the primary IP address of this interface.

Example # Specify that all NTP messages are to be sent out from Ethernet 1/0.

<Sysname> system-view

[Sysname] ntp-service source-interface ethernet 1/0

ntp-service unicast-peer

Syntax

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

 

peer-name} [ authentication-keyid keyid priority source-interface interface-type

 

interface-number version number ] *

 

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

 

peer-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 symmetric-passive peer. It must be a host address,

 

rather than a broadcast address, a multicast address or the IP address of the local

 

clock.

 

peer-name: Host name of the symmetric-passive peer, a string of 1 to 20

 

characters.

 

authentication-keyidkeyid: Specifies the key ID to be used for sending NTP

 

messages to the peer, where keyid is in the range of 1 to 4294967295.

 

priority: Specifies the peer designated by ip-addressor peer-nameas 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 its peer, the

 

source IP address is the primary IP address of this interface. interface-type

 

interface-numberrepresents the interface type and number.

Page 2311
Image 2311
3Com MSR 50, MSR 30 manual Ntp-service unicast-peer