All MIBs › HPN-ICF-PORT-SECURITY-MIB › hpnicfSecurePortMode
hpnicfSecurePortMode
Module: HPN-ICF-PORT-SECURITY-MIB
OID (symbolic): HPN-ICF-PORT-SECURITY-MIB::hpnicfSecurePortMode
OID (numeric): 1.3.6.1.4.1.11.2.14.11.15.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 hpnicfSecureNeedToKnowMode and hpnicfSecureIntrusionAction to configure Need To Know and Intrusion Action on each port. (When in a learning mode, hpnicfSecureNumberAddresses 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 hpnicfSecureNeedToKnowMode and hpnicfSecureIntrusionAction respectively.
autoLearn(3) All addresses for this port are deleted, and then addresses are learned up to the number permitted. hpnicfSecurePortMode is then set to secure. Need To Know and Intrusion Action depends on hpnicfSecureNeedToKnowMode and hpnicfSecureIntrusionAction respectively.
secure(4) Learning is disabled. Need To Know and Intrusion Action depends on hpnicfSecureNeedToKnowMode and hpnicfSecureIntrusionAction 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 hpnicfSecureMaximumAddresses 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 hpnicfSecureNeedToKnowMode and hpnicfSecureIntrusionAction 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 hpnicfSecureNeedToKnowMode and hpnicfSecureIntrusionAction 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 hpnicfSecureNumberAddresses is restricted by the value of hpnicfSecureMaximumAddresses 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 hpnicfSecureNeedToKnowMode and hpnicfSecureIntrusionAction 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 hpnicfSecurePortMode?
Selects the learning/security mode for a secure port, from no restrictions through continuous/auto learning, various 802.1X-based userLogin modes, RADIUS MAC-based authentication, and combinations of MAC-plus-user-login modes; this single object drives which of the port's other security parameters actually apply.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.11.2.14.11.15.2.26.1.2.1.1.1 snmpwalk -v2c -c public <target> HPN-ICF-PORT-SECURITY-MIB::hpnicfSecurePortMode
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.11.2.14.11.15.2.26.1.2.1.1.1.1 snmpget -v2c -c public <target> HPN-ICF-PORT-SECURITY-MIB::hpnicfSecurePortMode.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.11.2.14.11.15.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> hpnicfSecurePortMode.1
Start monitoring HP/H3C Comware-based managed switch (port security/RALM authentication) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HPN-ICF-PORT-SECURITY-MIB::hpnicfSecurePortMode OID value, configure state conditions and alerts, and monitor any HP/H3C Comware-based managed switch (port security/RALM authentication) from a single console.
OID Breakdown
Upper-level ancestors (13 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.11 | hp | CLJ8500-MIB |
| 1.3.6.1.4.1.11.2 | nm | CLJ8500-MIB |
| 1.3.6.1.4.1.11.2.14 | icf | CONFIG-MIB |
| 1.3.6.1.4.1.11.2.14.11 | hpicfObjects | CONFIG-MIB |
| 1.3.6.1.4.1.11.2.14.11.15 | hpnicf | HPN-ICF-OID-MIB |
| 1.3.6.1.4.1.11.2.14.11.15.2 | hpnicfCommon | HPN-ICF-OID-MIB |
| 1.3.6.1.4.1.11.2.14.11.15.2.26 | hpnicfPortSecurity | HPN-ICF-OID-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.11.2.14.11.15.2.26.1 | hpnicfPortSecurityMIB | HPN-ICF-PORT-SECURITY-MIB |
| 1.3.6.1.4.1.11.2.14.11.15.2.26.1.2 | hpnicfPortSecurityTables | HPN-ICF-PORT-SECURITY-MIB |
| 1.3.6.1.4.1.11.2.14.11.15.2.26.1.2.1 | hpnicfSecurePortTable | HPN-ICF-PORT-SECURITY-MIB |
| 1.3.6.1.4.1.11.2.14.11.15.2.26.1.2.1.1 | hpnicfSecurePortEntry | HPN-ICF-PORT-SECURITY-MIB |
| 1.3.6.1.4.1.11.2.14.11.15.2.26.1.2.1.1.1 | hpnicfSecurePortMode | HPN-ICF-PORT-SECURITY-MIB |