set l3-interface vlan-interface ipv6-nd prefix preferred-lifetime

Run the command set l3-interface vlan-interface ipv6-nd prefix preferred-lifetime to configure the advertised prefix preferred lifetime in seconds. Addresses generated from the prefix during this time period will be considered preferred addresses.

Run the command delete l3-interface vlan-interface ipv6-nd prefix preferred-lifetime to remove this configuration.


Command Syntax

set l3-interface vlan-interface <vlan-interface> ipv6-nd prefix prefix <IPv6 Prefix> preferred-lifetime <seconds | infinite>

delete l3-interface vlan-interface <vlan-interface> ipv6-nd prefix prefix <IPv6 Prefix> preferred-lifetime

Parameters

ParameterDescription
vlan-interface <vlan-interface>Specifies the VLAN interface name. The value is a string.
prefix <IPv6 Prefix>Specifies the IPv6 prefix, e.g. fa00::0/64
preferred-lifetime <seconds | infinite>Specifies the time the addresses are treated as preferred addresses. The value could be in seconds from 0 to 4294967295 with default value of 604800 or use keyword infinite indicating infinity.


Example

  • This example configures an IPv6 prefix with with infinite preferred lifetime.
admin@XorPlus# set l3-interface vlan-interface vlan4001 ipv6-nd prefix fa00::0/64 preferred-lifetime infinite
admin@XorPlus# commit

Copyright © 2024 Pica8 Inc. All Rights Reserved.