configure vlan router-discovery set prefix

configure vlan vlan_name router-discovery {ipv6} set prefix prefix [autonomous-flag auto_on_off | onlink-flag onlink_on_off | preferred-lifetime preflife |valid-lifetime validlife]

Description

Sets the parameters for a prefix in the router discovery advertisements on the VLAN (Virtual LAN).

Syntax Description

vlan_name Specifies an IPv6 configured VLAN.
prefix Specifies which prefix‘s parameters to set.
auto_on_off Specifies the autonomous flag.
onlink_on_off Specifies the on link flag.
preflife Specifies the preferred lifetime in seconds. Maximum value is 4,294,967,295.
validlife Specifies the valid lifetime in seconds. Maximum value is 4,294,967,295.

Default

The prefix parameter defaults are:
  • Valid lifetime—2,592,000 seconds (30 days)
  • On-link flag—on
  • Preferred lifetime—604,800 seconds (7 days)
  • Autonomous flag—on

Usage Guidelines

This command configures the attributes associated with the specified prefix.

The autonomous-flag flag option modifies the autonomous flag of the prefix. The autonomous flag value specifies whether the prefix can be used for autonomous address configuration (on) or not (off).

The onlink-flag option modifies the on link flag of the prefix. The on link flag specifies whether the prefix can be used for on link determination (on) or not (off). The default value of the on link flag is on.

The preferred-lifetime option modifies the preferred lifetime of a prefix. The preferred lifetime value is the time (from when the packet is sent) that addresses generated from the prefix via stateless address autoconfiguration remain preferred. The maximum value is 4,294,967,295. The default value is 604,800 seconds (7 days).

The valid-lifetime option modifies the valid lifetime of a prefix. The valid lifetime value is the time (from when the packet was sent) that the prefix is valid for the purpose of on-link determination. The maximum value is a 4,294,967,295. The default value is 2,592,000 seconds (30 days).

Example

The following example sets the on link parameter of the prefix 2001:db8:3161::/64 to off, for the VLAN "top_floor":

configure vlan top_floor router-discovery set prefix 2001:db8:3161::/64 onlink-flag off

History

This command was first available in ExtremeXOS 11.2.

Platform Availability

This command is available on the platforms listed for the IPv6 unicast routing feature in the in the ExtremeXOS 22.7 Feature License Requirements document..