02-07-2006 08:23 AM
Hi, whenever I try to FTP the mibs from the /mibs directory on the GSS I am unable too.
When I connect I am put in the /home directory and cannot seem to change directory to /mibs ?
I aslo cannot find the mibs on cisco.com.
Has anyone been able to do this, the cisco website suggests that we can ftp the mibs to another location.
cheers,
Mike
02-08-2006 02:56 AM
Mike,
here is how I did it
Moe.GSS1.com>cd /mibs
Moe.GSS1.com>ls
AGENTX-MIB.txt
DISMAN-SCHEDULE-MIB.txt
DISMAN-SCRIPT-MIB.txt
...
Moe.GSS1.com#ftp 10.86.213.27
Connected to 10.86.213.27 (10.86.213.27).
220 Welcome to Linux1 FTP service.
Name (10.86.213.27:root): cisco
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> hash
Hash mark printing on (1024 bytes/hash mark).
ftp> ascii
200 Switching to ASCII mode.
ftp> put AGENTX-MIB.txt
local: AGENTX-MIB.txt remote: AGENTX-MIB.txt
227 Entering Passive Mode (10,86,213,27,123,194)
150 Ok to send data.
##################
226 File receive OK.
17982 bytes sent in 0.00207 secs (8.5e+03 Kbytes/sec)
ftp> mput *
mput AGENTX-MIB.txt? y
227 Entering Passive Mode (10,86,213,27,49,198)
150 Ok to send data.
##################
226 File receive OK.
17982 bytes sent in 0.00221 secs (7.9e+03 Kbytes/sec)
Moe.GSS1.com#CHEDULE-MIB.txt?
...
Regards,
Gilles.
02-08-2006 03:12 AM
Gilles, this is what I see.
It mentions that there is no such local file or directory which makes me suspect something on the GSS is wrong/misconfigured ?
GS001#cd /mibs
GS001#ls
AGENTX-MIB.txt
DISMAN-SCHEDULE-MIB.txt
etc
etc
etc
GS001# ftp x.x.x.x
Connected to x.x.x.x.
220-
FTP server (Version 1.1.214.8 Fri Apr 20 07:27:42 GMT 2001) ready.
Name (x.x.x.x):
331 Password required for
Password:
230 User
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> hash
Hash mark printing on (1024 bytes/hash mark).
ftp> ascii
200 Type set to A.
ftp> put AGENT-MIB.txt
local: AGENT-MIB.txt remote: AGENT-MIB.txt
local: AGENT-MIB.txt: No such file or directory
02-08-2006 05:09 AM
what about a 'mput *'.
Does it work ?
Gilles.
02-08-2006 06:27 AM
No, I do get the option to 'put' some files but it is not the files in the /mibs directory. It is the files in the /home directory.
Even though I issued the cd /mibs command successfully at the CLI ?
When I try to change directory to /mibs from the ftp prompt it does not work
ftp> mput *
mput etc? n
mput gss-1.2.2.0.3-k9.upg? n
mput gss-1.2.2.1.3-k9.upg? n
mput gssmfullbk.full? n
mput lib? n
mput proximitySchema.xsd? n
mput stickySchema.xsd? n
mput tmp? n
mput usr? n
mput validation.log? n
ftp> lcd /mibs
local: /mibs: No such file or directory
ftp> lcd ../
Local directory now /
ftp> lcd /mibs
local: /mibs: No such file or directory
ftp> lcd mibs
local: mibs: No such file or directory
ftp>
"
GS001#cd /home
GS001#ls
gss-1.2.2.0.3-k9.upg
gss-1.2.2.1.3-k9.upg
gssmfullbk.full
proximitySchema.xsd
stickySchema.xsd
validation.log
"
02-08-2006 01:59 PM
Mike,
what GSS version are you using ?
I used 1.2.2
Gilles.
02-08-2006 11:30 PM
Hi Gilles,
Yes, we are using 1.2(2.1.3)
cheers,
Mike
02-08-2006 07:34 AM
Michael,
I'm assuming you did a cut-and-paste of your FTP session. If so, you are missing the 'X' in AGENTX-MIB.txt. Just an observation.
Jim
02-08-2006 11:32 PM
Hi Jim,
Thanks for your comments. Just retried with the missing X and same result :o(
ftp> put AGENTX-MIB.txt
local: AGENTX-MIB.txt remote: AGENTX-MIB.txt
local: AGENTX-MIB.txt: No such file or directory
02-10-2006 07:46 PM
In an earlier post you state that you tried to "lcd /mibs". That changes directory on the client end, not the GSS. You should be entering "cd /mibs" or "cd mibs" to change directory on the GSS.
Try that to see if you get better results.
Todd
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide