Reference Guide

Brocade Fabric OS Command Reference 571
53-1004112-02
nsDevLog
-event event
Displays device logs for the specified event. The events are the following:
"Register": Entry created by explicit NS registration,
"Deregister": Entry deleted by explicit NS deregistration.
"Device Add": Entry created based on UPD Area.
"Device Del": Entry deleted based on UPD Delete.
"Device Add (Query)": Entry created by NS query from the device.
"Port Del": Entries deleted based on DEL Area.
"Dup WWN": Entry deleted based on Duplicate WWN.
"Switch Offline": Entries deleted due to switch offline.
"FPORT Entry": Entry created by F-Port SCN.
--enable
Enables NS device history logging.
--disable
Disables NS device history logging.
--clear
Clears the NS device history logs.
--help
Displays the command usage.
Examples To enable device logging:
switch:admin> nsdevlog --enable
Device History Logging enabled
To disable device logging:
switch:admin> nsdevlog --disable
Device History Logging disabled
To display the NS device log for an event:
switch:admin> nsdevlog --show -event "FPORT Entry"
date/time slot/port PID Port WWN \
Node WWN event
==================================================================
Wed Jun 27 11:24:33.608 2/12 0x034c00 30:11:00:05:1e:0f:9c:6a \
20:11:00:05:1e:0f:9c:6a FPORT Entry
Wed Jun 27 11:24:33.881 2/11 0x034b00 30:1c:00:05:1e:0f:9c:6a \
20:1c:00:05:1e:0f:9c:6a FPORT Entry
Wed Jun 27 11:24:34.028 7/28 0x039c00 20:0c:00:05:1e:06:c3:1a \
10:00:00:05:1e:06:c3:1a FPORT Entry
Wed Jun 27 11:24:34.048 7/29 0x039d00 20:08:00:05:1e:06:c3:1a \
10:00:00:05:1e:06:c3:1a FPORT Entry
Total number of Logged entries = 133
Total number of Entries displayed = 4
Max number of entries: 65536
Device Logging is currently disabled