All MIBs › GIGAswitchEthernet-MIB › gsESwitchPortLearningMode
gsESwitchPortLearningMode
Module: GIGAswitchEthernet-MIB
OID (symbolic): GIGAswitchEthernet-MIB::gsESwitchPortLearningMode
OID (numeric): 1.3.6.1.4.1.36.2.18.39.5.2.1.1.4
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: Disable learning on a bridge port to prevent new addresses from being added to the address database. Used in combination with static (permanent) address entries, disabling address learning is an effective security feature to prevent new hosts from appearing on the network, or to prevent hosts from moving to different locations in the network. The default is enable.
What is gsESwitchPortLearningMode?
Enables or disables new MAC address learning on this port; combined with static address entries, disabling learning is a security control that stops new or relocated hosts from silently appearing on the network through this port. The default is enable.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.36.2.18.39.5.2.1.1.4 snmpwalk -v2c -c public <target> GIGAswitchEthernet-MIB::gsESwitchPortLearningMode
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.36.2.18.39.5.2.1.1.4.1 snmpget -v2c -c public <target> GIGAswitchEthernet-MIB::gsESwitchPortLearningMode.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.36.2.18.39.5.2.1.1.4.1 i <value>
Start monitoring Digital Equipment Corporation (DEC) GIGAswitch/Ethernet chassis switch (legacy) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the GIGAswitchEthernet-MIB::gsESwitchPortLearningMode OID value, configure state conditions and alerts, and monitor any Digital Equipment Corporation (DEC) GIGAswitch/Ethernet chassis switch (legacy) 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.36 | dec | CMU-MIB |
| 1.3.6.1.4.1.36.2 | ema | DEC-ATM-CHASSIS-MIB |
| 1.3.6.1.4.1.36.2.18 | decMIBextension | DEC-ATM-CHASSIS-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.36.2.18.39 | gsEMIB | GIGAswitchEthernet-MIB |
| 1.3.6.1.4.1.36.2.18.39.5 | gsESwitching | GIGAswitchEthernet-MIB |
| 1.3.6.1.4.1.36.2.18.39.5.2 | gsESwitchPortMgt | GIGAswitchEthernet-MIB |
| 1.3.6.1.4.1.36.2.18.39.5.2.1 | gsESwitchPortTable | GIGAswitchEthernet-MIB |
| 1.3.6.1.4.1.36.2.18.39.5.2.1.1 | gsESwitchPortEntry | GIGAswitchEthernet-MIB |
| 1.3.6.1.4.1.36.2.18.39.5.2.1.1.4 | gsESwitchPortLearningMode | GIGAswitchEthernet-MIB |