C H A P T E R 10

RIPv6

IPv6 RIP functions the same and offers the same benefits as RIP in IPv4. RIP enhancements for IPv6, detailed in RFC 2080, include support for IPv6 addresses and prefixes, and the use of all-RIP-routers multicast group address as the destination address for RIP update messages. This module describes how to configure Routing Information Protocol for IPv6. IPv6 RIP process maintains a local routing table, referred to as a RIB. The IPv6 RIP RIB contains a set of IPv6 RIP routes learnt from all its neighboring networking devices.

Before configuring the router to run IPv6 RIP, the ipv6 unicast-routing must be enabled globally, and IPv6 must be enabled on any interface in which IPv6 RIP is to be processed.

##

10.1 RIPv6 Commands

The list of CLI commands for the configuration of RIP6 is as follows:

- ipv6 router rip

- ipv6 router rip - name

- ipv6 split-horizon

- ipv6 rip enable

- ipv6 rip name enable

- ipv6 rip default-information originate

- ipv6 rip default-information - originate | only

- ipv6 rip metric-offset

- redistribute

- distribute prefix

- debug ipv6 rip

- show ipv6 rip

- show ipv6 rip stats

- show ipv6 rip filter

### 10.1.1 `ipv6 router rip`

Enables RIP6 and enters into the router configuration mode and the `no` form of the command disables RIP6 on all the interfaces.

    ipv6 router rip

    no ipv6 router rip

Mode | Global Configuration
Example | SEFOS(config)# ipv6 router rip
Notes | Before configuring the router to run IPv6 RIP, the `ipv6 unicast-routing` must be enabled globally, and IPv6 must be enabled on the interface in which IPv6 RIP is to be processed.

#### Related Commands

- ipv6 enable - Enables IPv6 processing on an interface that has not been configured with an explicit IPv6 address

- ipv6 unicast-routing - Enables unicast routing

### 10.1.2 `ipv6 router rip - name`

Enables RIP6 and enters into the router configuration mode. The `no` form of the command disables RIP6 on all the interfaces. This command operates similar to that of the command ipv6 router rip.

    ipv6 router rip name

    no ipv6 router rip name

Syntax Description | name - Specific IPv6 RIP routing process. This feature is ignored during the command execution.
Mode | Global Configuration
Example | SEFOS(config)# ipv6 router rip router1
Notes | Before configuring the router to run IPv6 RIP, the ipv6 unicast-routing must be enabled globally, and IPv6 must be enabled on the interface in which IPv6 RIP is to be processed.

#### Related Commands

- ipv6 enable - Enables IPv6 processing on an interface that has not been configured with an explicit IPv6 address

- ipv6 unicast-routing - Enables unicast routing

### 10.1.3 `ipv6 split-horizon`

Enables the `split-horizon` updates and the `no` form of the command disables the `split-horizon` updates.

    ipv6 split-horizon

    no ipv6 split-horizon

Mode | Interface Configuration
Example | SEFOS(config-if)# ipv6 split-horizon
Notes | The value `split-horizon` denotes that split-horizon algorithm must be applied in the response packets that are going out.

#### Related Commands

- show ipv6 rip - Displays IPv6 local RIB and routing protocol information

### 10.1.4 `ipv6 rip enable`

Enables RIP routing and the `no` form of the command disables the RIP routing.

    ipv6 rip

    no ipv6 rip

Mode | Interface Configuration Applicable only in the VLAN interface mode.
Example | SEFOS(config-if)# ipv6 rip enable

#### Related Commands

- show ipv6 rip - Displays IPv6 Local RIB and routing protocol information

### 10.1.5 `ipv6 rip name enable`

Enables the specified IPv6 RIP routing process on an interface. The `no` form of the command disables the specified routing process on an interface. This command operates similar to that of the command ipv6 rip enable.

    ipv6 rip name enable

    no ipv6 rip name enable

Syntax Description | name - Specific IPv6 RIP routing process. This feature is ignored during the command execution.
Mode | Interface Configuration Applicable in the VLAN Interface mode only.
Example | SEFOS(config-if)# ipv6 rip name enable SEFOS(config-if)# no ipv6 rip name enable

#### Related Commands

- show ipv6 rip - Displays IPv6 local RIB and routing protocol information

### 10.1.6 `ipv6 rip default-information originate`

Configures handling of default route originate. This command originates the IPv6 default route into the specified RIP routing process updates sent out of the specified interface. The `no` form of the command disables handling of default route originate.

    ipv6 rip default-information originate

    no ipv6 rip default-information

Mode | Interface Configuration Applicable only in the VLAN interface mode.
Example | SEFOS(config-if)# ipv6 rip default-information originate

#### Related Commands

- show ipv6 rip - Displays IPv6 local RIB and routing protocol information

### 10.1.7 `ipv6 rip default-information - originate | only`

Originates the IPv6 default route into the specified RIP routing process updates, sent from the specified interface. This command operates similar to that of the command ipv6 rip default-information originate.

Note - The routing process ignores all default routes received on any interface, after originating the IPv6 default route out of any interface to avoid routing loops.

    ipv6 rip process-name default-information {originate | only } [metric value]

Syntax Description | process-name - Specific IPv6 RIP routing process. This feature is ignored during the command execution. originate - Default route is originated in addition to all other routes in the updates sent from the interface. only - Default route is originated while suppressing all other routes in the updates sent from the interface. metric - Metric to be used for redistributed routes.
Mode | Interface Configuration Applicable only in the VLAN interface mode.
Example | SEFOS(config-if)# ipv6 rip process1 default-information originate

#### Related Commands

- show ipv6 rip - Displays IPv6 local RIB and routing protocol information

### 10.1.8 `ipv6 rip metric-offset`

Adjusts default metric increment.

    ipv6 rip metric-offset 1-15

Mode | Interface Configuration
Example | SEFOS(config-if)# ipv6 rip metric-offset 6
Notes | The ipv6 rip metric-offset command is used in conjunction with the redistribute router configuration command to cause the current routing protocol to use the same metric value for all redistributed routes. The maximum metric that RIP can advertise is 16, and a metric of 16 denotes a route that is unreachable.

#### Related Commands

- show ipv6 rip - Displays IPv6 local RIB and routing protocol information

### 10.1.9 `redistribute`

Enables redistribution of IPv6 prefix from another protocol into RIP6. The `no` form of the command disables redistribution of IPv6 prefix from another protocol into RIP6.

    redistribute {static | connected | ospf} metric 0-16

    no redistribute {static | connected | ospf}

Syntax Description | static - Statically configured routes to advertise in the RIP6 process. connected - Connected routes to advertise in the RIP6 process. ospf - OSPF routes to advertise in the RIP6 process. metric - Routing metric associated with the route.
Mode | Router Configuration
Example | SEFOS(config-router)# redistribute static metric 6

#### Related Commands

- show ipv6 rip - Displays IPv6 local RIB and routing protocol information

### 10.1.10 `distribute prefix`

Enables filter network in routing updates sent or received and the `no` form of the command disables Filter network in routing updates sent or received.

    distribute prefix ipv6_addr {in | out}

    no distribute prefix ipv6_addr {in | out}

Syntax Description | ipv6-addr - IPv6 Address in - Filter network in routing updates received out - Filter network in routing updates sent out
Mode | Router Configuration
Example | SEFOS(config-router)# distribute prefix fe80::208:2ff:fe02:408 in
Notes | Filtering is controlled by distribute lists. Input distribute lists control route reception and input filtering is applied to advertisements received from neighbors. Only those routes that pass input filtering are inserted in the RIP local routing table and become candidates for insertion into the IPv6 routing table. Output distribute lists control route advertisement. Output filtering is applied to route advertisements sent to neighbors. Only those routes passing output filtering will be advertised.

#### Related Commands

- show ipv6 rip - Displays IPv6 local RIB and routing protocol information

- show ipv6 rip filter - Displays peer and Advfilter table

### 10.1.11 `debug ipv6 rip`

Enables IPv6 RIP routing protocol debugging and the `no` form of the command disables IPv6 RIP routing protocol debugging.

    debug ipv6 rip {all | data | control}

    no debug ipv6 rip

Syntax Description | all - All resources. data - Data path messages. control - Control Plane messages.
Mode | Privileged EXEC
Defaults | Disabled.
Example | SEFOS# debug ipv6 rip all

#### Related Commands

- show ipv6 rip - Displays IPv6 local RIB and routing protocol information

### 10.1.12 `show ipv6 rip`

Displays IPv6 local RIB and routing protocol information.

    show ipv6 rip [database]

Syntax Description | database - IPv6 RIP protocol database
Mode | Privileged EXEC
Example | SEFOS# show ipv6 rip database RIP local RIB 4444::/64, metric 10, local vlan1/::, expires in 180 secs 5555::/64, metric 10, local vlan2/::, expires in 180 secs 6666::/64, metric 7, static tunnel0/::, expires in 180 secs

#### Related Commands

- ipv6 router rip - Enables the router configuration mode

- ipv6 split-horizon - Enables the split-horizon updates

- ipv6 rip enable / ipv6 rip name enable - Enables RIP routing

- ipv6 rip default-information originate - Configures handling of default route originate

- ipv6 rip default-information - originate | only - Originates the IPv6 default route into the specified RIP routing process updates sent from the specified interface.

- ipv6 rip metric-offset - Adjusts default metric increment

- redistribute - Redistributes IPv6 prefix from another protocol into RIP6

- distribute prefix - Enables filter network in routing updates sent or received

- debug ipv6 rip - Enables IPv6 RIP routing protocol debugging

### 10.1.13 `show ipv6 rip stats`

Displays all the interface statistics.

    show ipv6 rip stats

Mode | Privileged EXEC
Example | SEFOS# show ipv6 rip stats Interface Index vlan1 ***************** *** Rcvd : Messages 0 Requests 0 Responses 0 UnknownCommds 0 OtherVer 0 Discards 0 Sent : Messages 1 Requests 1 Responses 0 Trigger Updates 0

### 10.1.14 `show ipv6 rip filter`

Displays peer and `advfilter` table.

    show ipv6 rip filter

Mode | Privileged EXEC
Example | SEFOS# show ipv6 rip filter Filter Address FilterType ************** ********** fe80::200:ff:febb:e01 IN fe80::200:ff:fecc:102 IN 3333::1111 OUT

#### Related Commands

- distribute prefix - Enables Filter network in routing updates sent or received

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.