2-175
Cisco Catalyst Blade Switch 3130 and 3032 for Dell Command Reference
OL-13271-03
Chapter 2 Cisco Catalyst Blade Switch 3130 and 3032 for Dell Cisco IOS Commands
hw-module
hw-module
Use the
hw-module
global configuration command on the switch stack or on a standalone switch to
enable on-board failure logging (OBFL). Use the
no
form of this command to disable this feature.
hw-module module
[
switch-number
]
logging onboard
[
message level
level
]
no hw-module module
[
switch-number
]
logging onboard
[
message level
]
Syntax Description
Defaults
OBFL is enabled, and all messages appear.
Command Modes
Global configuration
Command History
Usage Guidelines
We recommend that you keep OBFL enabled and do not erase the data stored in the flash memory.
To ensure that the time stamps in the OBFL data logs are accurate, you should manually set the system
clock, or configure it by using Network Time Protocol (NTP).
If you do not enter the
message level
level
parameter, all the hardware-related messages generated by
the switch are stored in the flash memory.
On a standalone switch, entering the
hw-module module
[
switch-number
]
logging onboard
[
message
level
level
] command is the same as entering the
hw-module module
logging onboard
[
message level
level
] command.
Entering the
hw-module module
l
ogging onboard
[
message level
level
] on a stack master enables
OBFL on all the stack members that support OBFL.
Examples
This example shows how to enable OBFL on a switch stack and to specify that all the hardware-related
messages on stack member 4 are stored in the flash memory when this command is entered on the stack
master:
Switch(config)#
hw-module module 4 logging onboard
switch-number
(Optional) On stacking-capable switches, specify the switch number, which is the
stack member number. If the switch is a standalone switch, the switch number is 1.
If the switch is in a stack, the range is 1 to 9, depending on the switch member
numbers in the stack.
On nonstacking-capable switches, the switch number is always
1
.
message level
level
(Optional) Specify the severity of the hardware-related messages that are stored in
the flash memory. The range is from 1 to 7.
Release
Modification
12.2(40)EX1
This command was introduced.