[Ace] Network Info Script

Brad Cumbia cumbia at jlab.org
Fri Apr 13 21:16:00 EDT 2012


That's pretty awesome. Yes u can add the vlan info. It would be a big help

Brad

Brad Cumbia

On Apr 13, 2012, at 2:42 PM, Anthony Cuffe <cuffe at jlab.org> wrote:

> 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