Configure Router Discovery on a Port or VLAN

Enable Router Discovery so that the device forwards Router Discovery Advertisement packets to the VLAN or port.

Procedure

  1. Enter Interface Configuration mode:

    enable

    configure terminal

    interface GigabitEthernet {slot/port[/sub-port][-slot/port[/sub-port]][,...]} or interface vlan <1–4059>

    Note

    Note

    If the platform supports channelization and the port is channelized, you must also specify the sub-port in the format slot/port/sub-port.

  2. Specify the address placed in advertisement packets:

    ip irdp address <A.B.C.D>

  3. Enable the interface to send the advertisement packets:

    ip irdp multicast

  4. Configure other Router Discovery parameters for the interface as required.

Example

Log on to the GigabitEthernet Interface mode:

Switch:1> enable
Switch:1# configure terminal
Switch:1(config)# interface gigabitethernet 1/16

Specify the address placed in advertisement packets to the all-systems multicast address:

Switch:1(config-if)# ip irdp address 244.0.0.1

Enable the interface to send the advertisement packets:

Switch:1(config-if)# ip irdp multicast

Configure the lifetime for advertisements:

Switch:1(config-if)# ip irdp holdtime 180

Variable Definitions

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

Variable

Value

address <A.B.C.D>

Specifies the IP destination address use for broadcast or multicast router advertisements sent from the interface. The address is the all-systems multicast address, 224.0.0.1, or the limited-broadcast address, 255.255.255.255.

The default address is 255.255.255.255.

The default form of this command is default ip irdp address.

holdtime <4-9000>

Configures the lifetime for advertisements. The default form of this command is default ip irdp holdtime.

maxadvertinterval <4-1800>

Specifies the maximum time (in seconds) that elapses between unsolicited router advertisement transmissions from the router interface. The default is 600 seconds.

The default form of this command is default ip irdp maxadvertinterval.

minadvertinterval <3-1800>

Specifies the minimum time (in seconds) that elapses between unsolicited router advertisement transmissions from the interface. The range is 3 seconds to maxadvertinterval.

The default is 450 seconds.

The default form of this command is default ip irdp minadvertinterval.

multicast

Specifies if multicast advertisements are sent. The no form of this command is no ip irdp multicast.

preference <-2147483648-2147483647>

Specifies the preference (a higher number indicates more preferred) of the address as a default router address relative to other router addresses on the same subnet The default is 0.

The default form of this command is default ip irdp preference.