cancel
Showing results for 
Search instead for 
Did you mean: 
cancel

Cisco CNR dhcp.ndb filesize

Hello this file is 47G big and there is not more space on server.

Is it possible to somehow empty this database ?

ip-history was 4w and now is off but file is not smaller.

1 REPLY 1

mwinnett
Participant
Participant

Dragoljub, this appears to be defect CSCeh41784 "CNR dhcp.ndb grows extremely large with ip history turned on", fixed in version 6.1(2.1). These are the release notes (incl workround) for this defect.

The default value of 0 for the visibility 3 dhcp attribute,

ip-history-trim-interval, disables ip-history trimming and

will cause the lease state database to grow without bound,

creating a huge dhcp.ndb file.

As a workaround, set this value to a small, reasonable value

such as 1 day.

For example:

  nrcmd> session set visibility=3

  nrcmd> dhcp set ip-history-trim-interval=1d

This will configure the server to run ip-history trimming

once a day, and delete any accumulated records that exceed the

ip-history-max-age. 

Please make the changes suggested and monior the file size.

Matthew

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: