[Ace] Network Info Script
Anthony Cuffe
cuffe at jlab.org
Fri Apr 13 14:42:21 EDT 2012
I have deployed a new tool that should now be in your path called shownet. It is designed to provide any information you might need about our networks. You can give it a hostname, ip, network or nothing. I had thought to add the vlan information as well but wanted Brad and Scott's blessing to do that.
Usage:
shownet [-v][-h] [network name][ip][hostname]
Examples:
shownet
shownet acenet
shownet devl07
shownet devl07 devl08
shownet 129.57.228.107
shownet -v
Example output:
[cuffe at devl07 ~]$ shownet devl07
--------------------------------------------------------------------
devnet
number => 129.57.228.0
mask => 255.255.252.0
cidr => 22
hexmask => 0Xfffffc00
broadcast => 129.57.231.255
gateway => 129.57.228.1
domain => acc.jlab.org
comment => DEV
name => devl07
ip => 129.57.228.107
--------------------------------------------------------------------
--
+-------------------------+
| Anthony Cuffe |
| voice : 757 269-6213 |
| e-mail : cuffe at jlab.org |
+-------------------------+
More information about the Ace
mailing list