All MIBs › PRVT-SWITCH-MIB › configL2IfaceEnable
configL2IfaceEnable
Module: PRVT-SWITCH-MIB
OID (symbolic): PRVT-SWITCH-MIB::configL2IfaceEnable
OID (numeric): 1.3.6.1.4.1.738.1.5.100.2.2.2.1.5
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description:
Enables (1)or disables (2) control for the interface. For this product, this is the ONLY way to enable or disable the interface. 'ifAdminStatus' in RFC1213 and 'dot1dStpPortEnable' in RFC1493 are both implemented as 'read-only'.
What is configL2IfaceEnable?
This object is the primary control for enabling or disabling an interface on this product, overriding other interface status mechanisms in standard MIBs. Setting it to 'enable' activates the interface; setting it to 'disable' takes it out of service. Network administrators use this object as the authoritative control for physical interface state, bypassing standard SNMP interface management objects that are read-only on this platform.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.738.1.5.100.2.2.2.1.5 snmpwalk -v2c -c public <target> PRVT-SWITCH-MIB::configL2IfaceEnable
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.738.1.5.100.2.2.2.1.5.1 snmpget -v2c -c public <target> PRVT-SWITCH-MIB::configL2IfaceEnable.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.738.1.5.100.2.2.2.1.5.1 i <value>
OID Breakdown
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | BIANCA-BRICK-PPP-MIB |
| 1.3.6 | dod | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1 | internet | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1.4 | private | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1.4.1 | enterprises | ANIROOT-MIB |
| 1.3.6.1.4.1.738 | privateVendorOID | PRIV-VENDORDEF-MIB |
| 1.3.6.1.4.1.738.1 | prvt_products | PRVT-SWITCH-MIB |
| 1.3.6.1.4.1.738.1.5 | switch | PRVT-SWITCH-MIB |
| 1.3.6.1.4.1.738.1.5.100 | prvtSwitchMib | PRVT-SWITCH-MIB |
| 1.3.6.1.4.1.738.1.5.100.2 | config | PRVT-SWITCH-MIB |
| 1.3.6.1.4.1.738.1.5.100.2.2 | configL2 | PRVT-SWITCH-MIB |
| 1.3.6.1.4.1.738.1.5.100.2.2.2 | configL2IfaceTable | PRVT-SWITCH-MIB |
| 1.3.6.1.4.1.738.1.5.100.2.2.2.1 | configL2IfaceEntry | PRVT-SWITCH-MIB |
| 1.3.6.1.4.1.738.1.5.100.2.2.2.1.5 | configL2IfaceEnable | PRVT-SWITCH-MIB |