l2vmBgpRTCfgRT
DC-L2VPN-MIB ·
mrv variant
·
.1.2.826.0.1.1578918.5.94.2.1.1.4.1.9
Object
The route target associated with the L2VPN service.
This field must be set to a valid route target value
to activate the Route Target Configuration table entry.
(The default value of zero is not valid).
In order to be a valid route target, the first two bytes
of the field must indicate the type of the extended
community. This should be one of the following.
- 0x0002 to indicate a 2-byte AS-specific route target
extended community.
- 0x0102 to indicate an IPv4-address-specific route
target extended community.
- 0x0202 to indicate a 4-byte AS-specific route target
extended community.
Context
- MIB
- DC-L2VPN-MIB
- OID
.1.2.826.0.1.1578918.5.94.2.1.1.4.1.9- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- l2vmBgpRTCfgEntry
- 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 'DC-L2VPN-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DC-L2VPN-MIB::l2vmBgpRTCfgRT'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DC-L2VPN-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DC-L2VPN-MIB::l2vmBgpRTCfgRT.<index>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DC-L2VPN-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DC-L2VPN-MIB::l2vmBgpRTCfgRT'
Syntax
- Source
- BgpExtendedCommunity
- Base type
OctetString
Values & Constraints
Type Constraints
range: 8
Conformance
Member of