Specifications
Chapter 7. Maintenance and troubleshooting 297
Logging destinations
You can set up to two destinations for reporting. A destination of 0.0.0.0 means logs are
stored locally on the switch. Another instance of a log destination host can be a remote
logging server. In this case, the logs are sent to the server through Syslog. For each of the
two destinations, you can define many parameters, including the severity of logs to be sent to
that particular destination.
In Example 7-7, we set a configuration to log locally the messages with ALERT (Level 1)
severity and to send all critical (severity CRIT, Level 2) events to 172.25.101.200.
Example 7-7 Example of Syslog configuration
RS8264(config)#logging host 1 address 0.0.0.0
RS8264(config)#logging host 1 severity 1
RS8264(config)#logging host 2 address 172.25.101.200
Jan 27 10:48:18 ACC-2 NOTICE mgmt: second syslog host changed to 172.25.101.200
via MGTA port
RS8264(config)#logging host 2 severity 2
By default, logs to remote destinations are sent through the MGTA interface. You can change
it to either MGTB or a data port. For example, to send the logs to a second destination from a
data port, run the command shown in Example 7-7.
Example 7-8 Changing the logging interface
RS8264(config)#logging host 2 data-port
Logging console
To make logging output visible on the console, run logging console.
7.3.2 SNMP
IBM Networking OS provides Simple Network Management Protocol (SNMP) version 1,
version 2, and version 3 support for access through any network management software, such
as IBM Systems Director.
SNMP versions 1 and 2
To access the SNMP agent on the RackSwitch G8264, the read and write community strings
on the SNMP manager should be configured to match the community strings on the switch.
The default read community string on the switch is public and the default write community
string is private.
The read and write community strings on the switch can be changed by running the following
commands:
RS8264(config)# snmp-server read-community <1-32 characters>
RS8264(config)# snmp-server write-community <1-32 characters>
Important: SNMP read and write functions are enabled by default. If SNMP is not needed
for your network, it is a preferred practice that you disable these functions before
connecting the switch to the network.