ip irdp preference (for a VLAN)

Specify the preference (a higher number indicates more preferred) of the address as a default router address relative to other router addresses on the same subnet.

Syntax

Command Parameters

<1-4059>

Specifies the VLAN ID in the range of 1 to 4059. By default, VLAN IDs 1 to 4059 are configurable and the system reserves VLAN IDs 4060 to 4094 for internal use. On switches that support the vrf-scaling and spbm-config-mode boot configuration flags, if you enable these flags, the system also reserves VLAN IDs 3500 to 3998. VLAN ID 1 is the default VLAN and you cannot create or delete VLAN ID 1.

<-2147483648-2147483647>
Specifies the preference value.

Default

The default is 0.

Command Mode

VLAN Interface Configuration