Filtering The Log Messages - Acopia Adaptive Resource Switch Cli Maintenance Manual

Table of Contents

Advertisement

Troubleshooting Network Connections
Tracing NSM Processes in the "fastpath" Log
bstnA6k(cfg)# logging fastpath component TEM_CIFS filter 192.168.25.15
bstnA6k(cfg)# logging fastpath component TEM_CIFS filter 172.16.100.183
bstnA6k(cfg)# ...
7-16

Filtering the Log Messages

You can focus the log output by filtering for a particular subnet, IP address, or other
search string. Add a
filter
command:
logging fastpath component name filter match-string {include |
exclude}
where
name (1-128 characters) is an NSM-log component from the list of
"NSM-Log Components" on page
match-string (1-80 characters) is a string to match against. Quote the string
if it contains any spaces.
include | exclude is a required choice: include collects any log message that
matches the match-string, while exclude omits all matching log messages
and gathers all other messages.
You can repeat this command multiple times to expand or narrow the search further. A
packet that matches any of the entered filters is included in the log file (or excluded
from it, if you use the
exclude
you enter them, so a command to include logs with "10.10.53.99" is ineffective if a
previous filter excludes "10.10."
As above, the CLI may prompt with a performance warning before it sets the filter. If
necessary, enter yes to continue.
For example, this command sequence filters all TEM_CIFS logs down to packets
containing either 192.168.25.15, 172.16.100.183, or both:
clause to the end of the
7-12.
keyword). Log messages are matched in the order that
logging fastpath component
CLI Maintenance Guide

Advertisement

Table of Contents
loading

Related Products for Acopia Adaptive Resource Switch

Table of Contents