Comware Based
1827293 Members
1601 Online
109717 Solutions
New Discussion

Port security HP5130 model JH324A

 
alexbj
Occasional Contributor

Port security HP5130 model JH324A

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 REPLIES 2
drk787
HPE Pro

Re: Port security HP5130 model JH324A

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}

 

Thank You!
I am an HPE Employee

Accept or Kudo

alexbj
Occasional Contributor

Re: Port security HP5130 model JH324A

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.