ip irdp preference
18-12 IPv4 Routing Protocol Configuration
Parameters
Defaults
None.
Mode
Interfaceconfiguration:B3(su)‐>router(Config‐if(Vlan1))#
Example
ThisexampleshowshowtosettheIRDPholdtimeto4000secondsontheVLAN1interface:
B3(su)->router(Config)#interface vlan 1
B3(su)->router(Config-if(Vlan 1))#ip irdp holdtime 4000
ip irdp preference
UsethiscommandtosettheIRDPpreferencevalueforaninterface.ThisvalueisusedbyIRDPto
determinetheinterface’sselectionasadefaultgatewayaddress.Thenoformofthiscommand
resetstheinterface’sIRDPpreferencevaluetothedefaultof0.
Syntax
ip irdp preference preference
no irdp preference
Parameters
Defaults
None.
Mode
Interfaceconfiguration:B3(su)‐>router(Config‐if(Vlan1))#
Example
ThisexampleshowshowtosetIRDPpreferenceontheVLAN1interfacesothattheinterface’s
addressmaystillbeadvertised,butcannotbeusedbyneighboringhostsasadefaultrouter
address:
B3(su)->router(Config)#interface vlan 1
B3(su)->router(Config-if(Vlan 1))#ip irdp preference -2147483648
holdtime Specifiestheholdtimeinseconds.Validvaluesare0to
9000.
preference Specifiesthevaluetoindicatetheinterface’suseasadefaultrouter
address.Validvaluesare‐2147483648to2147483647.
Theminimumvalueindicatesthattheaddress,eventhoughitmaybe
advertised,isnottobeusedbyneighboringhostsasadefaultrouter
address.