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 irdp holdtime.
  3. Set the maximum router advertisement interval with the commandip irdp maxadvertinterval.
  4. Set the minimum router advertisement interval with the commandip irdp minadvertinterval.
  5. Set the IRDP preference level with the commandip irdp preference.
  6. Review IRDP configuration settings with the commandshow ip irdp.

Example

This example creates the following configuration:

  • Enables IRDP on the layer 3 interface 1/1/1with packet type set to broadcast.
  • Sets the hold time to 5000 seconds.
  • 广告的时间间隔设置为30秒。
  • Sets the minimum advertisement interval to 25 seconds.
  • Sets the IRDP preference level to 25.

switch(config)#interface 1/1/1

switch(config-if)#ip irdp broadcast

switch(config-if)#ip irdp holdtime 5000

switch(config-if)#ip irdp maxadvertinterval 30

switch(config-if)#ip irdp minadvertinterval 25

switch(config-if)#ip irdp preference 25