beautypg.com

Dell POWEREDGE M1000E User Manual

Page 592

background image

564

Fabric OS Command Reference

53-1002746-01

nsDevLog

2

--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

To clear device logs:

switch:admin> nsdevlog --clear
Device History logs cleared

To display device logs:

switch:admin> nsdevlog --show
Total number of Logged entries = 0
Total number of Entries displayed = 0
Max number of entries: 65536
Device Logging is currently disabled

SEE ALSO

nsAliasShow

,

nsAllShow

,

nsCamShow

,

nsShow

,

nsZoneMember