10 More Discussions You Might Find Interesting
1. Solaris
Hi,
I have a Solaris 10 zone which I need to configure on a new network. I have configured the new IP on the zone itself and I can ping the interface from a node on the same network, but not from another network. Basically I need to know how to route the traffic from the zone to it's... (3 Replies)
Discussion started by: sparcman
3 Replies
2. Solaris
Hi,
I have installed Solaris 10 on VMware7, When i used ifconfig -a to check network interface, it has shown lo0 as loopback interface.
Please advise how to configure network interfaces using VMware. (1 Reply)
Discussion started by: ajhal04
1 Replies
3. Solaris
i need to configure a zone to use different interface (bge2) than global and have connected to completely different network switch & to use its own defaultrouter and hosts file .. is it possible ..if so ..how ?
Thanks (9 Replies)
Discussion started by: skamal4u
9 Replies
4. Emergency UNIX and Linux Support
Hi all
We have squid-2.5.STABLE11-3.FC4 running in our environment.
LDAP authentication works fine. Active Directory 2003 Users are prompted to enter credentials every time they access the net. The system works perfectly, but I need to configure Squid to block users in a specific AD group.... (1 Reply)
Discussion started by: wbdevilliers
1 Replies
5. Emergency UNIX and Linux Support
I am writing a shell script which needs to connect to a remote internet ftp site over sftp. The problem is that the Red Hat Linux system on which the script will be executed resides behind a web/internet proxy. How can the standard sftp client which is bundled with Red Hat Linux distributions be... (2 Replies)
Discussion started by: toobrown1
2 Replies
6. Solaris
HI,
Is it possible to set up ILOM from the ethernet terminal. I 'm at remote location from server so would like to know if i can configure it remotely
I'm able to access my server via ssh terminal. (3 Replies)
Discussion started by: fugitive
3 Replies
7. Solaris
Hi..i have installed solaris 10 on vmware. I m not able connect to internet.
pls help in detail. how to solve the problem. During the installation i have put no DHCP. cofigured manually ( Ip 192.168.1.9) default gateway 192.168.1.1 . (3 Replies)
Discussion started by: johnavery
3 Replies
8. Red Hat
Hi
I have installed Red hat linux 4 Enterprise edition
But im not able to find the option where i can configure my broad band internet connectivity? Im using a ADSL connection
Please help me (1 Reply)
Discussion started by: balumankala
1 Replies
9. HP-UX
Hi
I'm new about UNIX, but I've to use a HP9000 with HP-UX 10.20 workstation. I'm trying to configure the network, I've configured the file /etc/rc.conf.d/netconf with my IP address and the right gateway, so the HP9000 is on the net, I've tried a ping. But now I've a problem I can't start hte CDE,... (4 Replies)
Discussion started by: gofmass
4 Replies
10. SCO
i m using SCO unix openserver 5.0.... on my client machine. i have assign static IP to it and can ping the server. but now i want to connect internet on it through LAN , don't know how to do that?/
like in redhat linux we add dns or gatway entry to the /etc/resolv.conf don't know about SCO unix... (2 Replies)
Discussion started by: alamlinux
2 Replies
snmptranslate(1m) snmptranslate(1m)
NAME
snmptranslate - translate SNMP OID values into a more useful form
SYNOPSIS
/usr/sfw/bin/snmptranslate [-D token...] [-h] [-m miblist] [-M dirlist] [-T transopts] [common options] OID [OID...]
snmptranslate is an application that translates one or more SNMP object identifier values from their symbolic (text) forms into their
numerical forms or vice-versa.
OID is either a numeric or text object identifier.
The following options are supported:
-D token[,...]
Turn on debugging output for the specified token(s). Use ALL for extremely verbose output.
-h
Display a brief usage message and then exit.
-m miblist
Specifies a colon-separated list of MIB modules to load for this application. This overrides the environment variable MIBS.
The special keyword ALL is used to specify all modules in all directories when searching for MIB files. Every file whose name does not
begin with "." is parsed as if it were a MIB file.
-M dirlist
Specifies a colon-separated list of directories to search for MIBs. This overrides the environment variable MIBDIRS.
-T transopts
Provides control over the translation of the OID values. The following transopts are available:
-Td Display full details of the specified OID.
-Tp Display a graphical tree, rooted at the specified OID.
-Ta Dump the loaded MIB in a trivial form.
-Tl Dump a labeled form of all objects.
-To Dump a numeric form of all objects.
-Ts Dump a symbolic form of all objects.
-Tt Dump a tree form of the loaded MIBs (mostly useful for debugging).
-V Display version information for the application and then exit.
-w width Specifies the width of -Tp and -Td output. The default is very large.
In addition to the preceding options, snmptranslate takes the OID input (-I), MIB parsing (-M) and OID output (-O) options described in the
INPUT OPTIONS, MIB PARSING OPTIONS and OUTPUT OPTIONS sections of snmpcmd(1M).
Example 1: Expanding sysDescr
The following command translates sysDescr to a more qualified form:
% snmptranslate -On -IR sysDescr
.1.3.6.1.2.1.1.1
The following command does further translation of sysDescr:
% snmptranslate -Onf -IR sysDescr
.iso.org.dod.internet.mgmt.mib-2.system.sysDescr
Again, the following command does further translates sysDescr:
% snmptranslate -Td -IR -OS system.sysDescr
SNMPv2-MIB::sysDescr
sysDescr OBJECT-TYPE
-- FROM SNMPv2-MIB
-- TEXTUAL CONVENTION DisplayString
SYNTAX OCTET STRING (0..255)
DISPLAY-HINT "255a"
MAX-ACCESS read-only
STATUS current
DESCRIPTION "A textual description of the entity. This
value should include the full name and
version identification of the system's
hardware type, software operating-system,
and networking software."
::= { iso(1) org(3) dod(6) internet(1) mgmt(2) mib-2(1) system(1) 1 }
Example 2: Displaying a Tree
The following command displays the tree shown below:
% snmptranslate -Tp -IR -OS system
+--system(1)
|
+-- -R-- String sysDescr(1)
| Textual Convention: DisplayString
| Size: 0..255
+-- -R-- ObjID sysObjectID(2)
+-- -R-- TimeTicks sysUpTime(3)
| |
| +-- sysUpTimeInstance(0)
|
+-- -RW- String sysContact(4)
| Textual Convention: DisplayString
| Size: 0..255
+-- -RW- String sysName(5)
| Textual Convention: DisplayString
| Size: 0..255
+-- -RW- String sysLocation(6)
| Textual Convention: DisplayString
| Size: 0..255
+-- -R-- INTEGER sysServices(7)
| Range: 0..127
+-- -R-- TimeTicks sysORLastChange(8)
| Textual Convention: TimeStamp
|
+--sysORTable(9)
|
+--sysOREntry(1)
| Index: sysORIndex(1)
|
+-- ---- INTEGER sysORIndex(1)
| Range: 1..2147483647
+-- -R-- ObjID sysORID(2)
+-- -R-- String sysORDescr(3)
| Textual Convention: DisplayString
| Size: 0..255
+-- -R-- TimeTicks sysORUpTime(4)
Textual Convention: TimeStamp
Example 3: Dumping MIB Contents
The commands shown below produce the dumps that follow.
% snmptranslate -Ta | head
dump DEFINITIONS ::= BEGIN
org ::= { iso 3 }
dod ::= { org 6 }
internet ::= { dod 1 }
directory ::= { internet 1 }
mgmt ::= { internet 2 }
experimental ::= { internet 3 }
private ::= { internet 4 }
security ::= { internet 5 }
snmpV2 ::= { internet 6 }
Here is use of the -Tl option:
% snmptranslate -Tl | head
.iso(1).org(3)
.iso(1).org(3).dod(6)
.iso(1).org(3).dod(6).internet(1)
.iso(1).org(3).dod(6).internet(1).directory(1)
.iso(1).org(3).dod(6).internet(1).mgmt(2)
.iso(1).org(3).dod(6).internet(1).mgmt(2).mib-2(1)
.iso(1).org(3).dod(6).internet(1).mgmt(2).mib-2(1).system(1)
.iso(1).org(3).dod(6).internet(1).mgmt(2).mib-2(1).system(1).sysDescr(1)
.iso(1).org(3).dod(6).internet(1).mgmt(2).mib-2(1).system(1).sysObjectID(2)
.iso(1).org(3).dod(6).internet(1).mgmt(2).mib-2(1).system(1).sysUpTime(3)
Here is the use of the -To option:
% snmptranslate -To | head
.1.3
.1.3.6
.1.3.6.1
.1.3.6.1.1
.1.3.6.1.2
.1.3.6.1.2.1
.1.3.6.1.2.1.1
.1.3.6.1.2.1.1.1
.1.3.6.1.2.1.1.2
.1.3.6.1.2.1.1.3
Here is the use of the -Ts option:
% snmptranslate -Ts | head
.iso.org
.iso.org.dod
.iso.org.dod.internet
.iso.org.dod.internet.directory
.iso.org.dod.internet.mgmt
.iso.org.dod.internet.mgmt.mib-2
.iso.org.dod.internet.mgmt.mib-2.system
.iso.org.dod.internet.mgmt.mib-2.system.sysDescr
.iso.org.dod.internet.mgmt.mib-2.system.sysObjectID
.iso.org.dod.internet.mgmt.mib-2.system.sysUpTime
Here is the use of the -Tt option:
% snmptranslate -Tt | head
org(3) type=0
dod(6) type=0
internet(1) type=0
directory(1) type=0
mgmt(2) type=0
mib-2(1) type=0
system(1) type=0
sysDescr(1) type=2 tc=4 hint=255a
sysObjectID(2) type=1
sysUpTime(3) type=8
0 Successful completion.
1 A usage syntax error. A usage message is displayed. Also used for matching object errors, after which an error message is dis-
played.
2 An error occurred while executing the command. An error message is displayed.
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWsmcmd |
+-----------------------------+-----------------------------+
|Interface Stability |External |
+-----------------------------+-----------------------------+
snmpcmd(1M), snmp_variables(4), attributes(5)
21 Jan 2004 snmptranslate(1m)