Efficient Networks
®
Router family
Command Line Interface Guide
Chapter 5: Ethernet Interface Commands
Efficient Networks
®
Page 5-15
eth ip delroute
Removes a route from the default routing table that was added using the
eth ip
addroute
command.
The route to be deleted is identified by its IP address and mask and its Ethernet
interface. To see the remaining routes, use the
iproutes
command.
NOTE:
This command requires a
save
and
reboot
before it takes effect.
Mgmt Class
Network (R/W)
Input Format
eth ip addroute <ipaddr> <ipnetmask> [<interface>]
Parameters
Examples
The following command deletes the route for IP address 10.9.2.0/255.255.255.0 for
the default Ethernet interface (0:0).
The following command deletes the route for IP address 10.1.3.0/255.255.255.0 for
the Ethernet interface 0:1.
Response
Command prompt.
<ip addr>
a
a
Dotted-decimal notation
Ethernet LAN IP address.
<ipnetmask>
a
IP network mask.
<interface>
b,c
b
This parameter may be omitted if the router has only one Ethernet interface.
If the router has two physical Ethernet interfaces (an Ethernet hub router), the port number (0 or 1)
must be specified.
c
To specify a logical interface other than logical interface 0, specify both the port number and the logical
interface number (<port #>:<logical #>, for example, 0:1).
Ethernet interface.
-> eth ip delroute 10.9.2.0 255.255.255.0
-> eth ip delroute 10.1.3.0 255.255.255.0 0:1