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

Page 143: Parameters, Example, Response, Eth add -5

Advertising
background image

Efficient Networks

®

Router family

Command Line Interface Guide

Chapter 5: Ethernet Interface Commands

Efficient Networks

®

Page 5-5

eth add

Adds a logical interface onto an Ethernet port so that the router can provide service to
multiple IP subnets. The

eth add

command defines the port number and logical

interface number. Next, use the

eth ip addr

command to define the IP subnet that

uses the logical interface. For more information, see

IP Subnets” on page 6-1

of the

Technical Reference Guide.

NOTE:

A logical interface 0 always exists for Ethernet port 0 (and for port 1 in a dual-port
router); logical interface 0 cannot be deleted.

Once defined, routes and filters can be created for the new logical interface using the
other eth commands in this section. To list the currently defined logical interfaces, use
the

eth list

command. To remove a logical interface, use an

eth delete

command.

NOTE:

This command requires a

save

and

reboot

before it takes effect.

Mgmt Class

Network (R/W)

Input Format

eth add <port#>:<logical#>

Parameters

Example

In the following example, logical interface 1 is added to Ethernet port 0:

Response

Command prompt.

<port#>

a

a

0 for a single-port router; 0 or 1 for a dual-port router.

Ethernet interface to add logical port value.

<logical#>

b

b

Integer, value cannot = 0; logical interface 0 always exists.

New logical interface number.

-> eth add 0:1

Advertising