All MIBs › HH3C-PORT-SECURITY-MIB › hh3cSecureNeedToKnowMode
hh3cSecureNeedToKnowMode
Module: HH3C-PORT-SECURITY-MIB
OID (symbolic): HH3C-PORT-SECURITY-MIB::hh3cSecureNeedToKnowMode
OID (numeric): 1.3.6.1.4.1.25506.2.26.1.2.1.1.2
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: Attribute to determine which frames are to be forwarded to this port intact.
1 - Need To Know is not available. 2 - All frames. 3 - Frames addressed to the authorised devices only. 4 - Frames addressed to the authorised devices, plus all broadcast frames. 5 - Frames addressed to the authorised devices, plus all broadcast and multicast frames. 6 - As 3 and cannot be changed. 7 - As 4 and cannot be changed. 8 - As 5 and cannot be changed.
If this object returns 1,6,7 or 8, it means that the Need To Know configuration cannot be changed, and any attempt to write to this object will cause an error.
What is hh3cSecureNeedToKnowMode?
Controls which frames the port is allowed to forward when security is in effect: value 2 forwards everything, 3 forwards only frames addressed to authorised MAC addresses, 4/5 additionally allow broadcast or broadcast-plus-multicast traffic, and 6-8 are locked variants of 3-5 that reject any attempt to change them.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.25506.2.26.1.2.1.1.2 snmpwalk -v2c -c public <target> HH3C-PORT-SECURITY-MIB::hh3cSecureNeedToKnowMode
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.25506.2.26.1.2.1.1.2.1 snmpget -v2c -c public <target> HH3C-PORT-SECURITY-MIB::hh3cSecureNeedToKnowMode.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.25506.2.26.1.2.1.1.2.1 i <value>
SNMPv3 example:
snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> hh3cSecureNeedToKnowMode.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::hh3cSecureNeedToKnowMode 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 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.25506 | hh3c | HH3C-OID-MIB |
| 1.3.6.1.4.1.25506.2 | hh3cCommon | HH3C-OID-MIB |
| 1.3.6.1.4.1.25506.2.26 | hh3cPortSecurity | HH3C-OID-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.25506.2.26.1 | hh3cPortSecurityMIB | HH3C-PORT-SECURITY-MIB |
| 1.3.6.1.4.1.25506.2.26.1.2 | hh3cPortSecurityTables | HH3C-PORT-SECURITY-MIB |
| 1.3.6.1.4.1.25506.2.26.1.2.1 | hh3cSecurePortTable | HH3C-PORT-SECURITY-MIB |
| 1.3.6.1.4.1.25506.2.26.1.2.1.1 | hh3cSecurePortEntry | HH3C-PORT-SECURITY-MIB |
| 1.3.6.1.4.1.25506.2.26.1.2.1.1.2 | hh3cSecureNeedToKnowMode | HH3C-PORT-SECURITY-MIB |