Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Layer 2 Bridging and Switching Operational Mode Commands

    Table 1 summarizes the command-line interface (CLI) commands you can use to monitor and troubleshoot Layer 2 bridging and switching. Commands are listed in alphabetical order.

    Table 1: Layer 2 Bridging and Switching Operational Mode Commands

    Task

    Command

    Clear learned Layer 2 address information from the media access control (MAC) address table.

    clear bridge mac-table

    Clear bridge protocol data unit (BPDU) error on interface due to possible bridge spanning tree protocol (STP) loop.

    clear error bpdu

    Clear a MAC rewrite error condition for Layer 2 protocol tunneling.

    clear error mac-rewrite

    Display bridge domain information.

    show bridge domain

    Display bridging flooding information.

    show bridge flood

    Display learned Layer 2 MAC address information.

    show bridge mac-table

    Display bridge statistics.

    show bridge statistics

    Display Layer 2 learning process-related information.

    show l2-learning global-information

    (MX Series routers only) Display the total number of dynamic and static MAC addresses learned for the entire router.

    show l2-learning global-mac-count

    Display configured Layer 2 routing instances.

    show l2-learning instance

    Display configured Layer 2 interfaces.

    show l2-learning interface

    Display Layer 2 interfaces.

    show mac-rewrite interface

    Published: 2013-03-14