HH3C-PORT-SECURITY-MIB :: hh3cSecurePortMode

MIB Reference — IPNetwork Monitor · Updated October 05, 2026

All MIBs › HH3C-PORT-SECURITY-MIB › hh3cSecurePortMode

hh3cSecurePortMode

Module: HH3C-PORT-SECURITY-MIB

OID (symbolic): HH3C-PORT-SECURITY-MIB::hh3cSecurePortMode

OID (numeric): 1.3.6.1.4.1.25506.2.26.1.2.1.1.1

Node type: OBJECT-TYPE

Type: INTEGER

Access: read-write

Description: Determines the learning and security modes of the port. See hh3cSecureNeedToKnowMode and hh3cSecureIntrusionAction to configure Need To Know and Intrusion Action on each port. (When in a learning mode, hh3cSecureNumberAddresses determines the maximum number of addresses that can be learned on the port. This is set by the user.)

noRestrictions(1) All of the security features are disabled.

continuousLearning(2) Addresses are learned continually. If more addresses are learned than are permitted on the port, then one of the older entries will be aged out. Need To Know and Intrusion Action depends on hh3cSecureNeedToKnowMode and hh3cSecureIntrusionAction respectively.

autoLearn(3) All addresses for this port are deleted, and then addresses are learned up to the number permitted. hh3cSecurePortMode is then set to secure. Need To Know and Intrusion Action depends on hh3cSecureNeedToKnowMode and hh3cSecureIntrusionAction respectively.

secure(4) Learning is disabled. Need To Know and Intrusion Action depends on hh3cSecureNeedToKnowMode and hh3cSecureIntrusionAction respectively.

userLogin(5) Access to the port is denied until the port client is authorised (by 802.1X or other authentication mechanism). Once authorised, traffic will be accepted from any MAC address. The Need To Know and Intrusion Action are ignored.

userLoginSecure(6) Access to the port is denied until the port client is authorised (by 802.1X or other authentication mechanism). When the client is authorised, the MAC address is added to the Secure Address Table. The hh3cSecureMaximumAddresses is set to one automatically when this mode is entered. Any existing MAC addresses in the Secure Address Table are deleted. Need To Know and Intrusion Action depends on hh3cSecureNeedToKnowMode and hh3cSecureIntrusionAction respectively. Learning is disabled.

userLoginWithOUI(7) This mode is similar to the userLoginSecure mode except that a second MAC address may be placed in the Secure Address Table. This second address is authorised based on the MAC address OUI value. If a new device with an authorised OUI value is discovered, the previous entry is deleted. Traffic from the OUI authorised device will be accepted even if the user has not been authenticated. Need To Know and Intrusion Action depends on hh3cSecureNeedToKnowMode and hh3cSecureIntrusionAction respectively.

macAddressWithRadius(8) This selects the RADIUS Authenticated Login using MAC-address (RALM) security mode on the port. This feature controls network access of a host based on authenticating its MAC address. Once authorised, the host is allowed access to the network. If unauthorised, the port can be configured to deny access to this MAC address or to allow some access depending upon the port VLAN and QoS configuration. Where access is allowed, the MAC address is added to the Secure Address Table.

macAddressOrUserLoginSecure(9) This selects both the macAddressWithRadius and userLoginSecure modes together such that either or both are allowed to authorised access. Where both authorised access, userLoginSecure takes precedence.

macAddressElseUserLoginSecure(10) This selects both the macAddressWithRadius and userLoginSecure modes together such that the MAC address is first authenticated and only if this fails does the userLoginSecure then attempt user authentication.

userLoginSecureExt(11) Access to the port is denied until the port client is authorised (by 802.1X or other authentication mechanism). When the client is authorised, the MAC address is added to the Secure Address Table. The hh3cSecureNumberAddresses is restricted by the value of hh3cSecureMaximumAddresses automatically when this mode is entered. Any existing MAC addresses in the Secure Address Table are deleted. Need To Know and Intrusion Action depends on hh3cSecureNeedToKnowMode and hh3cSecureIntrusionAction respectively. Learning is disabled.

macAddressOrUserLoginSecureExt(12) This selects both the macAddressWithRadius and userLoginSecureExt modes together such that either or both are allowed to authorised access. Where both authorised access, userLoginSecure takes precedence.

macAddressElseUserLoginSecureExt(13) This selects both the macAddressWithRadius and userLoginSecureExt modes together such that the MAC address is first authenticated and only if this fails does the userLoginSecure then attempt user authentication.

macAddressAndUserLoginSecure(14) This selects both the macAddressWithRadius and userLoginSecure modes together such that the MAC address is first authenticated and only if this succeeds does the userLoginSecure then attempt user authentication.

macAddressAndUserLoginSecureExt(15) This selects both the macAddressWithRadius and userLoginSecureExt modes together such that the MAC address is first authenticated and only if this succeeds does the userLoginSecure then attempt user authentication.

What is hh3cSecurePortMode?

Selects the learning/security mode of the port from 15 values ranging from noRestrictions(1) (all security disabled) through secure(4) (learning frozen at the current address set) to combinations like macAddressWithRadius(8) and userLoginSecureExt(11) that layer 802.1X and MAC-RADIUS authentication together; the chosen mode governs how hh3cSecureNumberAddresses, hh3cSecureNeedToKnowMode and hh3cSecureIntrusionAction behave on this port.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.25506.2.26.1.2.1.1.1
snmpwalk -v2c -c public <target> HH3C-PORT-SECURITY-MIB::hh3cSecurePortMode

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.25506.2.26.1.2.1.1.1.1
snmpget -v2c -c public <target> HH3C-PORT-SECURITY-MIB::hh3cSecurePortMode.1

Set instance 1 (SNMPv2c):

snmpset -v2c -c private <target> 1.3.6.1.4.1.25506.2.26.1.2.1.1.1.1 i <value>

SNMPv3 example:

snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> hh3cSecurePortMode.1

Start monitoring H3C access-layer switch (port security/RALM authentication) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HH3C-PORT-SECURITY-MIB::hh3cSecurePortMode OID value, configure state conditions and alerts, and monitor any H3C access-layer switch (port security/RALM authentication) from a single console.

OID Breakdown

Upper-level ancestors (9 from the standard OID tree / other modules)
Numeric OIDNameModule
1isoLANART-AGENT
1.3orgAirPair-MIB
1.3.6dodAirPair-MIB
1.3.6.1internetAirPair-MIB
1.3.6.1.4privateAirPair-MIB
1.3.6.1.4.1enterprisesAirPair-MIB
1.3.6.1.4.1.25506hh3cHH3C-OID-MIB
1.3.6.1.4.1.25506.2hh3cCommonHH3C-OID-MIB
1.3.6.1.4.1.25506.2.26hh3cPortSecurityHH3C-OID-MIB
Numeric OIDNameModule
1.3.6.1.4.1.25506.2.26.1hh3cPortSecurityMIBHH3C-PORT-SECURITY-MIB
1.3.6.1.4.1.25506.2.26.1.2hh3cPortSecurityTablesHH3C-PORT-SECURITY-MIB
1.3.6.1.4.1.25506.2.26.1.2.1hh3cSecurePortTableHH3C-PORT-SECURITY-MIB
1.3.6.1.4.1.25506.2.26.1.2.1.1hh3cSecurePortEntryHH3C-PORT-SECURITY-MIB
1.3.6.1.4.1.25506.2.26.1.2.1.1.1hh3cSecurePortModeHH3C-PORT-SECURITY-MIB