Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I search the NetDevice database?

database search
0
Posted

How do I search the NetDevice database?

0

The NetDevice database may be searched bu using the hashpmfetch utility in the mil:/opt/net/devices/directory. For example: /opt/net/devices$ hashpmfetch -h usage: hashpmfetch [ -h ] [ -d delim ] file.pm … -h – shows this usage information (mnemonic: ‘h’elp) To search for IP addresses of ATM switches, you might do this: /opt/net/devices$ hashpmfetch -k ip A*.pm Aag.oobmanagement.ip = 128.104.31.82 Aanimal.sub-switch.1.oobmanagement.ip = 128.104.31.34 Aanimal.sub-switch.2.oobmanagement.ip = 128.104.31.35 … To search for descriptions that mention DoIT, you might do this: /opt/net/devices$ hashpmfetch -p desc *.pm |grep DoIT Ab380.slots.A.ports.2.description = DoIT LANE Router Ewarf.slots.2.ports.2.interfaces.140.1.description = DoIT 6th Floor Rmacc.slots.E0.ports.0.interfaces.7.0.description = DoIT Supercomputer Rmacc.slots.E0.ports.2.interfaces.88.0.description = DoIT SERVICES Rmacc.slots.E1.ports.5.interfaces.58.1.description = DoIT Servers Rmacc.slots.E9.ports.0.interfaces.30.desc

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123