Guest

Preview Tool

Cisco Bug: CSCvt29853 - Unable to add name based NTP server using non default VRF

Last Modified

Apr 24, 2020

Products (1)

  • Cisco Nexus 9000 Series Switches

Known Affected Releases

7.0(3)I7(7)

Description (partial)

Symptom:
Unable to add name based NTP server using non default VRF

If you try to add name based NTP server using non default VRF without specifying name-server under that VRF ( by going inside the VRF) , that named based NTP server configuration will be accepted but not shown on show run


==============================================================================
Steps to re-create. Following configuration shows we are adding name based NTP server without adding name-server under VRF management 

Config t
ip domain-lookup
ip domain-name cisco.com
ip name-server x.x.x.x use-vrf management
!
Feature ntp
ntp server [name based ntp server name 1] prefer use-vrf management
ntp source-interface  mgmt0
ntp logging
ntp master 3
!

Following output shows , NTP server name is not accepted.

Sh run ntp

Feature ntp
ntp source-interface  mgmt0
ntp logging
ntp master 3



==============================================================================

At this point if you add name based NTP server under VRF, and then add same NTP server, still that NTP server will not be added in show run


Config t
vrf context management
  ip name-server x.x.x.x
!
Exit
!
ntp server [name based ntp server name 1]  prefer use-vrf management
!

Sh run ntp

Feature ntp
ntp source-interface  mgmt0
ntp logging
ntp master 3


==============================================================================


At this point if you use some new name based NTP server, then that new server name will be accepted.

Config t
vrf context management
  ip name-server x.x.x.x
!
Exit
!
ntp server [name based ntp server name 2]   use-vrf management 
!

Sh run ntp

Feature ntp
ntp source-interface  mgmt0
ntp logging
ntp master 3

vrf context management
  ip name-server x.x.x.x


ntp server [name based ntp server name 2]  use-vrf management

Conditions:
name-server not added under VRF before configuring name based ntp server
Bug details contain sensitive information and therefore require a Cisco.com account to be viewed.

Bug Details Include

  • Full Description (including symptoms, conditions and workarounds)
  • Status
  • Severity
  • Known Fixed Releases
  • Related Community Discussions
  • Number of Related Support Cases
Bug information is viewable for customers and partners who have a service contract. Registered users can view up to 200 bugs per month without a service contract.