Sponsored Content
Top Forums Shell Programming and Scripting Ssh to validate multiple remote hosts connection validation. Post 303013266 by sadique.manzar on Monday 19th of February 2018 03:24:04 AM
Old 02-19-2018
It is not working,
not reading all the ips and ports.
Kindly guide.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Remote Connection (SSH)

Hello all, I connect usually to one enviornment "dev" daily and then ftp some files to some other enviorment "uat" and then login to "uat" and run some scripts to process these files. I was thinking to automate the process, where running one script from "dev" will complete all task required... (11 Replies)
Discussion started by: RishiPahuja
11 Replies

2. Shell Programming and Scripting

Remote SSH Connection Using Script

Hi, I am new to Shell Scripting. Can anybody help me in writing a Script Which Could Login from a Unix box to a Remote Unix box which accepts the user credentials automatically and display the result for checking the Disk Space Utilisation (Without running any SSH agent). (1 Reply)
Discussion started by: ajith_tg
1 Replies

3. Shell Programming and Scripting

Logon to multiple hosts using ssh hardcode password

Hi im trying to write a script to logon to list of servers with same userID. I have no option/plan to implement ssh-keygen sharing between the systems, so i have written script creating 2 files, file1 holds list of hosts host1 host2 host3 file2 has following script for i in `cat file1`... (1 Reply)
Discussion started by: dreamaix
1 Replies

4. Shell Programming and Scripting

Running a script on multiple remote hosts at once

I have a script on about 15 hosts that I need to run for each host whenever I want (not crontab). Problem is, this script takes 5-10 mins to run for each host. Is there a way I can run the script in parallel for all the hosts instead of 1 at a time? Also, I'm remotely running the script on the... (3 Replies)
Discussion started by: mrskittles99
3 Replies

5. Shell Programming and Scripting

SSH to remote hosts in shell scripting

Hi There, I have a file contaning some 100 servers names one by one the file called redhat_servers.txt I want to prepare a script where it should give me the host name and kernal version. I wrote like this, #!/bin/bash while read line do ssh $line "uname -nr" done <... (3 Replies)
Discussion started by: kumar85shiv
3 Replies

6. UNIX for Dummies Questions & Answers

How to search using ssh on multiple hosts?

Hi guys - I am having a hard time trying to figure how to search for a certain string on config files hosted on multiple hosts. This is an example: Hostnames: myhost1.mycompany.com|myhost2.mycompany.com|myhost3.mycompany.com String to search for: myipaddress.somehost.com Directory... (9 Replies)
Discussion started by: DallasT
9 Replies

7. Shell Programming and Scripting

Ssh to multiple hosts and then run multiple for loops under remote session

Hello, I am trying to login to multiple servers and i have to run multiple loops to gather some details..Could you please help me out. I am specifically facing issues while running for loops. I have to run multiple for loops in else condition. but the below code is giving errors in for... (2 Replies)
Discussion started by: mohit_vardhani
2 Replies

8. UNIX for Beginners Questions & Answers

Ssh script to validate ssh connection to multiple serves with status

Hi, I want to validate ssh connection one after one for multiple servers..... password less keys already setup but now i want to validate if ssh is working fine or not... I have .sh script like below and i have servers.txt contains all the list of servers #/bin/bash for host in $(cat... (3 Replies)
Discussion started by: sreeram4
3 Replies

9. Shell Programming and Scripting

Grep remote multiple hosts output to local server

Hello all, i'm trying to create a report by greping a pattern on multiple remote hosts and creta a simple report, actually i did this, is ther any better way to do this. #!/bin/bash for host in `cat RemoteHosts` do ssh $host -C 'hostname 2>&1; grep ERROR /var/log/WebServer.log.2019-09-21... (0 Replies)
Discussion started by: charli1
0 Replies

10. Shell Programming and Scripting

awk remote multiple hosts print remote hostname and output

Hi all, i'm trying to gether multiple pattern on remote hosts, and trying to print hostname and the pattern, ssh remoteserver1 -C 'hostname 2>&1;cat /var/log/server1.log | awk -F ";" '"'"'{ print " "$2" "$5}'"'"'| sort | uniq -c | sort -g -r ' The output is the following, remoteserver1 ... (8 Replies)
Discussion started by: charli1
8 Replies
atmifmp(8)						      System Manager's Manual							atmifmp(8)

NAME
atmifmp - Configures the ATM subsystem for switching IP traffic only SYNOPSIS
/usr/sbin/atmifmp command arguments Arguments can appear in any order after the command. All required arguments must be specified. OPTIONS
This section is organized by the tasks you can perform with the atmifmp command. Each task subsection provides the atmifmp command syntax and the options to use to complete the tasks. Enabling IP Switching Syntax: /usr/sbin/atmifmp attach ips=num driver=name [snapvci=vci] [rxmin=vci] [rxmax=vci] [txmin=vci] [txmax=vci] Creates a point-to-point, multicast-capable virtual interface on a driver as specified in the next two arguments. If the virtual interface already exists but is not currently attached (because it was previously attached and detached), the command creates an association between the virtual interface and the specified driver. The attach command also configures the Virtual Circuit Identifier (VCI) ranges available to the IP switching module (VPI 0 is assumed). VCs used by the IP switching module are unidirectional. After the ips interface is attached, you must configure the interface using the ifconfig(8) command, specifying the source address of the host and destination address of the IP switch or another host associated with the point-to-point interface. Specifies the ips interface number to create. Specifies the ATM driver associated with the virtual interface. Specifies the VCI number that Ipsilon Flow Management Protocol (IFMP) uses as the default SNAP VCI. The default VCI is 15. This number must match the VCI number used by IFMP on the destination host or switch associated with the point-to-point interface. Specifies the smallest VCI number that can be used for receiving IP switching traffic. The default value is the driver's minimum VCI value. Specifies the largest VCI num- ber that can be used for receiving IP switching traffic. The default value is the driver's maximum VCI value. Specifies the small- est VCI number that can be used for transmitting IP switching traffic. The default value is the driver's minimum VCI value. Speci- fies the largest VCI number that can be used for transmitting IP switching traffic. The default value is the driver's maximum VCI value. Disabling IP Switching Syntax: /usr/sbin/atmifmp detach ips=num Disassociates the virtual interface, ipsnum, from the driver to which it was previously attached. Prior to detaching the interface, you must delete the ips interface's address and bring down the the ips interface using the ifconfig(8) command. Specifies the ips interface. Displaying IP Switching Configuration Syntax: atmifmp showips [ips=num] Displays the state of all ips interfaces, unless an interface is specified by the next argument. Information displayed includes the inter- face attachment state, the driver to which the interface is attached, the default SNAP VC, the interface and driver receive/transmit/mini- mum/maximum VC ranges, and IFMP and Flow configuration information. Specifies the ips interface. Displaying or Clearing IP Switching Statistics Syntax: /usr/sbin/atmifmp stats [ips=num] [clear] Displays the flow and IFMP statistics for all ips interfaces, unless an interface is specified by the next argument. Specifies the ips interface. Zeros the flow and IFMP statistics for all ips interfaces, unless an interface is specified. Statistics are displayed after they are cleared. Displaying IP Switching Flow Information Syntax: /usr/sbin/atmifmp flows [ips=num] [long] Displays flows created by the IP switching module on all interfaces, unless an interface is specified by the next argument. Information displayed for each flow includes the Flow ID, the transmit or receive VC associated with the Flow, the Flow Type, the number of packets sent or received, and VC aging information. Specifies the ips interface. Displays additional information about each flow, such as the information encoded in the Flow ID. DESCRIPTION
The atmifmp command enables and disables IP switching on a Tru64 UNIX end system that has an attached ATMworks ATM adapter. The IP switch- ing architecture is based on the Ipsilon Networks, Inc. reference model, and enables you to configure the Tru64 UNIX ATM subsystem to sup- port only IP traffic over an ATM network. The IFMP protocol associates an ATM virtual circuit with an IP data flow. RESTRICTIONS
If an ips interface is attached to a specific ATM adapter on your system, you cannot use that adapter to run ATM Forum protocols (UNI sig- naling, Classical IP, or Local Area Network Emulation (LANE)). Multiple adapters are required. SEE ALSO
Commands: atmconfig(8) Files: atm.conf(4) RFC 1953, Ipsilon Flow Management Protocol Specification for IPv4 V 1.0 RFC 1954, Transmission of Flow Labeled IPv4 on ATM Data Links, Ipsilon Version 1.0 atmifmp(8)
All times are GMT -4. The time now is 07:29 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy