Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Announcement: Try the Ask AI chatbot for answers to your technical questions about Juniper products and solutions.

close
header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents

port (Packet Forwarding)

date_range 20-Nov-23

Syntax

content_copy zoom_out_map
port port-number {
    description text-description;
    interface interface-name {
        broadcast;
        description text-description;
        no-listen;
        server address <logical-system logical-system-name> <routing-instance routing-instance-name>;
    }
    server address <logical-system logical-system-name> <routing-instance routing-instance-name>;
}

Hierarchy Level

content_copy zoom_out_map
[edit forwarding-options helpers]

Description

Configure a port helper on the router or switch, which listens for LAN broadcast traffic on a custom UDP port number and forwards traffic to particular destination servers as unicast traffic.

To set up a port helper, configure the UDP port number and optionally an interface on which to listen for broadcast traffic, and the destination server address to receive that traffic, as shown in either of the following sample configurations:

content_copy zoom_out_map
user@ host# show forwarding-options
helpers {
    port 1200 {
        server 10.20.30.40;
        }
    }
content_copy zoom_out_map
user@ host# show forwarding-options
helpers {
    port 3000 {
        interface {
            fe-0/0/1.0 {
                server 192.0.2.2;
            }
        }
    }
    port 3001 {
        interface {
            fe-0/0/0.0 {
                server 192.0.2.2;
            }
        }
    }
}

Starting in Junos OS Release 17.2R1, you can configure forwarding traffic to multiple destination servers for a given port number by specifying multiple port configuration statements with the same port number and different server addresses.

You cannot configure port helpers for standard ports used by services such as BOOTP, DNS and TFTP; instead, use the helpers configuration statements specifically for forwarding packets for those protocols.

The remaining statements are explained separately. See CLI Explorer.

Options

port-number

UDP port number for listening.

  • Range: 1 through 65535

Required Privilege Level

interface—To view this statement in the configuration.

interface-control—To add this statement to the configuration.

Release Information

Statement introduced before Junos OS Release 7.4.

Support for multiple server instances for a given port introduced in Junos OS Release 17.2 for MX Series routers.

Support for multiple servers on a given port introduced in Junos OS Release 17.3R1 for EX9200 switches.

footer-navigation