Displaying NTP Configuration
379
upon the receipt of a message, rather than creating an association (static or
dynamic). In the symmetric mode, static associations will be created at the
symmetric-active peer side, and dynamic associations will be created at the
symmetric-passive peer side; In the broadcast or multicast mode, static
associations will be created at the server side, and dynamic associations will be
created at the client side.
Disabling an Interface
from Receiving NTP
messages
Displaying NTP
Configuration
After the above configurations, you can execute the
display
commands in any
view to display the running status of switch, and verify the effect of the
configurations.
Configuration
Example
Configuring NTP
Server/Client Mode
Network requirements
■
The local clock of Device A (a switch) 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 Switch 4210)
Table 295
Configure the number of dynamic sessions allowed on the local switch
Operation
Command
Description
Enter system view
system-view
-
Configure the maximum
number of dynamic sessions
that can be established on the
local switch
ntp-service
max-dynamic-sessions
number
Required
By default, up to 100 dynamic
sessions can be established
locally.
Table 296
Disable an interface from receiving NTP messages
Operation
Command
Description
Enter system view
system-view
-
Enter VLAN interface view
interface Vlan-interface
vlan-id
-
Disable an interface from
receiving NTP messages
ntp-service in-interface
disable
Required
By default, a VLAN interface
receives NTP messages.
Table 297
Display NTP configuration
Operation
Command
Description
Display the status of NTP
services
display ntp-service status
Available in any view
Display the information about
the sessions maintained by
NTP
display ntp-service sessions
[
verbose
]
Display the brief information
about NTP servers along the
path from the local device to
the reference clock source
display ntp-service trace
Summary of Contents for Switch 4210 9-Port
Page 22: ...20 CHAPTER 1 CLI CONFIGURATION ...
Page 74: ...72 CHAPTER 3 CONFIGURATION FILE MANAGEMENT ...
Page 84: ...82 CHAPTER 5 VLAN CONFIGURATION ...
Page 96: ...94 CHAPTER 8 IP PERFORMANCE CONFIGURATION ...
Page 108: ...106 CHAPTER 9 PORT BASIC CONFIGURATION ...
Page 122: ...120 CHAPTER 11 PORT ISOLATION CONFIGURATION ...
Page 140: ...138 CHAPTER 13 MAC ADDRESS TABLE MANAGEMENT ...
Page 234: ...232 CHAPTER 17 802 1X CONFIGURATION ...
Page 246: ...244 CHAPTER 20 AAA OVERVIEW ...
Page 270: ...268 CHAPTER 21 AAA CONFIGURATION ...
Page 292: ...290 CHAPTER 26 DHCP BOOTP CLIENT CONFIGURATION ...
Page 318: ...316 CHAPTER 29 MIRRORING CONFIGURATION ...
Page 340: ...338 CHAPTER 30 CLUSTER ...
Page 362: ...360 CHAPTER 33 SNMP CONFIGURATION ...
Page 368: ...366 CHAPTER 34 RMON CONFIGURATION ...
Page 450: ...448 CHAPTER 39 TFTP CONFIGURATION ...
Page 451: ......
Page 452: ...450 CHAPTER 39 TFTP CONFIGURATION ...
Page 470: ...468 CHAPTER 40 INFORMATION CENTER ...
Page 496: ...494 CHAPTER 44 DEVICE MANAGEMENT ...