Skip to content

gnng - wrong display with various options #257

@ghost

Description

1. Issue#1 - wrong display with multiple router output:

ubuntu@ubuntu-VirtualBox:~/MyFiles/Bonuses/Bonus#07$ gnng --all
DEVICE: 172.16.1.100
DEVICE: 172.16.1.101
DEVICE: 172.16.1.2
Interface       | Addresses    | Subnets       | ACLs IN | ACLs OUT | Description
---------------------------------------------------------------------------------
FastEthernet0/0 | 172.16.1.101 | 172.16.1.0/24 |         |          |            

Interface       | Addresses    | Subnets       | ACLs IN | ACLs OUT | Description
---------------------------------------------------------------------------------
FastEthernet0/0 | 172.16.1.100 | 172.16.1.0/24 |         |          |            

Interface       | Addresses  | Subnets       | ACLs IN | ACLs OUT | Description
-------------------------------------------------------------------------------
FastEthernet0/0 | 172.16.1.2 | 172.16.1.0/24 |         |          |    

2. Issue#2 - no output is displayed when doing this:

gnng --filter-on-type='ROUTER'
Usage: gnng [options] [routers]

GetNets-NG  Fetches interface information from routing and firewall devices.
This includes network and IP information along with the inbound and outbound
filters that may be applied to the interface. Skips un-numbered and disabled
interfaces by default. Works on Cisco, Foundry, Juniper, and NetScreen

This should not need an IP address or name to execute. It should execute gnng on all routers in netdevices.

3. Issue#3 - no output is displayed when doing this:

gnng -N
Usage: gnng [options] [routers]

GetNets-NG  Fetches interface information from routing and firewall devices.
This includes network and IP information along with the inbound and outbound
filters that may be applied to the interface. Skips un-numbered and disabled
interfaces by default. Works on Cisco, Foundry, Juniper, and NetScreen

This should not need an IP address or name to execute. It should execute gnng on all routers in netdevices.

4. Issue#4 - option -d does not display administratively down interfaces (Cisco router)

ubuntu@ubuntu-VirtualBox:~/MyFiles/Bonuses/Bonus#07$ gnng -d 172.16.1.2
DEVICE: 172.16.1.2
Interface       | Addresses  | Subnets       | ACLs IN | ACLs OUT | Description
-------------------------------------------------------------------------------
FastEthernet0/0 | 172.16.1.2 | 172.16.1.0/24 |         |          |        

5. Issue#5 - interface description is not shown:

Router config:

interface FastEthernet0/0
 description TO_UBUNTU_VM
 ip address 172.16.1.100 255.255.255.0
gnng 172.16.1.100
DEVICE: 172.16.1.100
Interface       | Addresses    | Subnets       | ACLs IN | ACLs OUT | Description
---------------------------------------------------------------------------------
FastEthernet0/0 | 172.16.1.100 | 172.16.1.0/24 |         |          | 

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions