# ip route-type

#### Syntax

For BGP:

ip route-type [ unicast | both ]

no ip route-type

For IS-IS, OSPF, and RIP:

ip route-type [ unicast | multicast | both ]

no ip route-type

#### Release Information

Command introduced before JunosE Release 7.1.0.

#### Description

Specifies whether BGP, IS-IS, OSPF, or RIP routes are available only for unicast forwarding, only for multicast reverse path forwarding checks, or for both. The no version restores the default value, unicast for BGP or both for IS-IS, OSPF, and RIP.

#### Options

- unicast—Specifies that routes for the protocol are available only for unicast forwarding
- multicast—Specifies that routes for the protocol are available only for multicast route path forwarding checks; this option is not available for BGP
- both—Specifies that routes for the protocol are available for both unicast forwarding and multicast route path forwarding checks

#### Mode

Address Family Configuration (RIP), Router Configuration