No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Fat AP and Cloud AP V200R010C00 Command Reference

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
display ntp-service sessions

display ntp-service sessions

Function

The display ntp-service sessions command displays all session information maintained by NTP on the local end.

Format

display ntp-service sessions [ verbose ]

Parameters

Parameter Description Value
verbose

Displays detailed information about an NTP session.

If verbose is not specified, only summary information about the NTP session is displayed.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Run the display ntp-service sessions command. If the verbose option is not specified, only summary information about a session is displayed.

Example

# Display NTP session information of the local device.

<Huawei> display ntp-service sessions
        source          reference       stra reach poll  now offset delay disper
********************************************************************************
 [12345]127.127.1.0     LOCAL(0)           7    1   64    -      -    0.0    0.0
note: 1 source(master),2 source(peer),3 selected,4 candidate,5 configured,      
      6 vpn-instance                                
Table 4-39  Description of the display ntp-service sessions command output

Item

Description

source

Indicates the IP address of the reference clock.

reference

Specifies the IP address of the remote server or the identifier of the reference clock that the local system clock has been synchronized with. When the server belongs to a VPN, this field also shows the name of the VPN.

stra

Indicates the stratum of the local system clock.

reach

Indicates the reachability of the configured server or peer.

poll

Indicates the poll interval.

now

Indicates the time since NTP packet is not received or last synchronized.

offset

Indicates the offset between the local system clock and the superior reference clock.

delay

Indicates the delay between the local system clock and the superior reference clock.

disper

Indicates the dispersion between the local system clock and the superior reference clock.

# Display detailed information about NTP sessions on the local device.

<Huawei> display ntp-service sessions verbose
 clock source: 127.127.1.0                                                      
 clock stratum: 7                                                               
 clock status: configured, master, sane, valid                                  
 reference clock ID: LOCAL(0)                                                   
 local mode: client, local poll: 6                                              
 peer mode: server, peer poll: 6                                                
 offset: 0.0000 ms,delay: 0.00 ms,  disper: 0.02 ms                             
 root delay: 0.00 ms, root disper: 10.00 ms                                     
 reach: 1, sync dist: 0.010, sync state: 2                                      
 precision: 2^17, version: 3, peer interface: InLoopBack0                       
 reftime: 04:47:44.921 UTC Jan 1 2008(CB244470.EBD74D59)                        
 orgtime: 04:47:44.921 UTC Jan 1 2008(CB244470.EBD74D59)                        
 rcvtime: 04:47:44.921 UTC Jan 1 2008(CB244470.EBDC69F8)                        
 xmttime: 04:47:44.921 UTC Jan 1 2008(CB244470.EBD4280A)                        
 filter delay :  0.00   0.00   0.00   0.00   0.00   0.00   0.00   0.00          
 filter offset:  0.00   0.00   0.00   0.00   0.00   0.00   0.00   0.00          
 filter disper:  0.00   0.00  16.00  16.00  16.00  16.00  16.00  16.00          
Table 4-40  Description of the display ntp-service sessions verbose command output

Item

Description

clock source

Address of the clock source.

clock stratum

NTP stratum on which the local system is located.

clock status

Status of a clock, where
  • configured: indicates that the session is set up by a configuration command.
  • master: indicates that the clock source corresponding to the session is the primary clock source of the current system.
  • selected: indicates that the clock source corresponding to the session passes the clock selecting algorithm.
  • candidate: indicates that the clock source corresponding to the session is a candidate clock source.
  • sane: indicates that the clock source corresponding to the session passes the saneness test.
  • insane: indicates that the clock source corresponding to the session does not pass the saneness test.
  • valid: indicates that the clock source corresponding to the session is valid. The clock source corresponding to the session passes the test, is in a synchronized status and is of an effective stratum. The root delay and the root dispersion are within the normal range.
  • invalid: indicates that the clock source corresponding to the session is invalid.
  • unsynced: indicates that the clock source corresponding to the session is not yet synchronized or the stratum is invalid.

reference clock ID

When the local system has been synchronized to a remote NTP server or a clock source, the address of the remote server or the identifier of the clock source is displayed.

local mode

Local system mode.

peer mode

Peer system mode.

local poll

Local polling mode.

peer poll

Peer polling mode.

offset

Offset to the superior clock source.

delay

Delay to the superior clock source.

disper

Dispersion to the superior clock source.

root delay

Total system delay between the local end and the master reference clock. The default value is 0.

root disper

System dispersion of the local end to the master reference clock. The default value is 0.

reach

Reachability mark, indicating the reachability to the clock source.

sync dist

Synchronization distance to the superior clock source. This parameter evaluates and describes the clock source, and NTP chooses the clock source with the shortest synchronization distance.

sync state

Synchronization state:
  • 0: The clock has never been synchronized.

  • 1: Frequency information is obtained from configuration information.

  • 2: The clock is set.

  • 3: The clock is set, but the frequency is not yet determined.

  • 4: The clock is synchronized.

  • 5: An error is found.

precision

Precision of a peer clock.

version

NTP version.

peer interface

Peer interface.

reftime

Reference timestamp.

orgtime

Time when an NTP packet is sent for the last time.

rcvtime

Time when an NTP packet is received for the last time.

xmttime

Time when an NTP packet is forwarded for the last time.

filter delay

Filter delays of the 8 packets received for the last time.

filter offset

Filter offsets of the 8 packets received for the last time.

filter disper

Filter dispersions of the 8 packets received for the last time.

Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 204685

Downloads: 122

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next