ospf mib-binding

Use ospf mib-binding to bind an OSPF process to MIB.

Use undo ospf mib-binding to restore the default.

Syntax

ospf mib-binding process-id

undo ospf mib-binding

Default

MIB is bound to the OSPF process with the smallest process ID.

Views

System view

Predefined user roles

network-admin

Parameters

process-id: Specifies an OSPF process by its ID in the range of 1 to 65535.

Usage guidelines

To access information or data about an OSPF process in RFC4750-OSPF.MIB, use this command. To access information or data about an OSPF process in a private MIB for the device, you do not need to use this command. You can access information or data about all OSPF processes in the private MIBs.

If the specified process ID does not exist, a notification is displayed to report that the MIB binding configuration has failed.

Deleting an OSPF process that has been bound to MIB unbinds the OSPF process from MIB, and re-binds MIB to the OSPF process with the smallest process ID.

Examples

# Bind OSPF process 100 to MIB.

<Sysname> system-view
[Sysname] ospf mib-binding 100