×

Warning message

  • Cisco Support Forums is in Read Only mode while the site is being migrated.
  • Cisco Support Forums is in Read Only mode while the site is being migrated.

snmp config commands

Unanswered Question
Aug 9th, 2002
User Badges:

I have some questions about setting up an snmp config.

These are probably really basic questions but I just wanted

to get some clarification for my own benefit. I tried

looking up the first 2 commands using the TAC command tool

look up and didn't get anywhere.


1a-What is the function of snmp-server chassis-id?

1b-Is it a system generated integer or assigned

(like using the box serial number)?


2a-What is the function of snmp-server engineid?

2b-Is it a system generated integer or assigned?


3-I've looked through the document "Cisco IOS SNMP

Traps and How to Configure Them". I just want to

be sure I understand because I'm seeing some

flakey Ciscoworks/Openview behavior and I want to be

sure it's not config related.


3a -If you use:

snmp-server community <name> RO

snmp-server community <name> RW

snmp-server host x.x.x.x <community> <trap1> <trap2> <trap3>


you *must* also use


snmp server enable traps <trap1>

snmp server enable traps <trap2>

snmp server enable traps <trap3>


3b-If you use:


snmp-server community <name> RO

snmp-server community <name> RW

snmp-server host x.x.x.x traps < community>


You will get all trap notifications.


Thanks in advance.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
rmushtaq Fri, 08/09/2002 - 08:52
User Badges:
  • Blue, 1500 points or more

1a- This is to assign the chassis serial# in the device config especially for routers so that when you poll the router chassis serial #, you get the correct value. See the tech tip for further details on this:

http://www.cisco.com/warp/public/477/SNMP/chassis.shtml

1b- It's not system generated, though if you don't specify this in the config, the output of 'sh snmp' command that lists the chassis field may show some number which will not match with the actual chassis serial #

2a- Is used to configure a name for either the local or remote SNMP engine on the router. See the IOS command reference for more details.


kimlong Fri, 08/09/2002 - 10:05
User Badges:

That was very helpful. I don't know what I did wrong, but I couldn't

turn up anything when I tried to find snmp-server chassisid

using the look up tool. Your link provided exactly the info I needed.


Actions

This Discussion