Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

traffic-load-balance (Traffic Load Balancer)

date_range 20-Nov-23

Syntax

content_copy zoom_out_map
traffic-load-balance {
    instance instance-name {
        client-interface client-interface;
        client-vrf client-vrf;
        group group-name {
            health-check-interface-subunit health-check-interface-subunit;
            network-monitoring-profile [profile-name1, <profile-name2>];
            real-service-rejoin-options no-auto-rejoin;
            real-services [server-list];
            <routing-instance routing-instance>;
        }
        interface interface-name;
        real-service real-service  {
            address server-ip-address;
            admin-down;
        }
        server-inet-bypass-filter server-inet-bypass-filter ;
        server-inet6-bypass-filter server-inet6-bypass-filter ;
        server-interface server-interface;
        server-vrf server-vrf;
        traceoptions {
            file file-name <files number> <no-word-readable | world-readable> <size size>; 
            flag flag;
            level (all | critical | error | info | notice | verbose | warning);
            monitor {
                instance-name instance-name;
                virtual-svc-name virtual-service-name;
            }
            no-remote-trace;
        }
        virtual-service virtual-service-name {
            address virtual-ip–address;
            group group-name;
            load-balance-method {
                hash {
                    hash-key method;
                }
                random;
            }
            mode ( layer2-direct-server-return | direct-server-return | translated );
            <routing-instance routing-instance-name>;
            <routing-metric route-metric>;
            server-interface server-interface;
            service service-name {
                protocol (udp | tcp);
                server-listening-port port;
                virtual-port virtual-port;
            }
        }
    }
}

Hierarchy Level

content_copy zoom_out_map
[edit services]

Description

Configure traffic load balancer options.

The remaining statements are explained separately. See CLI Explorer.

Required Privilege Level

interface—To view this statement in the configuration.

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

Release Information

Statement introduced in Junos OS Release 16.1.

Support added in Junos OS Release 19.3R2 for Next Gen Services on MX Series routers MX240, MX480 and MX960 with the MX-SPC3 services card.

footer-navigation