Log in to ask questions, share your expertise, or stay connected to content you value. Don’t have a login? Learn how to become a member.
Source Code and GitHub Links The source code below is also available from the following GitHub locations: find-ip in Junoscriptorium on GitHub Example Output SLAX Script Contents XML Script Contents Example Output 01 admin@geri> show arp no-resolve 02 MAC Address Address Interface Flags 03 00:1c:c0:61:56:e1 10.128.10.2 vlan.0 none 04 06:0c:c3:50:3f:5e 10.128.10.5 vlan.0 none 05 06 admin@geri> show ethernet-switching table 07 Ethernet-switching table: 5 entries, 3 learned 08 VLAN MAC address Type Age Interfaces 09 default * Flood - All-members 10 default 00:0c:c3:50:3f:5e Learn 0 ge-0/0/1.0 11 default 00:1c:c0:61:56:e1 Learn 0 ge-0/0/0.0 12 default 00:26:88:06:85:c8 Static - Router 13 default 06:0c:c3:50:3f:5e Learn 0 ge-0/0/1.0 14 15 From these you can see that 10.128.10.5 (06:0c:c3:50:3f:5e) is in ge-0/0/1.0 and 10.128.10.2 (00:1c:c0:61:56:e1) is in ge-0/0/0.0 16 17 This find-ip op-script will enable you to quickly show the above mapping
2 attachments
See matching library entry files - Working config on Linux -bash-4.1$ ifconfig eth0...
See matching posts in thread - Maybe I'm just using them wrong, but here's my c...