Wired Intelligent Edge

 View Only
  • 1.  snmptrapping ArubaOS-CX

    Posted Feb 16, 2021 06:43 AM
    Hello,

    I have enabled snmptrapping on a ArubaOS-CX switch (Ver FL.10.06.0001), but no snmptraps are sent.

    Do I need to enable more then this:
    snmp-server host <trap-host> trap version v2c community <community>

    I have tried to configure some rmon alarms, but I cannot think of all the traps I want to receive and configure them as a rmon alarm.
    I'm thinking about failed fans, PSU, failed logins, etc.

    ------------------------------
    Best regards,
    Rob Hassing
    ------------------------------


  • 2.  RE: snmptrapping ArubaOS-CX

    Posted Feb 16, 2021 07:25 AM
    Are you sending SNMP OOB via the management port or inband.  ?

    snmp-server vrf mgmt <-------if using OOB
    snmp-server vrf  default  <-----if using default VRF

    snmp-server host <MyHost> trap version v2c community <MyCommunity> vrf <MyVrf>

    Note when no community string exists, a default community string with the value public is automatically defined.

    useful commands
    show snmp agent-port
    show snmp community,
    show snmp system
    show snmp trap
    show snmp vrf
    show tech snmp

    ------------------------------
    Kamal Takodra
    If my post was useful accept solution and/or give kudos
    ------------------------------



  • 3.  RE: snmptrapping ArubaOS-CX

    Posted Feb 16, 2021 07:31 AM
    Currently I'm using in-band as we don't have a separated management network.

    ------------------------------
    Rob Hassing
    ------------------------------



  • 4.  RE: snmptrapping ArubaOS-CX

    Posted Feb 16, 2021 06:35 PM
    As Kamal mentioned, make sure you have the "snmp-server vrf <name>" command configured.

    Your snmp v2 config should look similar to this:

    snmp-server vrf default
    snmp-server community public
    snmp-server host <IP> trap version v2c community public

    ------------------------------
    Justin Noonan
    ------------------------------



  • 5.  RE: snmptrapping ArubaOS-CX

    Posted Feb 17, 2021 03:20 AM
    I now received two traps (link up and link down)
    The strange thing is that these are both the same traps :-(

    .1.3.6.1.4.1.47196.4.1.1.3.4.1.1: .1.3.6.1.2.1.16.9.1.1.2=Link status for interface 1/1/15 is down
    .1.3.6.1.4.1.47196.4.1.1.3.4.1.1: .1.3.6.1.2.1.16.9.1.1.2=Link status for interface 1/1/15 is up


    ------------------------------
    Rob Hassing
    ------------------------------