beautypg.com

Clearing ip routes, Displaying ip traffic statistics – Brocade Multi-Service IronWare Switching Configuration Guide (Supporting R05.6.00) User Manual

Page 876

background image

846

Multi-Service IronWare Switching Configuration Guide

53-1003036-02

Displaying IP information

19

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.

Brocade# clear ip route

To clear route 10.157.22.0/24 from the IP routing table.

Brocade# clear ip route 10.157.22.0/24

Syntax: clear ip route [ip-addr ip-mask | ip-addr/mask-bits]

Displaying IP traffic statistics

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

NOTE

In the Brocade device, only those packets that are forwarded or generated by the CPU are included
in the IP traffic statistics. Hardware forwarded packets are not included.

Brocade# show ip traffic

IP Statistics

1265602 total received, 690204 mp received, 225395 sent, 0 forwarded

0 filtered, 0 fragmented, 0 bad header

0 failed reassembly, 0 reassembled, 0 reassembly required

2951 no route, 0 unknown proto, 0 no buffer, 0 other errors

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 Brocade device.

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.

Uptime

The amount of time since the route was last modified. The format of this
display parameter may change depending upon the age of the route to include
the seconds (s), minutes (m), hours (h), and days (d), as described in the
following:

400d – Only days (d) displayed
20d23h – days (d) and hours (h) displayed
14h33m – hours (h) and minutes (m) displayed
10m59s – minutes (m) and seconds (s) displayed

TABLE 107

CLI display of IP route table (Continued)

This field...

Displays...