C613-50631-01 Rev A Command Reference for IE340 Series 887
AlliedWare Plus™ Operating System - Version 5.5.3-0.x
IP ADDRESSING AND PROTOCOL COMMANDS
IP
IRDP ADDRESS PREFERENCE
ip irdp address preference
Overview 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 variant of this command 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
Default The default preference value is 0.
Mode Interface Configuration for a VLAN interface or a local loopback interface.
Examples To set the preference value to 3000 for the address 192.168.1.1 advertised on
vlan5, use the following commands:
awplus# configure terminal
awplus(config)# interface vlan5
awplus(config-if)# ip irdp address 192.168.1.1 preference 3000
To set the preference value to the default of 0 for the address 192.168.1.1
advertised on vlan5, use the following commands:
awplus# configure terminal
awplus(config)# interface vlan5
awplus(config-if)# no ip irdp address 192.168.1.1 preference
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.
<0-2147483647> The preference value advertised. A higher number increases
the preference level for this address.