NシリーズにSNTP(シンプルネットワークタイムプロトコル)を設定する方法
Summary: 次の手順に従って、スイッチの正確な時間ログを得るために、SNTP サーバへの接続を設定します。
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Instructions
スイッチでSNTPを有効にするには、次の手順に従います。
- 次のコマンドを入力します。この例では、時刻サーバとしてIPアドレス192.168.0.254を使用しています。
console#enable
console#configure
console(config)#sntp server 192.168.0.254
- SNTPサーバがユニキャストの場合:
console(config)#sntp unicast client enable
- SNTPがブロードキャストの場合:
console(config)#sntp broadcast client enable
注:注意: 時刻の更新ができるよう、スイッチはSNTPにアクセスできなければなりません。コマンドconsole#ping(sntpのipアドレス)を実行すると、スイッチがSNTPサーバに接続できるかどうかを確認できます。 - SNTPサーバがユニキャストの場合:
- スイッチが同期しているかどうかを確認するために、次のコマンドを実行します。
console(config)#show sntp status
注:注意: スイッチの更新には約1~2分かかります。同期は瞬時には起きません。 - 次のコマンドを実行して、タイムゾーンとサマータイムを設定します。この例では、中部標準時-6および米国サマータイムを使用しています。
console(config)#clock timezone -6 (UTCからの時差(-12~13))
console(config)#clock summer-time recurring USA
- 次のコマンドで現在の時刻を確認します。
console#show clock
Affected Products
PowerSwitch N3000 SeriesArticle Properties
Article Number: 000121392
Article Type: How To
Last Modified: 07 Oct 2024
Version: 4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.