08-06-2019 11:47 AM - edited 08-06-2019 11:48 AM
I've got DHCPv6 running on my ASR1001-x and it seems to be working except my dhcp database binding keeps failing. Here's the config and show results.
ASR.JP.1001X-01#show run | i database
ipv6 dhcp database bootflash write-delay 120
ASR.JP.1001X-01#show ipv6 dhcp binding
Client: FE80::7683:C2FF:FE30:DA3
DUID: 000300017483C2300DA3
Username : unassigned
VRF : default
Interface : GigabitEthernet0/0/5.1100
IA PD: IA ID 0x00000001, T1 302400, T2 483840
Prefix: XXXX:XXXX:XXXX:XXXX::/64
preferred lifetime 604800, valid lifetime 1209600
expires at Aug 20 2019 04:46 PM (1203042 seconds)
ASR.JP.1001X-01#show ipv6 dhcp database
Database agent bootflash:
write delay: 120 seconds, transfer timeout: 300 seconds
last written at never, write timer expires in 107 seconds
last read at never
successful read times 0
failed read times 0
successful write times 0
failed write times 57
The Database file is created in the bootflash: but the file size is 0 bytes.
Any Ideas?
08-15-2019 06:56 AM
Bumping topic.
08-15-2019 11:58 PM
Hi there,
Have you tried specifying the file as well as the agent location:
! ipv6 dhcp database bootflash:/dhcp.db write-delay 120 !
cheers,
Seb.
08-21-2019 01:45 PM
I have not but I will give that a go. Thanks.
08-26-2019 06:30 AM - edited 08-26-2019 06:31 AM
Still failing to write..
ASR.JP.1001X-01#show run | i database
ipv6 dhcp database bootflash:/dhcp.db write-delay 120
ASR.JP.1001X-01#show bootflash: | i dhcp
62 0 Aug 26 2019 13:19:41 +00:00 /bootflash/dhcp.db
ASR.JP.1001X-01#show ipv6 dhcp database
Database agent bootflash:/dhcp.db:
write delay: 120 seconds, transfer timeout: 300 seconds
last written at never, write timer expires in 97 seconds
last read at never
successful read times 0
failed read times 0
successful write times 0
failed write times 9
09-01-2019 11:41 PM
It is interesting that it can create the file on flash, but then fails to write to it.
Can you enable debug dhcp , and share 5 minutes of output whilst a DHCP lease is being given out. This should hopefully reveal why the process is unable to write to file.
cheers,
Seb.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide