[j-nsp] Traffic monitoring per ASN

Andrey A. Ryazanov sg at di-net.ru
Mon May 16 18:36:14 EDT 2005


If AS6848 is the only one you want get stats for, you may try SCU/DCU accounting feature.
It's possible to classify traffic by AS path, configure SCU/DCU and then run MRTG to 
fetch data from jnxScuStatsTable or jxDcuStatsTable SNMP tables to obtain counters per 
class.

Configuration is smth. like this:

# this is upstream interface (SCU input interface)
sg at br1> show configuration interfaces so-0/1/0 unit 0 family inet accounting          
source-class-usage {
    input;
}

# this is interface towards my network (SCU output interface and DCU interface)
sg at br1> show configuration interfaces ge-0/0/0 unit 705 family inet accounting    
source-class-usage {
    output;
}
destination-class-usage;

sg at br1> show configuration routing-options forwarding-table 
export route-coloring;

sg at br1> show configuration policy-options policy-statement route-coloring 
term AS6848 {
    from as-path AS6848-routes;
    then {
        forwarding-class AS6848;
        accept;
    }
}
then {
    forwarding-class other;
    accept;
}

sg at br1> show configuration policy-options as-path AS6848-routes 
".* 6848 .*";

Of course you may maintain as many classes as you need, but keep in mind there's a limit 
for its number (64 on my M20, as far as I remember).

Andrey Ryazanov
Digital Network JSC
+7 095 723 8332 ext. 203

---------- Original Message -----------
From: Belgian Network Solutions - Geert Hauwaerts <geert at benesol.be>
To: juniper-nsp at puck.nether.net
Sent: Mon, 16 May 2005 20:40:19 +0200
Subject: [j-nsp] Traffic monitoring per ASN

> Does anyone know how to monitor traffic per ASN? I want to have traffic stats 
> (MRTG?) for the traffic comming and going to AS6848.
> 
> Is there a way to do it without netflow? I perfer to use MRTG. If there's no 
> other way then using netflow, could you provide an example JunOS config?
> 
> Regards,
> Geert Hauwaerts.
> -- 
> Network Operations Manager  - Belgian Network Solutions
> Mobile: +32 (0)498 75 80 68 - Office: +32 (0)16 89 32 41
> E-Mail: geert at benesol.be    - Online: http://www.benesol.be
> 
> _______________________________________________
> juniper-nsp mailing list juniper-nsp at puck.nether.net
> http://puck.nether.net/mailman/listinfo/juniper-nsp
------- End of Original Message -------



More information about the juniper-nsp mailing list