Troubleshooting Tools
Accessing the Syslog
CLI Maintenance Guide
6-21
2004-05-06T06:28:57.198-0400:SWITCH:1-1-SCM-437:LOGMGRD-0-6-MSG6:: Copyright (c)
2002-2004 by bstnA6k Networks Inc. All rights reserved.
2004-05-06T06:31:06.193-0400:SWITCH:3-1-ASM-280:LOGMGRD-0-6-MSG6:: Version
0.12.0.4650 (May 05 2004 18:04:50) [lwisniewski] (build 4650) starting up
2004-05-06T06:31:06.194-0400:SWITCH:3-1-ASM-280:LOGMGRD-0-6-MSG6:: Copyright (c)
2002-2004 by bstnA6k Networks Inc. All rights reserved.
2004-05-06T06:27:49.223-0400:SWITCH:3-2-ASM-280:LOGMGRD-0-6-MSG6:: Version
0.12.0.4650 (May 05 2004 18:04:50) [lwisniewski] (build 4650) starting up
2004-05-06T06:27:49.223-0400:SWITCH:3-2-ASM-280:LOGMGRD-0-6-MSG6:: Copyright (c)
2002-2004 by bstnA6k Networks Inc. All rights reserved.
2004-05-06T12:57:39.827-0400:MILFORD:3-2-ASM-280:LOGMGRD-0-6-MSG6:: Version
0.12.0.4650 (May 05 2004 18:04:50) [lwisniewski] (build 4650) shutting down
--MORE--
Filtering Messages Out
You can use the
ignore
flag to filter out a second string from the
grep
output:
grep
pattern
logs [
filename
] ignore
ignore-pattern
where
pattern
,
logs
, and
filename
are described above,
ignore
is required, and
ignore-pattern
(1-1024 characters) is a pattern to ignore.
For example, the following command sequence shows all log messages at a certain
time on January 6, but ignores all CLI messages:
bstnA6k(gbl)#
grep “Jan 6 16:31:48” logs syslog ignore CLI
Jan 6 16:31:48 sm-5-2 apm-5: ASM_DNAS_POLICY[427]: [D:0] DPRule:PerformAction -
evaluate for rule 5
Jan 6 16:31:48 sm-5-2 apm-5: ASM_DNAS_POLICY[427]: [D:0]
DPRuleCapacity::Evaluate[5] - share 3: 52% Free
Jan 6 16:31:48 sm-5-2 apm-5: ASM_DNAS_POLICY[427]: [D:0]
DPRuleCapacity::Evaluate[5] - share 3 has a place weight of 6
Jan 6 16:31:48 sm-5-2 apm-5: ASM_DNAS_POLICY[427]: [D:0]
DPRuleCapacity::Evaluate[5] - share 2: 52% Free
Jan 6 16:31:48 sm-5-2 apm-5: ASM_DNAS_POLICY[427]: [D:0]
DPRuleCapacity::Evaluate[5] - share 2 has a place weight of 6
Summary of Contents for Adaptive Resource Switch
Page 12: ...2 xii CLI Maintenance Guide...
Page 62: ...Backing Up the Running Configuration Restoring the Configuration 3 24 CLI Maintenance Guide...
Page 128: ...Metadata Utilities nsck and sync Clearing All nsck Jobs 5 48 CLI Maintenance Guide...
Page 206: ...Troubleshooting Network Connections Configuring Port Mirroring 7 32 CLI Maintenance Guide...
Page 306: ...GUI Maintenance Restarting the GUI 10 4 CLI Maintenance Guide...
Page 316: ...Powering Down the ARX Restoring Power 11 10 CLI Maintenance Guide...
Page 318: ...Copyright 2 CLI Maintenance Guide...
Page 324: ...Index 6 CLI Maintenance Guide...