---
title: RIPng configuration
slug: routing/ripng-configuration
createdAt: 2026-02-04T09:24:19.224Z
---

## <font color="#1d50a2">RIPng configuration</font>

### <font color="#1d50a2">show ipv6 ripng \{vrf *name*\}</font>

**\[Command]**
**show ipv6 ripng \{vrf *name*}**

**\[Purpose]**
View the routing table of RIPng routing protocol

**\[View]**
System view

**\[Use Cases]**

```plaintext
sonic# show ipv6 ripng
Codes: R - RIPng, C - connected, S - Static, O - OSPF, B - BGP
Sub-codes:
      (n) - normal, (s) - static, (d) - default, (r) - redistribute,
      (i) - interface, (a/S) - aggregated/Suppressed

   Network      Next Hop                      Via     Metric Tag Time
C(i) 2002::/64
                  ::                          self       1    0
R(n) 2005::/64
                  fe80::106c:4bff:fe0b:c16b   Ethernet3  2    0  02:27
```

### <font color="#1d50a2">show ipv6 ripng status</font>

**\[Command]**
**show ipv6 ripng status**

**\[Purpose]**
View detailed status and configuration information of RIPng routing protocol

**\[View]**
System view

**\[Use Cases]**

```plaintext
sonic# show ipv6 ripng status
Routing Protocol is "RIPng"
  Sending updates every 30 seconds with +/-50%, next due in 16 seconds
  Timeout after 180 seconds, garbage collect after 120 seconds
  Outgoing update filter list for all interface is not set
  Incoming update filter list for all interface is not set
  Default redistribution metric is 1
  Redistributing:    connected    static
  Default version control: send version 1, receive version 1
    Interface        Send  Recv
    Ethernet3        1     1
  Routing for Networks:
    Ethernet3
  Routing Information Sources:
    Gateway          BadPackets BadRoutes  Distance Last Update
    fe80::106c:4bff:fe0b:c16b
                        0          0        120      00:00:04
```

### <font color="#1d50a2">ipv6 ripng split-horizon \[poisoned-reverse\]</font>

**\[Command]**
**ipv6 ripng split-horizon \[poisoned-reverse]**

**\[Purpose]**
Configure horizontal cutting with RIPng enabled on the interface, and also enable both horizontal cutting and toxicity reversal simultaneously.
Horizontal segmentation: Do not re advertise the route from the receiving interface to prevent the router from re advertising the learned route back to the source. This feature is enabled by default.
Toxicity reversal: For routes learned from a certain interface, they are still advertised back from that interface, but the metric value is set to 16 (unreachable), which means "poisoning" the route. It belongs to the advanced level of horizontal segmentation. This function needs to be manually activated.

**\[View]**
System view

**\[Use Cases]**

```plaintext
sonic(config)# interface ethernet 3
sonic(config-if-3)# ipv6 ripng split-horizon poisoned-reverse
```

### <font color="#1d50a2">router ripng \[vrf *name*\]</font>

**\[Command]**
**router ripng \[vrf *name*]**

**\[Purpose]**
Enable RIPng routing process, which is a prerequisite for all other RIPng configurations and supports specifying specific VRFs afterwards.

**\[Parameter]**

| **Parameter** | <font color="#0C121D">**Description**</font> |
| ------------- | -------------------------------------------- |
| *name*        | vrf Name                                     |

**\[View]**
Interface Configuration View

**\[Use Cases]**

```plaintext
sonic(config)# router ripng
sonic(config-router)#
```

### <font color="#1d50a2">network \{*X\:X\:\:X*\:X*/M*|ethernet *interface\_num*|vlan *vlan\_id*|link-aggregation *lag\_id*\}</font>

**\[Command]**
**network \{*X\:X\::X***:&#x58;***/M*|ethernet *interface\_num*|vlan *vlan\_id*|link-aggregation *lag\_id*}**

**\[Purpose]**
Enable RIPng based on network address or interface type. When specifying a network address, all interfaces with IP addresses within the specified network will start sending and receiving RIPng messages.
When specifying the interface type, RIPng messages will be sent and received on the specified interface.

**\[Parameter]**

| **Parameter**    | <font color="#0C121D">**Description**</font>                                                      |
| ---------------- | ------------------------------------------------------------------------------------------------- |
| *X\:X\::X\:X/M*  | Configure IPv6 addresses with masks to specify the declared network segment, such as 2005\::10/96 |
| *interface\_num* | The ID of the physical interface, ranging from 1 to 16                                            |
| *vlan\_id*       | VLAN ID, ranging from 1 to 4096                                                                   |
| *lag\_id*        | The ID of lag, ranging from 1 to 9999                                                             |

**\[View]**
RIPng Configuration View

**\[Use Cases]**

```plaintext
sonic(config)# router ripng
sonic(config-router)# network ethernet 3
```

### <font color="#1d50a2">passive-interface \{default|ethernet *interface\_num*|vlan *vlan\_id*|link-aggregation *lag\_id*\}</font>

**\[Command]**
**passive-interface \{default|ethernet *interface\_num*|vlan *vlan\_id*|link-aggregation *lag\_id*}**

**\[Purpose]**
Set a passive interface that only receives RIPng updates and does not send multicast/broadcast updates (but sends unicast updates to neighbors specified by the neighbor command).
When set to default, it applies to all interface types within the RIPng.

**\[Parameter]**

| **Parameter**    | <font color="#0C121D">**Description**</font>           |
| ---------------- | ------------------------------------------------------ |
| *interface\_num* | The ID of the physical interface, ranging from 1 to 16 |
| *vlan\_id*       | VLAN ID, ranging from 1 to 4096                        |
| *lag\_id*        | The ID of lag, ranging from 1 to 9999                  |

**\[View]**
RIP Configuration View

**\[Use Cases]**

```plaintext
sonic(config)# router rip
sonic(config-router)# passive-interface ethernet 3
```

### <font color="#1d50a2">redistribute *protocol*</font>

**\[Command]**
**redistribute *protocol***

**\[Purpose]**
Perform route redistribution by introducing routes from other routing protocols (such as BGP, OSPF, direct connection, static, etc.) into RIPng.

**\[Parameter]**

| **Parameter** | <font color="#0C121D">**Description**</font>                                                  |
| ------------- | --------------------------------------------------------------------------------------------- |
| *protocol*    | Specify the routing protocol type to be introduced, such as connected, static, BGP, OSPF, etc |

**\[View]**
RIPng Configuration View

**\[Use Cases]**

```plaintext
sonic(config)# router ripng
sonic(config-router)# redistribute static
```

### <font color="#1d50a2">default-information originate</font>

**\[Command]**
**default-information originate**

**\[Purpose]**
Inject a default route (\::/0) into the RIPng network, usually requiring the router to already have a default route.

**\[View]**
RIPng Configuration View

**\[Use Cases]**

```plaintext
sonic(config)# router ripng
sonic(config-router)# default-information originate
```

### <font color="#1d50a2">route *X\:X\:\:X\:X/M*</font>

**\[Command]**
**route *X\:X\::X****:&#x58;**/M***

**\[Purpose]**
Create static routes that only exist within RIPng processes.

**\[View]**
RIPng Configuration View

**\[Use Cases]**

```plaintext
sonic(config)# router ripng
sonic(config-router)# route 2005::10/128
```

### <font color="#1d50a2">ipv6 distribute-list prefix *string* \[in|out\] \{ethernet *interface\_num*|vlan *vlan\_id*|link-aggregation *lag\_id*\}</font>

**\[Command]**
**ipv6 distribute-list prefix *string* \[in|out] \{ethernet *interface\_num*|vlan *vlan\_id*|link-aggregation *lag\_id*}**

**\[Purpose]**
Set the distribution list of RIPng and use access control lists or prefix lists to filter route updates in the input or output direction of the interface. In filters routes learned from neighbors, and out filters routes declared to neighbors. Can be applied to global or specific interfaces.

**\[Parameter]**

| **Parameter**    | <font color="#0C121D">**Description**</font>           |
| ---------------- | ------------------------------------------------------ |
| *String*         | Prefix list name                                       |
| *interface\_num* | The ID of the physical interface, ranging from 1 to 16 |
| *vlan\_id*       | VLAN ID, ranging from 1 to 4096                        |
| *lag\_id*        | The ID of lag, ranging from 1 to 9999                  |

**\[View]**
RIPng Configuration View

**\[Use Cases]**

```plaintext
sonic(config)# router ripng
sonic(config-router)# distribute-list prefix test in ethernet 3
```

### <font color="#1d50a2">aggregate-address *X\:X\:\:X\:X/M*</font>

**\[Command]**
**aggregate-address *X\:X\::X****:&#x58;**/M***

**\[Purpose]**
Summarize more specific routes and announce the summarized routes; Can reduce routing table size and update message overhead.

**\[View]**
RIPng Configuration View

**\[Use Cases]**

```plaintext
sonic(config)# router ripng
sonic(config-router)# aggregate-address 2005::/64
```

### <font color="#1d50a2">default-metric *value*</font>

**\[Command]**
**default-metric *value***

**\[Purpose]**
Set the default metric value for redistributing incoming routes, which defaults to 1 and does not affect the redistribution metric of directly connected routes

**\[Parameter]**

| **Parameter** | <font color="#0C121D">**Description**</font> |
| ------------- | -------------------------------------------- |
| *value*       | Configuration range 1-16                     |

**\[View]**
RIPng Configuration View

**\[Use Cases]**

```plaintext
sonic(config)# router ripng
sonic(config-router)# default-metric 2
```

### <font color="#1d50a2">timers basic *update* *timeout* *garbage*</font>

**\[Command]**
**timers basic *update* *timeout* *garbage***

**\[Purpose]**
Adjust the key timer of RIPng.
Update: The time interval for sending the complete routing table (default is 30 seconds). TIMEOUT: Route failure timeout (default 180 seconds). GARBAGE: Garbage collection time before the route is removed (default is 120 seconds).

**\[Parameter]**

| **Parameter** | <font color="#0C121D">**Description**</font>    |
| ------------- | ----------------------------------------------- |
| *Update*      | Configurable range: 5\~2147483647, default 30s  |
| *Timeout*     | Configurable range: 5\~2147483647, default 180s |
| *Garbage*     | Configurable range: 5\~2147483647, default 120s |

**\[View]**
RIPng Configuration View

**\[Use Cases]**

```plaintext
sonic(config)# router ripng
sonic(config-router)# timers basic 40 200 150
```

### <font color="#1d50a2">allow-ecmp</font>

**\[Command]**
**allow-ecmp**

**\[Purpose]**
Used for load balancing, the quantity is the maximum supported by the system. By default, this ECMP advanced feature is turned off.

**\[View]**
RIP Configuration View

**\[Use Cases]**

```plaintext
sonic(config)# router rip
sonic(config-router)# allow-ecmp
```

