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
Содержание Switch 4210 9-Port
Страница 10: ...Password Control Configuration 556 Displaying Password Control 563 Password Control Configuration Example 564 ...
Страница 22: ...20 CHAPTER 1 CLI CONFIGURATION ...
Страница 74: ...72 CHAPTER 3 CONFIGURATION FILE MANAGEMENT ...
Страница 84: ...82 CHAPTER 5 VLAN CONFIGURATION ...
Страница 96: ...94 CHAPTER 8 IP PERFORMANCE CONFIGURATION ...
Страница 108: ...106 CHAPTER 9 PORT BASIC CONFIGURATION ...
Страница 122: ...120 CHAPTER 11 PORT ISOLATION CONFIGURATION ...
Страница 140: ...138 CHAPTER 13 MAC ADDRESS TABLE MANAGEMENT ...
Страница 234: ...232 CHAPTER 17 802 1X CONFIGURATION ...
Страница 246: ...244 CHAPTER 20 AAA OVERVIEW ...
Страница 270: ...268 CHAPTER 21 AAA CONFIGURATION ...
Страница 292: ...290 CHAPTER 26 DHCP BOOTP CLIENT CONFIGURATION ...
Страница 318: ...316 CHAPTER 29 MIRRORING CONFIGURATION ...
Страница 340: ...338 CHAPTER 30 CLUSTER ...
Страница 362: ...360 CHAPTER 33 SNMP CONFIGURATION ...
Страница 368: ...366 CHAPTER 34 RMON CONFIGURATION ...
Страница 450: ...448 CHAPTER 39 TFTP CONFIGURATION ...
Страница 451: ......
Страница 452: ...450 CHAPTER 39 TFTP CONFIGURATION ...
Страница 470: ...468 CHAPTER 40 INFORMATION CENTER ...
Страница 496: ...494 CHAPTER 44 DEVICE MANAGEMENT ...