Configuring IRDP

Prerequisites
A layer 3 interface.
Procedure
  1. Enable IRDP on an interface with the commandip irdp.
  2. Set the maximum hold time with the commandip irdpholdtime.
  3. Set the maximum router advertisement interval with the commandip irdpmaxadvertinterval.
  4. Set the minimum router advertisement interval with the commandip irdpminadvertinterval.
  5. Set the IRDP preference level with the commandip irdppreference.
  6. Review IRDP configuration settings with the commandshow ip irdp.

Example

This example creates the following configuration:

  • Enables IRDP on the layer 3 interface1/1/1with packet type set to广播.
  • 设置时间5000seconds.
  • Sets the advertisement interval to30seconds.
  • Sets the minimum advertisement interval to25seconds.

  • Sets the IRDP preference level to25.

switch(config)#interface 1/1/1switch(config-if)#ip irdp广播switch(config-if)#ip irdpholdtime 5000switch(config-if)#ip irdpmaxadvertinterval 30switch(config-if)#ip irdpminadvertinterval 25switch(config-if)#ip irdppreference 25