beautypg.com

Clearing ip routes, Displaying ip traffic statistics – Brocade FastIron Ethernet Switch Layer 3 Routing Configuration Guide User Manual

Page 143

background image

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.

device# clear ip route

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

device# clear ip route 10.157.22.0/24

Syntax: clear ip route [ ip-addr ip-mask ]

or

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

Displaying IP traffic statistics

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

device# show ip traffic

IP Statistics

139 received, 145 sent, 0 forwarded

0 filtered, 0 fragmented, 0 reassembled, 0 bad header

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

ICMP Statistics

Received:

0 total, 0 errors, 0 unreachable, 0 time exceed

0 parameter, 0 source quench, 0 redirect, 0 echo,

0 echo reply, 0 timestamp, 0 timestamp reply, 0 addr mask

0 addr mask reply, 0 irdp advertisement, 0 irdp solicitation

Sent:

0 total, 0 errors, 0 unreachable, 0 time exceed

0 parameter, 0 source quench, 0 redirect, 0 echo,

0 echo reply, 0 timestamp, 0 timestamp reply, 0 addr mask

0 addr mask reply, 0 irdp advertisement, 0 irdp solicitation

UDP Statistics

1 received, 0 sent, 1 no port, 0 input errors

TCP Statistics

0 active opens, 0 passive opens, 0 failed attempts

0 active resets, 0 passive resets, 0 input errors

138 in segments, 141 out segments, 4 retransmission

RIP Statistics

0 requests sent, 0 requests received

0 responses sent, 0 responses received

0 unrecognized, 0 bad version, 0 bad addr family, 0 bad req format

0 bad metrics, 0 bad resp format, 0 resp not from rip port

0 resp from loopback, 0 packets rejected

The show ip traffic command displays the following information.

CLI display of IP traffic statistics - Layer 3 switch

TABLE 26

Field

Description

IP statistics

received

The total number of IP packets received by the device.

sent

The total number of IP packets originated and sent by the device.

forwarded

The total number of IP packets received by the device and forwarded to other
devices.

Clearing IP routes

FastIron Ethernet Switch Layer 3 Routing Configuration Guide

143

53-1003087-04