cisco_config_man_mib

package
v0.0.0-...-50def94 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 2, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Configuration management MIB.

The MIB represents a model of configuration data that exists in various locations:

running in use by the running system terminal saved to whatever is attached as the terminal local saved locally in NVRAM or flash remote saved to some server on the network

Although some of the system functions that relate here can be used for general file storage and transfer, this MIB intends to include only such operations as clearly relate to configuration. Its primary emphasis is to track changes and saves of the running configuration.

As saved data moves further from startup use, such as into different local flash files or onto the network, tracking becomes difficult to impossible, so the MIB's interest and functions are confined in that area.

Information from ccmCLIHistoryCommandTable can be used to track the exact configuration changes that took place within a particular Configuration History event. NMS' can use this information to update the related components. For example:

If commands related only to MPLS are entered
then the NMS need to update only the MPLS related
management information rather than updating
all of its management information.
Acronyms and terms:

CLI   Command Line Interface.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CISCOCONFIGMANMIB

type CISCOCONFIGMANMIB struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	CcmHistory CISCOCONFIGMANMIB_CcmHistory

	CcmCLIHistory CISCOCONFIGMANMIB_CcmCLIHistory

	CcmCLICfg CISCOCONFIGMANMIB_CcmCLICfg

	CcmCTIDObjects CISCOCONFIGMANMIB_CcmCTIDObjects

	// A table of configuration events on this router.
	CcmHistoryEventTable CISCOCONFIGMANMIB_CcmHistoryEventTable

	// A table of CLI commands that took effect during configuration events.
	CcmCLIHistoryCommandTable CISCOCONFIGMANMIB_CcmCLIHistoryCommandTable
}

CISCOCONFIGMANMIB

func (*CISCOCONFIGMANMIB) GetEntityData

func (cISCOCONFIGMANMIB *CISCOCONFIGMANMIB) GetEntityData() *types.CommonEntityData

type CISCOCONFIGMANMIB_CcmCLICfg

type CISCOCONFIGMANMIB_CcmCLICfg struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// This variable indicates whether the system produces the
	// ccmCLIRunningConfigChanged notification. A false  value will prevent
	// notifications from being generated  by this system. The type is bool.
	CcmCLICfgRunConfNotifEnable interface{}
}

CISCOCONFIGMANMIB_CcmCLICfg

func (*CISCOCONFIGMANMIB_CcmCLICfg) GetEntityData

func (ccmCLICfg *CISCOCONFIGMANMIB_CcmCLICfg) GetEntityData() *types.CommonEntityData

type CISCOCONFIGMANMIB_CcmCLIHistory

type CISCOCONFIGMANMIB_CcmCLIHistory struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// The maximum number of entries that can be held in
	// ccmCLIHistoryCommandTable.  The recommended value for implementations is
	// 100.  If the number of entries in ccmCLIHistoryCommandTable  exceeds the
	// value of this object, old entries will be  bumped to make room for new
	// entries.  The ccmCLIHistoryCommandTable will not be populated if the value
	// of this object is 0. The type is interface{} with range: 0..4294967295.
	CcmCLIHistoryMaxCmdEntries interface{}

	// The current number of entries in ccmCLIHistoryCommandTable. The type is
	// interface{} with range: 0..4294967295.
	CcmCLIHistoryCmdEntries interface{}

	// This object indicates the upper limit on the number of entries allowed in
	// ccmCLIHistoryCommandTable by the managed system. The type is interface{}
	// with range: 0..4294967295.
	CcmCLIHistoryCmdEntriesAllowed interface{}
}

CISCOCONFIGMANMIB_CcmCLIHistory

func (*CISCOCONFIGMANMIB_CcmCLIHistory) GetEntityData

func (ccmCLIHistory *CISCOCONFIGMANMIB_CcmCLIHistory) GetEntityData() *types.CommonEntityData

type CISCOCONFIGMANMIB_CcmCLIHistoryCommandTable

type CISCOCONFIGMANMIB_CcmCLIHistoryCommandTable struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// Information about the CLI commands that took effect during the
	// configuration event pointed by  ccmCLIHistoryEventIndex.  A set of rows in
	// this table having the first index as ccmHistoryEventIndex will store the
	// CLI commands entered during the corresponding  configuration event in
	// ccmHistoryEventTable.  An entry will be created in this table only if  the
	// corresponding entry in ccmHistoryEventTable has  a value of 'commandLine'
	// for  ccmHistoryEventCommandSource. The type is slice of
	// CISCOCONFIGMANMIB_CcmCLIHistoryCommandTable_CcmCLIHistoryCommandEntry.
	CcmCLIHistoryCommandEntry []*CISCOCONFIGMANMIB_CcmCLIHistoryCommandTable_CcmCLIHistoryCommandEntry
}

CISCOCONFIGMANMIB_CcmCLIHistoryCommandTable A table of CLI commands that took effect during configuration events.

func (*CISCOCONFIGMANMIB_CcmCLIHistoryCommandTable) GetEntityData

func (ccmCLIHistoryCommandTable *CISCOCONFIGMANMIB_CcmCLIHistoryCommandTable) GetEntityData() *types.CommonEntityData

type CISCOCONFIGMANMIB_CcmCLIHistoryCommandTable_CcmCLIHistoryCommandEntry

type CISCOCONFIGMANMIB_CcmCLIHistoryCommandTable_CcmCLIHistoryCommandEntry struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
	YListKey   string

	// This attribute is a key. The type is string with range: 1..2147483647.
	// Refers to
	// cisco_config_man_mib.CISCOCONFIGMANMIB_CcmHistoryEventTable_CcmHistoryEventEntry_CcmHistoryEventIndex
	CcmHistoryEventIndex interface{}

	// This attribute is a key. A monotonically increasing integer for the purpose
	// of indexing CLI commands which took effect during a configuration event.
	// The type is interface{} with range: 1..4294967295.
	CcmCLIHistoryCommandIndex interface{}

	// The CLI command entered which took effect during the configuration event
	// pointed by  ccmHistoryEventIndex. The type is string.
	CcmCLIHistoryCommand interface{}
}

CISCOCONFIGMANMIB_CcmCLIHistoryCommandTable_CcmCLIHistoryCommandEntry Information about the CLI commands that took effect during the configuration event pointed by ccmCLIHistoryEventIndex.

A set of rows in this table having the first index as ccmHistoryEventIndex will store the CLI commands entered during the corresponding configuration event in ccmHistoryEventTable.

An entry will be created in this table only if the corresponding entry in ccmHistoryEventTable has a value of 'commandLine' for ccmHistoryEventCommandSource.

func (*CISCOCONFIGMANMIB_CcmCLIHistoryCommandTable_CcmCLIHistoryCommandEntry) GetEntityData

type CISCOCONFIGMANMIB_CcmCTIDObjects

type CISCOCONFIGMANMIB_CcmCTIDObjects struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// This object indicates the Config Change Tracking ID which uniquely
	// represents version-incrementing changes to the IOS  running configuration.
	// The type is interface{} with range: 0..18446744073709551615.
	CcmCTID interface{}

	// This object indicates the time when the Config Change Tracking ID last
	// changed. The type is string.
	CcmCTIDLastChangeTime interface{}

	// This object indicates the user who last reset the Config Change Tracking
	// ID. The type is string.
	CcmCTIDWhoChanged interface{}

	// This variable indicates whether the system produces the ccmCTIDRolledOver
	// notification. A false value will prevent notifications from being generated
	// by this system. The type is bool.
	CcmCTIDRolledOverNotifEnable interface{}
}

CISCOCONFIGMANMIB_CcmCTIDObjects

func (*CISCOCONFIGMANMIB_CcmCTIDObjects) GetEntityData

func (ccmCTIDObjects *CISCOCONFIGMANMIB_CcmCTIDObjects) GetEntityData() *types.CommonEntityData

type CISCOCONFIGMANMIB_CcmHistory

type CISCOCONFIGMANMIB_CcmHistory struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// The value of sysUpTime when the running configuration was last changed.
	// If the value of ccmHistoryRunningLastChanged is         greater than
	// ccmHistoryRunningLastSaved, the          configuration has been changed but
	// not saved. The type is interface{} with range: 0..4294967295.
	CcmHistoryRunningLastChanged interface{}

	// The value of sysUpTime when the running configuration was last saved
	// (written).  If the value of ccmHistoryRunningLastChanged is  greater than
	// ccmHistoryRunningLastSaved, the  configuration has been changed but not
	// saved.  What constitutes a safe saving of the running configuration is a
	// management policy issue beyond the scope of this MIB.  For some
	// installations, writing the running configuration to a terminal may be a way
	// of capturing and saving it.  Others may use local or remote storage.  Thus
	// ANY write is considered saving for the purposes of the MIB. The type is
	// interface{} with range: 0..4294967295.
	CcmHistoryRunningLastSaved interface{}

	// The value of sysUpTime when the startup configuration was last written to.
	// In general this is the default configuration used when cold starting the
	// system.  It may have been changed by a save of the running configuration or
	// by a copy from elsewhere. The type is interface{} with range:
	// 0..4294967295.
	CcmHistoryStartupLastChanged interface{}

	// The maximum number of entries that can be held in ccmHistoryEventTable.
	// The recommended value for implementations is 10. The type is interface{}
	// with range: 0..2147483647.
	CcmHistoryMaxEventEntries interface{}

	// The number of times the oldest entry in ccmHistoryEventTable was deleted to
	// make room  for a new entry. The type is interface{} with range:
	// 0..4294967295.
	CcmHistoryEventEntriesBumped interface{}
}

CISCOCONFIGMANMIB_CcmHistory

func (*CISCOCONFIGMANMIB_CcmHistory) GetEntityData

func (ccmHistory *CISCOCONFIGMANMIB_CcmHistory) GetEntityData() *types.CommonEntityData

type CISCOCONFIGMANMIB_CcmHistoryEventTable

type CISCOCONFIGMANMIB_CcmHistoryEventTable struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// Information about a configuration event on this router. The type is slice
	// of CISCOCONFIGMANMIB_CcmHistoryEventTable_CcmHistoryEventEntry.
	CcmHistoryEventEntry []*CISCOCONFIGMANMIB_CcmHistoryEventTable_CcmHistoryEventEntry
}

CISCOCONFIGMANMIB_CcmHistoryEventTable A table of configuration events on this router.

func (*CISCOCONFIGMANMIB_CcmHistoryEventTable) GetEntityData

func (ccmHistoryEventTable *CISCOCONFIGMANMIB_CcmHistoryEventTable) GetEntityData() *types.CommonEntityData

type CISCOCONFIGMANMIB_CcmHistoryEventTable_CcmHistoryEventEntry

type CISCOCONFIGMANMIB_CcmHistoryEventTable_CcmHistoryEventEntry struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
	YListKey   string

	// This attribute is a key. A monotonically increasing integer for the sole
	// purpose of indexing events.  When it reaches the  maximum value, an
	// extremely unlikely event, the agent  wraps the value back to 1 and may
	// flush existing  entries. The type is interface{} with range: 1..2147483647.
	CcmHistoryEventIndex interface{}

	// The value of sysUpTime when the event occurred. The type is interface{}
	// with range: 0..4294967295.
	CcmHistoryEventTime interface{}

	// The source of the command that instigated the event. The type is
	// CcmHistoryEventCommandSource.
	CcmHistoryEventCommandSource interface{}

	// The configuration data source for the event. The type is
	// HistoryEventMedium.
	CcmHistoryEventConfigSource interface{}

	// The configuration data destination for the event. The type is
	// HistoryEventMedium.
	CcmHistoryEventConfigDestination interface{}

	// If ccmHistoryEventCommandSource is 'commandLine', the terminal type,
	// otherwise 'notApplicable'. The type is CcmHistoryEventTerminalType.
	CcmHistoryEventTerminalType interface{}

	// If ccmHistoryEventCommandSource is 'commandLine', the terminal number.  The
	// value is -1 if not available or not applicable. The type is interface{}
	// with range: -2147483648..2147483647.
	CcmHistoryEventTerminalNumber interface{}

	// If ccmHistoryEventCommandSource is 'commandLine', the name of the logged in
	// user.  The length is zero if not available or not applicable. The type is
	// string with length: 0..64.
	CcmHistoryEventTerminalUser interface{}

	// If ccmHistoryEventCommandSource is 'commandLine', the hard-wired location
	// of the terminal or the remote  host for an incoming connection.  The length
	// is zero  if not available or not applicable. The type is string with
	// length: 0..64.
	CcmHistoryEventTerminalLocation interface{}

	// If ccmHistoryEventTerminalType is 'virtual', the internet address of the
	// connected system.  If ccmHistoryEventCommandSource is 'snmp', the internet
	// address of the requester.  The value is 0.0.0.0 if not available or not
	// applicable.  This object is deprecated by
	// ccmHistoryEventCommandSourceAddrRev1. The type is string with pattern:
	// (([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(%[\p{N}\p{L}]+)?.
	CcmHistoryEventCommandSourceAddress interface{}

	// If ccmHistoryEventTerminalType is 'virtual', the host name of the connected
	// system.  The length is zero if not available or not applicable. The type is
	// string with length: 0..64.
	CcmHistoryEventVirtualHostName interface{}

	// If ccmHistoryEventConfigSource or ccmHistoryEventConfigDestination is
	// 'networkTftp' or 'networkRcp', the internet address of the storage file
	// server.  The value is 0.0.0.0 if not applicable or not         available.
	// This object is deprecated by         ccmHistoryEventServerAddrRev1. The
	// type is string with pattern:
	// (([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(%[\p{N}\p{L}]+)?.
	CcmHistoryEventServerAddress interface{}

	// If ccmHistoryEventConfigSource or ccmHistoryEventConfigDestination is
	// 'networkTftp' or 'networkRcp', the configuration file name at the storage
	// file server.  The length is zero if not available or not applicable. The
	// type is string with length: 0..64.
	CcmHistoryEventFile interface{}

	// If ccmHistoryEventConfigSource or ccmHistoryEventConfigDestination is
	// 'networkRcp', the remote user name.  The length is zero if not applicable
	// or not available. The type is string with length: 0..64.
	CcmHistoryEventRcpUser interface{}

	// The number of times the oldest entry in ccmCLIHistoryCommandTable with
	// first index as  ccmHistoryEventIndex was deleted to make  room for a new
	// entry.  This object is applicable only if  ccmHistoryEventCommandSource has
	// a value  of 'commandLine'. The type is interface{} with range:
	// 0..4294967295.
	CcmHistoryCLICmdEntriesBumped interface{}

	// This object indicates the transport type of the address contained in
	// ccmHistoryEventCommandSourceAddrRev1.  The value will be zero if not
	// available or not applicable. The type is InetAddressType.
	CcmHistoryEventCommandSourceAddrType interface{}

	// If ccmHistoryEventTerminalType is 'virtual', the internet address of the
	// connected system.  If ccmHistoryEventCommandSource is 'snmp', the internet
	// address of the requester.  The value of all bit's is zero  if not available
	// or not applicable.  The Format of this address depends on the value of the
	// ccmHistoryEventCommandSourceAddrType object.  This object deprecates
	// ccmHistoryEventCommandSourceAddress. The type is string with length:
	// 0..255.
	CcmHistoryEventCommandSourceAddrRev1 interface{}

	// This object indicates the transport type of the address contained in
	// ccmHistoryEventServerAddrRev1.  The value will be zero if not available or
	// not aplicable. The type is InetAddressType.
	CcmHistoryEventServerAddrType interface{}

	// If ccmHistoryEventConfigSource or ccmHistoryEventConfigDestination is
	// 'networkTftp' or 'networkRcp', the internet address of the storage file
	// server.   The value of all bits is 0s if not applicable or not available.
	// The Format of this address depends on the value of the
	// ccmHistoryEventServerAddrType object.  This object deprecates
	// ccmHistoryEventServerAddress. The type is string with length: 0..255.
	CcmHistoryEventServerAddrRev1 interface{}
}

CISCOCONFIGMANMIB_CcmHistoryEventTable_CcmHistoryEventEntry Information about a configuration event on this router.

func (*CISCOCONFIGMANMIB_CcmHistoryEventTable_CcmHistoryEventEntry) GetEntityData

type CISCOCONFIGMANMIB_CcmHistoryEventTable_CcmHistoryEventEntry_CcmHistoryEventCommandSource

type CISCOCONFIGMANMIB_CcmHistoryEventTable_CcmHistoryEventEntry_CcmHistoryEventCommandSource string

CISCOCONFIGMANMIB_CcmHistoryEventTable_CcmHistoryEventEntry_CcmHistoryEventCommandSource represents The source of the command that instigated the event.

const (
	CISCOCONFIGMANMIB_CcmHistoryEventTable_CcmHistoryEventEntry_CcmHistoryEventCommandSource_commandLine CISCOCONFIGMANMIB_CcmHistoryEventTable_CcmHistoryEventEntry_CcmHistoryEventCommandSource = "commandLine"

	CISCOCONFIGMANMIB_CcmHistoryEventTable_CcmHistoryEventEntry_CcmHistoryEventCommandSource_snmp CISCOCONFIGMANMIB_CcmHistoryEventTable_CcmHistoryEventEntry_CcmHistoryEventCommandSource = "snmp"
)

type CISCOCONFIGMANMIB_CcmHistoryEventTable_CcmHistoryEventEntry_CcmHistoryEventTerminalType

type CISCOCONFIGMANMIB_CcmHistoryEventTable_CcmHistoryEventEntry_CcmHistoryEventTerminalType string

CISCOCONFIGMANMIB_CcmHistoryEventTable_CcmHistoryEventEntry_CcmHistoryEventTerminalType represents the terminal type, otherwise 'notApplicable'.

const (
	CISCOCONFIGMANMIB_CcmHistoryEventTable_CcmHistoryEventEntry_CcmHistoryEventTerminalType_notApplicable CISCOCONFIGMANMIB_CcmHistoryEventTable_CcmHistoryEventEntry_CcmHistoryEventTerminalType = "notApplicable"

	CISCOCONFIGMANMIB_CcmHistoryEventTable_CcmHistoryEventEntry_CcmHistoryEventTerminalType_unknown CISCOCONFIGMANMIB_CcmHistoryEventTable_CcmHistoryEventEntry_CcmHistoryEventTerminalType = "unknown"

	CISCOCONFIGMANMIB_CcmHistoryEventTable_CcmHistoryEventEntry_CcmHistoryEventTerminalType_console CISCOCONFIGMANMIB_CcmHistoryEventTable_CcmHistoryEventEntry_CcmHistoryEventTerminalType = "console"

	CISCOCONFIGMANMIB_CcmHistoryEventTable_CcmHistoryEventEntry_CcmHistoryEventTerminalType_terminal CISCOCONFIGMANMIB_CcmHistoryEventTable_CcmHistoryEventEntry_CcmHistoryEventTerminalType = "terminal"

	CISCOCONFIGMANMIB_CcmHistoryEventTable_CcmHistoryEventEntry_CcmHistoryEventTerminalType_virtual CISCOCONFIGMANMIB_CcmHistoryEventTable_CcmHistoryEventEntry_CcmHistoryEventTerminalType = "virtual"

	CISCOCONFIGMANMIB_CcmHistoryEventTable_CcmHistoryEventEntry_CcmHistoryEventTerminalType_auxiliary CISCOCONFIGMANMIB_CcmHistoryEventTable_CcmHistoryEventEntry_CcmHistoryEventTerminalType = "auxiliary"
)

type HistoryEventMedium

type HistoryEventMedium string

HistoryEventMedium represents networkScp network host via Secure Copy

const (
	HistoryEventMedium_erase HistoryEventMedium = "erase"

	HistoryEventMedium_commandSource HistoryEventMedium = "commandSource"

	HistoryEventMedium_running HistoryEventMedium = "running"

	HistoryEventMedium_startup HistoryEventMedium = "startup"

	HistoryEventMedium_local HistoryEventMedium = "local"

	HistoryEventMedium_networkTftp HistoryEventMedium = "networkTftp"

	HistoryEventMedium_networkRcp HistoryEventMedium = "networkRcp"

	HistoryEventMedium_networkFtp HistoryEventMedium = "networkFtp"

	HistoryEventMedium_networkScp HistoryEventMedium = "networkScp"
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL