Difference between revisions of "gaia list interface parameters on a single line"
From cpwiki.net
(Created page with "clish -c "show interfaces" | grep -v -E "lo|Mgmt|Sync" | while read line; do printf "$line,"; for i in state link-state speed duplex ipv4-address auto-negotiation mtu monitor-...") |
Latest revision as of 03:38, 10 June 2016
clish -c "show interfaces" | grep -v -E "lo|Mgmt|Sync" | while read line; do printf "$line,"; for i in state link-state speed duplex ipv4-address auto-negotiation mtu monitor-mode; do PARAM=`clish -c "show interface $line $i"`; printf "$PARAM,"; done; echo; done