Quick Reference Guide

634 PowerConnect B-Series TI24X Configuration Guide
53-1002269-02
Displaying IP configuration information and statistics
21
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.
PowerConnect# clear ip route
To clear route 209.157.22.0/24 from the IP routing table,enter the following command.
PowerConnect# clear ip route 209.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 following command at any CLI level.
TABLE 106 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.