Skip to content

opx show mac

Amy Buck edited this page Jan 9, 2019 · 9 revisions

COMMAND

opx-show-mac — Displays the current configuration of a single FDB entry if MAC and VLAN are passed

SYNOPSIS

opx-show-mac [-h,--help]
[--mac <mac>]
[--vlan <vlan>]

OPTIONS

Option Description
-h,--help Displays help text
--mac <mac> MAC address in : format (00:11:22:33:44:55)
--vlan <vlan> VLAN ID

OUTPUT

Output Description
MAC Addr Displays the MAC address
VLAN Displays the VLAN ID
IF-Index Displays the kernel ifindex of the port
Port Displays the front-panel Ethernet interface
Actions Displays the actions (forward/drop/trap/log) for this FDB entry
Static Displays whether the entry is static (true/false)

EXIT STATUS

0 if OK
1 if minor problems (syntax error, wrong parameters passed)
2 if serious trouble (CPS commit fails)

EXAMPLE

$ opx-show-mac --mac 00:00:12:34:56:87 --vlan 200
MAC Addr          | VLAN | IF-Index | Port       | Actions | Static
-------------------------------------------------------------------
00:00:12:34:56:87 | 200  | 26       | e101-014-0 | Forward | True

LIMITATION

Only single entry can be displayed when both MAC and VLAN are provided.

REPORT BUGS

To report any OPX software bugs, see Report bugs.

SEE ALSO

opx-config-mac

Clone this wiki locally