ip irdp lifetime

Use ip irdp lifetime to set the lifetime of IP addresses advertised on an interface.

Use undo ip irdp lifetime to restore the default.

Syntax

ip irdp lifetime lifetime-value

undo ip irdp lifetime

Default

The lifetime is 1800 seconds.

Views

Interface view

Predefined user roles

network-admin

Parameters

lifetime-value: Specifies the lifetime in seconds, in the range of 4 to 9000.

Usage guidelines

The lifetime of IP addresses cannot be shorter than the maximum advertising interval on an interface.

The specified lifetime applies to all advertised IP addresses, including the IP addresses of the interface and proxy-advertised IP addresses on the interface.

Examples

# Set the lifetime of IP addresses advertised on VLAN-interface 100 to 2000 seconds.

<Sysname> system-view
[Sysname] interface vlan-interface 100
[Sysname-Vlan-interface100] ip irdp lifetime 2000

Related commands