snSflowAgentAddrType
FOUNDRY-SN-SWITCH-GROUP-MIB ·
.1.3.6.1.4.1.1991.1.1.3.19.1.4
Object
To set the Agent IPv4/IPv6 address type on the switch. Sflow uses the Agent IP address in the samples sent to collector and this address is dynamically determined based on L2/L3 switch, but can be administratively set also.
Context
- MIB
- FOUNDRY-SN-SWITCH-GROUP-MIB
- OID
.1.3.6.1.4.1.1991.1.1.3.19.1.4- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- snSFlowGlb
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 'FOUNDRY-SN-SWITCH-GROUP-MIB' -M '/opt/observium/mibs/brocade:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'FOUNDRY-SN-SWITCH-GROUP-MIB::snSflowAgentAddrType.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'FOUNDRY-SN-SWITCH-GROUP-MIB' -M '/opt/observium/mibs/brocade:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'FOUNDRY-SN-SWITCH-GROUP-MIB::snSflowAgentAddrType'
Syntax
- Source
- INET-ADDRESS-MIBInetAddressType
- Base type
Enumeration
Values & Constraints
Type Values
0 | unknown |
1 | ipv4 |
2 | ipv6 |
3 | ipv4z |
4 | ipv6z |
16 | dns |
25 | l2vpn |