165
preference-value: Specifies the preference for the IP address, in the range of –2147483648 to
2147483647. A larger preference value represents a higher preference.
Usage guidelines
You can specify a maximum of four IP addresses for an interface to proxy-advertise. An RA sent on
the interface includes the interface IP addresses and the proxy-advertised IP addresses.
If you do not specify an IP address for the undo command, this command removes all
proxy-advertised IP addresses from the interface.
Examples
# Specify the IP address 192.168.0.8 and its preference 1600 for VLAN-interface 100 to
proxy-advertise.
<Sysname> system-view
[Sysname] interface vlan-interface 100
[Sysname-Vlan-interface100] ip irdp address 192.168.0.8 1600
Related commands
ip irdp
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 applies to the following IP addresses:
• IP addresses of the interface.
• IP addresses for the interface to proxy-advertise.
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