Chapter 15 IP Commands

Table 59 Other ip Commands (continued)

COMMAND

DESCRIPTION

M

ip pingext [target address] [-n]

Pings a remote host.

R

[repeat-value][-l] [data- size]

-c : Validate the reply data.

 

[-w][timeout-value][-o] [ip-

-ddata : Data pattern. The maximum length of data is 255

 

addressinterface] [-v] [tos-

characters.

 

value] [-c][-d] [data] [-f] [-p]

-f : Set DF flag.

 

[min-mtu][max-mtu] [interval-

-ldata-size : Datagram size in bytes (with 28 bytes

 

size]

Header).

 

 

-vtos-value : Specify the value of TOS flag.

 

 

-nrepeat-value : The number of times to send a

 

 

ECHO_REQ packet.

 

 

-wtimeout-value: Specify the value of Timeout in

 

 

seconds.

 

 

-oip-addressinterface: Specify one IP address or

 

 

interface to be the source IP address.

 

 

-pmin-mtu max-mtu interval-size: Sweep range of

 

 

sizes.

 

ip telnet <address> [port]

Creates a Telnet connection to the specified host.

R+B

ip traceroute <address> [ttl]

Sends ICMP packets to trace the route of a remote host.

R+B

[wait] [queries]

ttl: Time to live in seconds (0~255).

 

 

wait: Timeout in seconds (0~255).

 

 

queries: The number of ICMP packets to use (1~5).

 

 

 

 

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.

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,

621]

[InMulticast

982]

[InOctets

197396] [InUnicast

[InDiscards

72] [InErrors

0] [InUnknownProtos

72]

[OutOctets

89305] [OutUnicast

629]

[OutMulticast

0]

[OutDiscards

0] [OutErrors

0]

 

 

 

 

 

 

 

118

 

ZyWALL (ZyNOS) CLI Reference Guide