getvswif.pl

Version 1

    Retrieve the vswif interface information from classic ESX hosts using vSphere SDK for Perl or using vMA.

     

    Please down the script here

     

    Requirements

     

    Sample Execution

     

    [vi-admin@scofield scripts]$ ./getvswif.pl --server himalaya.primp-industries.com --username root
    
    VSWIF          | PORTGROUP              | IP                | NETMASK           | MAC
    -----------------------------------------------------------------------------------------------------------
    vswif0         | SC.NCXXX               | 172.30.0.X       | 255.255.255.0     | 00:50:56:45:XX:XX
    -----------------------------------------------------------------------------------------------------------
    vswif1         | SC.NCXXXX              | 172.51.0.X       | 255.255.255.0     | 00:50:56:47:XX:XX
    -----------------------------------------------------------------------------------------------------------