cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2502
Views
0
Helpful
5
Replies

IPV6 Binding Database

Atrisflex
Level 1
Level 1

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?

5 Replies 5

Atrisflex
Level 1
Level 1

Bumping topic.

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.

 

I have not but I will give that a go. Thanks.

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

 

 

 

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.