< Home

ospf mib-binding

Function

The ospf mib-binding command binds an OSPF process to SNMP and makes OSPF respond to SNMP requests.

The undo ospf mib-binding command disables the binding.

By default, OSPF processes are not bound to SNMP.

Format

ospf mib-binding process-id

undo ospf mib-binding

Parameters

Parameter Description Value
process-id Specifies the OSPF process ID. The value is an integer ranging from 1 to 65535.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

The OSPF MIB is a virtual database of the device status maintained by the managed devices.

When multiple OSPF processes are started, you can specify which OSPF process is processed by the OSPF MIB. That is, you can bind the OSPF MIB to a specified OSPF process.

Example

# Bind OSPF process to SNMP.

<sysname> system-view
[sysname] ospf mib-binding 100
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >