HP StorageWorks 4/256 Brocade Fabric OS Command Reference Guide v6.1.0 (53-100 - Page 682
syslogdIpAdd, By IP address:
View all HP StorageWorks 4/256 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 682 highlights
2 syslogdIpAdd syslogdIpAdd Configures a switch to forward system messages to specified servers. Synopsis syslogdipadd ip_address | host_name Description Use this command to configure a switch to forward all error log entries to the syslog demon (syslogd) of one or more specified servers. The syslog daemon is a process available on most UNIX systems that reads and forwards system messages to the appropriate log files or users, depending on the system configuration.Up to six servers are supported. You can specify a syslogd server in one of two ways: • By IP address: The syslogdipadd command accepts IPv4 and IPv6 addresses. • By host name: The host must have a DNS entry and accept DNS requests. The DNS name service must be configured on the switch with dnsconfig before the host name can be added with the syslogdipadd command. If the host does not accept DNS requests, syslogdipadd fails. Only one syslogd server can be specified at any given time. To configure more than one server, the command must be executed for each server. Note The execution of this command is subject to Admin Domain restrictions that may be in place. Refer to chapter 1, "Understanding Admin Domain Restrictions" and Appendix A, "Command Availability" for details. Operands This command has the following operands: ip_address Specifies the IP address of the server running syslogd in either IPv4 or IPv6 format. host_name Specifies the name of the machine that is running syslogd. Use dnsconfig to configure the DNS service before running syslogdipadd with the host_name parameter. Examples To add an IP address to the list of machines to which system messages are sent: switch:admin> syslogdipadd 1080::8:800:200C:417A switch:admin> syslogdipshow syslog.1 1080::8:800:200C:417A To add a second IP address to the existing syslogd server configuration: switch:admin> syslogdipadd 192.168.163.234 switch:admin> syslogdipshow syslog.1 1080::8:800:200C:417A syslog.2 192.168.163.234 To add a host name to the list of machines to which system messages are sent: 1. Get the DNS name server info on the host you wish to add: sysadmin:myhost> nslookup myhost Server: nameserver.corp.brocade.com Address: 192.168.126.120 Name: myshost.brocade.com 656 Fabric OS Command Reference 53-1000599-02