port (Packet Forwarding)
Syntax
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
[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:
user@ host# show forwarding-options
helpers {
port 1200 {
server 10.20.30.40;
}
}
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.
|
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.