NhrpCacheEntry

Keys

Leafs

Enum Classes

class NHRPMIB.NhrpCacheTable.NhrpCacheEntry

Bases: Entity

Class Hierarchy : NHRPMIB NhrpCacheTable NhrpCacheEntry

This class represents state data.

A cached mapping between an internetwork layer address

and an NBMA address. Entries can be created by the

network administrator using the nhrpCacheRowStatus

column, or they may be added dynamically based on

protocol operation (including NHRP, SCSP, and others,

such as ATMARP).

When created based by NHRP protocol operations

this entry is largely based on contents contained in

the Client Information Entry (CIE).

Zero or more Client Information Entries (CIEs) may be

included in the NHRP Packet. For a complete description

of the CIE, refer to Section 5.2.0.1 of

RFC 2332 [17].

nhrpcacheinternetworkaddrtype(key)

The internetwork layer address type of this Next Hop Resolution Cache entry. The value of this object indicates how to interpret the values of nhrpCacheInternetworkAddr and nhrpCacheNextHopInternetworkAddr

type: AddressFamilyNumbers

config: False

nhrpcacheinternetworkaddr(key)

The value of the internetwork address of the destination

type: str

length: 0..64

config: False

ifindex(key)

type: int

range: 1..2147483647

refers to: ifindex

config: False

nhrpcacheindex(key)

An identifier for this entry that has local significance within the scope of the General Group. This identifier is used here to uniquely identify this row, and also used in the ‘nhrpPurgeTable’ for the value of the ‘nhrpPurgeCacheIdentifier’

type: int

range: 1..4294967295

config: False

nhrpcacheprefixlength

The number of bits that define the internetwork layer prefix associated with the nhrpCacheInternetworkAddr

type: int

range: 0..255

config: False

nhrpcachenexthopinternetworkaddr

The value of the internetwork address of the next hop

type: str

length: 0..64

config: False

nhrpcachenbmaaddrtype

The NBMA address type. The value of this object indicates how to interpret the values of nhrpCacheNbmaAddr and nhrpCacheNbmaSubaddr

type: AddressFamilyNumbers

config: False

nhrpcachenbmaaddr

The value of the NBMA subnetwork address of the next hop

type: str

length: 0..64

config: False

nhrpcachenbmasubaddr

The value of the NBMA subaddress of the next hop. If there is no subaddress concept for the NBMA address family, this value will be a zero-length OCTET STRING

type: str

length: 0..64

config: False

nhrpcachetype

An indication of how this cache entry was created. The values are: ‘other(1)’ The entry was added by some other means. ‘register(2)’ In a server, added based on a client registration. ‘resolveAuthoritative(3)’ In a client, added based on receiving an Authoritative NHRP Resolution Reply. ‘resolveNonauthoritative(4)’ In a client, added based on receiving a Nonauthoritative NHRP Resolution Reply. ‘transit(5)’ In a transit server, added by examining a forwarded NHRP packet. ‘administrativelyAdded(6)’ In a client or server, manually added by the administrator. The StorageType of this entry is reflected in ‘nhrpCacheStorageType’. ‘atmarp(7)’ The entry was added due to an ATMARP. ‘scsp(8)’ The entry was added due to SCSP. When the entry is under creation using the nhrpCacheRowStatus column, the only value that can be specified by the administrator is ‘administrativelyAdded’. Attempting to set any other value will cause an ‘inconsistentValue’ error. The value cannot be modified once the entry is active

type: NhrpCacheType

config: False

nhrpcachestate

An indication of the state of this entry. The values are: ‘incomplete(1)’ The client has sent a NHRP Resolution Request but has not yet received the NHRP Resolution Reply. ‘ackReply(2)’ For a client or server, this is a cached valid mapping. ‘nakReply(3)’ For a client or server, this is a cached NAK mapping

type: NhrpCacheState

config: False

nhrpcacheholdingtimevalid

True(1) is returned if the value of ‘nhrpCacheType’ is not ‘administrativelyAdded’. Since the value of ‘nhrpCacheType’ was not configured by a user, the value of ‘nhrpCacheHoldingTime’ is considered valid. In other words, the value of ‘nhrpCacheHoldingTime’ represents the Holding Time for the cache Entry. If ‘nhrpCacheType has been configured by a user, (i.e. the value of ‘nhrpCacheType’ is ‘administrativelyAdded’) then false(2) will be returned. This indicates that the value of ‘nhrpCacheHoldingTime’ is undefined because this row could possibly be backed up in nonvolatile storage

type: bool

config: False

nhrpcacheholdingtime

If the value of ‘nhrpCacheHoldingTimeValid is true(1) then this object represents the number of seconds that the cache entry will remain in this table. When this value reaches 0 (zero) the row should be deleted. If the value of ‘nhrpCacheHoldingTimeValid is false(2) then this object is undefined

type: int

range: 0..65535

config: False

units: seconds

nhrpcachenegotiatedmtu

The maximum transmission unit (MTU) that was negotiated or registered for this entity. In other words, this is the actual MTU being used

type: int

range: 0..65535

config: False

nhrpcachepreference

An object which reflects the Preference value of the Client Information Entry (CIE). Zero or more Client Information Entries (CIEs) may be included in the NHRP Packet. One of the fields in the CIE is the Preference. For a complete description of the CIE, refer to Section 5.2.0.1 of RFC 2332 [17]

type: int

range: 0..255

config: False

nhrpcachestoragetype

This value only has meaning when the ‘nhrpCacheType’ has the value of ‘administrativelyAdded’. When the row is created due to being ‘administrativelyAdded’, this object reflects whether this row is kept in volatile storage and lost upon reboot or if this row is backed up by non-volatile or permanent storage. If the value of ‘nhrpCacheType’ has a value which is not ‘administrativelyAdded, then the value of this object is ‘other(1)’

type: StorageType

config: False

nhrpcacherowstatus

An object that allows entries in this table to be created and deleted using the RowStatus convention

type: RowStatus

config: False