lookup

A command of the separate bcma command line; see Commands for other chip families.

Lookup chip hash/tcam table entry.

lookup [Raw] [CompactFormat] <expr> <value> ... | <field>=<value> ... |\
                      all=<value>

Built-in help

Lookup chip hash table entry according to entry key.
Entry may be deleted either by entering raw 32-bit word values or
by specifying each field separately.
The Raw (r) option suppresses the decoding of individual memory fields.
The CompactFormat (cf) option selects a compact-field output format,
which is useful for slow terminals and high-volume output.

Lookup chip tcam table entry according to entry key.
If a match is found, the AINDEX or MATCHOUT bitmap will be displayed.
The raw and cf options are not supported by the tcam lookup command.

Built-in examples

L2Xm L2:VLAN_ID=2 L2:MAC_ADDR=0x010203040506
L3_DEFIP_TCAM_LEVEL1m KEY0=0x390c399184f8