beautypg.com

Defroute, Netstat – Enterasys Networks 2200 User Manual

Page 242

background image

Built-in Commands

11-6

Network Tools Screens

defroute

Description:

Allows the user, in the syntax order shown below, to view, set, or delete the
default IP route to a managed device through the specified interface.

Syntax:

defroute

defroute [interface number] [IP address]

defroute delete [interface number] [IP address]

Options:

None

Example:

-> defroute

# Default route is 147.152.42.32 on interface 2

-> defroute 2 147.152.42.32

# Default route is 147.152.42.32 on interface 2

-> defroute delete

# Default route is not currently set.

->

netstat

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
following two display options.

Syntax:

netstat [option]

Options:

-i – Displays status and capability information for each interface.

-r – Displays routing information for each interface.