Eth ip addr, Mgmt class, Input format – Efficient Networks 107-0001-000 User Manual

Page 146: Parameters, Example, Response, Eth ip addr -8

Advertising
background image

Chapter 5: Ethernet Interface Commands

Efficient Networks

®

Router family

Command Line Interface Guide

Page 5-8

Efficient Networks

®

eth ip addr

Defines the IP address and subnet mask for an Ethernet port or logical interface.

Mgmt Class

Network (R/W)

Input Format

eth ip addr <ipaddr> <ipnetmask> [<interface>]

Parameters

Example

The following command sets the IP address and subnet mask for the default Ethernet
interface (0:0):

The following command sets the IP address and subnet mask for logical interface 1
on Ethernet port 0:

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 addr 192.168.1.254 255.255.255.0

-> eth ip addr 10.0.27.1 255.255.255.0 0:1

Advertising