The search command, The search command -39 – Alcatel Carrier Internetworking Solutions Omni Switch/Router User Manual

Page 149

Advertising
background image

UI Table Filtering (Using Search and Filter Commands)

Page 4-39

The Search Command

Starting from the page being displayed, the Search command (

/

) searches all lines of a

UI

table

for a specified text pattern (up to 80 characters). The first line containing the pattern is
brought to the top of the page, followed by any remaining lines in the table.

Searches cannot be limited to a specific column or heading.

To use the Search command, type

/

at the

More?

prompt, followed by the text pattern you are

looking for, then press

<Enter>

.

Important Note

The Search command is case sensitive. When using this
command, be sure to type the text pattern exactly as it
would appear in the

UI

table.

Real World Example

The following example uses the Search command to locate a specific

MAC

address in the

macinfo

table. (Before using this example, be sure that the

more

mode is enabled and the

default is set at 22 lines. For more information, refer to page 4-38.)

1. Type

macinfo

and press

<Enter>

. The following screen will be displayed:

Enter MAC address ([XXYYZZ:AABBCC] or return for none) :

Press

<Enter>

again. A screen similar to the following will be displayed:

Enter Slot Number (1-5) :

Type the slot number for the module containing the relevant

MAC

address information

(e.g.

3

), then press

<Enter>

. A table similar to the following will be displayed:

Note that, because the information in the table exceeds the

more

command’s default page size

of 22 lines, the

More?

prompt appears at the bottom of the screen.

Total number of MAC addresses learned for this slot: 58

Non-Canonical

Group CAM

Last

Exp

Sl/ If/ Service/ In

MAC Address

MAC Address

T

ID

Indx

S

Seen

Timer

----------------------- -------------------------- ------------------------ --- -------- -------- ----

--------- -----------

3/ 1/

Brg/ 1

00A0C9:064D04

000593:60B220

E

1 7024 T

134

300

3/ 1/ Brg/ 1

006008:C1D7C2

000610:83EB43 E

1 7030 T

115

300

3/ 1/ Brg/ 1

0020DA:88F110

00045B:118F08 E

1 70E6 T

46

300

3/ 1/ Brg/ 1

0020DA:B6FF12

00045B:6DFF48 E

1 7094 T

66

300

3/ 1/ Brg/ 1

0020DA:8A7DC0 00045B:51BE03 E

1 705A T

83

300

3/ 1/ Brg/ 1

0020DA:A67FA2

00045B:65FE45 E

1 7120 T

27

300

3/ 1/ Brg/ 1

0020DA:024F75

00045B:40F2AE E

1 710C T

34

300

3/ 1/ Brg/ 1

0020DA:9B88E4

00045B:D91127 E

1 70EE T

45

300

3/ 1/ Brg/ 1

0020DA:9C062B

00045B:3960D4 E

1 7074 T

76

300

3/ 1/ Brg/ 1

0020DA:79F062

00045B:9E0F46 E

1 70D2 T

52

300

3/ 1/ Brg/ 1

006008:991CA7

000610:9938E5

E

1 701C T

117

300

3/ 1/ Brg/ 1

0020DA:936A8F

00045B:C956F1 E

1 712A T

23

300

3/ 1/ Brg/ 1

0020DA:9CEAC5 00045B:3957A3 E

1 70CC T

53

300

3/ 1/ Brg/ 1

0020DA:9B9B54

00045B:D9D92A E

1 70D6 T

50

300

3/ 1/ Brg/ 1

0020DA:7AAE24

00045B:5E7524 E

1 70B8 T

58

300

3/ 1/ Brg/ 1

0020DA:A9EEB3 00045B:9577CD E

1 710A T

34

300

3/ 1/ Brg/ 1

0020DA:8DB20B 00045B:B14DD0 E

1 7080 T

72

300

3/ 1/ Brg/ 1

0020DA:9F6B82

00045B:F9D641 E

1 70F4 T

42

300

3/ 1/ Brg/ 1

0020DA:8762A3

00045B:E146C5 E

1 7126 T

24

300

3/ 1/ Brg/ 1

006008:C1D7C2

000610:83EB43 E

1 7030 T

115

300

More? [<SP>,<CR>,/,F,N,Q,?]

Advertising