7-36
Command Sets for Command Line Interface
28. routeflush
Syntax:
routeflush [<i/f>] [all]
Description:
Removes routes from the route table. If “<i/f>” is specified, only
routes through the named interface are removed. If “all” is not
specified, only host routes (those with a mask of ff:ff:ff:ff) are
removed. The “routeflush” command is “hidden”, not shown by
“ip help”.
Configuration saving saves this information.
Example:
DSL> ip routeflush ether all
DSL> ip routeflush
29. routes
Syntax:
routes
Description:
Lists routes. (The same as “route”, with no parameters.)
30. stats
Syntax:
stats arp|icmp|ip|tcp|udp [reset]
stats help [<cmd>|all]
Description:
Displays or clears a subset of IP statistics.
Example:
DSL> ip stats udp
ip: UDP receptions delivered to users: 0
ip: UDP receptions with no users: 170
ip: Otherwise discarded UDP receptions: 0
ip: Transmitted UDP packets: 35
DSL> ip stats udp reset
DSL> ip stats udp
ip: UDP receptions delivered to users: 0
ip: UDP receptions with no users: 0
ip: Otherwise discarded UDP receptions: 0
ip: Transmitted UDP packets: 0
31. subnet
Syntax:
subnet