subnetMask
CANOPY-SYS-MIB ·
.1.3.6.1.4.1.17713.1.5.2
Object
scalar RFC1155-SMIIpAddress
A subnet allows the flow of network traffic between hosts to be segregated based on a network configuration. By organizing hosts into logical groups, subnetting can improve network security and performance.
Context
- MIB
- CANOPY-SYS-MIB
- OID
.1.3.6.1.4.1.17713.1.5.2- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- configuration
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CANOPY-SYS-MIB' -M '/opt/observium/mibs/motorola:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CANOPY-SYS-MIB::subnetMask.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CANOPY-SYS-MIB' -M '/opt/observium/mibs/motorola:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CANOPY-SYS-MIB::subnetMask'
Syntax
- Source
- RFC1155-SMIIpAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 4