D-Link DGS-6600-48TS Configuration Guide - Page 45
COMMAND, REGULAR-EXPRESSION, show logging-buffer, Syntax, Description, begin, include
View all D-Link DGS-6600-48TS manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 45 highlights
Volume 1-Configuration Fundamentals / Chapter 3-Command-Line Interface (CLI) User EXEC Mode Configuration Commands show COMMAND | {begin | include | exclude} REGULAR-EXPRESSION Syntax COMMAND | begin include exclude REGULAR-EXPRESSION Description Represents any show command. The vertical bar (pipe symbol) indicates that an output processing specification will follow. Specifying the begin syntax causes the Switch to search the output from the first instance of a specified string. Specifying the include syntax causes the Switch to filter the output so that only lines with a particular regular expression are displayed. Specifying the exclude syntax causes the Switch to exclude any lines that contain a particular regular expression. Represents any regular expression (text string) that is found in the output of the show command. In the following example, the user filters the output of the show logging-buffer command so that only the entries for the first instances of eth4.43: DGS-6600:2>enable DGS-6600:15#show logging buffer | begin eth4.43 ...skipping 7 2010-08-26 07:38:28 eth4.43 state change from FWD to BLK for MSTID 0 6 2010-08-26 07:38:27 Interface eth4.43 is down 5 2010-08-26 07:38:27 Interface vlan1 is down 4 2010-08-26 07:38:09 eth4.43 state change from LRN to FWD for MSTID 0 3 2010-08-26 07:38:09 eth4.43 state change from BLK to LRN for MSTID 0 2 2010-08-26 07:38:06 Interface eth4.43 is up 1 2010-08-26 07:38:06 Interface vlan1 is up DGS-6600:15# In the following example, the user filters the output of the show logging-buffer command so that only lines containing the expression eth4.43 are displayed: DGS-6600:2>enable DGS-6600:15#show logging buffer | include eth4.43 7 2010-08-26 07:38:28 eth4.43 state change from FWD to BLK for MSTID 0 6 2010-08-26 07:38:27 Interface eth4.43 is down 4 2010-08-26 07:38:09 eth4.43 state change from LRN to FWD for MSTID 0 3 2010-08-26 07:38:09 eth4.43 state change from BLK to LRN for MSTID 0 2 2010-08-26 07:38:06 Interface eth4.43 is up DGS-6600:15# DGS-6600 Configuration Guide 45