import torrus 1.0.9
[freeside.git] / torrus / xmlconfig / old / cisco-mac-accounting-example.xml
1 <?xml version="1.0"?>
2 <!--
3    Copyright (C) 2002  Stanislav Sinyagin
4
5    This program is free software; you can redistribute it and/or modify
6    it under the terms of the GNU General Public License as published by
7    the Free Software Foundation; either version 2 of the License, or
8    (at your option) any later version.
9
10    This program is distributed in the hope that it will be useful,
11    but WITHOUT ANY WARRANTY; without even the implied warranty of
12    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13    GNU General Public License for more details.
14
15    You should have received a copy of the GNU General Public License
16    along with this program; if not, write to the Free Software
17    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
18
19   $Id: cisco-mac-accounting-example.xml,v 1.1 2010-12-27 00:04:28 ivan Exp $
20   Stanislav Sinyagin <ssinyagin@yahoo.com>
21
22 -->
23
24 <!--
25   This file gives an example how to monitor the MAC accounting
26   on Cisco routers. It may be useful for per-BGP peer statistics
27   on an Ethernet media.
28
29   This file relies on the definitions and templates from
30   "vendor/cisco.ios.mac-accounting.xml".
31  -->
32
33 <configuration>
34 <datasources>
35
36
37   <subtree name="SNMP">
38
39     <param name="snmp-community" value="blahblah" />
40     <param name="domain-name" value="xyz.net" />
41     <param name="data-dir" value="/var/snmpcollector" />
42
43     <subtree name="MAC_Accounting">
44       <param name="comment" value="MAC accounting test router" />
45       <param name="collector-period" value="180" />
46       <param name="collector-timeoffset" value="13" />
47
48
49       <subtree name="test1">
50         <param name="snmp-host" value="rtrZHT001" />
51         <param name="interface-name" value="FastEthernet6/1" />
52         <param name="interface-nick" value="Fe6_1" />
53         <param name="mac" value="0.3.49.144.200.28" />
54         <param name="mac-nick" value="testOne" />
55         <param name="comment" value="MAC accounting Test: 0.3.49.144.200.28" />
56         <apply-template name="cisco-mac-accounting" />
57       </subtree>
58
59       <subtree name="test2">
60         <param name="snmp-host" value="rtrZHT001" />
61         <param name="interface-name" value="FastEthernet6/1" />
62         <param name="interface-nick" value="Fe6_1" />
63         <param name="mac" value="0.2.74.137.72.112" />
64         <param name="mac-nick" value="testTwo" />
65         <param name="comment" value="MAC accounting Test: 0.2.74.137.72.112" />
66         <apply-template name="cisco-mac-accounting" />
67       </subtree>
68
69       <subtree name="test3">
70         <param name="snmp-host" value="rtrZHT001" />
71         <param name="interface-name" value="FastEthernet6/6" />
72         <param name="interface-nick" value="Fe6_1" />
73         <param name="mac" value="0.9.182.41.169.3" />
74         <param name="mac-nick" value="testThree" />
75         <param name="comment" value="MAC accounting Test: 0.9.182.41.169.3" />
76         <apply-template name="cisco-mac-accounting" />
77       </subtree>
78
79     </subtree>
80
81   </subtree>
82 </datasources>
83
84 </configuration>