beautypg.com

Clearing ip routes, Displaying ip traffic statistics – Brocade TurboIron 24X Series Configuration Guide User Manual

Page 537

background image

Brocade TurboIron 24X Series Configuration Guide

503

53-1003053-01

Displaying IP configuration information and statistics

Clearing IP routes

If needed, you can clear the entire route table or specific individual routes.

To clear all routes from the IP route table,enter the following command.

TurboIron#clear ip route

To clear route 10.157.22.0/24 from the IP routing table,enter the following command.

TurboIron#clear ip route 10.157.22.0/24

Syntax: clear ip route [ ]

or

Syntax: clear ip route [/]

Displaying IP traffic statistics

To display IP traffic statistics, enter the following command at any CLI level.

TABLE 80

CLI display of IP route table

This field...

Displays...

Destination

The destination network of the route.

NetMask

The network mask of the destination address.

Gateway

The next-hop router.

Port

The port through which this router sends packets to reach the route's destination.

Cost

The route's cost.

Type

The route type, which can be one of the following:

B – The route was learned from BGP.

D – The destination is directly connected to this Layer 3 Switch.

R – The route was learned from RIP.

S – The route is a static route.

* – The route is a candidate default route.

O – The route is an OSPF route. Unless you use the ospf option to display the route table,
“O” is used for all OSPF routes. If you do use the ospf option, the following type codes are
used:

O – OSPF intra area route (within the same area).

IA – The route is an OSPF inter area route (a route that passes from one
area into another).

E1 – The route is an OSPF external type 1 route.

E2 – The route is an OSPF external type 2 route.