Configuration procedure
To configure IRDP:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter interface view. | interface interface-type interface-number | The interface can be any Layer 3 interface except the loopback interface. |
3. Enable IRDP on the interface. | ip irdp | By default, IRDP is disabled. After IRDP is enabled on an interface, the IRDP configuration takes effect, and the device sends RA messages out of the interface. |
4. (Optional.) Specify the preference of advertised primary and secondary IP addresses on the interface. | ip irdp preference preference-value | The default preference is 0. |
5. (Optional.) Set the lifetime of IP addresses to be advertised. | ip irdp lifetime lifetime-value | The default lifetime is 1800 seconds. The lifetime applies to all advertised IP addresses, including proxy-advertised IP addresses on the interface. The lifetime cannot be shorter than the maximum advertising interval. |
6. (Optional.) Set the maximum and minimum advertising intervals. | ip irdp interval max-interval [ min-interval ] | By default, the maximum interval is 600 seconds, and the minimum interval is 3/4 of the maximum interval. |
7. (Optional.) Specify the multicast address 224.0.0.1 as the destination IP address of RAs. | ip irdp multicast | By default, RAs use the broadcast address 255.255.255.255 as the destination IP address. |
8. (Optional.) Specify a proxy-advertised IP address and its preference. | ip irdp address ip-address preference-value | Repeat this step to specify multiple proxy-advertised IP addresses. By default, no IP address is specified. You can specify a maximum of four proxy-advertised IP addresses on an interface. |