16 SMS Command Reference
See Also
snmp, snmp-request
snmpget
snmpget will request a single OID from the specified agent.
Usage
snmpget hostNameOrAddress communityName OID
Example (IPv6)
snmpget -v 2c -c public udp6:[fc01:a63:1:0:214:22ff:fe1e:1d87] system.sysName.0
Example (IPv4)
snmpget -v 2c -c public 10.99.1.110 system.sysName.0
See Also
snmpwalk
snmpwalk
snmpwalk will traverse the SNMP MIB of the agent running at the specified address. If the address OID is
not provided, the walk will begin at the first OID, if the community name is not provided, walk with use
public and if the hostNameOrAddress is not provided, walk will use localhost.
Usage
snmpwalk [hostNameOrAddress [communityName [OID]]]
Example (IPv6)
snmpwalk -v 2c -c public udp6:[fc01:a63:1:0:214:22ff:fe1e:1d87] system
Example (IPv4)
snmpwalk -v 2c -c public 10.99.1.110 system
Example (SNMPv3)
snmpwalk -v 3 -u user -l authPriv -a SHA -A authKey -x AES -X privKey 192.168.1.1
system
See Also
snmpget
ssh
The ssh command enables the user to log into a remote machine and execute remote commands from
within the SMS CLI. The communications between two hosts is encrypted and secure.
For more information, refer to external ssh documentation, such as the UNIX man pages.
Usage
ssh [-1246AaCfgKkMNnqsTtVvXxYyZ] [-b bind_address] [-c cipher_spec]
[-D [bind_address:]port] [-e escape_char] [-F configfile] [-i identity_file]
[-L [bind_address:]port:host:hostport] [-l login_name] [-m mac_spec] [-O ctl_cmd]
[-o option] [-p port] [-R [bind_address:]port:host:hostport] [-S ctl_path]
[-w local_tun[:remote_tun]] [user@]hostname [command]
time
The time command runs the specified program command with the given arguments. When the command
finishes, time writes a message to standard output giving timing statistics about this program run. These
statistics consist of the elapsed real time between invocation and termination, the user CPU time, and the
system CPU time.
For information about the time object, see ”time” on page 46.
Usage
time <command> [arguments...]
Komentáře k této Příručce