Configuring IRDP
Prerequisites
A layer 3 interface.
Procedure
- Enable IRDP on an interface with the command
ip irdp
. - Set the maximum hold time with the command
ip irdpholdtime
. - Set the maximum router advertisement interval with the command
ip irdpmaxadvertinterval
. - Set the minimum router advertisement interval with the command
ip irdpminadvertinterval
. - Set the IRDP preference level with the command
ip irdppreference
. - Review IRDP configuration settings with the command
show 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