beautypg.com

Westermo MR Series User Manual

Page 418

background image

418

6622-3201

Web Interface and Command Line Reference Guide

www.westermo.com

Interfaces

17.14.2

The Interfaces hierarchy consists of the ifnumber variable and the iftable node:

at\smib=mib-2.interfaces.ifnumber

The total number of interfaces on the unit. This includes Ethernet, PPP and virtual interfaces (i.e.
IPSec tunnels) and SYNC ports.

mib-2.interfaces.ifnumber = 52

at\smib=mib-2.interfaces.iftable
The iftable node contains ifentry nodes for each interface. For each table entry, an index specifier
must be appended to the end of each variable (e.g. for PPP0, 1 must be appended).

at\smib=mib-2.interfaces.iftable.ifentry

at\smib=mib-2.interfaces.iftable.ifentry.ifindex

The unique index number of the interface.

at\smib=mib-2.interfaces.iftable.ifentry.ifdescr

This variable displays information about the interface. This information is displayed in the format
-

, where:

can be one of PPP, ETH, TUN (for IPSec tunnels), SNAIP (for SNAIP

links) or SYNC, and

is the instance.

For example:
mib-2.interfaces.iftable.ifentry.ifdescr.1 = PPP-0

at\smib=mib-2.interfaces.iftable.ifentry.iftype

The type of interface, as described by the physical/link protocol below the network layer in the
pro tocol stack. Values can be one of the following:

PPP 23

ETH 6

IPSec Tunnel 131

SNAIP 17

SYNC port 118

For example:

mib-2.interfaces.iftable.ifentry.iftype.1 = 23

at\smib=mib-2.interfaces.iftable.ifentry.ifmtu

The size of the largest datagram (in octets) which can be sent on the interface. SNAIP and
SYNC ports always return 0. IPSec tunnel interfaces will return the underlying interface if it can
be located, otherwise 0 is returned. PPP interfaces will return the negotiated MTU if the link is
con nected, otherwise 0 is returned.

For example:

mib-2.interfaces.iftable.ifentry.ifmtu.21 = 1504

at\smib=mib-2.interfaces.iftable.ifentry.ifspeed

This variable displays an estimate of the interface’s current bandwidth in bits per second. SNAIP
and SYNC ports will always return 0. PPP ports will always return 64000.
For example:
mib-2.interfaces.iftable.ifentry.ifspeed.1 = 64000

at\smib=mib-2.interfaces.iftable.ifentry.ifphysaddress

The interface’s address at the protocol layer immediately below the network layer in the proto-
col stack. For interfaces without such an address, a zero-length octet string is returned. For PPP,
SNAIP and SYNC ports, a 0 length string is returned.

This manual is related to the following products: