Configuring the Number of Dynamic Sessions Allowed on the Local Device

Follow these steps to configure the number of dynamic sessions allowed on the local device:

To do…

Use the command…

Remarks

Enter system view

system-view

 

 

 

Configure the maximum

ntp-service

Required

number of dynamic sessions

By default, up to 100 dynamic

max-dynamic-sessions

that can be established on the

sessions can be established

number

local device

locally.

 

 

 

 

Disabling an Interface from Receiving NTP messages

Follow these steps to disable an interface from receiving NTP messages:

 

To do…

 

Use the command…

 

Remarks

 

Enter system view

 

system-view

 

 

 

 

 

 

 

 

Enter VLAN interface view

 

interface Vlan-interface

 

 

 

vlan-id

 

 

 

 

 

 

 

 

 

 

 

 

 

Disable an interface from

 

ntp-service in-interface

 

Required

 

 

 

By default, a VLAN interface

 

receiving NTP messages

 

disable

 

 

 

 

receives NTP messages.

 

 

 

 

 

 

 

 

 

 

 

Displaying and Maintaining NTP Configuration

 

To do…

Use the command…

Remarks

 

Display the status of NTP services

display ntp-service status

 

 

 

 

 

 

Display the information about the

display ntp-service

 

 

sessions maintained by NTP

sessions [ verbose ]

Available in any view

 

 

 

 

Display the brief information about

 

 

 

 

 

NTP servers along the path from the

display ntp-service trace

 

 

local device to the reference clock

 

 

 

 

 

source

 

 

 

 

 

 

NTP Configuration Examples

Configuring NTP Server/Client Mode

Network requirements

z

z

z

As shown in Figure 1-6, the local clock of Device A is to be used as a master clock, with the stratum level of 2.

Device A is used as the NTP server of Device B (a WX3000 series device)

Configure Device B to work in the client mode, and then Device A will automatically work in the server mode.

1-14

Page 489
Image 489
3Com WX3000 operation manual Displaying and Maintaining NTP Configuration, NTP Configuration Examples, Max-dynamic-sessions