Enabling ICMP Router Discovery globally

About this task

Enable Router Discovery globally so that the device supports Router Discovery. Use ICMP Router Discovery to enable hosts attached to the broadcast network to discover the IP addresses of their neighboring routers.

If you enable ICMP Router Discovery globally, you automatically enable it for all VLANs. If you do not require ICMP Router Discovery on a specific VLAN, you must manually disable the feature.

Procedure

  1. Enter either Global Configuration mode or VRF Router Configuration mode for a specific VRF context:

    enable

    configure terminal

    Optional: router vrf WORD<1-16>

  2. Enable ICMP Router Discovery on the device:

    ip irdp

  3. Confirm that Router Discovery is enabled:

    show ip irdp [vrf WORD<0–16>] [vrfids WORD<0–512>]

Example

Enable ICMP router discovery on the device and confirm that router discovery is enabled.

Switch:1>enable
Switch:1#configure terminal
Switch:1(config)#ip irdp
Switch:1(config)#show ip irdp
        VRF "GlobalRouter" (Global Routing Table) : Router Discovery Enabled

Variable definitions

Use the data in the following table to show ip irdp command.

Table 1. Variable definitions

Variable

Value

interface

Displays route discovery interface information.

vrf WORD<0–16>

Displays route discovery for particular VRF.

vrfids WORD<0–512>

Displays route discovery for particular VRF IDs.