ip irdp preference
Syntax
ip irdp preference preference-value
undo ip irdp preference
View
Interface view
Default level
2: System level
Parameters
preference-value: Specifies the preference of IP addresses advertised on an interface, in the range of -2147483648 to 2147483647. The bigger the value, the higher the preference.
Description
Use ip irdp preference to configure the preference of IP addresses advertised on the interface.
Use undo ip irdp preference to restore the default.
By default, the preference of advertised IP addresses is 0.
Examples
# Configure preference 1 for IP addresses advertised on VLAN-interface 1.
<Sysname> system-view [Sysname] interface vlan-interface 1 [Sysname-Vlan-interface1] ip irdp preference 1