swL2VlanForbiddenPorts
DGS3612G-L2MGMT-MIB ·
.1.3.6.1.4.1.171.11.70.9.2.17.1.1.8
Object
column PortList
The set of ports which are prohibited by management from being included in the egress list for this VLAN. Changes to this object that cause a port to be included or excluded affect the per-port per-VLAN Registrar control for Registration Forbidden for the relevant GVRP state machine on each port. A port may not be added in this set if it is already a member of the set of ports in dot1qVlanStaticEgressPorts. The default value of this object is a string of zeros of appropriate length, excluding all ports from the forbidden set.
Context
- MIB
- DGS3612G-L2MGMT-MIB
- OID
.1.3.6.1.4.1.171.11.70.9.2.17.1.1.8- Type
- column
- Access
- readonly
- Status
- current
- Parent
- swL2VlanEntry
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'DGS3612G-L2MGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DGS3612G-L2MGMT-MIB::swL2VlanForbiddenPorts'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DGS3612G-L2MGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DGS3612G-L2MGMT-MIB::swL2VlanForbiddenPorts.<swL2VlanIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DGS3612G-L2MGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DGS3612G-L2MGMT-MIB::swL2VlanForbiddenPorts'