snmp -T system:mm[x] <-cax community-type> <-cx community-name> <-cxin (ip-address | hostname)> <-cn contact-name> <-l location>
Command supported by JUNOS Release 9.1 and later.
(JCS 1200 platform only) Display or configure SNMP settings on the JCS management module.
-T system:mm[x]—Specify the JCS management module as the target of the command. Replace x with a value of 1 or 2.
-cax community-type—(Optional) Specify an SNMPv3 view type for the community. View types can be get, set, or trap. Replace x with a value of 1 through 3 to represent the community number.
-cx community-name—(Optional) Specify a descriptive name for the community. Replace x with a value of 1 through 3 to represent the community number.
-cxin (ip-address | hostname)—(Optional) Specify an IP address or hostname for the community. Replace x with a value of 1 through 3 to represent the community number. Replace n with a value of 1 through 3 to represent the host ranking (first, second, or third). You can specify up to three hosts for each community.
-cn contact-name—(Optional) Specify a contact name for the SNMP community host server.
-l location—(Optional) Specify a location for the SNMP community host server.
operator (display)
supervisor (display or configure)
Table 17 lists the output fields for the snmp command. Output fields are listed in the approximate order in which they appear.
Table 17: snmp Output Fields
system> snmp -T system:mm[1]
To be provided.
system> snmp -T system:mm[1] -ca1 trap -c1 Traps
-c3i1 192.168.171.100
OK