Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

show services nat source rule

 

Syntax

Release Information

Command introduced in Junos OS 19.3R2.

Description

Display source NAT rule-set information.

Options

rule-nameDisplay source NAT rule-set information for the specified rule.
allDisplay all source NAT rule-set information.
interface interface-nameDisplay rule-set information about the adaptive services interface.
service-set service-setDisplay rule-set information about the service set.

Required Privilege Level

view

List of Sample Output

show services nat source rule

show services nat source rule (Mapping and EIF Configuration)

Output Fields

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

Table 1: show services nat source rule Output Fields

Field Name

Description

Interface

Interface name.

Service set

Service set name.

Rule Id

Rule identification number.

Rule position

Position of the source NAT rule.

Match-direction

Specifies the direction in which to match traffic that meets the rule conditions.

Match

  • Source address

  • Destination address

  • Application

Match the following:

  • Name of the source address that matches the rule.

  • Name of the destination address that matches the rule.

  • Indicates whether the application option is configured.

Action

  • Persistent NAT type

  • Persistent NAT mapping type

  • Inactivity timeout

  • Max session number

Translation hits

  • Successful sessions

  • Failed sessions

Use this field to check for traffic that matches the rule. Note the successful or failed sessions.

Number of sessions

Number of active sessions.

Sample Output

show services nat source rule

user@host> show services nat source rule all

show services nat source rule (Mapping and EIF Configuration)

show services nat source rule all