Efficient Networks Router family Command Line Interface Manual page 150

Table of Contents

Advertisement

Chapter 5: Ethernet Interface Commands
Mgmt Class
Network (R/W)
Input Format
eth ip bindroute <ipaddr> <ipnetmask> <hops> [<gateway>]
<tablename> [<interface>]
Parameters
<ip addr>
<ipnetmask>
b
<hops>
<gateway>
<tablename>
<interface>
a
Dotted-decimal notation
b
Integer
c
ASCII string
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).
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):
-> 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
Response
Command prompt.
Page 5-12
a
Ethernet LAN IP address.
a
IP network mask.
Number of routers through which the packet must go to get to its desti-
nation.
a
IP address of the IP gateway.
c
IP virtual routing table o which the route is added.
d,e
Ethernet interface through which the packet is sent.
®
Efficient Networks
Router family
Command Line Interface Guide
Efficient Networks
®

Advertisement

Table of Contents
loading

Table of Contents