Configure Concerned Layer of Interface Status SNMP Proxy
In fact, the interface UP/DOWN status includes the status of two layers in the system. One is L2 link layer status and the other is L3 protocol layer status. You can use the show ip interface brief command to view. The two status change with the UP/DOWN change of the physical interface, but when configuring keepalive gateway on the Ethernet interface, L3 protocol layer status is controlled by the keepalive detection status.
If the SNMP proxy function is enabled on the device, the network management server can get the interface status information via the public mib and also can send the interface status change information to the network management server when SNMP Trap is enabled.
With the function command, you can set the concerned interface status layer of the SNMP proxy. By default, the concerned interface status layer of the SNMP proxy is the L2 link layer, but when Ethernet interface configures keepalive gateway, to realize that the displayed interface status of the network management server links with the keepalive detection status consistently, it is necessary to set the concerned interface status layer of the SNMP proxy as L3 protocol layer. Therefore, in the environment enabled with the keepalive detection (such as MSTP WAN line environment), it is suggested to set link-status-care l3.
Configuration Condition
No
Configure Interface Group
Table 1-6 Configure the concerned layer of the interface status SNMP proxy
Step
|
Command
|
Description
|
Enter the global configuration mode
|
configure terminal
|
-
|
Configure the network management layer of the interface status
|
link-status-care { l2 | l3 }
|
Mandatory
By default, the concerned layer of the interface status SNMP proxy is L2 link layer.
|
Exit the global configuration mode
|
exit
|
-
|