Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 162
  • Last Modified:

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
0
AvatharV
Asked:
AvatharV
1 Solution
 
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 abtrimCommented:
One option is to use Juniper Virtual Chassis which will allow you to do this.
0
 
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
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
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 abtrimCommented:
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
 
Kamran ArshadCommented:
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

Featured Post

Cyber Threats to Small Businesses (Part 1)

This past May, Webroot surveyed more than 600 IT decision-makers at medium-sized companies to see how these small businesses perceived new threats facing their organizations.  Read what Webroot CISO, Gary Hayslip, has to say about the survey in part 1 of this 2-part blog series.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now