Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

show services nat destination rule

Syntax

Description

Display destination NAT rule-set information.

Options

rule-name

Display information about the specified destination NAT rule.

service-set service-set

Display information specific to the service-set.

interface interface-name

Display information specific to the interface.

all

Display all NAT rule-set information.

Required Privilege Level

view

Output Fields

Table 1 lists the output fields for the show services nat destination rule command. Output fields are listed in the approximate order in which they appear.

Table 1: show services nat destination rule Output Fields

Field Name

Description

Interface

Interface name.

Service set

Service set name.

Destination NAT rule

Name of the destination NAT rule.

Rule-Id

Rule identification number.

Rule-position

Position of the destination NAT rule.

Match-direction

Three options:

  • input―Apply the rule match on the input side of the interface.

  • input-output―Apply the rule match bidirectionally.

  • output―Apply the rule match on the output side of the interface.

Destination addresses

Name of the destination addresses that match the rule. The default value is any.

Action

The action taken when a packet matches the rule’s tuples. Actions include the following:

  • destination NAT pool―Use user-defined destination NAT pool to perform destination NAT.

  • off―Do not perform destination NAT.

Translation hits

Number of times a translation in the translation table is used for a source NAT rule.

Successful sessions

Number of successful session installations after the NAT rule is matched.

Failed sessions

Number of unsuccessful session installations after the NAT rule is matched.

Number of sessions

Number of sessions that reference the specified rule.

Sample Output

show services nat destination rule service-set ss1_interface_style1 interface vms-0/2/0 all | no-more

Release Information

Command introduced in Junos OS Release 19.3R2.