[j-nsp] MAC address accounting on shared L2 IX - can it be done?

Jared Mauch jared at puck.nether.net
Sat Mar 17 15:46:26 EST 2007


On Sat, Mar 17, 2007 at 09:41:03PM +0100, sthaug at nethelp.no wrote:
> Is it just me, or is the JunOS documentation for Ethernet MAC address
> accounting incredibly obtuse?
> 
> I am connected to an IX on GigE shared L2 - so I would like to count
> number of bytes and packets transmitted to and received from each BGP
> peer, based on the MAC address of the peer. This would seem to be a
> rather common task, but I haven't found a good way to do this yet.

jared at Router# show interfaces ge-1/0/0 
description "BN: AMS-IX";
link-mode full-duplex;
gigether-options {
    ethernet-switch-profile {
        mac-learn-enable;
    }
}
unit 0 {
    family inet {
        rpf-check {
            mode loose;
        }

	- Jared

> 
> http://www.juniper.net/techpubs/software/junos/junos82/swconfig82-network-interfaces/html/interfaces-ethernet-config68.html#1082075
> 
> lists "MAC accounting" as one of the capabilities of both GigE IQ and
> regular GigE (SFP) PICs. On
> 
> http://www.juniper.net/techpubs/software/junos/junos82/swconfig82-network-interfaces/html/interfaces-ethernet-config80.html#1082331
> 
> the heading says "Configuring MAC Address Accounting" - but the rest of
> the page says nothing about how to count packets based on MAC address.
> 
> What am I missing here?
> 
> Steinar Haug, Nethelp consulting, sthaug at nethelp.no
> _______________________________________________
> juniper-nsp mailing list juniper-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/juniper-nsp

-- 
Jared Mauch  | pgp key available via finger from jared at puck.nether.net
clue++;      | http://puck.nether.net/~jared/  My statements are only mine.


More information about the juniper-nsp mailing list