IES-1000 User’s Guide

12.2.7Subnet Flush Command

Syntax:

192.168.1.1 ip> subnet flush

This command removes all of the subnets.

12.2.8Route Add Command

Syntax:

192.168.1.1 ip> route add <dom name> a.b.c.d <relay> [am:bm:cm:dm [<cost>

]]

where

<dom name>

=

The name of the static route.

a.b.c.d

=

The destination IP address of packets that this static route is to route.

<relay>

=

The IP address of the gateway that you want to send the packets through.

am:bm:cm:dm

=

The destination subnet mask of packets that this static route is to route.

<cost>

=

The metric (hop count) of this static route.

This command defines a new, static IP forwarding route or edits an existing one. Type “route” without any parameters to view a list of the configured static routes.

Use 0’s for the destination IP address and subnet mask to configure a default static route for the device. The device uses the default static route to forward packets for which it cannot find another route. The following is the syntax for configuring a static route.

192.168.1.1 ip> route add <dom name> 0.0.0.0 <relay> 0:0:0:0

12.2.9Route Delete Command

Syntax:

192.168.1.1 ip> route delete <dom name>

where

 

 

<dom name>

=

The name of the static route.

This command removes a static, IP forwarding route.

12.2.10Route Flush Command

Syntax:

192.168.1.1 ip> route flush

This command removes all of the static IP forwarding routes.

12-4

IP Commands