Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

information about interface (can i use traps?)

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

1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: information about interface (can i use traps?)

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

1 REPLY
Cisco Employee

Re: information about interface (can i use traps?)

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

212
Views
5
Helpful
1
Replies