Efficient Networks 107-0001-000 manual Eth ip delroute, Eth ip addroute ipaddr ipnetmask interface

Models: 107-0001-000

1 516
Download 516 pages 19.79 Kb
Page 153
Image 153

Efficient Networks® Router family

Chapter 5: Ethernet Interface Commands

Command Line Interface Guide

 

 

 

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

<ip addr>a

Ethernet LAN IP address.

<ipnetmask>a

IP network mask.

<interface>b,c

Ethernet interface.

aDotted-decimal notation

bThis 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.

cTo 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).

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).

-> eth ip delroute 10.9.2.0 255.255.255.0

The following command deletes the route for IP address 10.1.3.0/255.255.255.0 for the Ethernet interface 0:1.

-> eth ip delroute 10.1.3.0 255.255.255.0 0:1

Response

Command prompt.

Efficient Networks®

Page 5-15

Page 153
Image 153
Efficient Networks 107-0001-000 manual Eth ip addroute ipaddr ipnetmask interface, Eth ip delroute 10.9.2.0