swMldSnpRouterPortsVid
MLD-SNOOPING-MIB ·
.1.3.6.1.4.1.171.12.34.3.4.1.1
Object
column Integer32
This object indicates the MLD router ports entry VLAN ID. If a VLAN is disabled, the VID is always 0 and cannot be changed by management users. If a VLAN is in Port-Base mode, the VID is arranged from 1 to 12, fixed form. If a VLAN is in 802.1q mode, the VID setting can vary from 1 to 4094 by a management user, and the VID in each entry must be unique in the MLD ports Table.
Context
- MIB
- MLD-SNOOPING-MIB
- OID
.1.3.6.1.4.1.171.12.34.3.4.1.1- Type
- column
- Access
- readonly
- Status
- current
- Parent
- swMldSnpRouterPortsEntry
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 'MLD-SNOOPING-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MLD-SNOOPING-MIB::swMldSnpRouterPortsVid'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'MLD-SNOOPING-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MLD-SNOOPING-MIB::swMldSnpRouterPortsVid.<swMldSnpRouterPortsVid>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MLD-SNOOPING-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MLD-SNOOPING-MIB::swMldSnpRouterPortsVid'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-65535