servicePortCfgInfoVlanTagAction
NSCRTV-PON-TREE-EXT-SERVICE-PORT-MIB ·
.1.3.6.1.4.1.34592.1.3.100.9.2.1.15
Object
VLAN TAG????
??Χ0~4
0??default
1??translate
2??translate and add
3??add double
4??transparent
5: vlan-transparent
ȫ????????{5}??????עSvlanId/UserVlanId
??UserVlanId??Ч(??ҵ??)??????{0,3}
??UserVlanId??Ч(??ҵ??)??????{0,1,2,4}
Context
- MIB
- NSCRTV-PON-TREE-EXT-SERVICE-PORT-MIB
- OID
.1.3.6.1.4.1.34592.1.3.100.9.2.1.15- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- servicePortCfgInfoEntry
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 'NSCRTV-PON-TREE-EXT-SERVICE-PORT-MIB' -M '/opt/observium/mibs/cdata:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NSCRTV-PON-TREE-EXT-SERVICE-PORT-MIB::servicePortCfgInfoVlanTagAction'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'NSCRTV-PON-TREE-EXT-SERVICE-PORT-MIB' -M '/opt/observium/mibs/cdata:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NSCRTV-PON-TREE-EXT-SERVICE-PORT-MIB::servicePortCfgInfoVlanTagAction.<servicePortCfgInfoDeviceIndex>.<servicePortCfgInfoCardIndex>.<servicePortCfgInfoIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'NSCRTV-PON-TREE-EXT-SERVICE-PORT-MIB' -M '/opt/observium/mibs/cdata:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'NSCRTV-PON-TREE-EXT-SERVICE-PORT-MIB::servicePortCfgInfoVlanTagAction'
Syntax
- Source
- VENDOR-COMMON-MIBNscrtvPonExtVlanTagAction
- Base type
Enumeration
Values & Constraints
Type Values
0 | default |
1 | translate |
2 | translate-and-add |
3 | add-double |
4 | transparent |