Re: RS mac-notification Basic question

From: Calin Chiorean <calin_at_engineer.com>
Date: Wed, 14 Mar 2012 13:54:32 +0200

Hello

In my opinion this is what happends
- on the second command you did not enable any traps, you just said
where to sent the traps.
- in the first command you enable certain traps and you defined a host
where to send all enabled traps.

Cisco says the following:

http://www.cisco.com/en/US/tech/tk648/tk362/technologies_tech_note09186a0080094a05.shtml

  - snmp-server host host-addr [traps | informs] [version {1 | 2c | 3
[auth | noauth | priv]}] community-string [udp-port port]
[notification-type]

    Issue the snmp-server host global configuration command to specify
the recipient of an SNMP notification operation. Issue the no form of
this command to remove the specified host.

  - snmp-server enable traps [notification-type] [notification-option]

    Issue the snmp-server enable traps global configuration command to
enable the router to send SNMP traps. Issue the no form of this command
in order to disable SNMP notifications.

The types of traps can be specified in both commands. You must issue the
snmp-server host command in order to define the Network Management
Systems where traps are to be sent. You must specify the trap types if
you do not want all traps to be sent. Issue multiple snmp-server enable
traps commands, one for each of the trap types that you used in the snmp
host command.

HTH,
Calin C.

On 03/14/2012 12:03 PM, Hasse wrote:
> Will thes two command do the same, or is there a diffrent.
>
> snmp-server enable traps mac-notification change move threshold
> snmp-server host 192.168.1.1 Private
> mac address-table notification change
>
> vs
>
> snmp-server host 192.168.1.1 traps Private mac-notification
> mac address-table notification
>
> on the interface
>
> interface FastEthernet1/0/18
> snmp trap mac-notification change added
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html

Blogs and organic groups at http://www.ccie.net
Received on Wed Mar 14 2012 - 13:54:32 ART

This archive was generated by hypermail 2.2.0 : Sun Apr 01 2012 - 07:56:52 ART