3 general ip commands, 1 show, 2 ping command – ZyXEL Communications IES-708-22A User Manual

Page 316: 3 route set command, 1 show 50.3.2 ping command

Advertising
background image

Chapter 50 IP Commands

IES-708-22A User’s Guide

316

The second command changes the default gateway (next hop). This tells the IES-708-22A
where to send packets that have a destination IP address that is not on the same subnet as the
IES-708-22A’s IP address.
The third command saves the new configuration to the nonvolatile memory.
For example, use the following command sequence sets the IES-708-22A to have 192.168.1.3
as the IP address, 255.255.255.0 for the subnet mask and 192.168.1.233 for the default
gateway.

The IES-708-22A leaves the factory with a default management IP address of 192.168.1.1 and
a subnet mask of 255.255.255.0, (ff:ff:ff:00 in hexadecimal notation), and the default gateway
set at 192.168.1.254. Make sure that you configure the IP parameters correctly before you
connect a IES-708-22A to the network, otherwise, you may interrupt services already running.

50.3 General IP Commands

The following is a list of general IP commands that help with the management of the IP
parameters.

50.3.1 Show

Syntax:

ras> ip show

Use the command to display the current management IP settings.

50.3.2 Ping Command

Syntax:

ras> ip ping <ip> [count]

This is an IP facility to check for network functionality by sending an echo request to another
IP host and waiting for the reply.

50.3.3 Route Set Command

Syntax:

ras> ip route set <dst ip>[/netmask] <gateway ip> [metric] <name>
ras> ip route set default <gateway ip> <metric>

ras> ip set 192.168.1.3/24
ras> ip gateway 192.168.1.233
ras> config save

Advertising