# ipv6 route-type

#### Syntax

For BGP

ipv6 route-type [ unicast | both ]

no ipv6 route-type

For OSPF

ipv6 route-type [ unicast | multicast | both ]

no ipv6 route-type

#### Release Information

Command introduced before JunosE Release 7.1.0.

#### Description

For BGP, specifies whether BGP IPv6 routes are available only for other unicast protocols or for both unicast protocols and multicast protocols to perform RPF checks. The no version restores the default value, unicast.

For OSPF, specifies whether OSPF IPv6 routes are available only for unicast forwarding, only for multicast reverse path forwarding checks, or for both. The no version restores the default value, both.

#### Options

- unicast—Specifies that routes for the protocol are available only for unicast forwarding
- both—Specifies that routes for the protocol are available for both unicast forwarding and multicast route path forwarding checks
- multicast—Specifies that routes for the protocol are available only for multicast route path forwarding checks

#### Mode

Router Configuration