Fujitsu XG2000 Switch User Manual


 
XG2000 series User's Guide
236/315
All Rights Reserved, Copyright (C) PFU LIMITED 2009
5.17.4 snmp-server access
Function
Sets an SNMP agent. The SNMP manager has read-only access privileges. Up to four access-enabled SNMP managers can
be registered.
Use the no form to delete the existing SNMP managers.
Prompt
xg(config)#
Command syntax
snmp-server access host HOSTNAME community COMMUNITY-NAME
no snmp-server access host HOSTNAME
Parameter
z host HOSTNAME
Specifies the host name or the IP address of the SNMP manager.
The IP address can be within the range of 1.0.0.1 to 126.255.255.254, 128.0.0.1 to
191.255.255.254, or 192.0.0.1 to 223.255.255.254.
z community COMMUNITY-NAME
Specifies a community name for the SNMP manager. The community name can be up to 255
alphanumeric characters.
Command type
Configuration command
Default
None
Message
% SNMP Manager can register up to 4.
Explanation
Four SNMP managers have already been registered.
Solution
Delete unnecessary SNMP managers then reissue the command.
% Cannot find %1$
Explanation
The name cannot be resolved. An incorrect host name was specified.
[[Inserted string]]%1$: Specified host name
Solution
Review the host name then reissue the command by specifying a correct host name or IP
address.
% Hostname is too long.
Explanation
The specified host name exceeded the length limit.
Solution
Reduce the host name length then reissue the command.
% COMMUNITY-NAME is too long.
Explanation
The specified community name exceeded the length limit.
Solution
Reduce the community name length then reissue the command.
% COMMUNITY-NAME cannot be used.
Explanation
An illegal character was used in the community name.
Solution
Review the community name setting then reissue the command.
% Invalid IP-address.
Explanation
The IP address was specified in an incorrect format or an incorrect address was specified.
Solution
Specify the correct IP address in the correct format then reissue the command.
Note
z If a previously defined host name is specified with a new community name the prior community name is overwritten.
z If the host name is specified instead of IP address, changing the NTP server’s IP address at SNMP manager will not be
enabled. It is necessary to restart the device after DNS server’s IP address has been changed.
z The following message might be output if there is a SNMP request from a SNMP manager when the device is starting
up and in the process of executing initial settings. It is not necessary to review the SNMP permission in this case. .
XG INFO[S8500]: SNMP authentication failure.
Example
Allow access from the SNMP manager having the IP address “192.168.1.10” and the community name “xgpublic”.
xg(config)# snmp-server access host 192.168.1.10 community xgpublic