tBgpPeerNgLclASNoPrependGlobalAS
TIMETRA-BGP-MIB ·
.1.3.6.1.4.1.6527.3.1.2.14.4.10.1.28
Object
The value of tBgpPeerNgLclASNoPrependGlobalAS specifies whether or not
to prepend the global-AS when advertising routes to the external BGP
(eBGP) neighbor on this BGP peer.
When the value of tBgpPeerNgLclASNoPrependGlobalAS is true, BGP will
prepend only the local-AS to the AS_PATH of received routes from the
remote eBGP peer.
When the value of tBgpPeerNgLocalAS4Byte is changed, the value of
tBgpPeerNgLclASNoPrependGlobalAS is reset to its default value.
An 'inconsistentValue' error is returned if an attempt is made to set
this object to a non-default value when the value of object
tBgpPeerNgLocalAS4Byte is not set to non-default value.
Context
- MIB
- TIMETRA-BGP-MIB
- OID
.1.3.6.1.4.1.6527.3.1.2.14.4.10.1.28- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- tBgpPeerNgParamsEntry
- Groups
- 2
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 'TIMETRA-BGP-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TIMETRA-BGP-MIB::tBgpPeerNgLclASNoPrependGlobalAS'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'TIMETRA-BGP-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TIMETRA-BGP-MIB::tBgpPeerNgLclASNoPrependGlobalAS.<tBgpPeerNgInstanceIndex>.<tBgpPeerNgAddressType>.<tBgpPeerNgAddress>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'TIMETRA-BGP-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'TIMETRA-BGP-MIB::tBgpPeerNgLclASNoPrependGlobalAS'
Syntax
- Source
- SNMPv2-TCTruthValue
- Base type
Enumeration
Type Description
Represents a boolean value.
Values & Constraints
Type Values
1 | true |
2 | false |