Machine Administration Guide 2.6
Contents Index PreviousNext

Chapter 4 Command Reference

4.27 scfsnmp (1M)

Name
scfsnmp - configures XSCF SNMP service
Format
/usr/sbin/FJSVmadm/scfsnmp {enable|disable}
/usr/sbin/FJSVmadm/scfsnmp [syscontact admin_name] [sysname sys_name] [syslocation location]
/usr/sbin/FJSVmadm/scfsnmp setcommunity community [manager address] [access {RW|RO}] [trap {enable|disable}]
/usr/sbin/FJSVmadm/scfsnmp rmcommunity community
Function
The scfsnmp configures the XSCF SNMP service. The scfsnmp actions are controlled by the subcommand argument.
Subcommands
The following subcommands are supported:
{enable|disable}
Changes the availability of the XSCF SNMP service.
If enable is specified, the SNMP function is enabled.
If disable is specified, the SNMP function is disabled.
[syscontact admin_name] [sysname sys_name] [syslocation location]
Specifies the manager name used with SNMP by admin_name. The alphanumeric character within 15 characters can be used for admin_name.
Specifies the system name used with SNMP by sys_name. The alphanumeric character within 15 characters can be used for sys_name.
Specifies the location name of the site used with SNMP by location. The alphanumeric character within 15 characters can be used for location.
setcommunity community [manager address] [access {RW|RO}] [trap {enable|disable}]
Configures the community of SNMP.
Specifies the community name of the SNMP by community. The alphanumeric character within 11 characters can be used for community.
Specifies the SNMP manager's IP address by address. When 0.0.0.0 is specified, the access from all the managers is permitted.
Specifies the access mode to the community by access. When RW is specified, read/write are permitted. When RO is specified, only read is permitted.
Specifies the issue mode of the trap by trap. When enable is specified, the trap issue becomes effective. When disable is specified, the trap issue is invalidated. When the SNMP manager address is specified for 0.0.0.0, the trap is not issued regardless of the setting of the trap issue mode.
rmcommunity community
Deletes the configuration specified with community.
End status
The scfsnmp command exits with one of the following values:
0: Success.
Other than 0: An error occurred.

Contents Index PreviousNext

All Rights Reserved, Copyright(C) FUJITSU LIMITED 2001-2005
All Rights Reserved, Copyright (C) PFU LIMITED 2001-2005