ancpAnSessionConfigSvid
HUAWEI-ANCP-AN-MIB ·
.1.3.6.1.4.1.2011.5.106.1.3.1.17
Object
If the session is associated with a single VLAN, this object contains the VLAN ID of the single VLAN tag. If ancpAnSessionConfigCvid is also nonzero then the session is associated with two VLAN tags, S-VLAN tag and C-VLAN tag, then this object contains the VLAN ID of the S-VLAN tag (the outer VLAN tag). In both cases the value of this object SHOULD be nonzero. If the session is not associated with any VLAN, this object MUST have the default value 0. The value of this object is persistent.
Context
- MIB
- HUAWEI-ANCP-AN-MIB
- OID
.1.3.6.1.4.1.2011.5.106.1.3.1.17- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- ancpAnSessionConfigEntry
- Groups
- 1
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 'HUAWEI-ANCP-AN-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-ANCP-AN-MIB::ancpAnSessionConfigSvid'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-ANCP-AN-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-ANCP-AN-MIB::ancpAnSessionConfigSvid.<index>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-ANCP-AN-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-ANCP-AN-MIB::ancpAnSessionConfigSvid'
Syntax
- Source
- Q-BRIDGE-MIBVlanIdOrNone
- Base type
Integer32
Values & Constraints
Type Constraints
range: 0..4094
Conformance
Member of