Re: Portmaster PM2ER questions. (fwd)

Ryan Mooney (ryan@pcslink.com)
Tue, 19 Nov 1996 18:18:52 -0700 (MST)

> >2.- Since we are using the Portmaster as a router, how can I monitor the
> > packet traffic entering the Modems and hardwire link.
>
> If they are dialin/out links then RADIUS accounting with have input and
> output octects.
>
> If they are hardwired, all you can do is 'show s#' and do the math on the
> counters. (I believe you can get it with SNMP too.)

interfaces.ifTable.ifEntry.ifInOctets.1 = 4289309857
interfaces.ifTable.ifEntry.ifInOctets.2 = 90693
interfaces.ifTable.ifEntry.ifInOctets.3 = 480052
interfaces.ifTable.ifEntry.ifInOctets.4 = 155543
interfaces.ifTable.ifEntry.ifInOctets.5 = 10610

interfaces.ifTable.ifEntry.ifOutOctets.1 = 37303
interfaces.ifTable.ifEntry.ifOutOctets.2 = 37303
interfaces.ifTable.ifEntry.ifOutOctets.3 = 37823
interfaces.ifTable.ifEntry.ifOutOctets.4 = 1469976
interfaces.ifTable.ifEntry.ifOutOctets.5 = 53869

I believe .1 is the ethernet and the others are the serial ports.

Only while the interface is "up" though (ie: someone is dialed into it).
watch out the SNMP stats seem to be a bit "off" at time, I think that
the size of the identifier makes them "roll" sooner than on the PM itself,
a "sho all" at about the same time as the above gives:

Port Speed Mdm Host Type Status Input Output Pend
---- ----- --- ---------------- ------ ------------- ---------- ---------- ----
S0 115200 on ptp0 Netwrk ESTABLISHED 159609444 1144751482 0
S1 115200 on ptp1 Netwrk ESTABLISHED 176674117 1831213532 0
S2 115200 on Login/ IDLE 151944593 1450241314 0
S3 115200 on ptp3 Netwrk ESTABLISHED 140172845 1169800983 0
S4 115200 on ptp4 Netwrk ESTABLISHED 105893538 1012455605 0
S5 115200 on ptp5 Netwrk ESTABLISHED 70359727 567999089 0

So either a) I'm high on drugs (could happen), or b) something smells
funny in SNMP land. I think thats there may be an RFE in for this....

----------------------------------------------------------------------------
Ryan Mooney Phone (602)265-9188 PCSLink
ryan@pcslink.com Fax (602)265-9357 Internet Services

The world needs more bitter, twisted souls. It would be a much better place.
-----------------------------------------------------------------------------