cfgNetEthTrunk
WESTERMO-SW6-MIB ·
.1.3.6.1.4.1.16177.1.400.1.1.2.1.1.10
Object
column r/w
OctetString
This entry is active when `cfgNetEthVlanMode` is set to
**trunk(0)** or **nativeuntagged(3)**.
It specifies which 802.1q vlans are accepted ingress and egress on
the respective port. All unspecified vlans are dropped.
Set this entry to -1 to allow all vlans.
Untagged traffic is considered as vlan 0.
The format of this entry is a space or comma separated list.
To describe ranges the character '-' can be used.
**Examples**
'0,12,24,69' or '7 56 127' or '0, 84, 99, 2000' or
'0, 12-17, 3000-4000' or '0-99 101-199 201-299, 301-4094'
Applies to AP and STA.
Context
- MIB
- WESTERMO-SW6-MIB
- OID
.1.3.6.1.4.1.16177.1.400.1.1.2.1.1.10- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- cfgNetEthernetTableEntry
- Groups
- 1
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 'WESTERMO-SW6-MIB' -M '/opt/observium/mibs/westermo:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'WESTERMO-SW6-MIB::cfgNetEthTrunk'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'WESTERMO-SW6-MIB' -M '/opt/observium/mibs/westermo:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'WESTERMO-SW6-MIB::cfgNetEthTrunk.<cfgNetEthIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'WESTERMO-SW6-MIB' -M '/opt/observium/mibs/westermo:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'WESTERMO-SW6-MIB::cfgNetEthTrunk'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 1-255
Conformance
Member of