Description

There will be instances where a host / user PC / another networking device connected to Juniper L2 switch but MAC learning action wouldn't be seen. The following steps will help verify if the switch is receiving the broadcast from end device.

Symptoms


  • Layer 2 switch (DUT)
  • a host / user PC / another networking device is connected to remote end
  • MAC learning needs to be verified on L2 switch

Solution


Option 1: verify using firewall filter

set firewall family ethernet-switching filter arp-filter term 1 from source-mac-address <>

set firewall family ethernet-switching filter arp-filter term 1 from ether-type arp

set firewall family ethernet-switching filter arp-filter term 1 then accept

set firewall family ethernet-switching filter arp-filter term 1 then count ARP

set firewall family ethernet-switching filter arp-filter term 2 then accept


show firewall


Option 2: Verify the respective interface MAC statistics

> show interfaces ge-0/0/0 extensive 

 MAC statistics:           Receive     Transmit

  Total octets             26747     1647521

  Total packets             211       5907

  Unicast packets            151        9

  Broadcast packets            28       386

  Multicast packets            32       5512

  CRC/Align errors             0        0

  FIFO errors               0        0

  MAC control frames            0        0

  MAC pause frames             0        0

  Oversized frames             0

  Jabber frames              0

  Fragment frames             0

  VLAN tagged frames            0

  Code violations             0


Option 3: verify using port mirror PCAP

Modification History

2025-01-24 : Article Created