beautypg.com

2 configuration procedure, 2 configuration procedure -7 – H3C Technologies H3C S3100 Series Switches User Manual

Page 469

background image

Operation Manual – NTP

H3C S3100-52P Ethernet Switch

Chapter 1 NTP Configuration

1-7

1.2.2 Configuration Procedure

Table 1-2

Configure NTP implementation modes

Operation

Command

Description

Enter system view

system-view

Configure the switch to

operate in NTP client

mode

ntp-service

unicast-server

{

remote-ip

|

server-name

}

[ authentication-keyid
key-id

| priority |

source-interface

Vlan-interface vlan-id

|

version

number ]*

Optional
By default, no Ethernet

switch operates in NTP

client mode.

Configure the switch to

operate in NTP peer

mode

ntp-service

unicast-peer

{ remote-ip |

peer-name

}

[ authentication-keyid
key-id

| priority |

source-interface

Vlan-interface vlan-id

|

version

number ]*

Optional
By default, no Ethernet

switch operates in NTP

peer mode.

Enter VLAN interface

view

interface

Vlan-interface

vlan-id

Configure the switch to

operate in the NTP

broadcast client mode

ntp-service

broadcast

-client

Optional
By default, no Ethernet

switch operates in NTP

broadcast client mode.

Configure the switch to

operate in NTP broadcast

server mode

ntp-service

broadcast-server

[ authentication-keyid
key-id

| version number ]*

Optional
By default, no Ethernet

switch operates in NTP

broadcast server mode.

Configure the switch to

operate in NTP multicast

client mode

ntp-service

multicast

-client

[ ip-address ]

Optional
By default, no Ethernet

switch operates in NTP

multicast client mode.

Configure the switch to

operate in NTP multicast

server mode

ntp-service

multicast-server

[

ip-address

]

[ authentication-keyid
keyid

| ttl ttl-number |

version

number ]*

Optional
By default, no Ethernet

switch operates in NTP

multicast server mode.