cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
998
Views
5
Helpful
1
Replies

information about interface (can i use traps?)

ogadri
Level 1
Level 1

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

David Stanford
Cisco Employee
Cisco Employee

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

View solution in original post

1 Reply 1

David Stanford
Cisco Employee
Cisco Employee

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: