Configuring Ntp Logging - Cisco Nexus 7000 Series Configuration Manual

Hide thumbs Also See for Nexus 7000 Series:
Table of Contents

Advertisement

Configuring NTP
Procedure
Step 1
Step 2
Step 3
Step 4
Step 5
Step 6
This examples show how to configure NTP on a secondary (non-default) VDC.
switch# configure terminal
switch(config)# feature ntp
switch(config)# ntp master
switch(config)# ntp source-interface ethernet
switch(config)# ntp source 192.0.2.2
switch(config)# copy running-config startup-config

Configuring NTP Logging

You can configure NTP logging in order to generate system logs with significant NTP events. NTP logging
is disabled by default.
Command or Action
switch# configure terminal
switch(config)# feature ntp
switch(config)# ntp master
switch(config)# ntp
source-interface interface
[no] ntp source ip-address
switch(config)# copy
running-config startup-config
Cisco Nexus 7000 Series NX-OS System Management Configuration Guide
Purpose
Enters global configuration mode.
Enables NTP in the non-default VDC.
Configures the device as an authoritative NTP server.
(Optional)
Configures the source interface for all NTP packets. The
following list contains the valid values for interface.
• ethernet
• loopback
• mgmt
• port-channel
• vlan
(Optional)
Configures the source IP address for all NTP packets.
The ip-address can be in IPv4 or IPv6 format.
(Optional)
Saves the change persistently through reboots and restarts
by copying the running configuration to the startup
configuration.
Configuring NTP Logging
61

Advertisement

Table of Contents
loading

Table of Contents