‎03-20-2026 05:16 PM
Hi I am using this query in a script:
'getSLPPStatus': {
'json': '''
{
network {
device(ip: "<IP>") {
deviceData {
ports {
fabricEnable
portName
portSlppGuardEnable
}
}
}
}
}
''',
'key': 'deviceData'
However portSlppGuardEnable is returning false, when it should definitely be returning true. I have checked the running config on a several test switches and they do indeed have "slpp-guard enable" on their ports. Why is the NBI data incorrect? Switch is online etc. It's not 100% inaccurate all the time, sometimes it will be correct but just often isn't.
Thanks so much.
Solved! Go to Solution.
‎03-21-2026 10:48 AM
Hi,
I DeviceData contains the desired/cached configuration you have in Site Engine.
if you want data from device I suggest first Read data from Switch to Site Engine and then you can use DeviceData NBI.
mutation{network{readDevices(input:{devices:[{ipAddress:"X.X.X.X"}]}){results {
message
status
}}}}
‎03-21-2026 10:48 AM
Hi,
I DeviceData contains the desired/cached configuration you have in Site Engine.
if you want data from device I suggest first Read data from Switch to Site Engine and then you can use DeviceData NBI.
mutation{network{readDevices(input:{devices:[{ipAddress:"X.X.X.X"}]}){results {
message
status
}}}}