Technical Documentation

Configuring Targeted Broadcast

You can configure targeted broadcast with different options to forward the IP packets destined for a Layer 3 broadcast address to an egress interface and the Routing Engine or to an egress interface only. The packets are broadcast only if the egress interface is a LAN interface.

To enable targeted broadcast:

  1. Configure the physical interface:
    [edit]user@host# edit interfaces interface-name
  2. Configure the logical unit number:
    [edit interfaces interface-name]user@host# edit unit logical-unit-number
  3. Configure the protocol family inet:
    [edit interfaces interface-name unit logical-unit-number]user@host# edit family inet
  4. Configure targeted broadcast:
    [edit interfaces interface-name unit logical-unit-number family inet]user@host# edit targeted-broadcast
  5. Specify one of the following options:
    • To send packets to the egress interface and to the Routing Engine:
      [edit interfaces interface-name unit logical-unit-number family inet targeted-broadcast]user@host# set forward-and-send-to-re
    • To send packets to only the egress interface:
      [edit interfaces interface-name unit logical-unit-number family inet targeted-broadcast]user@host# set forward-only
  6. Verify the configuration. The following example configures targeted broadcast to both the egress interface and the Routing Engine:
    [edit interfaces interface-name unit logical-unit-number family inet targeted-broadcast]user@host# upuser@host# showtargeted-broadcast {forward-and-send-to-re;}}

Published: 2010-04-20