All MIBs › CONTIVITY-TRAPS-V1-MIB › linkUp
linkUp
Module: CONTIVITY-TRAPS-V1-MIB
OID (symbolic): CONTIVITY-TRAPS-V1-MIB::linkUp
OID (numeric): 1.3.6.1.2.1.11.0.3
Node type: NOTIFICATION-TYPE
Description:
A linkUp trap signifies that the sending protocol entity recognizes that one of the communication links represented in the agent's configuration has come up. Varbind list: ifIndex -- ifIndex of the interface. ifAdminStatus -- ifAdminStatus of the interface. ifOperStatus -- ifOperStatus of the interface. ifDescr -- ifDescr of the interface. ifType -- ifType, this provides descrimination of interfaces that are tunnels. ifReasonForStatus-ces -- reason for the change in status ifPhysLocation-ces -- this is the slot number. ifPhysRelPos-ces -- the port number on the board defined in interfacePhysLocation. ifIpAddr-ces -- IP address assigned to the phys port or the local IP address of a tunnel. ifName-ces -- Name of the tunnel or physical interface. ifTunnelRemoteIpAddr-ces -- for non-tunnel interfaces it is zero. sysObjectID -- sysObjectID of the unit. sysName -- sysName of the unit.
Examples
Send this trap to an SNMP manager — replace <manager> with the IP or hostname of your monitoring server (SNMPv2c):
snmptrap -v2c -c public <manager> '' CONTIVITY-TRAPS-V1-MIB::linkUp snmptrap -v2c -c public <manager> '' 1.3.6.1.2.1.11.0.3
Listen for incoming traps on the manager host (-f keeps it in the foreground, -Lo prints to stdout — useful for testing):
snmptrapd -f -Lo -c /dev/null authCommunity log public
Example snmptrapd log entry:
zoo11-linux.zoo [UDP: [192.168.30.111]:56416->[192.168.30.10]:162]: DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (465891936) 53 days, 22:08:39.36 SNMPv2-MIB::snmpTrapOID.0 = OID: CONTIVITY-TRAPS-V1-MIB::linkUp