06-20-2007 01:56 AM
In order to know how much bandwidth is used on a particular interface (copper or optical) i'd like to know if i can use snmp traps (something like snmp-server enable traps interface fastethernet X/Y but i didn't found it) and if yes wich command to use. If not which other way could i try to periodically get info about the interface?
Thanks a lot
Simone
Solved! Go to Solution.
06-20-2007 05:22 AM
There is no specific trap defined for bandwidth using snmp-server enable traps command. However, there are a couple of options:
1) For devices supporting RMON you could configure them for bandwidth thresholds and then trigger a trap based on this.
It could be something like this:
rmon event 1 log trap public description ifInOctets owner davistan
rmon alarm 1 ifEntry.10.1 8 delta rising-threshold 100000 1 falling-threshold 50000 1
owner davistan
snmp-server host 10.1.1.1 public
More on RMON configs can be found at:
http://www.cisco.com/pcgi-bin/Support/browse/psp_view.pl?p=Technologies:RMON
&s=Implementation_and_Configuration#Samples_and_Tips
How To Configure RMON Alarm and Event Settings Using SNMP Commands:
http://www.cisco.com/warp/public/477/RMON/alarm_event.shtml
Configuring RMON Alarm and Event Settings from the Command Line Interface (CLI):
http://www.cisco.com/warp/public/477/RMON/18.html
2) You could poll for bw utilization:
http://www.cisco.com/en/US/tech/tk648/tk362/technologies_tech_note09186a008009496e.shtml
06-20-2007 05:22 AM
There is no specific trap defined for bandwidth using snmp-server enable traps command. However, there are a couple of options:
1) For devices supporting RMON you could configure them for bandwidth thresholds and then trigger a trap based on this.
It could be something like this:
rmon event 1 log trap public description ifInOctets owner davistan
rmon alarm 1 ifEntry.10.1 8 delta rising-threshold 100000 1 falling-threshold 50000 1
owner davistan
snmp-server host 10.1.1.1 public
More on RMON configs can be found at:
http://www.cisco.com/pcgi-bin/Support/browse/psp_view.pl?p=Technologies:RMON
&s=Implementation_and_Configuration#Samples_and_Tips
How To Configure RMON Alarm and Event Settings Using SNMP Commands:
http://www.cisco.com/warp/public/477/RMON/alarm_event.shtml
Configuring RMON Alarm and Event Settings from the Command Line Interface (CLI):
http://www.cisco.com/warp/public/477/RMON/18.html
2) You could poll for bw utilization:
http://www.cisco.com/en/US/tech/tk648/tk362/technologies_tech_note09186a008009496e.shtml
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide