Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

show services traffic-load-balance statistics

 

Syntax

Release Information

Statement introduced in Junos OS Release 16.1 on MX Series.

num-instances option added in Junos OS Release 16.1R6 and 18.2R1 on MX Series.

Support added in Junos OS 19.3R2 for Next Gen Services with the MX-SPC3 services card.

Description

The basic form of the command displays the list of real servers associated with this group and traffic statistics, including packet count and byte count

Options

noneDisplay information about the load-balancing statistics in brief.
extensive(Optional) Display extensive information about the traffic load-balancing statistics.
group group-name(Optional) Display load-balancing statistics for a specified group of load-balancer servers.
instance instance-name(Optional) Display load-balancing statistics for a specific traffic load balancer (TLB) instance.
num-instances number(Optional) Display load-balancing statistics for a specified number of TLB instances.
real-service real-service-name(Optional) Display load-balancing statistics for a specified load balancer serve.
summary(Optional) Display summary information about the traffic load-balancing statistics.
virtual-service virtual-service-name(Optional) Display load-balancing statistics for a specified TLB virtual service.

Required Privilege Level

view

List of Sample Output

show services traffic-load-balance statistics

show services traffic-load-balance statistics extensive

show services traffic-load-balance statistics summary

Output Fields

Table 1 lists the output fields for the show services traffic-load-balance statistics command. Output fields are listed in the approximate order in which they appear.

Table 1: show services traffic-load-balance statistics Output Fields

Field Name

Field Description

Level of Output

Traffic load balance instance name

Name of the traffic load balancer (TLB) instance that contains the load-distribution-related configuration settings.

All levels

Multi services interface name

Name of the services interface used for the TLB instance to provide one-to-one redundancy for server health monitoring.

For MS-MPC services card, this is the name of the aggregated multiservices (AMS) interface or “ms-slot/pic/port”.

For Next Gen Services and the MX-SPC3 services card, this is the name of the VMS interface or “vms-slot/pic/port”.

All levels

Interface state

Inter-process communications (IPC) status between the TLB daemon (traffic-dird) and the health checking daemon (net-monitord).

  • DOWN

  • UP

All levels

Interface type

Logical interface type.

All levels

Route hold timer

Time that the programmed VIP routes are kept intact after connectivity between traffic-dird and net-monitord daemons is lost. If connectivity is not reestablished within this time, all the VIP routes are withdrawn.

All levels

Traffic load balance virtual svc name

Name of the virtual service for the TLB instance. The virtual service provides an address that is associated with the group of servers to which traffic is directed.

none

extensive

Virtual service

Name of the virtual service for the TLB instance. The virtual service provides an address that is associated with the group of servers to which traffic is directed.

summary

Routing instance name

Name of the routing instance used for the virtual service.

none

extensive

IP address

IP address of the virtual service.

none

extensive

Address

IP address of the virtual service.

summary

Sts

Operational state of the virtual service.

summary

Packet Sent

Number of packets originating from the clients that the TLB instance virtual service processes for load balancing to next-hop servers.

summary

Byte Sent

Number of bytes originating from the clients that the TLB instance virtual service processes for load balancing to next-hop servers.

summary

Packet Recv

Number of packets returning from the next-hop servers that the TLB instance virtual service processes and forwards to the clients.

summary

Byte Recv

Number of bytes returning from the next-hop servers that the TLB instance virtual service processes and forwards to the clients.

summary

Virtual service mode

Virtual service processing mode.

  • layer-2-direct-server-return—Virtual service is in transparent mode with Layer 2 direct server return (DSR)

  • direct-server-return—Virtual service is in transparent mode with Layer 3 direct server return (DSR)

  • translated—Virtual service is in translated mode.

none

extensive

Traffic load balance group name

Server group name used for the virtual service.

none

extensive

Health check interface subunit

Number of the subunit of the multiservice interface used for health checking.

none

extensive

Traffic load balance group down count

Number of times the status of the TLB server group was down.

extensive

Protocol

Virtual service protocol, either tcp or udp. In translated mode, packets destined to the virtual service IP address+port number+protocol are load balanced and then replaced by the real service IP address and server listening port number.

none

extensive

Port Number

Virtual service port number. In translated mode, packets destined to the virtual service IP address+port number+protocol are load balanced and then replaced by the real service IP address and server listening port number.

none

extensive

Server Listening Port Number

Real service port number that replaces the virtual service port number. In translated mode, packets destined to the virtual service IP address+port number+protocol are load balanced and then replaced by the real service IP address and server listening port number.

none

extensive

Demux Nexthop index

Index number of the demultiplexing next hop for the virtual service. Index number is unique for a VIP, routing-instance, and protocol combination. The demultiplexing next hop is responsible for port-based demultiplexing of traffic to the load-balancing next hop for session distribution.

none

extensive

DFW client-id

Client connection identifier assigned to the TLB daemon (traffic-dird) by the firewall daemon (dfwd) when the daemons are successfully connected.

extensive

Traffic load balance group warmup time

Time, in seconds, that passes after the traffic-dird daemon comes up until the traffic-dird programs the distribution table on the Packet Forwarding Engine.

extensive

Traffic load balance group auto-rejoin

Indicates whether the option that allows a server to rejoin the group automatically when it comes up is enabled or not.

extensive

Route metric

Routing metric assigned to the virtual service. A lower metric makes a route more preferred.

extensive

Virtual service down count

Number of times the status of the virtual service was down.

extensive

Traffic load balance hash method

Hash key parameter used for load balancing. Hash keys supported in the ingress direction are protocol, source IP address, and destination IP address.

extensive

Nexthop index

Index number of the next-hop for the virtual service. A group of servers function as a pool for next-hop session distribution.

none

extensive

Up time

Period of time for which the virtual service is up, in the format number-of-days hh:mm:ss.

none

extensive

Real Server Up count

Starting in Junos OS Release 16.1R6 and 18.2R1, number of real servers that are up for the specified virtual service or server group.

none

Real Server Down count

Starting in Junos OS Release 16.1R6 and 18.2R1, number of real servers that are down for the specified virtual service or server group.

none

Total packet sent count

Number of packets originating from the clients that the TLB instance virtual service processes for load balancing to next-hop servers.

none

extensive

Total byte sent count

Number of bytes originating from the clients that the TLB instance virtual service processes for load balancing to next-hop servers.

none

extensive

Total packet received count

Number of packets returning from the next-hop servers that the TLB instance virtual service processes and forwards to the clients.

none

extensive

Total byte received count

Number of bytes returning from the next-hop servers that the TLB instance virtual service processes and forwards to the clients.

none

extensive

Network monitoring profile count

Number of network monitoring profiles that are used to monitor the health of servers used in TLB session distribution.

extensive

Active real service count

Number of real services that are functional and active.

extensive

Total real service count

Total number of real services in different states.

extensive

Network monitoring profile index

Unique index number associated with the network monitoring profile. Network monitoring profiles are used to monitor the health of servers used in TLB session distribution.

extensive

Network monitoring profile name

Name configured for the network monitoring profile.

extensive

Probe type

Probe type used to examine the health of servers. TLB supports ICMP, TCP, and HTTP health check probes to monitor the health of servers in a group.

extensive

Probe interval

Frequency, in number of seconds, at which health check probes are sent.

extensive

Probe failure retry count

Number of failure retries, after which the real service is tagged as down.

extensive

Probe recovery retry count

Number of successful retries after which the real service is tagged as up.

extensive

Real service

Name of the TLB server (also referred to as real service). The name is the identifier for a server to which sessions can be distributed using the server distribution table in conjunction with the session distribution API.

none

Address

IP address of the configured real service.

none

Sts

Operational state of the TLB server.

none

Packet Sent

Number of packets originating from the clients that the TLB instance virtual service sends to the real service.

none

Byte Sent

Number of bytes originating from the clients that the TLB instance virtual service sends to the real service next-hop server.

none

Packet Recv

Number of packets returning from the real service next-hop server that the TLB instance virtual service processes and forwards to the clients.

none

Byte Recv

Number of bytes returning from the real service next-hop server that the TLB instance virtual service processes and forwards to the clients.

none

Traffic load balance real svc name

Name of the real service used for traffic load-balancing.

extensive

Routing instance name

Name of the routing instance on which the real service is configured.

extensive

IP address

IP address of the configured real service.

extensive

Traffic load balance group name

Name of the server group for real service.

extensive

Admin state

Administrative state of the real service, such as Up or Down.

extensive

Oper state

Operational state of the real service, such as Up or Down.

extensive

Network monitoring probe up count

Number of probes for which the status of the server whose health is checked is observed to be up. If a server group is configured for dual health check, a real service is declared to be UP only if both health-check probes are simultaneously UP; otherwise a real service declared to be DOWN.

extensive

Network monitoring probe down count

Number of probes for which the status of the server whose health is checked is observed to be down.

extensive

Total rejoin event count

Number of events that caused a server that was previously down and later operational to rejoin a group of real services for load-balancing.

extensive

Total up event count

Number of TLB events that identified a virtual service or real service to be up.

extensive

Total down event count

Number of TLB events that identified a virtual service or real service to be down.

extensive

Real Service packet sent count

Number of packets originating from the clients that the TLB instance virtual service sends to the real service.

extensive

Real Service byte sent count

Number of bytes originating from the clients that the TLB instance virtual service sends to the real service next-hop server.

extensive

Real Service packet received count

Number of packets returning from the real service next-hop server that the TLB instance virtual service processes and forwards to the clients.

extensive

Real Service byte received count

Number of bytes returning from the real service next-hop server that the TLB instance virtual service processes and forwards to the clients.

extensive

Total probe sent

Number of health-monitoring probes sent from the TLB health check daemon.

extensive

Total probe success

Number of health-monitoring probes sent from the TLB health check daemon that were successful.

extensive

Total probe fail

Number of health-monitoring probes attempted to be sent from the TLB health check daemon that failed.

extensive

Total probe sent fail

Number of health-monitoring probes attempted to be sent from the TLB health check daemon that were unsuccessfully initiated.

extensive

Probe state

Status of the health-check probe, such as Up or Down.

extensive

Probe sent

Number of health-check probe requests transmitted from the TLB health check daemon.

extensive

Probe success

Number of successful health-check probe requests transmitted from the TLB health check daemon.

extensive

Probe fail

Number of failed health-check probe requests transmitted from the TLB health check daemon.

extensive

Probe sent failed

Number of times the TLB health check daemon was unable to initiate transmission of a extensive health-check probe.

extensive

Probe consecutive success

Number of health-check probe requests transmitted from the TLB health check daemon that were consecutively successful.

extensive

Probe consecutive fail

Number of health-check probe requests transmitted from the TLB health check daemon that failed for two successive times.

extensive

Sample Output

show services traffic-load-balance statistics

user@host> show services traffic-load-balance statistics

show services traffic-load-balance statistics extensive

user@host> show services traffic-load-balance statistics extensive

show services traffic-load-balance statistics summary

user@host> show services traffic-load-balance statistics summary