13NTP configuration commandsdisplay ntp-service sessionsUse display ntp-service sessions to display information about all NTP sessions.Syntaxdisplay ntp-service sessions [ verbose ] [ | { begin | exclude | include } regular-expression ]ViewsAny viewDefault command level1: Monitor levelParametersverbose: Displays detailed information about all NTP sessions. If you do not specify this keyword, thecommand displays only brief information about the NTP sessions.|: Filters command output by specifying a regular expression. For more information about regularexpressions, see Fundamentals Configuration Guide.begin: Displays the first line that matches the specified regular expression and all lines that follow.exclude: Displays all lines that do not match the specified regular expression.include: Displays all lines that match the specified regular expression.regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.Examples# Display brief information about all NTP sessions. display ntp-service sessionssource reference stra reach poll now offset delay disper********************************************************************************[12345]127.127.1.0 127.127.1.0 3 1 64 33 0.0 0.0 0.0note: 1 source(master),2 source(peer),3 selected,4 candidate,5 configuredTotal associations : 1Table 3 Command outputField Descriptionsource IP address of the clock source.referenceReference clock ID of the clock source.• If the reference clock is the local clock, the value of this field is related to thevalue of the stra field:{ When the value of the stra field is 0 or 1, this field is LOCL.{ When the stra field has another value, this field is the IP address of thelocal clock.• If the reference clock is the clock of another device on the network, the valueof this field is the IP address of that device.