I try to delete the route on one of the server
But I am not able to do it
its show the error
If I add the route also its shows the error message
But still its there in netstat -rn
Solaris 8 server
what was the issue here. How to resolve the same
Last edited by joeyg; 05-21-2012 at 11:56 AM..
Reason: Please use CodeTags with scripts, commands, data
I need to delete a file located at some other Unix server. Can it be done in a Shell script where I pass it the login and password and it should not prompt me for the same?
and it should not prompt me for the same?
thanks
dharmesh (1 Reply)
Hi Guys,
I am currently working on a script to find all the files that have not been accessed for the past 2 years. This, i guess has been discussed n number of times in this forum. Now, my requirement is to find all the files in the remote windows server. I have it mounted in unix.
I... (1 Reply)
I'm trying to use my Gentoo Linux home workstation for connecting to a Windows RAS callback server through analogic telephone line (PSTN).
I'm using pppd and successfully configured pppd's options and chat files, both for the outgoing call and for receiving the incoming callback. All seems going... (20 Replies)
how r u all,
i have AIX server which is kerberised, and i create a user on it called "sam"
when i want to assign a password for it i typed smit user then i choosed change password and i choosed the user " sam" when i press enter this message ' user 'sam' doesnt exist" appears.
then when i want... (2 Replies)
Hi
I just started learning Unix scripts.
I need to access an FTP server, delete all the files except the latest 6 files and the latest 6 files should be downloaded to my local server. Could some body help me to code this logic in KSH ?
Thanks
Athena (1 Reply)
Hi,
I am involved in a project on Debian. One of my requirement is to route an IP packet in my application to a proxy server and receive the reply from the proxy server as an IP packet. My application handles data at the IP frame level. My application creates an IP packet(with all the necessary... (0 Replies)
Hi guys,
sorry for asking noob question.
When do we really need to add a static route on the server?
I encounter this situation whereby a client trigger a network packet to the destination but the destination does not know how to return the traffic back to the client (source).
The issue was... (4 Replies)
Just want to know if someone has a clue about what could be happening here:
I have an AIX box with four NICs in Ether channel connected to a Cisco Switch.
When I try to ping the default gateway, sometimes it works, but sometimes it doesn't work unless it has a defined static route.
Thanks... (1 Reply)
Hi All,
Let me know how can i find and delete files from one unix server to another unix server which are 'N' days older.
Please note that I need to delete files on remote unix server.So, probably i will need to use sftp, but question is how can i identify files and folders which are 'N'... (2 Replies)
Solaris 10
I am trying to delete a route using the command:
route -p delete 192.0.0.0 192.1.3.254
The route gets delete but for some reason the route pops back up in the routing table after reboot. I also deleted the /etc/inet/static_routes file and the route still persists after reboot.... (6 Replies)
Discussion started by: jastanle84
6 Replies
LEARN ABOUT NETBSD
pvctxctl
PVCTXCTL(8) BSD System Manager's Manual PVCTXCTL(8)NAME
pvctxctl -- display or control ATM PVC transmitter parameters
SYNOPSIS
pvctxctl interface [[vpi:]vci]
pvctxctl interface [vpi:]vci [-n] [-b max-bandwidth] [-j [vpi:]vci] [-p pcr]
DESCRIPTION
pvctxctl displays or controls the shaper parameters of an ATM VC. When a shaper value is specified, pvctxctl sets a shaper to an ATM VC.
pvctxctl works for a PVC sub interface pvc(4) as well as a real ATM interface en(4).
For a real ATM interface, the specified VC should be assigned beforehand by route(8).
For a sub interface, pvctxctl assigns the specified VC to the sub interface. If another VC is already assigned to the sub interface, the old
VC is invalidated.
Availability of shapers, the number of hardware shaper channels, and accuracy of shaping are all device dependent. For example, ENI Midway
chip has 8 shaper channels but the driver reserves one for non-shaping VCs.
The options are as follows:
interface The interface parameter is a string of the form ``name unit'', for example, ``en0''.
[vpi:]vci The VC number to which the shaper is assigned. When the VPI number is omitted, VPI number 0 is assumed. For example, to assign
a shaper to VPI=0 and VCI=201, the following forms can be used: "201", "0xc9", "0:201", "0:0xc9".
-b max-bandwidth
The PCR parameter can be specified also in ``bits per second''. The rate is the rate of AAL5 frame and the PCR is calculated by
the following form:
PCR = max-bandwidth / 8 / 48
``K'' and ``M'' can be used as a short hand of ``000'' and ``000000'' respectively. For example, ``45M'' means ``45Mbps'' or PCR
value ``117187''.
-j [vpi:]vci
The join parameter is intended for VP shaping. The VC shaper channel is shared with the existing VC, which means the sum of the
cell rates never exceeds the maximum PCR among the shared VCs. On the other hand, when the shaper channel is not shared, the sum
of the cell rates could be the sum of the PCRs.
For example, if two VCs (say 201 and 202) share a 45Mbps VP, use:
# pvctxctl en0 201 -b 45M
# pvctxctl en0 202 -b 45M -j 201
-n This parameter is only for a sub interface. Use NULL encapsulation instead of LLC/SNAP.
-p pcr The PCR (Peak Cell Rate) parameter specifies the peak cell rate in "cells per second". If PCR value "0" is specified, no shaper
is assigned, which means cells are sent at full-speed of the link. If PCR value ``-1'' is specified, the corresponding VC is
invalidated.
SEE ALSO en(4), ifconfig(8), pvcsif(8), route(8)BUGS
A real ATM interface and a sub interface require different sequences to set a shaper. For example, to assign a 45Mbps shaper to VC 201
(0xc9) of en0:
# ifconfig en0 10.0.0.1
# route add -iface 10.0.0.2 -link en0:3.0.0.c9
# pvctxctl en0 0xc9 -b 45M
For a shadow interface,
# pvcsif en0 # creates pvc0
# ifconfig pvc0 10.0.0.1 10.0.0.2
# pvctxctl pvc0 201 -b 45M
BSD December 29, 1997 BSD