Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Unused Interfaces

Use the following syntax:

https://{server}/api-unused-interfaces?password={pw};{option}={value};...

Examples

Show ifAdminStaus for all unused interfaces on swt251.

https://{server}/api-unused-interfaces?password={pw};device=swt251;ifAdminStatus=on

swt251,Fa0/2,100000000,used,up,1461652050,uplk to swt9-2,SysMgmtProd VMW-vMotion,up

To activate the Unused Interfaces web API:

Go to Admin > API > Web API Settings. Click the Unused Interfaces option On.

Click Save.

CSV output

FieldDescription
1device name
2interface name
3interface speed
4used/free
5current IF-MIB.ifOperStatus
6last change time (epoch timestamp (seconds))
7IF-MIB.ifAlias
8VLAN name

Options

OptionValueRequiredDefaultComment
time{time filter}optionallast30dRefer to the API Programming Guide
device{name} | {/regex/}optional*Device name or regex
group{device group}...optionalDevice groups
ifAdminStatuson | offoptionaloffShow ifAdminStatus for interface