3Com 4500 PWR 26-PORT, 4500 PWR 50-PORT, 4500 50-PORT, 4500 26-PORT manual Ntp-service unicast-server

Models: 4500 26-PORT 4500 PWR 26-PORT 4500 PWR 50-PORT 4500 50-PORT

1 466
Download 466 pages 21.69 Kb
Page 421
Image 421

NTP Configuration Commands 415

ntp-service unicast-server

By default, the local Ethernet switch is not configured as an active NTP peer.

If you use remote-ip to specify a remote server as the peer of the local Ethernet switch, the local switch operates in the active peer mode. In this case, the local Ethernet switch and the remote server can be synchronized to each other.

Example

Configure the local peer to obtain time information from the peer with the IP address 128.108.22.44 and also to provide time information to the remote peer. Set the NTP version number to 3. The source IP address of NTP messages is the IP address of Vlan- interface1.

<SW4500> system-view

System View: return to User View with Ctrl+Z.

[SW4500] ntp-service unicast-peer 128.108.22.44 version 3 source-interface Vlan-interface 1

Syntax

ntp-service unicast-server { remote-ip server-name} [ authentication-keyid key-id priority source-interface

Vlan-interface vlan-id version number ]*

undo ntp-service unicast-server { remote-ip server-name}

View

System view

Parameter

remote-ip: IP address of an NTP server. This argument cannot be a broadcast address, multicast group address, or IP address of a reference clock.

server-name:NTP server name, a string comprising 1 to 20 characters.

authentication-keyidkey-id:Specifies the key ID used for sending messages to the NTP server. The key-id argument ranges from 1 to 4294967295. You do not need to configure authentication-keyid key-id if authentication is not required.

priority: Specifies the server identified by the remote-ip or the server-name argument as the preferred server.

source-interfaceVlan-interfacevlan-id: Specifies an interface whose IP address serves as the source IP address of NTP packets sent by the local device to the server.

version number: Specifies the NTP version number. The number argument ranges from 1 to 3 and defaults to 3.

Description

Use the ntp-serviceunicast-servercommand to configure an Ethernet switch to operate in the NTP client mode.

Page 421
Image 421
3Com 4500 PWR 26-PORT, 4500 PWR 50-PORT, 4500 50-PORT, 4500 26-PORT manual Ntp-service unicast-server