IP Addressing and Protocol Commands
©2008 Allied Telesis Inc. All rights reserved.
23.12
AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E
Software Version 5.2.1
ip irdp address 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 IP address.
The
no
form sets the preference for a specific address to the default of
0
.
Syntax
ip irdp address <
ip_address
> preference <0-2147483647>
no ip irdp address <
ip_address
> preference
Mode
Interface mode
Examples
To set the preference value to 3000 for the address 192.168.1.1 advertised on vlan5, use the
command:
To set the preference value to the default of 0 for the address 192.168.1.1 advertised on vlan5,
use the command:
Related Commands
ip irdp
ip irdp preference
show ip irdp interface
Parameter
Description
<
ip_address
>
The IP address to be advertised with the specified preference value, in
dotted decimal notation.
<0-2147483647>
The preference value advertised. A higher number increases the
preference level for this address.
Default:
0
awplus(config)#
interface vlan5
awplus(config-if)#
ip irdp address 192.168.1.1 preference 3000
awplus(config)#
interface vlan5
awplus(config-if)#
no ip irdp address 192.168.1.1 preference