bsifnPolicyMatchPortType
BAY-STACK-IP-FWD-NH-MIB ·
.1.3.6.1.4.1.45.5.35.1.2.1.10
Object
column r/w
Enumeration
The type of L4 port to match. A value of tcp(1) indicates that TCP packets are targeted while a value of ubp(2) indicates that UDP packets are targeted. The default value of bothTcpAndUdp(3) indicates that both TCP and UDP packets are examined for matching purposes.
Context
- MIB
- BAY-STACK-IP-FWD-NH-MIB
- OID
.1.3.6.1.4.1.45.5.35.1.2.1.10- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- bsifnPolicyEntry
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 'BAY-STACK-IP-FWD-NH-MIB' -M '/opt/observium/mibs/nortel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BAY-STACK-IP-FWD-NH-MIB::bsifnPolicyMatchPortType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'BAY-STACK-IP-FWD-NH-MIB' -M '/opt/observium/mibs/nortel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BAY-STACK-IP-FWD-NH-MIB::bsifnPolicyMatchPortType.<bsifnPolicyName>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'BAY-STACK-IP-FWD-NH-MIB' -M '/opt/observium/mibs/nortel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'BAY-STACK-IP-FWD-NH-MIB::bsifnPolicyMatchPortType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | tcp |
2 | udp |
3 | bothTcpAndUdp |