< 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 an OSPF process ID. The value is an integer ranging from 1 to 65535.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

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.

Prerequisites

An OSPF process has been created using the ospf command in the system view.

Example

# Bind OSPF process 100 to SNMP.

<HUAWEI> system-view
[HUAWEI] ospf 100
[HUAWEI-ospf-100] quit
[HUAWEI] ospf mib-binding 100

# Disable the binding.

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