Assigning the administrative distance to DHCPv6 static routes

You can assign the administrative distance to DHCPv6 static routes installed in the IPv6 route table for the delegated prefixes on the interface. This value must be set so that it does not replace the same IPv6 static route configured by the user.
  1. Enter global configuration mode by issuing the configure terminal command.
    device# configure terminal
  2. Enter interface configuration mode.
    device(config)# interface ethernet 1/1/1
  3. Set the administrative distance value.
    device(config-if-eth-1/1/1)# ipv6 dhcp-relay distance 25
    The value parameter is used to assign the administrative distance to DHCPv6 static routes on the interface. The range is from 1 to 255. The default value is 10. If the value is set to 255, then the delegated prefixes for this interface will not be installed in the IPv6 static route table.

The following example sets the administrative distance to the DHCPv6 static routes on the interface to 25.

device# configure terminal
device(config)# interface ethernet 1/1/1
device(config-if-eth-1/1/1)# ipv6 dhcp-relay distance 25