Configuring RIPng custom values

Configure custom values for RIPng parameters to replace default values.

Before you begin

  • 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]][,...]} 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. Enable RIPng poison:

    ipv6 rip poison enable

  3. Specify the RIPng cost:

    ipv6 rip cost <1-15 Cost>

  4. Access router RIPng configuration mode:

    router rip

  5. Specify the RIPng holddown timer value:

    ipv6 timers basic holddown <0-360>

  6. Specify the RIPng timeout timer value:

    ipv6 timers basic timeout <15-259200>

  7. Specify the RIPng update timer value:

    ipv6 timers basic update <1-360>

  8. Specify the default route metric value:

    ipv6 default-information metric <1–15)

  9. Enable default information globally:

    ipv6 default-information enable

  10. Ensure the configuration is correct:

    show ipv6 rip

Example

Configure custom values for RIPng.

Switch:1>enable
Switch:1#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
Switch:1(config)#router rip
Switch:1(config-rip)#ipv6 default-information metric 1
Switch:1(config-rip)#ipv6 default-information enable
Switch:1(config-rip)#ipv6 timers basic update 30
Switch:1(config-rip)#ipv6 timers basic timeout 180
Switch:1(config-rip)#ipv6 timers basic holddown 120
Switch:1(config-rip)#router rip ipv6-enable
Switch:1(config)#show ipv6 rip

================================================================================
                          RIPng Global - GlobalRouter
================================================================================
                   Rip : Enabled
         HoldDown Time : 120
      Timeout Interval : 180
           Update Time : 30
   Default Info Metric : 1
    Default Info State : Enabled
 Default Import Metric : 1

Variable definitions

Use the data in the following table to use the ipv6 rip poison, ipv6 default-information and ipv6 timers basic commands.

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.

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

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), or a series of slots and ports (slot/port,slot/port,slot/port). If the platform supports channelization and the port is channelized, you must also specify the sub-port in the format slot/port/sub-port.

poison enable

Enables Poison Reverse. If you disable Poison Reverse (no poison enable). Split Horizon is enabled. By default, Split Horizon is enabled. If you enable Split Horizon, the interface does not advertise IP routes learned from an immediate neighbor back to the neighbor. If you enable Poison Reverse, the RIP updates sent to a neighbor from which a route is learned are poisoned with a metric of 16. Therefore, the receiver neighbor ignores this route because the metric 16 indicates infinite hops in the network

These mechanisms prevent routing loops.

<1-15 Cost>

Configures the RIPng cost for this port (link).

holddown <0-360>

Configures the RIPng holddown timer value, the length of time (in seconds) that RIPng continues to advertise a network after it determines that the network is unreachable. The default is 120.

timeout <15-259200>

Configures the RIPng timeout interval. The default is 180.

update <1–360>

Configure the RIPng update timer. The update time is the time interval between RIPng updates.

default-information <1–15>

Configure the default route metric value.