Comware

 View Only
  • 1.  Port security HP5130 model JH324A

    Posted Sep 25, 2019 07:14 AM

    Hi I need help to set by SNMP mac address port security on HP5130 switch (JH324).

    I tried this:

    port number: 7

    mac address: 00:11:22:33:44:55 => 0.17.34.51.68.85 (decimal)

    vlan: 400

    hh3cSecureAddressEntry.VLAN.PORTNUMBER.MAC (DECIMAL) but not working:

    snmpset -v2c -c public hp5130-test .1.3.6.1.4.1.25506.2.26.1.2.2.1.400.7.0.17.34.51.68.85 i 4

    Error in packet.
    Reason: notWritable (That object does not support modification)
    Failed object: SNMPv2-SMI::enterprises.25506.2.26.1.2.2.1.400.7.0.17.34.51.68.85

    How do I? 

    please help me.

    Thanks.



  • 2.  RE: Port security HP5130 model JH324A

    Posted Sep 30, 2019 02:08 AM

    Hi

    As the error indicates 'Reason: notWritable (That object does not support modification) might be it cannot be modified using snmpset command? Below is the partial output from the snmp mib file (HH3C-PORT-SECURITY.MIB)

     

    hh3cSecureAddressEntry OBJECT-TYPE
        SYNTAX      Hh3cSecureAddressEntry
        MAX-ACCESS  not-accessible
        STATUS      current
        DESCRIPTION
            "This table allows multiple addresses to be assigned to each
            secure port.  It is indexed using the objects ifIndex,
            hh3cSecureAddrMAC and hh3cSecureVlanID."
        INDEX
            {
                ifIndex,
                hh3cSecureAddrMAC,
                hh3cSecureAddrVlanID
            }
        ::= {hh3cSecureAddressTable 1}

     



  • 3.  RE: Port security HP5130 model JH324A

    Posted Sep 30, 2019 04:40 AM

    Hi thank you,

    yes I know but I'm looking for a solution.

    Then It's impossible set security mac address by SNMP on this model? 

    I've done this in HP procurve and in HP Aruba.

    Thanks.