beautypg.com

Clear ip route – Brocade Network OS Command Reference v4.1.0 User Manual

Page 165

background image

Network OS Command Reference

127

53-1003115-01

clear ip route

2

clear ip route

Clears IP routes.

Synopsis

clear ip route {A.B.C.D/M | all | slot line_card_number | vrf name}

Operands

A.B.C.D/M

Clears the route specified by this IPv4 address/length.

all

Clears all routes from the routing table in IP route management.

slot line_card_number Clears the route specified by this line card number.

vrf name

Clears the specified VRF.

Defaults

None

Command Modes

Privileged EXEC mode

Description

Use this command to clear either a specified route or all IP routes in the IP routing tables.

Usage Guidelines

None

Examples

To clear the IP route specified by the prefix 192.158.1.1/24:

switch# clear ip route 192.158.1.1/24

See Also

None