beautypg.com

Command list, Ntp access-group, Command list ntp access-group – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual

Page 1672

background image

NTP Commands

Software Reference for x310 Series Switches

62.2

AlliedWare Plus

TM

Operating System - Version 5.4.4C

C613-50046-01 REV A

Command List

This chapter provides an alphabetical reference for commands used to configure the
Network Time Protocol (NTP). For more information, see

Chapter 61, NTP Introduction

and Configuration

.

For information about modifying or redirecting the output from show commands to a file,
see

“Controlling “show” Command Output” on page 1.37

.

ntp access-group

This command creates an NTP access group, and applies a basic IP access list to it. This
allows you to control access to NTP services.

The no variant of this command removes the configured NTP access group.

Syntax

ntp access-group [peer|query-only|serve|serve-only]

[<1-99>|<1300-1999>]

no ntp access-group [peer|query-only|serve|serve-only]

Mode

Global Configuration

Examples

To create an NTP peer access group for an extended IP access list, use the commands:

To disable the NTP peer access group created above, use the commands:

Parameter

Description

peer

Allows time requests and NTP control queries, and allows the system
to synchronize itself to a system whose address passes the access list
criteria.

query-only

Allows only NTP control queries from a system whose address passes
the access list criteria.

serve

Allows time requests and NTP control queries, but does not allow the
system to synchronize itself to a system whose address passes the
access list criteria.

serve-only

Allows only time requests from a system whose address passes the
access list criteria.

<1-99>

Standard IP access list.

<1300-1999>

Expanded IP access list.

awplus#

configure terminal

awplus(config)#

ntp access-group peer 1998

awplus#

configure terminal

awplus(config)#

no ntp access-group peer