traffic-load-balance (Traffic Load Balancer)
Syntax
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
[edit services]
Description
Enabling tracing can adversely impact scale and performance and may increase security risk. We strongly recommend using the trace, tracing, or traceoptions commands only under the guidance of a JTAC support engineer. After collecting the debug information, immediately disable tracing to minimize risk and restore normal system performance.
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.