lcsIPRoutesNetwork
LCOS-SX-MIB ·
.1.3.6.1.4.1.2356.14.1.4.4.1.1.3
Object
column r/w
OctetString
IPv4/IPv6 Network address. Please don't set IPRoutesNetwork to IPv6 and then Set IPRoutesGateway to IPv4, vice versa. Note: All entries in routes table will be sort by 1.network address 2.mask length 3. gateway 4. next hop VLAN, if you add/modify an entry, all entries will be reordered. Please check all entries in table to find your modified entry after set/add an entry. If Set IPRoutesNetwork, please also set IPRoutesMaskLength, IPRoutesGateway, IPRoutesNextHopVLAN.
Context
- MIB
- LCOS-SX-MIB
- OID
.1.3.6.1.4.1.2356.14.1.4.4.1.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- lcsIPRoutesEntry
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 'LCOS-SX-MIB' -M '/opt/observium/mibs/lancom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'LCOS-SX-MIB::lcsIPRoutesNetwork'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'LCOS-SX-MIB' -M '/opt/observium/mibs/lancom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'LCOS-SX-MIB::lcsIPRoutesNetwork.<index>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'LCOS-SX-MIB' -M '/opt/observium/mibs/lancom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'LCOS-SX-MIB::lcsIPRoutesNetwork'
Syntax
OctetString
Values & Constraints
No enumerated values or constraints recorded.