All MIBs › HH3C-L2VPN-MIB › hh3cL2vpnPwSwitchPtoB
hh3cL2vpnPwSwitchPtoB
Module: HH3C-L2VPN-MIB
OID (symbolic): HH3C-L2VPN-MIB::hh3cL2vpnPwSwitchPtoB
OID (numeric): 1.3.6.1.4.1.25506.2.162.0.1
Node type: NOTIFICATION-TYPE
Description: This notification is generated when a primary-to-backup PW switching happens. The first three elements show the primary PW, and the second three elements show the backup 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::hh3cL2vpnPwSwitchPtoB snmptrap -v2c -c public <manager> '' 1.3.6.1.4.1.25506.2.162.0.1
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]:59438->[192.168.30.10]:162]: DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (423481902) 49 days, 0:20:19.02 SNMPv2-MIB::snmpTrapOID.0 = OID: HH3C-L2VPN-MIB::hh3cL2vpnPwSwitchPtoB
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::hh3cL2vpnPwSwitchPtoB 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.1 | hh3cL2vpnPwSwitchPtoB | HH3C-L2VPN-MIB |