All MIBs › BCS-TRAPS-MIB › trapDiscrimWeeklyMask
trapDiscrimWeeklyMask
Module: BCS-TRAPS-MIB
OID (symbolic): BCS-TRAPS-MIB::trapDiscrimWeeklyMask
OID (numeric): 1.3.6.1.4.1.1166.7.3.2.4.1.4
Node type: OBJECT-TYPE
Type: DisplayString
Access: read-write
Description: This object represents weekly scedule for corresponding Discrim. The WeeklyMask consists of 7 numeric characters (1 for each day of the week). Each numeric character can take a value of either '1' - enabled or '2' - disabled. For example, with WeeklyMask='1122221', an agent will apply corresponding Discriminator only on Mondays, Tuesdays and Sundays. Any characters other than '1' and '2' will be ignored.
What is trapDiscrimWeeklyMask?
This 7-character field maps which days of the week a trap discriminator rule is active, with '1' for enabled and '2' for disabled (one character per day). A network admin uses this to suppress trap notifications on specific weekdays, such as disabling alerts on weekends when staff is unavailable. Example: setting to '1122221' means the discriminator applies only on Mondays, Tuesdays, and Sundays, muting alerts the other four days.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.1166.7.3.2.4.1.4 snmpwalk -v2c -c public <target> BCS-TRAPS-MIB::trapDiscrimWeeklyMask
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.1166.7.3.2.4.1.4.1 snmpget -v2c -c public <target> BCS-TRAPS-MIB::trapDiscrimWeeklyMask.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.1166.7.3.2.4.1.4.1 s <value>
Start monitoring Belden/Hirschmann BCS-series industrial Ethernet switches with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the BCS-TRAPS-MIB::trapDiscrimWeeklyMask OID value, configure state conditions and alerts, and monitor any Belden/Hirschmann BCS-series industrial Ethernet switches 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.1166 | gi | BCS-IDENT-MIB |
| 1.3.6.1.4.1.1166.7 | bcs | BCS-IDENT-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.1166.7.3 | bcsTraps | BCS-TRAPS-MIB |
| 1.3.6.1.4.1.1166.7.3.2 | bcsTrapControl | BCS-TRAPS-MIB |
| 1.3.6.1.4.1.1166.7.3.2.4 | trapDiscrimTable | BCS-TRAPS-MIB |
| 1.3.6.1.4.1.1166.7.3.2.4.1 | trapDiscrimEntry | BCS-TRAPS-MIB |
| 1.3.6.1.4.1.1166.7.3.2.4.1.4 | trapDiscrimWeeklyMask | BCS-TRAPS-MIB |