All MIBs › HH3C-L2VPN-MIB › hh3cL2vpnPwSwitchBtoP
hh3cL2vpnPwSwitchBtoP
Module: HH3C-L2VPN-MIB
OID (symbolic): HH3C-L2VPN-MIB::hh3cL2vpnPwSwitchBtoP
OID (numeric): 1.3.6.1.4.1.25506.2.162.0.2
Node type: NOTIFICATION-TYPE
Description: This notification is generated when a backup-to-primary PW switching happens. The first three elements show the backup PW, and the second three elements show the primary PW.
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> '' HH3C-L2VPN-MIB::hh3cL2vpnPwSwitchBtoP snmptrap -v2c -c public <manager> '' 1.3.6.1.4.1.25506.2.162.0.2
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]:63892->[192.168.30.10]:162]: DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (432925588) 50 days, 2:34:15.88 SNMPv2-MIB::snmpTrapOID.0 = OID: HH3C-L2VPN-MIB::hh3cL2vpnPwSwitchBtoP
Start monitoring H3C router (L2VPN pseudowire services) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HH3C-L2VPN-MIB::hh3cL2vpnPwSwitchBtoP OID value, configure state conditions and alerts, and monitor any H3C router (L2VPN pseudowire services) from a single console.
OID Breakdown
Upper-level ancestors (8 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.25506 | hh3c | HH3C-OID-MIB |
| 1.3.6.1.4.1.25506.2 | hh3cCommon | HH3C-OID-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.25506.2.162 | hh3cL2vpn | HH3C-L2VPN-MIB |
| 1.3.6.1.4.1.25506.2.162.0 | hh3cL2vpnPwNotifications | HH3C-L2VPN-MIB |
| 1.3.6.1.4.1.25506.2.162.0.2 | hh3cL2vpnPwSwitchBtoP | HH3C-L2VPN-MIB |