ZyXEL Communications 4.04 User Manual
Chapter 15 IP Commands
ZyWALL (ZyNOS) CLI Reference Guide
118
15.1.24 Interface Command Example
The following example sets the WAN 1 interface to use IP address 172.16.2.2 and subnet
mask 255.255.0.0.
mask 255.255.0.0.
ip pingext [target address] [-n]
[repeat-value]
[-l]
[data-
size]
[-w] [timeout-value] [-o] [ip-
address|interface] [-v] [tos-
value] [-c][-d] [data] [-f] [-p]
[min-mtu] [max-mtu] [interval-
size]
Pings a remote host.
-c
: Validate the reply data.
-d data
: Data pattern. The maximum length of data is 255
characters.
-f
: Set DF flag.
-l data-size : Datagram size in bytes (with 28 bytes
Header).
Header).
-v tos-value
: Specify the value of TOS flag.
-n repeat-value
: The number of times to send a
ECHO_REQ packet.
-w timeout-value
: Specify the value of Timeout in
seconds.
-o ip-address|interface
: Specify one IP address or
interface to be the source IP address.
-p min-mtu max-mtu interval-size
: Sweep range of
sizes.
R
ip telnet <address> [port]
Creates a Telnet connection to the specified host.
R+B
ip traceroute <address> [ttl]
[wait] [queries]
Sends ICMP packets to trace the route of a remote host.
ttl
: Time to live in seconds (0~255).
wait
: Timeout in seconds (0~255).
queries
: The number of ICMP packets to use (1~5).
R+B
Table 59 Other ip Commands (continued)
COMMAND
DESCRIPTION
M
ras> ip ifconfig enif1 172.16.2.2/16
enif1: mtu 1500 mss 1460
inet 172.16.2.2, netmask 0xffff0000, broadcast 172.16.255.255
RIP RX:None, TX:None,
[InOctets 197396] [InUnicast 621] [InMulticast 982]
[InDiscards 72] [InErrors 0] [InUnknownProtos 72]
[OutOctets 89305] [OutUnicast 629] [OutMulticast 0]
[OutDiscards 0] [OutErrors 0]