Page 336 / 998 Scroll up to view Page 331 - 335
IP
TCP/IP command reference
iMG/RG Software Reference Manual (IPNetwork Functions)
4-34
4.1.8.2.35 IP LIST INTERFACES
Syntax
ip list interfaces
Description
This command lists information about IP interfaces that were added using the IP ADD
INTERFACE command. The following information is displayed:
Interface ID numbers
Interface names
IP addresses (if previously specified)
DHCP status
Whether a transport is attached to the interface, and if so, the name of the trans-
port
Whether a virtual interface is attached to a real interface. The name of the attached
virtual interface is displayed in the
Transport
column in square brackets, for example
[ip2]
Example
--> ip list interfaces
IP Interfaces:
ID
|
Name
|
IP Address
|
DHCP
|
Transport
-----|--------------|------------------|----------|---------------
1 | ppp_device
| 192.168.102.2
| disabled | pppoe1
2 | ip2
| 192.168.102.3
| disabled | Not attached
3 | ip_real
| 192.168.101.2
| disabled | ethernet1
4 | ip_virtual
| 192.168.150.1
| disabled | [ip_real]
------------------------------------------------------------------
See also
IP SHOW INTERFACE
IP SET INTERFACE DHCP
4.1.8.2.36 IP LIST RIPROUTES
Syntax
ip list riproutes
Description
This command lists information about the routes that have been obtained from RIP. It
displays the following:
Destination IP addresses
Destination netmask address
Gateway address
Cost - The number of hops counted as the cost of the route.
Page 337 / 998
TCP/IP command reference
IP
4-35
iMG/RG Software Reference Manual (IPNetwork Functions)
Timeout - the number of seconds that this RIP route will remain in the routing table
unless updated by RIP
Source interface - the name of the existing interface that this route uses
Example
--> ip list riproutes
IP RIP routes:
Destination
| Mask
| Gateway
| Cost | Time |Source
---------------|---------------|---------------|------|------|------
192.168.101.1 | 255.255.255.0 | 10.10.10.10
| 1
| 3000 | ip2
--------------------------------------------------------------------
See also
IP SET RIP HOSTROUTES
IP SET INTERFACE RIP ACCEPT
IP SET INTERFACE RIP SEND
4.1.8.2.37 IP LIST ROUTES
Syntax
ip list routes
Description
This command lists information about existing routes. It displays the ID, name, destina-
tion IP address (if applicable), netmask address (if applicable), and gateway address or
interface name (whichever is applicable).
Route ID numbers
Route names
Destination IP addresses (if previously specified)
Destination netmask address (if previously specified)
Either the gateway address or the name of the destination interface (whichever is
set)
Example
--> ip list routes
IP routes:
ID
|
Name
| Destination
| Netmask
|Gateway/Interface
-----|----------|----------------|----------------|-----------------
2 | route2
| 192.168.102.3
| 255.255.255.0
| ip1
1 | route1
| 192.168.50.50
| 255.255.255.0
| 192.168.68.68
--------------------------------------------------------------------
See also
ip show route
Page 338 / 998
IP
TCP/IP command reference
iMG/RG Software Reference Manual (IPNetwork Functions)
4-36
4.1.8.2.38 STOP PING
Syntax
STOP PING
Description
This command is used to stop a running ping request. In case, you specify a high number
of attempts for the ping request and then intend to stop the running ping request cycle,
you need to use the stop ping command to obtain the required functionality.
This command involves no parameters. On entering a stop ping request, the statistics for
the number of pings attempted so far shall be displayed. These statistics are displayed,
once the ping task completes the last ping request it was processing at the time when the
stop ping command was triggered.
Example
--> ip ping 192.168.0.12 iplan 644 (644 specifies the numberOfAttempts)
ping: PING 192.168.0.12: 32 data bytes ping: 40 bytes from 192.168.0.12: seq = 0,
ttl=128, rtt<10ms ping: 40 bytes from 192.168.0.12: seq = 0, ttl=128, rtt<10ms ping: 40
bytes from 192.168.0.12: seq = 0, ttl=128, rtt<10ms ping: 40 bytes from 192.168.0.12:
seq = 0, ttl=128, rtt<10ms
stop ping
ping: MANUALLY STOPPING THE RUNNING PING REQUEST !!!!!
ping: 40 bytes from 192.168.0.11: seq = 0, ttl=128, rtt<10ms ping: Ping stopped manually
by the user
ping: Ping statistics:
ping: Packets: Sent = 5, Recieved = 5, Lost = 0 ping: Round-trip times:
ping: Minimum = 0ms, Maximum = 0ms, Average < 1ms
See also
Domain name system - DNS
4.1.8.2.39 IP PING
Syntax
IP PING <destination> [<ifname>] [<numberofattempts>]
[<timeoutval>] [<blocksize>] [<tos>]
Description
This command pings a specified destination. If you are using a DNS client, you can ping
either an IP address or a host name. If you are not using DNS client, you only ping a des-
tination IP address.
It’s possible specify
the name of the interface over which the ping is sent. The ping
request message will use the IP address of this interface as source IP address.
In addition to these, you can configure certain additional parameters for the ping request.
These include the number of ping attempts [<numberOfAttempts>], the timeout value
for a ping request [<timeoutVal>], the data block size for an outgoing ping request
[<blockSize>] and the type of service or diffServCodePoint parameter [<TOS>]. The
Page 339 / 998
TCP/IP command reference
IP
4-37
iMG/RG Software Reference Manual (IPNetwork Functions)
type of service (TOS) parameter is used for test packets, and to specify the type of ser-
vice provided to the outgoing ping request at the IP level.
All these additional parameters are optional and hence when these are not specified, the
Default Values are used instead.
Options
The following table gives the range of values for each option THAT can be specified with
this command and a Default Value (if applicable).
Example
--> ip ping 192.168.102.3
ip: ping - reply received from 192.168.102.3
If ping was unsuccessful, the following output is displayed:
ip: ping - no reply received.
See also
Domain name system - DNS
4.1.8.2.40 IP SET APPSERVICE
Syntax
IP SET APPSERVICE <name> SECCLASSES <secClasses>
Option
Description
Default Value
destination
Either the IP address or host name (if you are using
DNS client) of the destination machine that you want to
ping.
N/A
ifname
A name that identifies an existing IP interface. To display
interface names, use the ip list interfaces command.
numberOfAt-
tempts
A number that identifies the number of ping attempts
for the ping operation. t ranges from 0-65534.
1
timeoutVal
A number that identifies the value in seconds, for which
the ping response will be awaited. In case the destina-
tion specified in the destination parameter is not reach-
able, then the request will be taken as timed out after
the specified number of seconds have elapsed. It ranges
from 0-60 (seconds).
4
blockSize
A number that identifies the payload size for a ping
request. It ranges from 0-65534.
32
TOS
A number that identifies the type of service for the ping
request message. This shall be used for the test packets.
It ranges from 0- 64.
0
Page 340 / 998
IP
TCP/IP command reference
iMG/RG Software Reference Manual (IPNetwork Functions)
4-38
Description
A number of system processes use the IP stack to provide services, such as SNMP agent
and TFTP server. These services are called AppServices. This command allows you to set
the security class(es) associated with an AppService. A security class is synonymous with
a security interface type. It is assumed that you have already assigned security interfaces
to your IP interfaces, using the command security show alg.
Setting the security class(es) for an AppService defines the interface(s) through which
the AppService will be provided.
Options
The following table gives the range of values for each option that can be specified with
this command and a Default Value (if applicable).
Example
--> ip set appservice tftp secclasses external,dmz
Example
--> ip set appservice http secclasses none
Option
Description
Default Value
name
A name that identifies an existing AppService. To display
AppService names, use the ip list appservices command.
N/A
number
A number that identifies an existing AppService. To display
AppService numbers, use the ip list appservices command.
The number appears in the first column under the heading
ID.
N/A
secClasses
Supported secClasses values are as follows:
all - allows access to the AppService via all existing security
interfaces
none - prevents access to the AppService via any existing
security interface
internal - allows access to the AppService via existing inter-
nal security interfaces
external - allows access to the AppService via existing exter-
nal security interfaces
dmz - allows access to the AppService via existing dmz secu-
rity interfaces
To allow access to an AppService via two security interface
types, type the secClass values separated by a comma (for
example, internal,external) or separated by a space and
enclosed in double-quotation marks (for example, “internal
external”).
To specify all three internal, external and dmz secClasses, use
the all value.
0.0.0.0

Rate

4 / 5 based on 3 votes.

Popular Allied-Telesis Models

Bookmark Our Site

Press Ctrl + D to add this site to your favorites!

Share
Top