Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

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

    Related Documentation

     

    show ethernet-switching mac-learning-log (View)

    Syntax

    show ethernet-switching mac-learning-log

    Release Information

    Command introduced in Junos OS Release 9.5.

    Description

    Displays the event log of learned MAC addresses.

    Required Privilege Level

    view

     

    Related Documentation

     

    Output Fields

    Table 1 lists the output fields for the show ethernet-switching mac-learning-log command. Output fields are listed in the approximate order in which they appear.

    Table 1: show ethernet-switching-mac-learning-log Output Fields

    Field Name

    Field Description

    Date and Time

    Timestamp when the MAC address was added or deleted from the log.

    VLAN-IDX

    VLAN index. An internal value assigned by Junos OS for each VLAN.

    MAC

    Learned MAC address.

    Deleted | Added

    MAC address deleted or added to the MAC learning log.

    Blocking

    The forwarding state of the interface:

    • blocked—Traffic is not being forwarded on the interface.
    • unblocked—Traffic is forwarded on the interface.

    Sample Output

    show ethernet-switching mac-learning-log

    user@host> show ethernet-switching mac-learning-log
    Wed Mar 18 08:07:05 2009
    vlan_idx 7 mac 00:00:5E:00:53:00 was deleted
    Wed Mar 18 08:07:05 2009
    vlan_idx 9 mac 00:00:5E:00:53:00 was deleted
    Wed Mar 18 08:07:05 2009
    vlan_idx 10 mac 00:00:5E:00:53:00 was deleted
    Wed Mar 18 08:07:05 2009
    vlan_idx 11 mac 00:00:5E:00:53:00 was deleted
    Wed Mar 18 08:07:05 2009
    vlan_idx 12 mac 00:00:5E:00:53:00 was deleted
    Wed Mar 18 08:07:05 2009
    vlan_idx 13 mac 00:00:5E:00:53:00 was deleted
    Wed Mar 18 08:07:05 2009
    vlan_idx 14 mac 00:00:5E:00:53:00 was deleted
    Wed Mar 18 08:07:05 2009
    vlan_idx 15 mac 00:00:5E:00:53:00 was deleted
    Wed Mar 18 08:07:05 2009
    vlan_idx 16 mac 00:00:5E:00:53:00 was deleted
    Wed Mar 18 08:07:05 2009
    vlan_idx 4 mac 00:00:5E:00:53:00 was added
    Wed Mar 18 08:07:05 2009
    vlan_idx 6 mac 00:00:5E:00:53:00 was added
    Wed Mar 18 08:07:05 2009
    vlan_idx 7 mac 00:00:5E:00:53:00 was added
    Wed Mar 18 08:07:05 2009
    vlan_idx 9 mac 00:00:5E:00:53:00 was added
    Wed Mar 18 08:07:05 2009
    vlan_idx 10 mac 00:00:5E:00:53:00 was added
    Wed Mar 18 08:07:05 2009
    vlan_idx 11 mac 00:00:5E:00:53:00 was added
    Wed Mar 18 08:07:05 2009
    vlan_idx 12 mac 00:00:5E:00:53:00 was added
    Wed Mar 18 08:07:05 2009
    vlan_idx 13 mac 00:00:5E:00:53:00 was added
    Wed Mar 18 08:07:05 2009
    vlan_idx 14 mac 00:00:5E:00:53:00 was added
    Wed Mar 18 08:07:05 2009
    vlan_idx 15 mac 00:00:5E:00:53:00 was added
    Wed Mar 18 08:07:05 2009
    vlan_idx 16 mac 00:00:5E:00:53:00 was added
    Wed Mar 18 08:07:05 2009
    vlan_idx 5 mac 00:00:5E:00:53:00 was added
    Wed Mar 18 08:07:05 2009
    vlan_idx 18 mac 00:00:5E:00:53:AA was learned
    Wed Mar 18 08:07:05 2009
    vlan_idx 5 mac 00:00:5E:00:53:AB was learned
    Wed Mar 18 08:07:05 2009
    vlan_idx 6 mac 00:00:5E:00:53:AC was learned
    Wed Mar 18 08:07:05 2009
    vlan_idx 16 mac 00:00:5E:00:53:AD was learned
    Wed Mar 18 08:07:05 2009
    vlan_idx 7 mac 00:00:5E:00:53:AE was learned
    Wed Mar 18 08:07:05 2009
    vlan_idx 8 mac 00:00:5E:00:53:AF was learned
    Wed Mar 18 08:07:05 2009
    vlan_idx 12 mac 00:00:5E:00:53:AG was learned
    [output truncated]

    Modified: 2017-10-24