How can I run this command across multiple Juniper interfaces?

I am trying to find all the Avaya VOIP phone serial numbers on our network.  All the phones are 1608i & 1616 models.  All our network devices are Juniper.  We have EX2200 & EX3200 switches and SRX Firewalls.

The following command works, but it would be too time intensive to run this one command for each of 48 interfaces on 70 network devices.  Is there an easier way?  Or some way to get one command to list out all my serial numbers?

> show lldp neighbors interface ge-0/0/36.0 | match Serial
AvatharVAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Kamran ArshadConnect With a Mentor IT AssociateCommented:
Hi,

Why don't you use a Network Discovery application which shows you the serial numbers of devices as well. Also using SNMP browser you can query using SNMP Walk.
0
 
Lee W, MVPTechnology and Business Process AdvisorCommented:
Sorry, not familiar with your devices and you don't specify how you're interfacing with them.  If it's via Telnet or SSH you can use a scripting tool - the Telnet Scripting Tool (TST) is free (google it) and there's another tool that supports Telnet and SSH but is not free.  (A colleague of mine likes to boast how he had something like 50 different Cisco routers to update and was given 3 months to complete the job, but used the TST to get it done in about half an hour.
0
 
charles abtrimtechnical consultantCommented:
One option is to use Juniper Virtual Chassis which will allow you to do this.
0
SMB Security Just Got a Layer Stronger

WatchGuard acquires Percipient Networks to extend protection to the DNS layer, further increasing the value of Total Security Suite.  Learn more about what this means for you and how you can improve your security with WatchGuard today!

 
AvatharVAuthor Commented:
We SSH directly into each device.  

I don't believe I can run any scripts directly on the devices (much like when you console into a Cisco switch).  But, Juniper devices are linux based (underlying OS), so it might be possible. I am just not aware of how.

We use SecureCRT and there is a script recording feature that seems to partially work.  It only wants to accept 12 lines at a time.. which means I would have to run 4 different partial scripts.
0
 
AvatharVAuthor Commented:
How can this be accomplished with Virtual Chassis?  

As far as I am aware, Virtual Chassis is only on our EX4200s, which is 2 of 70 devices.
0
 
charles abtrimtechnical consultantCommented:
I am pretty sure its a feature available on the ex2200 now,  In the beginning of the EX  I would agree however a lot has changed since then.  Here's a How-to on ex2200 vc.  I am not sure if there is an option for multiple chassis in on VC though.  4200 3200 2200.
0
All Courses

From novice to tech pro — start learning today.