11-09-2018 05:30 AM
APIC REST APIHello All,
I have created APIC REST API request to get interface utilization as below and I am not able to get any traffic information in response.
Could you please explain the proper way to get this information.
URL:- https://10.1.16.21/api/node/mo/topology/pod-1/node-901/sys/phys-[eth1/32]/.json
Response:-
{u'imdata': [{u'l1PhysIf': {u'attributes': {u'status': u'', u'layer': u'Layer2', u'prioFlowCtrl': u'auto', u'adminSt': u'up', u'ethpmCfgFailedBmp': u'', u'fecMode': u'inherit', u'brkoutMap': u'none', u'id': u'eth1/32', u'dot1qEtherType': u'0x8100', u'descr': u'', u'speed': u'10G', u'delay': u'1', u'linkLog': u'default', u'monPolDn': u'uni/infra/moninfra-default', u'modTs': u'2018-11-07T21:20:32.339+05:30', u'usage': u'epg', u'routerMac': u'not-applicable', u'autoNeg': u'on', u'reflectiveRelayEn': u'off', u'pathSDescr': u'', u'dn': u'topology/pod-1/node-901/sys/phys-[eth1/32]', u'medium': u'broadcast', u'ethpmCfgState': u'0', u'switchingSt': u'enabled', u'bw': u'0', u'snmpTrapSt': u'enable', u'spanMode': u'not-a-span-dest', u'portT': u'leaf', u'childAction': u'', u'lcOwn': u'local', u'name': u'', u'inhBw': u'unspecified', u'trunkLog': u'default', u'mtu': u'9000', u'isReflectiveRelayCfgSupported': u'Supported', u'mode': u'trunk', u'mdix': u'auto', u'linkDebounce': u'100', u'ethpmCfgFailedTs': u'00:00:00:00.000'}}}], u'totalCount': u'1'}
URL :- https://10.1.16.21/api/node/mo/topology/pod-1/node-901/sys/phys-[eth1/32]/dbgEtherStats.json
Response:-
{u'imdata': [], u'totalCount': u'0'}
Regards,
Pradeep.
11-09-2018 06:11 AM
below thread may help you.
11-10-2018 10:09 PM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide