Chapter 5: Local Management
5-76 2H28-08R SmartSwitch 2208 User’s Guide
defroute:
Syntax: defroute
defroute [interface number] [IP address]
defroute delete [interface number] [IP address]
Description: The defroute command allows the user, in the
syntax order shown above, to view, set, or
delete the default IP route to a managed device
through the specified interface.
Options: Not Applicable
Example:
netstat:
Syntax: netstat [option]
Description: The netstat command provides a display of
general network statistics for the managed
device. The netstat command must be used with
one of the two display options.
Options: -i Displays status and capability information for
each interface.
-r Displays routing information for each
interface.
-> defroute 2 147.152.42.32
# Default route is 147.152.42.32 on interface 2
-> defroute
# Default route is 147.152.42.32 on interface 2
-> defroute delete
# Default route is not currently set.
->
05141-69