Configure RIPng on an Interface

Configure RIPng on Ethernet ports and VLANs so that they can participate in RIPng routing.

About this task

RIPng does not operate on a port or VLAN until you enable it both globally and on the port or VLAN.

Before you begin

  • Assign an IP address to the port or VLAN.

  • Configure RIPng and enable it globally.

Procedure

  1. Enter Interface Configuration mode:

    enable

    configure terminal

    interface GigabitEthernet {slot/port[/sub-port][-slot/port[/sub-port]][,...][slot/all][all]} 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. Create a RIPng interface:

    ipv6 rip

  3. Enable the RIPng interface:

    ipv6 rip enable

  4. Verify the operational status of the RIPng interface:

    show ipv6 rip interface

Example

Switch:1>enable
Switch:1#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
Switch:1(config)#interface vlan 22
Switch:1(config-if)#ipv6 rip
Switch:1(config-if)#ipv6 rip enable
Switch:1(config-if)#show ipv6 rip interface

Total RIPng interfaces: 2

================================================================================
                         RIPng Interface - GlobalRouter 
================================================================================
IFINDX         COST     POISON       SEND         ADMIN        OPER
                        STATUS       DEFAULT      STATUS       STATUS
--------------------------------------------------------------------------------
257  (2/2  )  2        disable      disable      enable       enable
2070 (22   )  5        disable      disable      enable       disable

2 out of 2 Total Num of RIPng interfaces displayed

Variable Definitions

The following table defines parameters for the ipv6 rip command.

Variable

Value

<1-4059>

Specifies the VLAN ID in the range of 1 to 4059. By default, VLAN IDs 1 to 4059 are configurable and the system reserves VLAN IDs 4060 to 4094 for internal use. On switches that support the vrf-scaling and spbm-config-mode boot configuration flags, if you enable these flags, the system also reserves VLAN IDs 3500 to 3998. VLAN ID 1 is the default VLAN and you cannot create or delete VLAN ID 1.

This variable applies only to VLAN interfaces, not ports.

{slot/port[/sub-port][-slot/port[/sub-port]][,...][slot/all][all]}

Identifies the slot and port in one of the following formats:
  • a single slot and port (slot/port)

  • a range of slots and ports (slot/port-slot/port)

  • a series of slots and ports (slot/port,slot/port,slot/port)

  • all ports on the same slot (slot/all)

  • all ports on the switch (all)

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