Mgmt class, Input format, Parameters – Efficient Networks 107-0001-000 User Manual

Page 150: Example, Response, Parameters example

Advertising
background image

Chapter 5: Ethernet Interface Commands

Efficient Networks

®

Router family

Command Line Interface Guide

Page 5-12

Efficient Networks

®

Mgmt Class

Network (R/W)

Input Format

eth ip bindroute <ipaddr> <ipnetmask> <hops> [<gateway>]

<tablename> [<interface>]

Parameters

Example

The following commands add a route for IP address 10.1.2.0/255.255.255.0 to four
routing tables: ROSA, MIGUEL, FRANCISCO, and the default routing table. The first
two routes are for Ethernet interface 0:1 and use gateway 192.168.252.9; the second
two are for the default Ethernet interface (0:0) and, therefore, specify another
gateway (192.168.252.7):

Response

Command prompt.

<ip addr>

a

a

Dotted-decimal notation

Ethernet LAN IP address.

<ipnetmask>

a

IP network mask.

<hops>

b

b

Integer

Number of routers through which the packet must go to get to its desti-
nation.

<gateway>

a

IP address of the IP gateway.

<tablename>

c

c

ASCII string

IP virtual routing table o which the route is added.

<interface>

d,e

d

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.

e

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 through which the packet is sent.

-> eth ip bindroute 10.1.3.0 255.255.255.0 1 192.168.252.9 ROSA 0:1

-> eth ip bindroute 10.1.3.0 255.255.255.0 1 192.168.252.9 MIGUEL 0:1

-> eth ip bindroute 10.1.3.0 255.255.255.0 1 192.168.252.7 FRANCISCO

-> eth ip addroute 10.1.3.0 255.255.255.0 1 192.168.252.7

Advertising