This is probably really basic compared to what you guys are usually talking about here, but I have a problem and I have no idea what to do about it. I try to RSH to my Ubuntu computer from my Solaris one and run into a dead end:
This is within an internal network, not over the internet. And I'm sure that 192.168.1.103 is the correct IP address. I am able to RSH to other computers running Solaris, just not this one Ubuntu one. What should I do?
*** EDIT ***
I almost forgot, I'm able to RSH from Ubuntu to Solaris, but not the other way around. If that matters.
Hi all,
I have a file on a remote machine and I want to do a cut operation on that file.
So, I have been doing
rsh <remote> " cut -d " " -f 2 <filename> "
cut: invalid delimiter
But, when I get the file to the local machine and run the same command, I get... (1 Reply)
Hi,
I want to do a awk operation on a file on a remote machine.
I am using rsh for this.
rsh <remote> awk '{print $2}' process.txt
output:
awk: syntax error near line 1
awk:illegal statement near line 1
I can do the awk operation by logging into the remote machine.
Can... (1 Reply)
hi,
I have some windows client machines which require a signal to be sent by a Solaris machine( SunOS 5.6) when ever a particular event occurs on that Solaris machine. What are possible communication mechanisms by which i can do this.
the constraints are
> the windows machines have to... (7 Replies)
I have to work with NS2 (Network Simulator)and i have to install it beforeusing it on Manets Simulations.
Can some one Help me on this topic?
Thank's (1 Reply)
Hi All,
URGENT - Please help me form a scipt for this:
I need the LATEST file from a dir on REMOTE machine to be SCP'd to a dir on local machine. (and I need to execute this from local server)
I know that the below cmd is used to find the LATEST file from a dir. But this command is not... (3 Replies)
Hi,
I want to rsh to other machine & run a script, but it is nt working
eg:
rsh host command
but after this it doesn't login into that machine & run the command on y machine
but if i write rsh host
then after loggi i write commands it works. Is i am doing something wrong. I jus need... (2 Replies)
Hi All..
Am new to Unix!!
Am creating a shell script in which a scenario is like i have transfer the output file from unix machine (Server) to local directory (Windows xp).
And also i have to transfer the input file from the local directory to Unix machine (Server)
Any help from you... (1 Reply)
Hi,
Could you please help me with the below issue..
I'm running RHEL6 OS on both server (192.168.0.10) and client machines (192.168.0.1).
I'm trying to connect to server from the client machine using ftp service.
I have installed vsftpd daemon on both the machines.
I'm getting... (4 Replies)
Discussion started by: raosr020
4 Replies
LEARN ABOUT DEBIAN
cisco_ios2dlf
CISCO_IOS2DLF.IN(1) LogReport's Lire Documentation CISCO_IOS2DLF.IN(1)NAME
cisco_ios2dlf - convert cisco logs to dlf format
SYNOPSIS
cisco_ios2dlf
DESCRIPTION
This script expects syslog-type logs from a CISCO IOS router on stdin. These look like e.g.
Jul 3 00:00:39 router 40108: 4d09h: %SEC-6-IPACCESSLOGP:
list FR_VA_in permitted udp 192.168.19.1(137) (Serial0/0.2 DLCI 120)
-> 192.168.19.255(137), 2 packets
Jul 3 00:02:39 router 40109: 4d09h: %SEC-6-IPACCESSLOGP: list FR_VA_in
permitted udp 192.168.80.42(138) (Serial0/0.2 DLCI 120) ->
192.60.60.148(138), 1 packet
Jul 3 00:02:39 router 40110: 4d09h: %SEC-6-IPACCESSLOGDP: list FR_VA_in
permitted icmp 192.168.80.82 (Serial0/0.2 DLCI 120) -> 149.1.1.1 (8/0),
1 packet
or
Aug 19 04:02:34 gateway.foo.bar 218963: Aug 19 04:02:32.977:
%LINEPROTO-5-UPDOWN: Line protocol on Interface BRI0:1, changed state
to down
Aug 19 04:02:34 gateway.foo.bar 218964: Aug 19 04:02:33.262:
%ISDN-6-DISCONNECT: Interface BRI0:1 disconnected from 172605440 acme,
call lasted 42 seconds
Aug 19 04:02:35 gateway.foo.bar 218965: Aug 19 04:02:33.266:
%LINK-3-UPDOWN: Interface BRI0:1, changed state to down
Aug 19 04:02:38 gateway.foo.bar 218966: Aug 19 04:02:36.103:
%SEC-6-IPACCESSLOGP: list 102 denied tcp 100.198.139.148(4652) ->
100.193.176.49(80), 1 packet
Aug 19 04:02:45 gateway.foo.bar 218967: Aug 19 04:02:43.543:
%ISDN-6-LAYER2DOWN: Layer 2 for Interface BR0, TEI 86 changed to down
Aug 19 04:02:53 gateway.foo.bar 218968: Aug 19 04:02:51.471:
%SEC-6-IPACCESSLOGP: list 102 denied tcp 100.74.103.1(2162) ->
100.193.176.98(80), 1 packet
The outputted dlf files look like:
994118619 permitted icmp 192.168.80.9 - Serial0/0.2 DLCI_120
192.168.19.1 - 1
994118619 permitted udp 192.168.19.1 138 Serial0/0.2 DLCI_120
192.168.19.255 138 1
EXAMPLES
To process a log as produced by Cisco IOS:
$ cisco_ios2dlf < cisco.log
cisco_ios2dlf will be rarely used on its own, but is more likely called by lr_log2report:
$ lr_log2report cisco_ios < /var/log/cisco.log
AUTHORS
Francis J. Lacoste based on initial code by Joost Bekkers <joost@jodocus.org>
VERSION
$Id: cisco_ios2dlf.in,v 1.8 2006/07/23 13:16:35 vanbaal Exp $
COPYRIGHT
Copyright (C) 2001 Joost Bekkers <joost@jodocus.org> Copyright (C) 2002 Stichting LogReport Foundation <logreport@logreport.org>
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program (see COPYING); if not, check with
http://www.gnu.org/copyleft/gpl.html.
Lire 2.1.1 2006-07-23 CISCO_IOS2DLF.IN(1)