Application Example; Using A Wildcard To Filter Table Information - Alcatel-Lucent OmniSwitch AOS Release 6 Manual

Omniswitch series
Table of Contents

Advertisement

Using the CLI

Application Example

Using a Wildcard to Filter Table Information

The wildcard character allows you to substitute the asterisk (*) character for text patterns while using the
filter mode.
Note. You must type the wildcard character in front of and after the filter text pattern unless the text
pattern appears alone on a table row.
In this example, the
show snmp mib family
information. This example uses the filter option to display only those lines containing the "vlan" character
pattern.
1
Use the
more
command to set the number of displayed lines to 10 and to enable the more mode.
-> more size 10
-> more
To verify your settings, enter the following:
-> show more
The more feature is enabled and the number of line is set to 10
2
Enter the
show snmp mib family
switch is now in the More? mode as indicated at the bottom of the screen.
-> show snmp mib family
MIP ID
MIB TABLE NAME
-------+----------------------------------------+---------------------
6145
esmConfTrap
6146
alcetherStatsTable
6147
esmConfTable
6148
ifJackTable
7169
dot1qPortVlanTable
7170
qAggregateVlanTable
7171
qPortVlanTable
More? [next screen <sp>, next line <cr>, filter pattern </>, quit <q>]
3
Type the filter pattern "/" command and the following message will automatically appear.
Enter filter pattern:
Enter the desired text pattern, in this case "*vlan*", at the prompt. Remember to type the text exactly as it
would appear in the CLI table and to type the asterisk (*) character before and after the text. The More?
mode prompt will automatically re-appear.
Enter filter pattern: *vlan*
More? [next screen <sp>*, next line <cr>*, filter pattern </>*, quit <q>]
OmniSwitch AOS Release 6 Switch Management Guide
command is used because it displays a long table of MIB
command. Note that 10 lines of information are displayed. The
July 2010
Application Example
FAMILY
NO SNMP ACCESS
interface
interface
interface
802.1Q
802.1Q
802.1Q
page 6-23

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Omniswitch aos 6

Table of Contents