Clearing ip routes, Displaying ip traffic statistics – Brocade Virtual ADX Switch and Router Guide (Supporting ADX v03.1.00) User Manual
Page 108
94
Brocade Virtual ADX Switch and Router Guide
53-1003246-01
Displaying IP configuration information and statistics
4
Clearing IP routes
If needed, you can clear the entire route table or specific individual routes. To do so, use one of the
following procedures.
To clear all routes from the IP route table, enter the following command.
Virtual ADX# clear ip route
To clear route 10.157.22.0/24 from the IP routing table, enter the command below.
Virtual ADX# 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 following command at any CLI level.
TABLE 12
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.
•
S – The route is a static route.
•
* – The route is a candidate default route.
•
SA – A static route that has multiple outgoing ports in its entry.