zxAnSrvPortServiceMode

ZTE-AN-SERVICE-PORT-MIB · .1.3.6.1.4.1.3902.1082.110.5.2.2.1.4

Object

column r/w Enumeration
A traffic type for a service port. To distinguish specific
service traffic flow type, the packet information from
the user-side port is used, and this information is classfied
to differnet cases that is represented by the value of variable
zxAnSrvPortServiceMode.
After distinguishing the service traffic flow type based on the
packet information, a service port can be created, and additionally
the packet can be modified if you want.
For example:
- translate user-vlan to new cvlan
- add a svlan
- modify the svlan when user-side packet is double tagged
- translate the cos of svlan
              
The following is the explanation of each value of variable
zxAnSrvPortServiceMode.
- untag(1)
create a service port when user packet is untag.
- untagAndEtype(2)
create a service port when user packet is untag and has a
specific Ethernet type.
- cos(3)
create a service port when user packet is priority tag.
- tag(4)
create a service port when user packet is single VLAN tag.
- tls(5)
create a service port for a TLS service.
- tagAndEtype(6)
create a service port when user packet is single VLAN tag and
has a specific Ethernet type.
- tagAndCos(7)
create a service port when user packet is single VLAN tag and
has a specific cos.
- vlanRange(8)
create a service port for a QinQ service. The user packet will
add a svlan when the vlan tag is in the vlan range.
- vlanRangeAndEtype(9)
create a service port for a QinQ service. The user packet will
add a svlan when the vlan tag is in the vlan range and has a
specific ethernet type.
- vlanRangeAndCos(10)
create a service port for a QinQ service. The user packet will
add a svlan when the vlan tag is in the vlan range and has a
specific cos.
- batchBindVlan(11)
create a service port for a transparent service.
- doubleVlan(12)
create a service port when user packet is double VLAN tag.
- doubleTlsVlan(13)
create a service port for a double tag TLS service.

Context

MIB
ZTE-AN-SERVICE-PORT-MIB
OID
.1.3.6.1.4.1.3902.1082.110.5.2.2.1.4
Type
column
Access
readwrite
Status
current
Default
untag
Parent
zxAnSrvPortConfEntry
Groups
1

Walk 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-SERVICE-PORT-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZTE-AN-SERVICE-PORT-MIB::zxAnSrvPortServiceMode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZTE-AN-SERVICE-PORT-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZTE-AN-SERVICE-PORT-MIB::zxAnSrvPortServiceMode.<ifIndex>.<zxAnSubIfIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZTE-AN-SERVICE-PORT-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZTE-AN-SERVICE-PORT-MIB::zxAnSrvPortServiceMode'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1untag
2untagAndEtype
3cos
4tag
5tls
6tagAndEtype
7tagAndCos
8vlanRange
9vlanRangeAndEtype
10vlanRangeAndCos
11batchBindVlan
12doubleVlan
13doubleTlsVlan

Conformance