All MIBs › DGS-1248T-B1-MIB › commTrapName
commTrapName
Module: DGS-1248T-B1-MIB
OID (symbolic): DGS-1248T-B1-MIB::commTrapName
OID (numeric): 1.3.6.1.4.1.171.10.76.6.1.3.1.2
Node type: OBJECT-TYPE
Type: DisplayString
Access: read-write
Description: The name of this SNMP Trap Community Entry.
What is commTrapName?
This is the community string (up to 20 characters) the switch includes when it sends SNMP traps, which the receiving trap manager checks before accepting the notification. An admin sets this to match whatever community string their NMS (e.g. a syslog/trap collector) expects.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.171.10.76.6.1.3.1.2 snmpwalk -v2c -c public <target> DGS-1248T-B1-MIB::commTrapName
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.171.10.76.6.1.3.1.2.1 snmpget -v2c -c public <target> DGS-1248T-B1-MIB::commTrapName.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.171.10.76.6.1.3.1.2.1 s <value>
SNMPv3 example:
snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> commTrapName.1
Start monitoring D-Link Gigabit smart switches with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the DGS-1248T-B1-MIB::commTrapName OID value, configure state conditions and alerts, and monitor any D-Link Gigabit smart switches from a single console.
OID Breakdown
Upper-level ancestors (9 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.171 | d_link | DE1500-MIB |
| 1.3.6.1.4.1.171.10 | dlink_products | DES-1226G-MIB |
| 1.3.6.1.4.1.171.10.76 | dlink_DGS12XXTSeriesProd | DGS-1216T-DX-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.171.10.76.6 | dgs_1248tb1 | DGS-1248T-B1-MIB |
| 1.3.6.1.4.1.171.10.76.6.1 | companyCommGroup | DGS-1248T-B1-MIB |
| 1.3.6.1.4.1.171.10.76.6.1.3 | commTrapTable | DGS-1248T-B1-MIB |
| 1.3.6.1.4.1.171.10.76.6.1.3.1 | commTrapEntry | DGS-1248T-B1-MIB |
| 1.3.6.1.4.1.171.10.76.6.1.3.1.2 | commTrapName | DGS-1248T-B1-MIB |