The snmp-agent protocol source-interface command configures a source interface for receiving and responding to NM station requests.
The undo snmp-agent protocol source-interface command restores the default configuration.
snmp-agent protocol source-interface interface-type interface-number
undo snmp-agent protocol source-interface
| Parameter | Description | Value |
|---|---|---|
interface-type interface-number |
Specifies an interface type and number. |
- |
By default, the source interface is not configured for receiving and responding to NM station requests.
Usage Scenario
By default, a source interface is randomly selected for receiving and responding to NM station requests, which is inconvenient for unified data management. To resolve this problem, run the snmp-agent protocol source-interface command to configure a source interface for receiving and responding to NM station requests.
Prerequisites
The interface to be configured as the source interface must have been created, and a valid IP address must have been assigned to this interface. If the interface to be configured as the source interface is not created or a valid IP address is not assigned to the interface, the snmp-agent protocol source-interface command will not take effect. If a valid IP address is assigned to the interface, the snmp-agent protocol source-interface command will take effect automatically.