Hi,
I like to switch On\Off the PoE power of different ports of my Cisco SG350-10MP switch.
My actual config:
UID: snmp:target3:SNMP_CiscoSG350
label: SNMP Cisco SG350
thingTypeUID: snmp:target3
configuration:
retries: 2
hostname: 192.168.7.250
privPassphrase: CiscoSG350Snmp!RequestALL
port: 161
authPassphrase: CiscoXXXXXXXXXXXXX
privProtocol: AES128
refresh: 60
user: XXXXXXX
securityModel: AUTH_PRIV
authProtocol: HMAC384SHA512
timeout: 1500
engineId: 80XXXXXXXXXX
location: Schaltschrank
channels:
- id: cSNMP_Uptime
channelTypeUID: snmp:number
label: Uptime
description: null
configuration:
oid: .1.3.6.1.2.1.1.3.0
- id: PoEPort1
channelTypeUID: snmp:number
label: PoE Port 1
description: ""
configuration:
mode: READ_WRITE
oid: .1.3.6.1.2.1.105.1.1.1.3.1.3
- id: PoEPort2
channelTypeUID: snmp:number
label: PoE Port 2
description: ""
configuration:
oid: .1.3.6.1.2.1.105.1.1.1.3.1.4
- id: PoEPort3
channelTypeUID: snmp:number
label: PoE Port 3
description: null
configuration:
oid: .1.3.6.1.2.1.105.1.1.1.3.1.5
- id: PoEPort4
channelTypeUID: snmp:number
label: PoE Port 4
description: null
configuration:
oid: .1.3.6.1.2.1.105.1.1.1.3.1.6
- id: PoEPort5
channelTypeUID: snmp:number
label: PoE Port 5
description: null
configuration:
oid: .1.3.6.1.2.1.105.1.1.1.3.1.7
- id: PoEPort6
channelTypeUID: snmp:number
label: PoE Port 6
description: null
configuration:
oid: .1.3.6.1.2.1.105.1.1.1.3.1.8
- id: PoEPort7
channelTypeUID: snmp:number
label: PoE Port 7
description: null
configuration:
oid: .1.3.6.1.2.1.105.1.1.1.3.1.9
- id: PoEPort8
channelTypeUID: snmp:number
label: PoE Port 8
description: null
configuration:
oid: .1.3.6.1.2.1.105.1.1.1.3.1.10
- id: PoEPort1Sw
channelTypeUID: snmp:switch
label: PoE Port 1 Switch
description: PoE Port 1 Switch
configuration:
mode: READ_WRITE
offvalue: "2"
oid: .1.3.6.1.2.1.105.1.1.1.3.1.3
datatype: INT32
onvalue: "1"
I got some readings for the first channels, so the binding is working
PoEPort1 = 2
PoEPort2 = 1
PoEPort1Sw = null / I use map to transfer from 1=ON etc.
I do not know for 100% if I do have the right OID because PoEPort7 and so on is not reporting a value.
How to configure a Switch at Target3.
Best regards Julian