# clear ip routes

#### Syntax

clear ip routes [ vrf vrfName ] { * | ipAddress ipMask }

#### Release Information

Command introduced before JunosE Release 7.1.0.

#### Description

Clears a specified route or all dynamic routes from the routing table of a specified VRF or all VRFs. There is no no version.

#### Options

- vrfName—Name of the VRF context from which routes are to be cleared
- *—Clears all dynamic routes
- ipAddress—IP address prefix for routes that are cleared; in 32-bit dotted-decimal format
- ipMask—Mask of the IP address prefix for routes that are cleared; in 32-bit dotted-decimal format

#### Mode

Privileged Exec