3Com CommWorks 5210 User Manual

Page 113

Advertising
background image

SNMP Commands 113

-G (BI)

Selects a group, followed by a list of parameters within that group which are
to be retrieved. (For example, ’NMC Identification’.)

Group specifications must appear after all other command arguments, and
before the target.

Group names are matched using substring comparison against the list of
known group names for the target. Substrings that match at the beginning of
a group name have precedence over substrings that match internally.

(

parameter)

Parameter whose value is to be printed. (For example, ’Serial Number’.)

Each parameter should be separated by a space and requires proper shell
quoting. At least one parameter should be supplied per group, unless -L (list
parameters by group) is specified.

Parameter names are matched using substring comparison against the list of
known parameter names within the currently selected group. Substring
matching has the same ’initial match priority’ and ambiguity rules as for group
name matching.

(

target)

Specifies slots or channels to be issued commands. Target has the following
format:

<

IP-host>:S<slot>E<entity>

where IP-host can be IP-dot notation, or a host name that is defined in the
host database or /etc/hosts file

slot—a decimal number or a range 1 or 2 (where 1 and 2 are decimal
numbers) representing the location of the host/card within the chassis.

entity—the system software (residing on the host) on which the results
display.

Example:

tcmperf -c public -C private -f jwtest -D , -G ’System

Time’ ’System Time’ 149.112.207.30:S1E’Windows NT/OS’

Advertising