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

mdc-admin

Parameters

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

Usage guidelines

The lifetime applies to the following IP addresses:

The lifetime cannot be shorter than the maximum advertising interval on an 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

ip irdp

ip irdp interval