scGenSwitchDefaultVLAN
XSWITCH-MIB ·
.1.3.6.1.4.1.81.28.1.5.1.1.18
Object
column mandatory
Enumeration
Attribute describing the Default VLAN configuration on the switch ports. The user may change the value of this parameter through the setup terminal. Vlan1 is the standard default VLAN for port configuration.
Context
- MIB
- XSWITCH-MIB
- OID
.1.3.6.1.4.1.81.28.1.5.1.1.18- Type
- column
- Access
- readonly
- Status
- mandatory
- Parent
- scGenSwitchEntry
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 'XSWITCH-MIB' -M '/opt/observium/mibs/avaya:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'XSWITCH-MIB::scGenSwitchDefaultVLAN'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'XSWITCH-MIB' -M '/opt/observium/mibs/avaya:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'XSWITCH-MIB::scGenSwitchDefaultVLAN.<scGenSwitchId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'XSWITCH-MIB' -M '/opt/observium/mibs/avaya:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'XSWITCH-MIB::scGenSwitchDefaultVLAN'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | vlan0 |
2 | vlan1 |
255 | notSupported |