zxAnGponRmVlanPortCmd
ZTE-AN-GPON-REMOTE-ONU-MIB ·
.1.3.6.1.4.1.3902.1082.500.20.2.4.64.1.1
Object
column r/w
Enumeration
The command to operate VLAN list of 'zxAnGponRmVlanPortTable'.
The multi-variables binding rule should be complied with
when a manager configures port VLAN cmd. According to this rule,
all the related mib variables must be included in one SNMP
set operation.
There are two types of variables: mandatory and optional.
All of the mandatory variables must be included in one SNMP
set operation. Optional variables may be included in one
SNMP set operation with the mandatory variables, but must
not be used alone.
To configure VLAN, the mandatory and optional variables
are as follows:
mandatoty: zxAnGponRmVlanPortCmd, zxAnGponRmVlanPortVid
optional : none
There are two groups of operation command, the first group includes
addVlan and delVlan, the second group includes addAllVlan and
delAllVlan. For an ONU interface, two groups of operation command
can't be use at the same time. When zxAnGponRmVlanPortCmd is
addAllVlan or delAllVlan and then zxAnGponRmVlanPortVid is invalid.
Context
- MIB
- ZTE-AN-GPON-REMOTE-ONU-MIB
- OID
.1.3.6.1.4.1.3902.1082.500.20.2.4.64.1.1- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- zxAnGponRmVlanPortCmdEntry
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 'ZTE-AN-GPON-REMOTE-ONU-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZTE-AN-GPON-REMOTE-ONU-MIB::zxAnGponRmVlanPortCmd'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZTE-AN-GPON-REMOTE-ONU-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZTE-AN-GPON-REMOTE-ONU-MIB::zxAnGponRmVlanPortCmd.<ifIndex>.<zxAnPonOnuIndex>.<zxAnPonRmOnuIfIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZTE-AN-GPON-REMOTE-ONU-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZTE-AN-GPON-REMOTE-ONU-MIB::zxAnGponRmVlanPortCmd'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | addVlan |
2 | delVlan |
3 | addAllVlan |
4 | delAllVlan |