All MIBs › DGS3000-10TC-L3MGMT-MIB › swL3IpCtrlIpDhcpOption12HostName
swL3IpCtrlIpDhcpOption12HostName
Module: DGS3000-10TC-L3MGMT-MIB
OID (symbolic): DGS3000-10TC-L3MGMT-MIB::swL3IpCtrlIpDhcpOption12HostName
OID (numeric): 1.3.6.1.4.1.171.11.133.1.1.3.2.1.3.1.23
Node type: OBJECT-TYPE
Type: DisplayString
Access: read-write
Description: Specify the host name to be inserted in the DHCPDISCOVER and DHCPREQUEST message. The specified host name must start with a letter, end with a letter or digit, and have only letters, digits, and hyphen as interior characters; the maximal length is 63. By default, the host name is empty. When set an empty host name, means to clear the host name setting and use the default value to encode option 12.
What is swL3IpCtrlIpDhcpOption12HostName?
The host name string the switch inserts as DHCP option 12 in its DHCPDISCOVER/DHCPREQUEST messages when swL3IpCtrlIpDhcpOption12State is enabled. It must start and end with a letter or digit and contain only letters, digits, and hyphens; leaving it empty clears the setting so the device falls back to its default option-12 encoding.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.171.11.133.1.1.3.2.1.3.1.23 snmpwalk -v2c -c public <target> DGS3000-10TC-L3MGMT-MIB::swL3IpCtrlIpDhcpOption12HostName
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.171.11.133.1.1.3.2.1.3.1.23.1 snmpget -v2c -c public <target> DGS3000-10TC-L3MGMT-MIB::swL3IpCtrlIpDhcpOption12HostName.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.171.11.133.1.1.3.2.1.3.1.23.1 s <value>
SNMPv3 example:
snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> swL3IpCtrlIpDhcpOption12HostName.1
Start monitoring D-Link DGS-3000-10TC Layer 3 switch with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the DGS3000-10TC-L3MGMT-MIB::swL3IpCtrlIpDhcpOption12HostName OID value, configure state conditions and alerts, and monitor any D-Link DGS-3000-10TC Layer 3 switch from a single console.
OID Breakdown
Upper-level ancestors (11 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.11 | dlink_mgmt | DES2218-MIB |
| 1.3.6.1.4.1.171.11.133 | dlink_Dgs3000Proj | SWDGS3000PRIMGMT-MIB |
| 1.3.6.1.4.1.171.11.133.1 | dgs3000_10tc | SWPRIMGMT-DGS3000-MIB |
| 1.3.6.1.4.1.171.11.133.1.1 | dgs3000_10_tc | SWPRIMGMT-DGS3000-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.171.11.133.1.1.3 | swL3MgmtMIB | DGS3000-10TC-L3MGMT-MIB |
| 1.3.6.1.4.1.171.11.133.1.1.3.2 | swL3IpMgmt | DGS3000-10TC-L3MGMT-MIB |
| 1.3.6.1.4.1.171.11.133.1.1.3.2.1 | swL3IpCtrlMgmt | DGS3000-10TC-L3MGMT-MIB |
| 1.3.6.1.4.1.171.11.133.1.1.3.2.1.3 | swL3IpCtrlTable | DGS3000-10TC-L3MGMT-MIB |
| 1.3.6.1.4.1.171.11.133.1.1.3.2.1.3.1 | swL3IpCtrlEntry | DGS3000-10TC-L3MGMT-MIB |
| 1.3.6.1.4.1.171.11.133.1.1.3.2.1.3.1.23 | swL3IpCtrlIpDhcpOption12HostName | DGS3000-10TC-L3MGMT-MIB |