
IP Addressing and Protocol Commands
©2008 Allied Telesis Inc. All rights reserved.
23.18
AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E
Software Version 5.2.1
ip irdp preference
When multiple routers connected to a LAN are all sending Router Discovery advertisements,
hosts need to be able to choose the best router to use. Therefore the IRDP defines a
preference value to place in the Router Discovery advertisements. Hosts choose the router
with the highest preference value.
This command sets the preference value to include in Router Discovery advertisements sent
for the specified interface.
When this command is used, all IP addresses on the interface are assigned the same preference
value, except the addresses that have specific preference value assignment using the command
ip irdp address preference
.
The
no
form sets the preference value to the default of 0.
Syntax
ip irdp preference <0-2147483647>
no ip irdp preference
Mode
Interface mode
Examples
To set the preference of addresses advertised on vlan6 to 500, use the command:
To set the preference value for addresses on vlan6 back to the default of 0, use the command:
Related Commands
ip irdp
ip irdp address preference
show ip irdp interface
Parameter
Description
<0-2147483647>
The preference value for the interface. A higher number increases the
preference level for addresses on the specific interface.
Default:
0
awplus(config)#
interface vlan6
awplus(config-if)#
ip irdp preference 500
awplus(config)#
interface vlan6
awplus(config-if)#
no ip irdp preference